[pvrusb2] How to uniquely identify a device

Mike Isely isely at isely.net
Sat Jan 10 15:36:42 CST 2009


On Fri, 9 Jan 2009, Carsten Meier wrote:

> 
> OK, then simply report back the serial-number to bus-info. The
> v4l2-docs explicitly states that this info is intended for users to
> select between identical devices:
> 
> quote:------
> __u8	bus_info[32]:
> Location of the device in the system, a
> NUL-terminated ASCII string. For example: "PCI Slot 4". This
> information is intended for users, to distinguish multiple identical
> devices. If no such information is available the field may simply count
> the devices controlled by the driver, or contain the empty string
> (bus_info[0] = 0).
> ------------
> 
> Users should be enabled to select between multiple, identical
> devices and as a logical consequence, this information should be
> saveable in some config file. The current bus-info changes even if I my
> mini-pc changed to standby-mode and woke up again and is therefore
> useless for that purpose.
> 
> I hope I convinced you... :)

Not 100%, but it's enough to make me look at this again and re-evaluate.  
I will add this to my growing list of pvrusb2 tasks for tomorrow...

  -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