[Nut-upsuser] Need help with Unitek Alpha 1200sx.
Joseph Borg
juu.borg at gmail.com
Wed Jan 2 18:35:46 UTC 2008
Hi,
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...
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:
----------------------
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0f03 ProdID=0001 Rev= 0.01
S: Manufacturer=Ver 1.0
S: Product=USB To RS232 Interface (V1.0) BaudRate 2400bps
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
-----------------------
Bus 001 Device 002: ID 0f03:0001
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0f03
idProduct 0x0001
bcdDevice 0.01
iManufacturer 1 Ver 1.0
iProduct 2 USB To RS232 Interface (V1.0) BaudRate 2400bps
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 2400bps
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 5 USB
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 35
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
--------------------------------------
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?
I was hoping someone could point me in the right direction.
Many thanks in advance.
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080102/36251c80/attachment.htm
More information about the Nut-upsuser
mailing list