From owner-freebsd-usb@FreeBSD.ORG Sun Dec 20 06:59:51 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 478EF1065670 for ; Sun, 20 Dec 2009 06:59:51 +0000 (UTC) (envelope-from vinnix.bsd@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 232458FC12 for ; Sun, 20 Dec 2009 06:59:50 +0000 (UTC) Received: by pwi15 with SMTP id 15so2909002pwi.3 for ; Sat, 19 Dec 2009 22:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ey+H8vhdawp9JOXQAoYg8uzGKZ/79y/gK0L+axAOtoo=; b=SZJ3IYRjqyae1tCjYRpkaX6VhKDE53Y/pZqbT3FkB4JJJrRB/eTa+jor28ubwJXwVJ nyvPi4tfsoUUnHiqDbTlSkGMPb8qQM6PcSPcj7dNE0nFiyjmjByh6O+wZf68wqeEjk4t ikkNWMh9PejC+xXMJdG7/BYAGeeklEJ2fcxHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oM//wszJYL+gFK5V5y+8gM4ACrPGaf5YJNwRES7XZFuYMY9GgVPO+NSH/JNRfUI3dZ Ka1dFEj05XDHiafEtQy8CzilLczgUoXL+8tTP8237/wrpzKY0uNmoljhD800dlF/LmyN ZffIxgqoLBwW3L4pvn5rREH5zZTQyn0nxsvNA= MIME-Version: 1.0 Received: by 10.141.88.1 with SMTP id q1mr3845008rvl.267.1261292390606; Sat, 19 Dec 2009 22:59:50 -0800 (PST) Date: Sun, 20 Dec 2009 04:59:50 -0200 Message-ID: <1e31c7980912192259y177c2faax71816dc5a7db979c@mail.gmail.com> From: Vinicius Abrahao To: freebsd-usb@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: RELENG_8 + UPS USB Interface + NUT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2009 06:59:51 -0000 Guys, how are you? Do you know if NUT supports the new usb stack, that came with RELENG_8 ? I'm following this good how to[1] find at google, but without success. # usbdevs -v shows me nothing, but all other things are working fine! That is my UPS (a SMS one), by lsusb[2]: dev/ugen1.3: ID 04b4:5500 Cypress Semiconductor Corp. HID->COM RS232 Adapter My /usr/local/etc/ups.conf: [triariusups] driver = usbhid-ups port = /dev/uhid0 desc = "UPS do servidor Triarius" vendorid=04b4 productid=5500 When I try to start nut, got this error: # nut start Network UPS Tools - UPS driver controller 2.4.1 Network UPS Tools - Generic HID driver 0.34 (2.4.1) USB communication driver 0.31 No matching HID UPS found Driver failed to start (exit status=1) /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut Can anyone, with more experience with usb-hid interfaces and NUT help-me with this guy? Thanks in advance, best regards and happy holly-days, Vinnix [1] http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt [2] Bus /dev/usb Device /dev/ugen1.3: ID 04b4:5500 Cypress Semiconductor Corp. HID->COM RS232 Adapter Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x04b4 Cypress Semiconductor Corp. idProduct 0x5500 HID->COM RS232 Adapter bcdDevice 0.00 iManufacturer 1 Cypress Semiconductor iProduct 2 USB to Serial iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 Sample HID 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