HAL not handling storage devices correctly

Andrey Borzenkov arvidjaar at mail.ru
Tue May 2 09:21:00 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 02 May 2006 13:56, Simon Geard wrote:
> Hi all...
>
> I'm using an LFS system (kernel 2.6.16.11, udev 086 and hal 0.5.7) on
> which hal isn't properly recognising USB storage devices, e.g a flash
> drive or a music player. Running hal-device-manager, I see the following
> items appear when I plug the flash drive in.
>
> PS2031 Flash Disk
> -- USB Mass Storage Interface
> ---- SCSI Host Adapter
> ------ SCSI Device
> -- USB Raw Device Access
>
> None of these have any properties relating to block or volume, as one
> would expect.
>

lshal shows scsi.type =="unknown" for USB SCSI node so probing for volume is 
skipped. May be HAL gets notification too early before USB is settled. Do you 
have something like this rule as one of the first udev rules:

ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"

?

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEV4b2R6LMutpd94wRAqxAAKCBBhupp4t9fL365we10dPY/HYd7gCfQv8h
+y8bPiOun7MLbVvDmbiqzRQ=
=hCNx
-----END PGP SIGNATURE-----


More information about the hal mailing list