Hi,<br>I'm new to NUT. I've installed Fedora 8 and NUt along with it. I'm now having a go at getting my Unitek Alpha 1200sx UPS to work and shutdown the box automatically. I know this isn't officially supported but I'm trying my luck...
<br><br>I've seen that other Unitek UPSs use the 'megatec' driver however I'm unsure whether this will do the trick. My UPS comes with a USB connection. Following is some relevant output:<br><br>----------------------
<br>T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0<br>D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1<br>P: Vendor=0f03 ProdID=0001 Rev= 0.01<br>S: Manufacturer=Ver 1.0<br>S: Product=USB To RS232 Interface (
V1.0) BaudRate 2400bps<br>C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA<br>I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid<br>E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms<br>-----------------------<br>Bus 001 Device 002: ID 0f03:0001
<br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 1.10<br> bDeviceClass 0 (Defined at Interface level)<br> bDeviceSubClass 0 <br> bDeviceProtocol 0
<br> bMaxPacketSize0 8<br> idVendor 0x0f03 <br> idProduct 0x0001 <br> bcdDevice 0.01<br> iManufacturer 1 Ver 1.0<br> iProduct 2 USB To RS232 Interface (
V1.0) BaudRate 2400bps<br> iSerial 0 <br> bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 34<br> bNumInterfaces 1
<br> bConfigurationValue 1<br> iConfiguration 4 2400bps<br> bmAttributes 0x80<br> MaxPower 100mA<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4
<br> bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 3 Human Interface Devices<br> bInterfaceSubClass 1 Boot Interface Subclass
<br> bInterfaceProtocol 2 Mouse<br> iInterface 5 USB<br> HID Device Descriptor:<br> bLength 9<br> bDescriptorType 33<br> bcdHID
1.00<br> bCountryCode 0 Not supported<br> bNumDescriptors 1<br> bDescriptorType 34 Report<br> wDescriptorLength 35<br> Report Descriptors: <br> ** UNAVAILABLE **
<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 3<br> Transfer Type Interrupt
<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0008 1x 8 bytes<br> bInterval 10<br>--------------------------------------<br><br>
This therefore seems to me like some serial-over-usb type protocol. I'm therefore unsure as to what driver to try and use (megatec, megatec_usb) and what device to point it to /dev/ttyS?<br><br><br>I was hoping someone could point me in the right direction.
<br><br>Many thanks in advance.<br>Joe<br><br><br>