Dynamic devices and static configuration
Posted Apr 2, 2011 13:23 UTC (Sat) by jimparis
Parent article: Dynamic devices and static configuration
What are the alternatives? One of those is to do everything in user space, using udev rules. This approach appeals to those who want to see no policy in kernel space, but it is hard to implement in this case; there is no information available to distinguish this wired-down network controller from the traditional USB variety.
That's not true. USB devices can be identified uniquely by physical path -- see "lsusb -t". For for a wired down device, you can figure out which one it is as long as you always solder it to the same spot.
This discussion seems to be focusing not on that particular problem, but instead on just extending platform_data to other usb devices for more nuanced reasons, since there are some hardware-specific details that might come up. See e.g. this posting
for some examples.
to post comments)