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

Paul Ionescu i_p_a_u_l at yahoo.com
Thu Jan 20 18:24:35 PST 2005


Hi David,

In my case, in 
usb.interface.class 
I have the value 0 for all 3 interfaces.
I think I should have e0/e0/fe for int0/int1/int2.

Thanks,
Paul

On Thu, 20 Jan 2005 21:12:17 -0500, David Zeuthen wrote:

> On Fri, 2005-01-21 at 04:01 +0200, Paul Ionescu wrote:
>> Hi,
>> 
>> I have a Bluetooth dongle, which creates 3 usb interfaces. The dongle
>> has:
>> device class : e0
>> device subclass: 1
>> Device Protocol: 1
>> 
>> and the 3 interfaces:
>> int 0
>> 	class e0
>> int 1
>> 	class e0
>> int 2
>> 	class fe
>> 
>> Now, HAL assumes all 3 interfaces as class e0, which is wrong.
>> 
>> 
> Each interface is a separate hal device object and while
> 
>  usb.device_[class|subclass|protocol]
> 
> is the same, then
> 
>  usb.interface.[class|subclass|protocol]
> 
> will differ (if the interface class differ). Basically, the point is that
> USB is concerned with both device and interface class triplets; they are
> not necessarily the same.
> 
> David
> 
>> Thanks,
>> Paul
>> 
>> 
>> _______________________________________________ hal mailing list
>> hal at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/hal


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



More information about the Hal mailing list