[Maybe BUG] hal does not have correct info about usb_device.device_class

David Zeuthen david at fubar.dk
Fri Jan 21 17:41:09 PST 2005


On Fri, 2005-01-21 at 15:42 -0800, Paul Ionescu wrote:
> > Oh, ok, in that case please attach the output of
> > lshal and 'lsusb -v'.
> > 
> 
> I attached the lshal and lsusb -v
> 

I just fixed this, the bug was that we assumed that the format
in sysfs was decimal which worked great as most numbers used
for class/subclass/protocol is normally less than 16.

The patch is here

 http://cvs.freedesktop.org/hal/hal/hald/linux/usbif_bus_device.c?r1=1.9&r2=1.9.2.1&only_with_tag=hal-0_4-stable-branch

and this fix will appear in the next stable release. Thanks
for catching this.

Cheers,
David


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list