Léobaillard
Membres-
Compteur de contenus
1 -
Inscription
-
Dernière visite
Autres informations
-
Mes langues
Français Anglais Espagnol
Visiteurs récents du profil
Le bloc de visiteurs récents est désactivé et il n’est pas visible pour les autres utilisateurs.
Léobaillard's Achievements
Junior Member (3/12)
0
Réputation sur la communauté
-
Bonjour ! J'ai actuellement un onduleur générique Aunilec Groups 700D branché en USB à mon ordinateur sous Ubuntu Server 8.04. J'aimerais bien réussir à l'interfacer par un moyen ou un autre afin de bénéficier pleinement de ses services. J'ai fait quelques recherches sur le net, j'ai parcouru pas mal de mailing-lists, mais sans vraiment trouver de réponse... Le driver de communication le plus approprié semble être powercom ou usbhid-ups. Voilà le retour de certaines commandes qui peuvent aider (j'espère) à comprendre... $ dmesg|grep hid [ 25.320920] usbcore: registered new interface driver hiddev [ 25.330821] hiddev96hidraw0: USB HID v1.00 Device [POWERCOM CO., LTD. USB to Serial] on usb-0000:00:02.0-1 [ 25.330834] usbcore: registered new interface driver usbhid [ 25.330837] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver $ lsusb -vvv Bus 001 Device 003: ID 0d9f:0002 Powercom Co., Ltd Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0d9f Powercom Co., Ltd idProduct 0x0002 bcdDevice 0.00 iManufacturer 1 iProduct 2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 bmAttributes 0x80 (Bus Powered) MaxPower 100mA 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.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 37 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 $ strace -o nut /lib/nut/usbhid-ups -DDD -a serveurups -u root -x explore -x vendorid=0d9f -x productid=0002 > nut debug level is '3' upsdrv_initups... Checking device (0000/0000) (003/001) - VendorID: 0000 - ProductID: 0000 - Manufacturer: Linux 2.6.24-22-server ehci_hcd - Product: EHCI Host Controller - Serial Number: 0000:00:02.2 - Bus: 003 Trying to match device Device does not match - skipping Checking device (0000/0000) (002/001) - VendorID: 0000 - ProductID: 0000 - Manufacturer: Linux 2.6.24-22-server ohci_hcd - Product: OHCI Host Controller - Serial Number: 0000:00:02.1 - Bus: 002 Trying to match device Device does not match - skipping Checking device (0D9F/0002) (001/003) - VendorID: 0d9f - ProductID: 0002 - Manufacturer: POWERCOM CO., LTD. - Product: USB to Serial - Serial Number: unknown - Bus: 001 Trying to match device Device matches HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22 25 00 HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 25 00 HID descriptor length 37 Report Descriptor size = 37 Report Descriptor: (37 bytes) => 06 a0 ff 09 01 a1 01 09 01 15 00 26 ff 00 75 08 95 08 81 02 09 02 75 08 95 08 91 02 09 03 75 08 95 05 b1 02 c0 Using subdriver: EXPLORE HID 0.1 Report[get]: (2 bytes) => 31 0d Path: ffa00001.ffa00001, Type: Input, ReportID: 0x00, Offset: 0, Size: 8, Value: 13.000000 Report[buf]: (2 bytes) => 31 0d Path: ffa00001.ffa00002, Type: Output, ReportID: 0x00, Offset: 0, Size: 8, Value: 13.000000 Report[buf]: (2 bytes) => 31 0d Path: ffa00001.ffa00003, Type: Feature, ReportID: 0x00, Offset: 0, Size: 8, Value: 13.000000 Report descriptor retrieved (Reportlen = 37) Found HID device Detected a UPS: POWERCOM CO., LTD./USB to Serial upsdrv_initinfo... upsdrv_updateinfo... Quick update... upsdrv_updateinfo... Quick update... upsdrv_updateinfo... Quick update... ... Merci d'avance !