which devices will be displayed in hal-device-manager

Kay Sievers kay.sievers at vrfy.org
Wed Sep 7 20:13:58 PDT 2005


On Thu, Sep 08, 2005 at 09:38:25AM +0800, WMWu at Winbond.com.tw wrote:
> Thanks! But I still do not known how to resolve my problem.
> I am writing a storage driver for the chip of our company for Fedora Core3. The chip
> can access the SD card, it is a ISA device. Our driver look our chip as a SCSI host
> controller ,just as the USB storage driver does. To support automount of the SD card,
> the device object must be displayed in hal-device-manager just as the USB storage.
> I have written another storage driver for another chip of our company for Fedora Core3,
> the chip is almost as same as the above chip, but it is a PCI chip. The device can be
> displayed in the hal-device-manager just as the USB storage.
> I do not known what I must do so the HAL can list the device in hal-device-manager.

Does udev create a node for your device if you load the driver?
  ls -l /dev/sd*

Is the device visible in sysfs?
  ls -l /sys/block/

If you found your device in /sys/block/, how does it look like?
  ls -l /sys/block/sdX

What does udevinfo print?
  udevinfo -a -p /block/sdX

Kay


More information about the hal mailing list