Re: RFC: Platform data for onboard USB assets

From
Andy Green <hidden>
Date
2011-03-18 22:39:30
Also in
lkml
Reply to
Benjamin Herrenschmidt, 2011-03-18
On 03/18/2011 10:37 PM, Somebody in the thread at some point said:
On Thu, 2011-03-17 at 23:22 +0000, Andy Green wrote:
quoted
Is there actually a need for sort of not platform_data but universal
vid_pid_specific_usb_device_option_data coming from the board
definition
file or bootloader for *pluggable* usb devices?  udev seems to be
well
established doing that already in a generic, not-platform-specific
way
that can go in all distros and so on nicely.  Maybe this is just my
impoverished imagination and people do want, say, some kinds of USB
mice
to operate at higher DPI or whatever when plugged in a specific board
because it is that board.
Except that vid/pid are the -WRONG- way to do that. Your device is
on-board, the proper way to identify it uniquely is it's topological
location, ie path of HW port numbers.
Thanks Ben.

I'll go change that VID/PID stuff in my patches right away.

-Andy
Thread (32 messages) 32 messages, 7 authors, last reply 2011-03-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help