On Fri, Feb 15, 2013 at 01:05:38PM -0500, simon@xxxxxxxxxxxxx wrote: > No word from 'linux-input' so cross posting to 'linux-usb', > Simon > > -------------------------------------------------------------------------- > > Hi, > I'm after naming suggestions for USB devices which use the LED class. > > On one gaming wheel (Steelseries SWR-S1) I was able to use the serial > number, however my other wheel (Logitech G27) does not have a unique > serial (it reports '0'). > > The G27 (hid-lg4ff) driver's naming changes each time the wheel is > unplugged/plugged. > > It currently uses > -- > snprintf(name, name_sz, "%s::RPM%d", dev_name(&hid->dev), j+1); > -- > ie. "0003:046D:C294.0009::RPM1", the '0009' will change each time. > > > In the absence of a serial number, is there another method I could use > which would allow multiple G27's to be connected to a system and still > allow unique (but consistant) naming? Use the USB "path" in the system to create a symlink to the device, much like the /dev/serial/ symlinks are created in udev. good luck, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html