Bug 314705

Summary: KDE 4.9-4.10 not detects Motorola E8 phone
Product: [Unmaintained] solid Reporter: Nikita Krupenko <krnekit>
Component: libsolid-udevAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ereslibre
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nikita Krupenko 2013-02-08 19:56:14 UTC
Plugging phone to the PC results in no reaction in KDE. I've tested it with Mageia Cauldron (development version with mos recent software) and KDE 4.10, openSUSE 12.3 beta with KDE 4.9.97 and Fedora 18 with KDE 4.9. In Mageia 2 with KDE 4.8.2 all works fine. Also, Mageia 3 beta 2 with gnome detects phone and mounts it, so it's not the problem with modern version of kernel or udev.

Reproducible: Always

Steps to Reproduce:
1. Plug the phone to the PC
Actual Results:  
Nothing happens

Expected Results:  
Notification should appear about new device with ability to mount it.

Files in the /dev are created and I can mount the phone manually. The phone not in MTP mode and supports mounting like a removable drive.
Comment 1 Alex Fiestas 2013-03-03 15:06:06 UTC
can you provide the output of:
solid-hardware list

And
-Unplug your phone
-execute solid-hardware listen
-plug phone

Thanks !
Comment 2 Nikita Krupenko 2013-03-03 19:45:39 UTC
Sure. Here is output of "solid-hardware list":

udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:00'
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:01'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/hwC1D0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/pcmC1D3p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/controlC1'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:06.0/0000:02:00.0/net/eth0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.2/sound/card0/hwC0D0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.2/sound/card0/pcmC0D0c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.2/sound/card0/pcmC0D0p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.2/sound/card0/pcmC0D1p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.2/sound/card0/pcmC0D2c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.2/sound/card0/controlC0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3'
udi = '/org/kde/solid/udev/sys/devices/pnp0/00:0a/tty/ttyS0'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/lo'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/timer'
udi = '/org/freedesktop/UDisks2/block_devices/ram12'
udi = '/org/freedesktop/UDisks2/block_devices/ram11'
udi = '/org/freedesktop/UDisks2/block_devices/ram10'
udi = '/org/freedesktop/UDisks2/block_devices/ram6'
udi = '/org/freedesktop/UDisks2/block_devices/ram5'
udi = '/org/freedesktop/UDisks2/block_devices/ram4'
udi = '/org/freedesktop/UDisks2/block_devices/ram3'
udi = '/org/freedesktop/UDisks2/block_devices/sda6'
udi = '/org/freedesktop/UDisks2/block_devices/ram2'
udi = '/org/freedesktop/UDisks2/block_devices/ram1'
udi = '/org/freedesktop/UDisks2/block_devices/ram0'
udi = '/org/freedesktop/UDisks2/block_devices/sdb1'
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/sda7'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/ram8'
udi = '/org/freedesktop/UDisks2/block_devices/ram7'
udi = '/org/freedesktop/UDisks2/block_devices/sda5'
udi = '/org/freedesktop/UDisks2/block_devices/ram9'
udi = '/org/freedesktop/UDisks2/block_devices/sdb'
udi = '/org/freedesktop/UDisks2/block_devices/ram15'
udi = '/org/freedesktop/UDisks2/block_devices/ram14'
udi = '/org/freedesktop/UDisks2/block_devices/ram13'
udi = '/org/freedesktop/UDisks2/drives/ST2000DL003_9VT166_5YD14DFN'
udi = '/org/freedesktop/UDisks2/drives/ASUS____DRW_1608P'
udi = '/org/freedesktop/UDisks2/drives/ST3500418AS_5VM0WE58'
udi = '/org/freedesktop/UPower'
udi = '/org/kde/fstab'

And output of "listen":

Listening to add/remove events: 
Device Added:
udi = '/org/freedesktop/UDisks2/drives/Motorola_MSnc_2e_495436BA011B0A'
Device Added:
udi = '/org/freedesktop/UDisks2/block_devices/sdc'
Device Added:
udi = '/org/freedesktop/UDisks2/drives/Motorola_MSnc_2e_495436BA011B0A_1'
Device Added:
udi = '/org/freedesktop/UDisks2/block_devices/sdd'

There is two devices because phone memory is one device and memory card in another.
Comment 3 Alex Fiestas 2013-03-05 19:44:23 UTC
Well, good news is that we are getting the event, bad news is that (I guess) we are not forwarding the notification  for some reason.

Can you show the output of:
solid-hardware show /org/freedesktop/UDisks2/drives/Motorola_MSnc_2e_495436BA011B0A
and
solid-hardware show /org/freedesktop/UDisks2/drives/Motorola_MSnc_2e_495436BA011B0A_1 ?

Thanks !
Comment 4 Nikita Krupenko 2013-03-05 20:25:47 UTC
It does not now about "show" but has "details" and "nonportableinfo"

[nekit@localhost ~]$ solid-hardware details /org/freedesktop/UDisks2/drives/Motorola_MSnc_2e_495436BA011B0A
udi = '/org/freedesktop/UDisks2/drives/Motorola_MSnc_2e_495436BA011B0A'
  parent = '/org/freedesktop/UDisks2'  (string)
  vendor = 'Motorola'  (string)
  product = 'MSnc.'  (string)
  description = 'Motorola MSnc.'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 48  (0x30)  (int)
  Block.device = '/dev/sdd'  (string)
  StorageDrive.bus = 'Usb'  (0x1)  (enum)
  StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
  StorageDrive.removable = true  (bool)
  StorageDrive.hotpluggable = true  (bool)
  StorageDrive.inUse = false  (bool)
  StorageDrive.size = 7435619840  (0x1bb328e00)  (qulonglong)

[nekit@localhost ~]$ solid-hardware details /org/freedesktop/UDisks2/drives/Motorola_MSnc_2e_495436BA011B0A_1
udi = '/org/freedesktop/UDisks2/drives/Motorola_MSnc_2e_495436BA011B0A_1'
  parent = '/org/freedesktop/UDisks2'  (string)
  vendor = 'Motorola'  (string)
  product = 'MSnc.'  (string)
  description = 'Motorola MSnc.'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 64  (0x40)  (int)
  Block.device = '/dev/sde'  (string)
  StorageDrive.bus = 'Usb'  (0x1)  (enum)
  StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
  StorageDrive.removable = true  (bool)
  StorageDrive.hotpluggable = true  (bool)
  StorageDrive.inUse = false  (bool)
  StorageDrive.size = 2053935616  (0x7a6c9200)  (qulonglong)
Comment 5 Alex Fiestas 2013-03-05 22:19:32 UTC
Any thoughts on this one : Lukáš ?
Comment 6 Lukáš Tinkl 2013-03-06 11:28:35 UTC
Should be fixed in 4.10.1

*** This bug has been marked as a duplicate of bug 315065 ***