HAL not handling storage devices correctly

Simon Geard delgarde at ihug.co.nz
Thu May 4 00:39:58 PDT 2006


On Tue, 2006-05-02 at 20:21 +0400, Andrey Borzenkov wrote:
> 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"

Nope. The only rule I have that relates to the scsi subsystem is for
loading sd_mod, which is pretty much the last rule other than the ones
HAL adds.

ACTION=="add", SUBSYSTEM=="scsi", SYSFS{type}=="[07]", \
  RUN+="/sbin/modprobe sd_mod"

You think I need to fit a WAIT_FOR_SYSFS rule in somewhere?

Simon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20060504/5a344ca7/attachment.pgp


More information about the hal mailing list