Red Hat Bugzilla – Bug 178881
Ericsson K750i Phone flash drive missing if inserted in phone when connected, detected by udev
Last modified: 2013-03-13 00:49:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5
Description of problem:
If the memory card is already inserted in the phone when the USB cable is connected the card slot and card is lost by hal. The device is hoever detected by udev and device nodes is properly created and can be mounted manually using mount.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Ericsson K750i phone with Memory Stick Duo inserted
2. Connect USB cable
Actual Results: Both the card reader and the media missing in the hal-device output, and no icon shown on desktop.
Expected Results: card reader and media should have been detected, and icon shown on desktop
no hal-addon-storage daemon gets started when the problem is seen.
"service haldaemon restart" makes hal properly detect the device, but does not cause the desktop icon to appear.
if the memory card is not inserted into the phone when the USB cable is connected then the card reader is detected by hal, and if later inserting the memory card it too is properly detected. Even removing the card works..
At all times does udev detect the card reader and sets up device nodes proper allowing access to the media. But somewhere along the path has the hal registration of the card reader and inserted media gone missing.
Created attachment 123650 [details]
hotplug events in a failed session
Data collected using the following wrapper around hal-hotplug:
mv 20-hal.hotplug disabled
cat >>20-hal.hotplug <<EOS
echo $$ "`date`" "$@" >>/tmp/hotplug.log
echo $$ done >>/tmp/hotplug.log
chmod +x 20-hal.hotplug
Created attachment 123651 [details]
hotplug events in a working session without the card inserted
Same device on FC4 x86 works fine it seems. Have not tested on FC4 x86_64.
got updated kernel-2.6.15-1.1871_FC5 and udev-078-6 packages from development
and now things works better. Probably the delay things added to udev which got
it working but a bit confusing that an upgrade of udev fixes hal when udev
didn't show any signs of problems in it's parts that could tell. Probably there
is some underlying issue in hal now worked around, but it's working so I am happy.
Was previously using kernel-2.6.15-1.1869_FC5 and udev-078-4