Oleg Pshenychnyy
2009-Feb-19 22:21 UTC
[Nut-upsuser] megatec_usb vs Mustek NetGuard / Ippon SmartWinner problem
Greetings Gentlemen, I have Mustek NetGuard 1000 UPS which is equivalent to Ippon SmartWinner 1000. I have tried to run several latest builds of NUT, but run megatec_usb driver still failed with my device. I hope the information below might help. Regards, Oleg Here is the information which may help: lsusb -v Bus 002 Device 002: ID 06da:0003 Phoenixtec Power Co., Ltd Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x06da Phoenixtec Power Co., Ltd idProduct 0x0003 bcdDevice 2.00 iManufacturer 3 OMRON iProduct 1 USB UPS iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.11 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 27 Report Descriptor: (length is 27) Item(Global): Usage Page, data= [ 0x00 0xff ] 65280 (null) Item(Local ): Usage, data= [ 0x01 ] 1 (null) Item(Main ): Collection, data= [ 0x01 ] 1 Application Item(Local ): Usage, data= [ 0x02 ] 2 (null) Item(Global): Logical Minimum, data= [ 0x00 ] 0 Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Report Count, data= [ 0x08 ] 8 Item(Main ): Input, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Local ): Usage, data= [ 0x02 ] 2 (null) Item(Global): Report Count, data= [ 0x08 ] 8 Item(Main ): Output, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Main ): End Collection, data=none 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 20 vi /proc/bus/usb/devices T: Bus=02 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=06da ProdID=0003 Rev= 2.00 S: Manufacturer=OMRON S: Product=USB UPS C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=20ms ups.conf: [netguard] driver = megatec_usb port = auto vendorid = 06da desc = "SVEN NetGuard 1000(USB)" megatec_usb -DDDDD -a netguard Checking device (06DA/0003) (002/002) - VendorID: 06da - ProductID: 0003 - Manufacturer: OMRON - Product: USB UPS - Serial Number: unknown - Bus: 002 Trying to match device Device matches DTR=1, RTS=0 Starting UPS detection process... Asking for UPS information [I]... I => FAILED [short read] I detail: (1 bytes) => 49 Asking for UPS status [Q1]... get_data_phoenix: got so far [(213.8 2] get_data_phoenix: (8 bytes) => 28 32 31 33 2e 38 20 32 3]t_data_phoenix: got so far [(213.8 2001001 get_data_phoenix: (16 bytes) => 28 32 31 33 2e 38 20 32 30 30 31 30 30 31 0d 33 3.8 031 5]hoenix: got so far [(213.8 2001001 get_data_phoenix: (24 bytes) => 28 32 31 33 2e 38 20 32 30 30 31 30 30 31 0d 33 2e 38 20 30 33 31 20 35 3.8 031 50.0 27.3]got so far [(213.8 2001001 get_data_phoenix: (32 bytes) => 28 32 31 33 2e 38 20 32 30 30 31 30 30 31 0d 33 2e 38 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 3.8 031 50.0 27.3 76.2 00]ar [(213.8 2001001 get_data_phoenix: (40 bytes) => 28 32 31 33 2e 38 20 32 30 30 31 30 30 31 0d 33 2e 38 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 3]8 031 50.0 27.3 76.2 00001001213.8 2001001 get_data_phoenix: (48 bytes) => 28 32 31 33 2e 38 20 32 30 30 31 30 30 31 0d 33 2e 38 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 33 3.8 031 5].0 27.3 76.2 00001001213.8 2001001 get_data_phoenix: (56 bytes) => 28 32 31 33 2e 38 20 32 30 30 31 30 30 31 0d 33 2e 38 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 33 2e 38 20 30 33 31 20 35 3.8 031 50.0 27.3]76.2 00001001213.8 2001001 get_data_phoenix: (64 bytes) => 28 32 31 33 2e 38 20 32 30 30 31 30 30 31 0d 33 2e 38 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 33 2e 38 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 Q1 => FAILED [short read] Q1 detail: (14 bytes) => 28 32 31 33 2e 38 20 32 30 30 31 30 30 31 Asking for UPS status [Q1]... get_data_phoenix: got so far [(214.0 2] get_data_phoenix: (8 bytes) => 28 32 31 34 2e 30 20 32 4]t_data_phoenix: got so far [(214.0 2001001 get_data_phoenix: (16 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 4.0 031 5]hoenix: got so far [(214.0 2001001 get_data_phoenix: (24 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 4.0 031 50.0 27.3]got so far [(214.0 2001001 get_data_phoenix: (32 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 4.0 031 50.0 27.3 76.2 00]ar [(214.0 2001001 get_data_phoenix: (40 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 4]0 031 50.0 27.3 76.2 00001001214.0 2001001 get_data_phoenix: (48 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 4.0 031 5].0 27.3 76.2 00001001214.0 2001001 get_data_phoenix: (56 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 4.0 031 50.0 27.3]76.2 00001001214.0 2001001 get_data_phoenix: (64 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 Q1 => FAILED [short read] Q1 detail: (14 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 Asking for UPS status [Q1]... get_data_phoenix: got so far [(214.0 2] get_data_phoenix: (8 bytes) => 28 32 31 34 2e 30 20 32 4]t_data_phoenix: got so far [(214.0 2001001 get_data_phoenix: (16 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 4.0 031 5]hoenix: got so far [(214.0 2001001 get_data_phoenix: (24 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 4.0 031 50.0 27.3]got so far [(214.0 2001001 get_data_phoenix: (32 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 4.0 031 50.0 27.3 76.2 00]ar [(214.0 2001001 get_data_phoenix: (40 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 4]0 031 50.0 27.3 76.2 00001001214.0 2001001 get_data_phoenix: (48 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 4.0 031 5].0 27.3 76.2 00001001214.0 2001001 get_data_phoenix: (56 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 4.0 031 50.0 27.3]76.2 00001001214.0 2001001 get_data_phoenix: (64 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 2e 30 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 Q1 => FAILED [short read] Q1 detail: (14 bytes) => 28 32 31 34 2e 30 20 32 30 30 31 30 30 31 Asking for UPS status [Q1]... get_data_phoenix: got so far [(214.2 2] get_data_phoenix: (8 bytes) => 28 32 31 34 2e 32 20 32 4]t_data_phoenix: got so far [(214.2 2001001 get_data_phoenix: (16 bytes) => 28 32 31 34 2e 32 20 32 30 30 31 30 30 31 0d 34 4.2 031 5]hoenix: got so far [(214.2 2001001 get_data_phoenix: (24 bytes) => 28 32 31 34 2e 32 20 32 30 30 31 30 30 31 0d 34 2e 32 20 30 33 31 20 35 4.2 031 50.0 27.3]got so far [(214.2 2001001 get_data_phoenix: (32 bytes) => 28 32 31 34 2e 32 20 32 30 30 31 30 30 31 0d 34 2e 32 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 4.2 031 50.0 27.3 76.2 00]ar [(214.2 2001001 get_data_phoenix: (40 bytes) => 28 32 31 34 2e 32 20 32 30 30 31 30 30 31 0d 34 2e 32 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 4]2 031 50.0 27.3 76.2 00001001214.2 2001001 get_data_phoenix: (48 bytes) => 28 32 31 34 2e 32 20 32 30 30 31 30 30 31 0d 34 2e 32 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 4.2 031 5].0 27.3 76.2 00001001214.2 2001001 get_data_phoenix: (56 bytes) => 28 32 31 34 2e 32 20 32 30 30 31 30 30 31 0d 34 2e 32 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 2e 32 20 30 33 31 20 35 4.2 031 50.0 27.3]76.2 00001001214.2 2001001 get_data_phoenix: (64 bytes) => 28 32 31 34 2e 32 20 32 30 30 31 30 30 31 0d 34 2e 32 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 2e 32 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 Q1 => FAILED [short read] Q1 detail: (14 bytes) => 28 32 31 34 2e 32 20 32 30 30 31 30 30 31 Asking for UPS status [Q1]... get_data_phoenix: got so far [(214.4 2] get_data_phoenix: (8 bytes) => 28 32 31 34 2e 34 20 32 4]t_data_phoenix: got so far [(214.4 2001001 get_data_phoenix: (16 bytes) => 28 32 31 34 2e 34 20 32 30 30 31 30 30 31 0d 34 4.4 031 5]hoenix: got so far [(214.4 2001001 get_data_phoenix: (24 bytes) => 28 32 31 34 2e 34 20 32 30 30 31 30 30 31 0d 34 2e 34 20 30 33 31 20 35 4.4 031 50.0 27.3]got so far [(214.4 2001001 get_data_phoenix: (32 bytes) => 28 32 31 34 2e 34 20 32 30 30 31 30 30 31 0d 34 2e 34 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 4.4 031 50.0 27.3 76.2 00]ar [(214.4 2001001 get_data_phoenix: (40 bytes) => 28 32 31 34 2e 34 20 32 30 30 31 30 30 31 0d 34 2e 34 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 4]4 031 50.0 27.3 76.2 00001001214.4 2001001 get_data_phoenix: (48 bytes) => 28 32 31 34 2e 34 20 32 30 30 31 30 30 31 0d 34 2e 34 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 4.4 031 5].0 27.3 76.2 00001001214.4 2001001 get_data_phoenix: (56 bytes) => 28 32 31 34 2e 34 20 32 30 30 31 30 30 31 0d 34 2e 34 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 2e 34 20 30 33 31 20 35 4.4 031 50.0 27.3]76.2 00001001214.4 2001001 get_data_phoenix: (64 bytes) => 28 32 31 34 2e 34 20 32 30 30 31 30 30 31 0d 34 2e 34 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 20 37 36 2e 32 20 30 30 30 30 31 30 30 31 0d 34 2e 34 20 30 33 31 20 35 30 2e 30 20 32 37 2e 33 Q1 => FAILED [short read] Q1 detail: (14 bytes) => 28 32 31 34 2e 34 20 32 30 30 31 30 30 31 5 out of 5 detection attempts failed (minimum failures: 2). Megatec protocol UPS not detected. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090220/54ddebbf/attachment-0001.htm
Alexander I. Gordeev
2009-Feb-20 08:55 UTC
[Nut-upsuser] megatec_usb vs Mustek NetGuard / Ippon SmartWinner problem
Hi Oleg, On Friday 20 February 2009 01:21:25 Oleg Pshenychnyy wrote:> Greetings Gentlemen, > > I have Mustek NetGuard 1000 UPS which is equivalent to Ippon SmartWinner > 1000. > I have tried to run several latest builds of NUT, but run megatec_usb > driver still failed with my device. > I hope the information below might help. > > Regards, > Oleg > > Here is the information which may help:[snip] Yes, this is all we need, thanks. Indeed, megatec_usb currently fails to talk to this device. Fortunately, I've recently received a unit with the same interface (thanks Arnaud) so I'll fix the driver soon. -- Alexander
Arjen de Korte
2009-Feb-20 09:07 UTC
[Nut-upsuser] megatec_usb vs Mustek NetGuard / Ippon SmartWinner problem
Citeren Oleg Pshenychnyy <oleg.pshenychnyy op gmail.com>:> I have Mustek NetGuard 1000 UPS which is equivalent to Ippon SmartWinner > 1000. > I have tried to run several latest builds of NUT, but run megatec_usb driver > still failed with my device. > I hope the information below might help.[...] Try the 'blazer_usb' driver instead. Make sure to read 'man 8 blazer', since there are quite a couple of differences in what the driver reports by default and what needs to be configured in 'ups.conf'. Best regards, Arjen -- Please keep list traffic on the list