Justin Piszcz
2007-Aug-25 11:45 UTC
[Nut-upsuser] Belkin VA 550 USB Not Supported With nut 2.2.0
# /lib/nut/megatec_usb -a myups Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb] Carlos Rodrigues (c) 2003-2007 Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] No supported devices found. Please check your device availability with 'lsusb' and make sure you have an up-to-date version of NUT. If this does not help, try running the driver with at least 'vendorid' and 'subdriver' options specified. Please refer to the man page for details about these options (man 8 megatec_usb). Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. # lsusb -v Bus 001 Device 002: ID 0665:5161 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0665 idProduct 0x5161 bcdDevice 0.02 iManufacturer 1 Cypress Semiconductor iProduct 2 USB to Serial iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 3 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Devices bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 4 Sample HID HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 27 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 32 Device Status: 0x0000 (Bus Powered) # /lib/nut/megatec_usb -a myups -x vendorid=0x0665 Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb] Carlos Rodrigues (c) 2003-2007 Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] No supported devices found. Please check your device availability with 'lsusb' and make sure you have an up-to-date version of NUT. If this does not help, try running the driver with at least 'vendorid' and 'subdriver' options specified. Please refer to the man page for details about these options (man 8 megatec_usb). Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. # /lib/nut/megatec_usb -x vendorid=0x0665 -a myups Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb] Carlos Rodrigues (c) 2003-2007 Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] No supported devices found. Please check your device availability with 'lsusb' and make sure you have an up-to-date version of NUT. If this does not help, try running the driver with at least 'vendorid' and 'subdriver' options specified. Please refer to the man page for details about these options (man 8 megatec_usb). Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. # /lib/nut/megatec_usb -x subdriver=agiler -x vendorid=0x0665 -a myups Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb] Carlos Rodrigues (c) 2003-2007 Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] No supported devices found. Please check your device availability with 'lsusb' and make sure you have an up-to-date version of NUT. If this does not help, try running the driver with at least 'vendorid' and 'subdriver' options specified. Please refer to the man page for details about these options (man 8 megatec_usb). Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. # /lib/nut/megatec_usb -x subdriver=krauler -x vendorid=0x0665 -a myups Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb] Carlos Rodrigues (c) 2003-2007 Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] No supported devices found. Please check your device availability with 'lsusb' and make sure you have an up-to-date version of NUT. If this does not help, try running the driver with at least 'vendorid' and 'subdriver' options specified. Please refer to the man page for details about these options (man 8 megatec_usb). Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. # USB: [myups] driver = megatec_usb port = auto desc = "Belkin Universal UPS 500 VA" # pollfreq = 5 # not avail with megatec_usb driver [5220054.969000] hiddev96: USB HID v1.00 Device [Cypress Semiconductor USB to Serial] on usb-0000:00:1f.2-2 http://linux.derkeiler.com/Newsgroups/comp.os.linux.hardware/2004-11/0173.html I compiled this option into the kernel. Same problem persists. # /lib/nut/megatec_usb -a myups Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb] Carlos Rodrigues (c) 2003-2007 Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] No supported devices found. Please check your device availability with 'lsusb' and make sure you have an up-to-date version of NUT. If this does not help, try running the driver with at least 'vendorid' and 'subdriver' options specified. Please refer to the man page for details about these options (man 8 megatec_usb). Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>.
Charles Lepple
2007-Aug-27 02:31 UTC
[Nut-upsuser] Belkin VA 550 USB Not Supported With nut 2.2.0
On 8/25/07, Justin Piszcz <jpiszcz at lucidpixels.com> wrote:> [5220054.969000] hiddev96: USB HID v1.00 Device [Cypress Semiconductor USB to Serial] on usb-0000:00:1f.2-2 > > http://linux.derkeiler.com/Newsgroups/comp.os.linux.hardware/2004-11/0173.html > > I compiled this option into the kernel. > > Same problem persists.Do you get any new /dev/ttyUSB* device nodes with the usbserial module loaded? You may have to pass some options to the module (e.g. "vendor=0x0665 product=0x5161"). Also, there was talk on the list that this command "should" work: /lib/nut/megatec_usb -DDD -x vendorid=0665 -x subdriver=agiler -u root auto Specifically, the "-DDD" options should yield some more useful information as to why it was not detected. -- - Charles Lepple
Charles Lepple
2007-Aug-27 02:44 UTC
[Nut-upsuser] Belkin VA 550 USB Not Supported With nut 2.2.0
On 8/26/07, Charles Lepple <clepple at gmail.com> wrote:> On 8/25/07, Justin Piszcz <jpiszcz at lucidpixels.com> wrote: > > [5220054.969000] hiddev96: USB HID v1.00 Device [Cypress Semiconductor USB to Serial] on usb-0000:00:1f.2-2 > > > > http://linux.derkeiler.com/Newsgroups/comp.os.linux.hardware/2004-11/0173.html > > > > I compiled this option into the kernel. > > > > Same problem persists. > > Do you get any new /dev/ttyUSB* device nodes with the usbserial module > loaded? You may have to pass some options to the module (e.g. > "vendor=0x0665 product=0x5161"). > > Also, there was talk on the list that this command "should" work: > > /lib/nut/megatec_usb -DDD -x vendorid=0665 -x subdriver=agiler -u root auto > > Specifically, the "-DDD" options should yield some more useful > information as to why it was not detected.Also note that usbhid-ups is looking for the vendorid as a string of just four hex digits, without a leading "0x". -- - Charles Lepple