public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* How to identify USB-video-devices
@ 2009-01-15 14:41 Carsten Meier
  2009-01-15 15:20 ` Markus Rechberger
  0 siblings, 1 reply; 13+ messages in thread
From: Carsten Meier @ 2009-01-15 14:41 UTC (permalink / raw)
  To: video4linux-list

Hello list,

we recently had a discussion on the pvrusb2-list on how to identify a
video-device connected via USB from an userspace app. (Or more precisely
on how to associate config-data with a particular device). This led to
a patch which returned the device's serial-no. in v4l2_capability's
bus_info field. This one has been rejected, but I really feel that this
is the right way to go. Here's the thread:
http://www.isely.net/pipermail/pvrusb2/2009-January/002091.html

I think the meaning of the bus_info-field should be modified slightly
for USB-devices to reflect its dynamic nature. At least a string that
won't change on dis-/reconnect and standby/wake-up-cycles should be
returned. If a device has a unique serial-no. it is a perfect candidate
for this, if not, some USB-port-info should be returned that won't
change if the device is connected to the same port through the same hub.

What do you think?
(BTW: I'm not a kernel-hacker, I'm writing this from the perspective of
an app-developer)

Regards,
Carsten

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-01-16  4:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 14:41 How to identify USB-video-devices Carsten Meier
2009-01-15 15:20 ` Markus Rechberger
2009-01-15 15:33   ` Carsten Meier
     [not found]     ` <09CD2F1A09A6ED498A24D850EB10120817E30B7506@Colmatec004.COLMATEC.INT>
2009-01-15 16:51       ` Carsten Meier
2009-01-15 22:22         ` Pádraig Brady
2009-01-15 22:45           ` Markus Rechberger
2009-01-15 22:55           ` Carsten Meier
2009-01-15 23:40             ` Markus Rechberger
2009-01-16  0:27               ` Carsten Meier
2009-01-16  0:59                 ` Markus Rechberger
2009-01-16  1:55                   ` Carsten Meier
2009-01-16  2:03                     ` Markus Rechberger
2009-01-16  4:14                       ` Mike Isely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox