Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

My digital audio player FiiO X5 won't mount in Thunar (SOLVED)

Message
Author
Eric Noya
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Jan 07, 2018 5:31 pm

My digital audio player FiiO X5 won't mount in Thunar (SOLVED)

#1 Post by Eric Noya » Sun Jan 07, 2018 7:39 pm

Hello all,

Normally my FiiO X5 DAP (digital audio player, Android 5.1.1) mounts as a mass storage device (MSD) in Linux without any problem. With MX17 installed (which I like very much!) I would like to be able to mount my FiiO X5 as I normally would: connect usb when the X5 is turned on (I tried turned off and mount too but it will only load the battery, it won't turn on while the battery is loading via USB), answer the 2 questions in the X5 to connect as a MSD and open my files in Krusader (or Thunar).
The last output of dmesg | tail might help:

$ dmesg | tail
[ 4123.431590] scsi host7: usb-storage 3-9:1.0
[ 4124.456422] scsi 7:0:0:0: Direct-Access X5 PQ: 0 ANSI: 2
[ 4124.456629] scsi 7:0:0:1: Direct-Access X5 PQ: 0 ANSI: 2
[ 4124.456820] scsi 7:0:0:2: Direct-Access X5 PQ: 0 ANSI: 2
[ 4124.457167] sd 7:0:0:0: Attached scsi generic sg6 type 0
[ 4124.457376] sd 7:0:0:1: Attached scsi generic sg7 type 0
[ 4124.457596] sd 7:0:0:2: Attached scsi generic sg8 type 0
[ 4124.461643] sd 7:0:0:0: [sdf] Attached SCSI removable disk
[ 4124.462449] sd 7:0:0:1: [sdg] Attached SCSI removable disk
[ 4124.462647] sd 7:0:0:2: [sdh] Attached SCSI removable disk

Sometimes I had the same problem but installing mtpfs and fusermount solved the problem. Fusermount is not installable from synaptic, searching for fusermount.deb (to install with gdebi) didn't give results. If I can't connect my X5 to my Clevo laptop it will be a deal breaker and I don't like to be forced to flee to an Ubuntu based OS. So..., I hope someone can help me out with this mounting problem. For the rest MX17 is one amazing OS!

Eric Noya
Last edited by Eric Noya on Sun Jan 28, 2018 6:14 pm, edited 1 time in total.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15768
Joined: Fri Dec 15, 2006 8:07 pm

Re: My digital audio player FiiO X5 won't mount in Thunar

#2 Post by Stevo » Sun Jan 07, 2018 9:57 pm

Can you try aafm from the test repo? I believe you may have to put your device in USB debugging mode.

Eric Noya
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Jan 07, 2018 5:31 pm

Re: My digital audio player FiiO X5 won't mount in Thunar

#3 Post by Eric Noya » Mon Jan 08, 2018 4:55 am

Hello Stevo,

Many thanks for your speedy reply. I added the repo and installed aafm but I don't know how to debug. I opened aafm and it lists several things, but I don't know that app. I opened the developers option on the X5 and debugging seems possible now. Could you help me how to debug the X5?
lsusb gives me this output:

$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 011: ID 2972:0021
Bus 003 Device 004: ID 0bda:b002 Realtek Semiconductor Corp.
Bus 003 Device 008: ID 0bc2:ab34 Seagate RSS LLC
Bus 003 Device 007: ID 1058:1021 Western Digital Technologies, Inc. Elements Desktop (WDBAAU)
Bus 003 Device 006: ID 0bc2:3312 Seagate RSS LLC SRD00F2 Expansion Desktop Drive (STBV)
Bus 003 Device 005: ID 0bc2:ab34 Seagate RSS LLC
Bus 003 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

sudo fdisk -l gives me this:

sudo fdisk -l
[sudo] password for ericpaul:
Sorry, try again.
[sudo] password for ericpaul:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xe2e29aa5

Device Boot Start End Sectors Size Id Type
/dev/sda1 1196513280 1937899519 741386240 353.5G 5 Extended
/dev/sda2 600446976 1195591679 595144704 283.8G 7 HPFS/NTFS/exFAT
/dev/sda3 1195591680 1196513279 921600 450M 27 Hidden NTFS WinRE
/dev/sda4 1937899520 1953523711 15624192 7.5G 82 Linux swap / Solaris
/dev/sda5 1196515328 1937899519 741384192 353.5G 83 Linux

Partition table entries are not in disk order.




Disk /dev/sdb: 4.6 TiB, 5000981077504 bytes, 9767541167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: 4DDB29B8-AB0E-4636-A55F-1013E04251F2

Device Start End Sectors Size Type
/dev/sdb1 40 409639 409600 200M EFI System
/dev/sdb2 409640 9767278983 9766869344 4.6T Microsoft basic data


Disk /dev/sdc: 4.6 TiB, 5000981073920 bytes, 1220942645 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x84019fb5

Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 1220941823 1220939776 4.6T 7 HPFS/NTFS/exFAT


Disk /dev/sdd: 4.6 TiB, 5000981073920 bytes, 1220942645 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 268431360 bytes
Disklabel type: dos
Disk identifier: 0x9ab17c9c

Device Boot Start End Sectors Size Id Type
/dev/sdd1 * 2048 1220942644 1220940597 4.6T 7 HPFS/NTFS/exFAT


Disk /dev/sde: 1.8 TiB, 2000396746752 bytes, 3907024896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00233c0a

Device Boot Start End Sectors Size Id Type
/dev/sde1 2048 3907024895 3907022848 1.8T 83 Linux


My kernel is this:

$ uname -a
Linux mx1 4.13.0-1-amd64 #1 SMP Debian 4.13.13-1mx17 (2017-11-18) x86_64 GNU/Linux

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15768
Joined: Fri Dec 15, 2006 8:07 pm

Re: My digital audio player FiiO X5 won't mount in Thunar

#4 Post by Stevo » Mon Jan 08, 2018 3:36 pm

What I mean is that you:
Enable Debug mode in the device

Go to Settings → Applications → Development and make sure the USB debugging checkbox is ticked. You might get a scary warning saying debugging allows you to do nasty things--just ignore it.
If everything works (and why shouldn't it?) you should get a window divided in two panels. The left side represents your host computer, and initially should show the files of the aafm directory, since you launched it from there. The right side represents your Android device's files --so it needs to be connected to the computer, and USB debugging must be enabled in the device. You can navigate just as you would do with your favourite file explorer. Files can be dragged from one to another panel, directories created, and files renamed (hint: right click and explore the options the contextual menu offers you!). You can also drag from Nautilus (in GNOME) into the device panel, to copy files to the device, or drag to Nautilus, for copying files from the device.

Be warned that currently the progress reporting is a bit hackish and with large files it will appear as if the window has got frozen. It hasn't--it's just waiting for the ADB transfer to finish. In the future this should be fixed, but I haven't come up with the best solution yet.
But I don't know if it's broken with Android 5...works fine with 4.X, though.

Eric Noya
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Jan 07, 2018 5:31 pm

Re: My digital audio player FiiO X5 won't mount in Thunar

#5 Post by Eric Noya » Wed Jan 10, 2018 7:11 am

Debugging is enabled in the X5 but aafm only gives me the computer files on the left side of the double screen. On the X5 I turned on the USB connection with my laptop just like I usely do. I refreshed the right panel of aafm but nothing changes. Could it be a kernel based problem?

I have another observation: when I search in synaptic with the term "smd" or "mass storage device" only 5 results pop up. Is SMD less supported in modern kernels for Android devices (my USB external hard disks work just fine though) and is there a transition going on to more camera based (mobile phone) usb connections?

I would really prefer my X5 to work on MX-17 because MX-17 (together with Solus OS, AVLinux 32-bit and Peppermint OS (which uses systemd)) is one of the very few distros that play audio and video (youtube included) without the hick ups that I always get every 3 or 4 minutes in other distros. I think it has to do with pulseaudio (which I don't like) and the fact that MX-17 doesn't use systemd.

I could choose the easy way and install one of the above mentioned distros but I think MX-17 has the edge over the other distros when I consider speed (saving docs in odt and pdf in Libre Office: the best) stability, user friendliness and software choice, it's only a pity there are no pictures in google-earth, but that is Google's fault. Time will tell if this problem is a deal breaker, I'm a bit afraid it is in the end, I'm a musician...

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 21913
Joined: Wed Jul 19, 2006 6:13 am

Re: My digital audio player FiiO X5 won't mount in Thunar

#6 Post by Jerry3904 » Wed Jan 10, 2018 8:02 am

If it's Android, can you use an app such as AirDroid? Although usb connection works fine for my phone, I prefer AD because it's fast and easy.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8773
Joined: Sun Dec 16, 2007 1:17 pm

Re: My digital audio player FiiO X5 won't mount in Thunar

#7 Post by dolphin_oracle » Wed Jan 10, 2018 8:40 am

android itself has been moving to mtp type connections. I know my galaxy s5, even when I used "File Transfer Mode", actually connects as a mtp device. my phone is a android 6 device rather than 5 though.

I need a point clarified. When you connect your media player via USB, does your device give you choice of connection types? Or are you not seeing those options?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

Eric Noya
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Jan 07, 2018 5:31 pm

Re: My digital audio player FiiO X5 won't mount in Thunar

#8 Post by Eric Noya » Mon Jan 15, 2018 6:38 am

I am seeing the options how to connect to my laptop when I open options or preferences on my FiiO X5 on beforehand, before connecting to my laptop. It is really sad that Google decided to dismiss Mass Storage Devices in favor of MTP. Air Droid could be possible but I always like the old way, not the new one, that is what I like about MX-17, never change something that works and change something only when it doesn't: an important UNIX philosophy. Systemd sucks!

Eric Noya
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Jan 07, 2018 5:31 pm

Re: My digital audio player FiiO X5 won't mount in Thunar

#9 Post by Eric Noya » Tue Jan 16, 2018 12:08 pm

At this point I can open my X5 only partly in Thunar with MTP: only 1 mini-SD card is recognized. This is strange because both cards are recognized in Thunar but one card is labeled as empty, no data. I know there are data on both cards for a few years now, normally this is no problem whatsoever.

I think it might be an Android problem. The newest upgrade of Android supposedly doesn't support Mass Storage Devices but Android supporting only one SD card in a device is far from ideal. I could insert one card at once in my laptop but that way I can work with one SD card only which is far from ideal, one SD card is for popular music and the other is for classical music. Maybe I have to buy an USB hub for more SD cards at once? In the meantime: in this superior MX-17 my audio and video never stuttered, not even a little! In other distros music and video stutter every 5 minutes, skipping a few seconds.

Eric Noya
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Jan 07, 2018 5:31 pm

Re: My digital audio player FiiO X5 won't mount in Thunar

#10 Post by Eric Noya » Sat Jan 27, 2018 11:55 am

Today I started my FiiO X5 in Thunar and lo and behold: both cards of 256Gb each where recognized (not only one) in Thunar! Probably a kernel update (and/or upgrade) that adressed the Android problem of only accessing 1 sd-card, instead of two. I personally prefer Krusader file manager over Thunar but that's not a show stopper. Now MX-17 is THE perfect distro adressing all the problems I had with systemd distros: no audio or video stutters anymore, not even a little one. Rock solid as can be! Many many thanks to all the MX-17 developers!!
Last edited by Eric Noya on Sun Jan 28, 2018 5:55 pm, edited 2 times in total.

Post Reply

Return to “Hardware /Configuration”