[Nut-upsdev] [PATCH] few additions to the nut-usbups.rules

Charles Lepple clepple at gmail.com
Fri Nov 4 22:34:33 UTC 2011


On Fri, Nov 4, 2011 at 12:30 PM, Stanislav Brabec <sbrabec at suse.cz> wrote:
> This is an output of Krauler UP-M500VA. If you need more, feel free to
> ask.
>
> # lsusb -v -s 7:2
>
> Bus 007 Device 002: ID 0001:0000 Fry's Electronics
[...]
>  iManufacturer           1
>  iProduct                2

If you add more "-v" flags to lsusb, does it display the Manufacturer
and Product strings corresponding to these two IDs? I think udev
supports string matching, but I haven't actually tried that.

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list