Victor Romero
2014-Feb-26 07:10 UTC
[Nut-upsuser] NUT v2.7.1 - Not working on UPS SOLA BASIC SR MICRONET XRN-21-481
I got a UPS Sola Basic but it is not working, I'm providing the details. I hope that someone can help me to get it working. Please let me know if there is some other information that I should provide :) OS name and version Ubuntu 12.04 $ uname -a Linux olimpo 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Exact NUT version, 2.7.1 compiled and installed from source tarball NUT installation method: from source tarball, package or Subversion, Compiled and installed from source tarball Exact device name and related information (manufacturing date, web pointers, ...), UPS SOLA BASIC SR MICRONET XRN-21-481 http://www.isbmex.com/PDF/XRN21801E.pdf http://www.isbmex.com/microsrinet.html complete problem description, with any relevant traces, like system log excerpts, and driver debug output. You can obtain the latter using the following command, as root and after having stopped NUT: $ sudo /usr/local/ups/bin/isbmex -a solabasic -u ups -DD Network UPS Tools - ISBMEX UPS driver 0.06 (2.7.1) 0.000000 debug level is '2' Unable to open auto: No such file or directory Things to try: - Check 'port=' in ups.conf - Check owner/permissions of all parts of path 0.001027 Fatal error: unusable configuration zeus at olimpo:~$ lsusb -vv -d 0483:0035 Bus 002 Device 003: ID 0483:0035 SGS Thomson Microelectronics Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0483 SGS Thomson Microelectronics idProduct 0x0035 bcdDevice 1.11 iManufacturer 3 iProduct 1 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 20mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 33 US bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 29 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 10 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 10 Best Regards Victor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140226/e4fc45f9/attachment-0001.html>
Charles Lepple
2014-Feb-26 13:42 UTC
[Nut-upsuser] NUT v2.7.1 - Not working on UPS SOLA BASIC SR MICRONET XRN-21-481
On Feb 26, 2014, at 2:10 AM, Victor Romero wrote:> I got a UPS Sola Basic but it is not working, I'm providing the details. I hope that someone can help me to get it working. > > Please let me know if there is some other information that I should provide :)Thank you for providing all of this information!> OS name and version > Ubuntu 12.04 > $ uname -a > Linux olimpo 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > > Exact NUT version, > > 2.7.1 compiled and installed from source tarball > > NUT installation method: from source tarball, package or Subversion, > > Compiled and installed from source tarball > > Exact device name and related information (manufacturing date, web pointers, ?), > > UPS SOLA BASIC SR MICRONET XRN-21-481 > http://www.isbmex.com/PDF/XRN21801E.pdf > http://www.isbmex.com/microsrinet.html > > > complete problem description, with any relevant traces, like system log excerpts, and driver debug output. You can obtain the latter using the following command, as root and after having stopped NUT: > > $ sudo /usr/local/ups/bin/isbmex -a solabasic -u ups -DD > Network UPS Tools - ISBMEX UPS driver 0.06 (2.7.1) > 0.000000 debug level is '2' > > Unable to open auto: No such file or directoryThe problem is that the "isbmex" driver was written for a serial-only UPS, and I don't think we have any information on the USB protocol. However, the manufacturer's driver package indicates that this might be a FTDI serial converter. Please try the following: $ sudo modprobe ftdi_sio vendor=0x0483 product=0x0035 and see if you get a new /dev/ttyUSB* device node. -- Charles Lepple clepple at gmail
Victor Romero
2014-Feb-27 05:55 UTC
[Nut-upsuser] NUT v2.7.1 - Not working on UPS SOLA BASIC SR MICRONET XRN-21-481
Hi Charles! Thanks a lot for your response. Now I figure why the isbmex driver was not working. On the other hand I've tried to run the command suggested. But no success. I got this information when running the dmesg command after running the modprobe $ sudo modprobe ftdi_sio vendor=0x0483 product=0x0035 [35816.111760] usbcore: registered new interface driver usbserial [35816.111792] usbcore: registered new interface driver usbserial_generic [35816.111814] usbserial: USB Serial support registered for generic [35816.136413] usbcore: registered new interface driver ftdi_sio [35816.136440] usbserial: USB Serial support registered for FTDI USB Serial Device $ ls -lrt /dev/ttyUSB* ls: cannot access /dev/ttyUSB*: No such file or directory $ lsmod | grep ft ftdi_sio 43826 0 usbserial 37161 1 ftdi_sio As per the FTDI documentation I would expect a response message like USB Serial Device converter now attached to ttyUSB0 but not. :) Is there any other suggestion Best regards Victor On Wed, Feb 26, 2014 at 7:42 AM, Charles Lepple <clepple at gmail.com> wrote:> On Feb 26, 2014, at 2:10 AM, Victor Romero wrote: > > > I got a UPS Sola Basic but it is not working, I'm providing the details. > I hope that someone can help me to get it working. > > > > Please let me know if there is some other information that I should > provide :) > > Thank you for providing all of this information! > > > OS name and version > > Ubuntu 12.04 > > $ uname -a > > Linux olimpo 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 > 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > > > > Exact NUT version, > > > > 2.7.1 compiled and installed from source tarball > > > > NUT installation method: from source tarball, package or Subversion, > > > > Compiled and installed from source tarball > > > > Exact device name and related information (manufacturing date, web > pointers, ...), > > > > UPS SOLA BASIC SR MICRONET XRN-21-481 > > http://www.isbmex.com/PDF/XRN21801E.pdf > > http://www.isbmex.com/microsrinet.html > > > > > > complete problem description, with any relevant traces, like system log > excerpts, and driver debug output. You can obtain the latter using the > following command, as root and after having stopped NUT: > > > > $ sudo /usr/local/ups/bin/isbmex -a solabasic -u ups -DD > > Network UPS Tools - ISBMEX UPS driver 0.06 (2.7.1) > > 0.000000 debug level is '2' > > > > Unable to open auto: No such file or directory > > The problem is that the "isbmex" driver was written for a serial-only UPS, > and I don't think we have any information on the USB protocol. > > However, the manufacturer's driver package indicates that this might be a > FTDI serial converter. > > Please try the following: > > $ sudo modprobe ftdi_sio vendor=0x0483 product=0x0035 > > and see if you get a new /dev/ttyUSB* device node. > > -- > Charles Lepple > clepple at gmail > > > >-- Saludos!!! Victor Romero -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140226/2387a34b/attachment-0001.html>