[pvrusb2] sysfs, usdev and udevinfo
Mike Isely
isely at isely.net
Tue Apr 1 10:21:01 CDT 2008
On Tue, 1 Apr 2008, xavier.gnata at free.fr wrote:
>
> It looks like it has something to do with /usr/share/hwdata/usb.ids but for
> instance there is no mention of "Laptop Integrated Webcam" in this ubs.ids.
> I even fail to understand where this "Laptop Integrated Webcam" comes from.
> I should read this small webcam driver sources in detail to find out what is
> going on here...
>
No, this data has to be coming from kernelspace, via the driver that is
exporting its interface. There are all sorts of attributes that other
drivers can make available - like device serial numbers - that can ONLY
come from the hardware itself.
I have a strong suspicion that setting up additional kobj structures
(one per attribute) and associating them with the registered device node
may be the key to this. But I need to do some digging (or perhaps
someone can figure it out and tell me about it)...
-Mike
--
Mike Isely
isely @ pobox (dot) com
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
More information about the pvrusb2
mailing list