USB Device not recognized in Dolphin

My Galaxy S II when connected via USB and accordingly having USB enabled appropriately on the device is not recognized within Dolphin.

I’m on 13.1 and don’t know what else to say except I cannot understand why this device is not recognized when my Galaxy S III is recognized without incident. Anyone have any suggestions? Thanks!

When you plug the device in, observe what is reported by

dmesg|tail

Most of these devices use the MTP protocol to communicate, and this is still work-in-progress it would seem

These might be helpful to you:

https://forums.opensuse.org/english/get-technical-help-here/applications/490795-kde-mtp-device-file-transfer-fix.html

There are other approaches to using kio_mtp (mtp:/) with Dolphin. You may like to research these alternatives:

https://wiki.archlinux.org/index.php/MTP

Another recent thread:

https://forums.opensuse.org/english/get-technical-help-here/hardware/492704-cannot-connect-android-phone-mtp-support-not-working-13-1-a.html

charles@linux-uc1g:~> lsusb
Bus 001 Device 013: ID 04e8:681c Samsung Electronics Co., Ltd Galaxy Portal/Spica/S
Bus 003 Device 002: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 004 Device 002: ID 046d:c30a Logitech, Inc. iTouch Composite
Bus 005 Device 002: ID 0461:4d0f Primax Electronics, Ltd HP Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Apparently the opsys is seeing the device but just not wanting to cooperate otherwise. Is there a package that needs to be installed to make this just work? Thanks again.

Apparently the opsys is seeing the device but just not wanting to cooperate otherwise. Is there a package that needs to be installed to make this just work? Thanks again.

You haven’t posted the requested dmesg information. What happens when you attempt to connect to the device with Dolphin using ‘mtp:/’ in the location bar?

charles@linux-uc1g:~> dmesg|tail
[114700.987794] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[114700.987798] usb 1-2: Product: SAMSUNG_Android
[114700.987801] usb 1-2: Manufacturer: SAMSUNG
[114700.987804] usb 1-2: SerialNumber: 3730779EFD6200EC
[114700.998362] cdc_acm 1-2:1.0: This device cannot do calls on its own. It is not a modem.
[114700.998714] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[114701.000706] usb-storage 1-2:1.2: USB Mass Storage device detected
[114701.000876] scsi12 : usb-storage 1-2:1.2
[114703.040931] type=1400 audit(1387250076.171:14522): apparmor=“DENIED” operation=“mkdir” parent=1 profile="/usr/sbin/nmbd" name="/var/cache/samba/" pid=643 comm=“nmbd” requested_mask=“c” denied_mask=“c” fsuid=0 ouid=0
[114713.051133] type=1400 audit(1387250086.181:14523): apparmor=“DENIED” operation=“mkdir” parent=1 profile="/usr/sbin/nmbd" name="/var/cache/samba/" pid=643 comm=“nmbd” requested_mask=“c” denied_mask=“c” fsuid=0 ouid=0

> What happens when you attempt to connect to the device with Dolphin using ‘mtp:/’ in the location bar?

Nothing.


[114700.987794] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[114700.987798] usb 1-2: Product: SAMSUNG_Android
[114700.987801] usb 1-2: Manufacturer: SAMSUNG
[114700.987804] usb 1-2: SerialNumber: 3730779EFD6200EC
[114700.998362] cdc_acm 1-2:1.0: This device cannot do calls on its own. It is not a modem.
[114700.998714] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[114701.000706] usb-storage 1-2:1.2: USB Mass Storage device detected
[114701.000876] scsi12 : usb-storage 1-2:1.2
[114703.040931] type=1400 audit(1387250076.171:14522): apparmor="DENIED" operation="mkdir" parent=1 profile="/usr/sbin/nmbd" name="/var/cache/samba/" pid=643 comm="nmbd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
[114713.051133] type=1400 audit(1387250086.181:14523): apparmor="DENIED" operation="mkdir" parent=1 profile="/usr/sbin/nmbd" name="/var/cache/samba/" pid=643 comm="nmbd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0

Okay, so your device appears as a storage device instead. Do you get notified?

No, no notification which is curious, too.

With the phone connected, observe (as root)

sudo /sbin/fdisk -l

BTW, gmtp didn’t recognize the device either and it’s not the cable because I can interchange my GS III and it’s immediately recognized and gives notification the way it should. FYI

linux-uc1g:/home/charles # sudo /sbin/fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes, 625142448 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
Disk label type: dos
Disk identifier: 0x000d94ac

Device Boot Start End Blocks Id System
/dev/sda1 2048 6055935 3026944 82 Linux swap / Solaris
/dev/sda2 * 6277120 46153727 19938304 83 Linux
/dev/sda3 46153728 625141759 289494016 83 Linux

Disk /dev/sdc: 31.2 GB, 31221153792 bytes, 60978816 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
Disk label type: dos
Disk identifier: 0x00030fd6

Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 58372095 29185024 c W95 FAT32 (LBA)
/dev/sdc2 58374142 60977151 1301505 5 Extended
/dev/sdc5 58374144 60977151 1301504 82 Linux swap / Solaris
linux-uc1g:/home/charles #

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

linux-uc1g:/home/charles # sudo /sbin/fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes, 625142448 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
Disk label type: dos
Disk identifier: 0x000d94ac

Device Boot Start End Blocks Id System
/dev/sda1 2048 6055935 3026944 82 Linux swap / Solaris
/dev/sda2 * 6277120 46153727 19938304 83 Linux
/dev/sda3 46153728 625141759 289494016 83 Linux

Disk /dev/sdc: 31.2 GB, 31221153792 bytes, 60978816 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
Disk label type: dos
Disk identifier: 0x00030fd6

Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 58372095 29185024 c W95 FAT32 (LBA)
/dev/sdc2 58374142 60977151 1301505 5 Extended
/dev/sdc5 58374144 60977151 1301504 82 Linux swap / Solaris
linux-uc1g:/home/charles #

With the setting turned ON in the phone. I forgot when I took the first reading.

As an aside, I am running Android version 2.3.5 on my device. Certain functions are not available for that one but I’m thinking that still the MTP should be working. It works on my Windows 7 laptop right next to the desktop with Linux.

Forget the MTP advice. Some Samsung models use this protocol instead of presenting the storage device on the usb subsystem. Check ‘fdisk -l’ as advised and report back.

You can also observe output from

solid-hardware listen

*In this case connect the Samsung after you have it running

linux-uc1g:/home/charles # solid-hardware listen
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
Listening to add/remove events:
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.1’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.3’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.2’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.1’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.3’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.2’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.3’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.2’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.1’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Removed:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’
Device Added:
udi = ‘/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:09.0/0000:02:01.2/usb3/3-3/3-3:1.0/tty/ttyACM0’

I toggled the USB Storage selection switch in the phone a couple of times here.

You device appears to be being mishandled by usb_modeswitch. The following thread advice may be applicable

https://forums.opensuse.org/english/get-technical-help-here/applications/486054-trying-root-android-tablet.html#post2549004

ie edit /etc/usb_modeswitch.conf and change ‘DisableSwitching’ entry to this

DisableSwitching=1

See if that makes a difference.

I hate to be dense but I am unable to effectively change this file for lack of apparently permission to do so. I was able to save a copy elsewhere and effect the change there but cannot now copy it back either, it won’t paste. Any final suggestions? Thanks again for your patience.

System files require root privileges to edit.

kdesu kwrite /etc/usb_modeswitch.conf

or if you prefer CLI editor

sudo nano /etc/usb_modeswitch.conf 

No luck. Sorry it didn’t work but I’m bushed and heading to bed so I’ll try again tomorrow. Thanks!

As an aside, please chuckenheimer, can you post those computer texts betwen CODE tags. Especialy the fdisk -l table is next to uninterpretable without them. You get them by clicking on the # button in the tool bar of the post editor.

Yes, sir. I knew I had seen them before but wasn’t sure how to go about doing so. Thanks!