SD card automounting

Danny Kukawka danny.kukawka at web.de
Tue Jan 9 13:12:31 PST 2007


On Tuesday 09 January 2007 21:13, Xamindar wrote:
> Danny Kukawka wrote:
> > On Tuesday 09 January 2007 20:30, Xamindar wrote:
> >
> > Are this events from Add the device or/and remove the device?
>
> I ran that command, plugged in the device, waited a few seconds, then
> pulled it out.  That's it.
>
> > This looks a littlebit strange to me: the device get added 2 times and
> > removed also to times.
> >
> > Could you start hald with '--daemon=yes --verbose=yes --use-syslog', wait
> > until lshal work and hal is ready, attach the hardware, wait some seconds
> > and attach the part of /var/log/messages since attach the device?
> >

You should not send the complete output, only the part since you added the 
device to your machine.

If I see this correct udev report no parent device for /dev/mmcblk0 and 
because of this HAL can't handle the device:
---------------------------
Jan  9 12:11:08 [hald] 12:11:08.893 [I] blockdev.c:584: block_add: 
sysfs_path=/sys/block/mmcblk0 dev=/dev/mmcblk0 is_part=1, parent=0x00000000_
Jan  9 12:11:08 [hald] 12:11:08.893 [I] blockdev.c:494: get_luks_uuid: 
device_file=/dev/mmcblk0_
Jan  9 12:11:08 [hald] 12:11:08.893 [I] blockdev.c:620: Ignoring hotplug 
event - no parent_
Jan  9 12:11:08 [hald] 12:11:08.893 [W] blockdev.c:984: Not adding device 
object_
---------------------------
You should as the udev/kernel ppl, why this device has no parent device.

Danny


More information about the hal mailing list