Author Message

<  Everything Coding  ~  Idea: attributing unique IDs for devices

PostPosted: Thu Apr 23, 2009 7:51 pm Reply with quote
Posts: 11 Joined: Tue Apr 14, 2009 8:45 pm Website: http://packages.qa.debian.org/u/usb-modeswitch.html
Hi,

I am the Debian packager of usb-modeswitch. The main problem I see for usb-modeswitch's future is the problematic confusion caused by different devices carrying the same idVendor:idProduct string.

This is a problem in particular for upgrades. If a user uncomments one entry in /etc/usb_modeswitch.conf (or in our generated /etc/udev/rules.d/usb_modeswitch.rules), he will have to handle the updates more or less manually.

What about building a "database" (which could be stored in /usr/share/usb_modeswitch for example), which would link a unique id (idVendor:idProduct:idVariantSpecificToUsbModeswitch for example) to the needed configuration (and a description string) for the device.

usb_modeswitch could then be simply launched with either the complete command or with --id for example. This would allow a really simple configuration on the user side. "Allow one idVariantSpecificToUsbModeswitch per idVendor:idProduct".

Assuming that normal users only have one dongle, the shape of a standard usb_modeswitch.conf (or .rules) would be really easier.

What do you thinkĀ ?

Best regards,

OdyX


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
1 post
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum