[Nut-upsdev] ambiguous USB IDs (was: [nut-commits] svn commit r1589 - in trunk: . drivers)

Charles Lepple clepple at gmail.com
Thu Dec 4 03:22:35 UTC 2008


On Wed, Dec 3, 2008 at 10:18 PM, Charles Lepple <clepple at gmail.com> wrote:
>> Unless a VID:PID combination unambiguously identifies a USB device as a
>> supported UPS, using it in a HAL addon is probably not a very good idea.
>> Should we remove the 'hald-addon-megatec_usb' driver before releasing
>> nut-2.4?
>
> I haven't looked much into the new structures, but could we add
> another field to specify whether it is an official VID:PID, or if it
> looks suspect? That could help with splitting the udev files as
> mentioned above.

I meant to add that I, too, am against supporting bogus VID:PID
combinations in the HAL drivers.

It's supposed to be a zero-configuration system, and if someone
doesn't have a legitimate VID:PID, there is the potential for
requiring a configuration option to disable that combination later.


-- 
- Charles Lepple



More information about the Nut-upsdev mailing list