haldaemon and device discovery
Greg Allen
GAllen at arrayinc.com
Wed Aug 8 17:37:16 PDT 2007
I have a CD device with my own drivers on the system. It is recognized
by udevinfo as you can see below:
udevinfo -a -p /sys/bus/scsi/devices/0\:0\:126\:0/
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/vscsi0/host0/target0:0:126/0:0:126:0':
KERNEL=="0:0:126:0"
SUBSYSTEM=="scsi"
SYSFS{ioerr_cnt}=="0x2"
SYSFS{iodone_cnt}=="0xe"
SYSFS{iorequest_cnt}=="0xe"
SYSFS{iocounterbits}=="32"
SYSFS{timeout}=="0"
SYSFS{state}=="running"
SYSFS{rev}=="1.00"
SYSFS{model}=="DVDR PX-716AL "
SYSFS{vendor}=="PLEXTOR "
SYSFS{scsi_level}=="3"
SYSFS{type}=="5"
SYSFS{queue_type}=="none"
SYSFS{queue_depth}=="1"
SYSFS{device_blocked}=="0"
looking at parent device '/devices/vscsi0/host0/target0:0:126':
ID=="target0:0:126"
BUS==""
DRIVER==""
looking at parent device '/devices/vscsi0/host0':
ID=="host0"
BUS==""
DRIVER==""
looking at parent device '/devices/vscsi0':
ID=="vscsi0"
BUS=="virtual_bus"
DRIVER=="cd_vscsi"
However, the device does not appear in the output of hal-devices. Is
there
something I need to do to make this happen?
I've tried restarting haldaemon, and also restart the udev daemon as
well, but
it still doesn't show up.
My understanding is that HAL discovers devices based on udev. Then why
isn't my device being seen?
Thanks for any help.
-- Greg Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20070808/77e1679c/attachment.html
More information about the hal
mailing list