GNOME Bugzilla – Bug 488209
Podsleuth doesn't scan iPod device properly at boot
Last modified: 2008-09-03 14:40:27 UTC
Please describe the problem: Podsleuth doesn't detect iPod properly when the device was already plugged in when hald starts. We are not supposed to turn hald on or off often, but it happens at boot, too. Steps to reproduce: 1. Turn off computer 2. Plug in iPod device 3. Turn computer on Actual results: The iPod is not detected properly: pcor@localhost ~ $ podsleuth Found an iPod device, but it is not known by PodSleuth: Error: org.podsleuth.* properties are missing UDI: /org/freedesktop/Hal/devices/volume_uuid_2BDF_9A50 Block Device: /dev/sda2 Mount Point: /media/CLASSIC Cause: PodSleuth may not be installed properly, the HAL daemon may need to be restarted and/or the device needs to be refreshed. Note: A PodSleuth debug log was found: /tmp/podsleuth-debug This file may provide more details or can be useful to developers. Please save it somewhere else and use it in a bug report. See http://banshee-project.org/PodSleuth pcor@localhost ~ $ cat /tmp/podsleuth-debug Pre-Mount Settings: - UDI: /org/freedesktop/Hal/devices/volume_uuid_2BDF_9A50 - Block Device: /dev/sda2 - Temporary Mount Point: - FS Type: Exception: System.ApplicationException: Could not find org.freedesktop.Hal at Hal.Device.CastDevice[IDevice] () [0x0003a] in /var/tmp/portage/media-libs/podsleuth-20071012/work/podsleuth-20071012/src/PodSleuth.Hal/Hal/Device.cs:284 at Hal.Device..ctor (System.String udi) [0x0000d] in /var/tmp/portage/media-libs/podsleuth-20071012/work/podsleuth-20071012/src/PodSleuth.Hal/Hal/Device.cs:127 at PodSleuth.HalFrontend.HalPopulator.RunInternal (System.String[] args) [0x0001f] in /var/tmp/portage/media-libs/podsleuth-20071012/work/podsleuth-20071012/src/PodSleuth.Hal/PodSleuth.HalFrontend/HalPopulator.cs:54 at PodSleuth.HalFrontend.HalPopulator.Run (System.String[] args) [0x00000] in /var/tmp/portage/media-libs/podsleuth-20071012/work/podsleuth-20071012/src/PodSleuth.Hal/PodSleuth.HalFrontend/HalPopulator.cs:24 Expected results: iPod scan as below. After a forced scan, it works fine: pcor@localhost ~ $ podsleuth --rescan Rescanning device [/org/freedesktop/Hal/devices/volume_uuid_2BDF_9A50] iPod Found [/org/freedesktop/Hal/devices/volume_uuid_2BDF_9A50] * Generic Device Properties - Block Device: /dev/sda2 - Mount Point: /media/CLASSIC - Read Only: False - Volume Size: 40 GiB * General iPod Properties - Serial Number: U234521UPNU - Firewire ID: 000A270000158F34 - Firmware Version: 2.3 - iPod_Control: /iPod_Control - Extra Capabilities: none - Production Info: 2658 in November, 2003 from factory U2 * iPod Model Properties - Device Class: grayscale - Generation: 3 - Shell Color: white * Image Types Supported - Photos: False - Album Art: False - Chapter Images: False Does this happen every time? Yes. Other information: Gentoo Linux, podsleuth r48, hal 0.5.9.1
I can confirm this. I will attach a patch that fixes it for me.
Created attachment 117894 [details] [review] Fix the bug by waiting for the hal dbus service to start I think this is ready to commit.
Looks good to me.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.