From owner-freebsd-usb@FreeBSD.ORG Tue Jan 29 08:32:16 2008 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 123DB16A417 for ; Tue, 29 Jan 2008 08:32:16 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id E00AE13C4EC for ; Tue, 29 Jan 2008 08:32:15 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m0T8WEjs046237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 29 Jan 2008 00:32:14 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m0T8WDiR046236 for freebsd-usb@freebsd.org; Tue, 29 Jan 2008 00:32:13 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA03725; Tue, 29 Jan 08 00:21:20 PST Date: Tue, 29 Jan 2008 00:17:16 -0800 From: perryh@pluto.rain.com To: freebsd-usb@freebsd.org Message-Id: <479ee10c.j/gABwE/kBS7W+pA%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: USB serial port vs 6.1 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: Tue, 29 Jan 2008 08:32:16 -0000 Does 6.1 have some fundamental problem with USB serial devices? I'm trying a USB-serial converter after getting nowhere with connecting a USB modem directly -- the modem also has a DB9 -- and getting the same unexpected behavior from the converter as from the modem. When connected, the console reports: ugen0: FIDI usb serial converter, rev 1.10/4.00, addr 3 Device nodes are created: # ls -l /dev/ug* crw-r--r-- 1 root operator 1, 15 Nov 24 21:17 /dev/ugen0 crw-r--r-- 1 root operator 1, 16 Nov 24 21:17 /dev/ugen0.1 crw-r--r-- 1 root operator 1, 17 Nov 24 21:17 /dev/ugen0.2 but the endpoints misbehave like those created for the ZyXEL modem earlier this month: # ./usbEpProbe /dev/ugen0.1 usbEpProbe: Cannot open '/dev/ugen0.1': Device not configured # ./usbEpProbe /dev/ugen0.2 usbEpProbe: Cannot open '/dev/ugen0.2': Device not configured # ./usbEpProbe /dev/ugen0 usbEpProbe: Cannot set short XFER : Invalid argument # cat /dev/ugen0.1 > /dev/null cat: /dev/ugen0.1: Input/output error # cat /dev/ugen0.2 > /dev/null cat: /dev/ugen0.2: Device not configured # cat /dev/ugen0 > /dev/null cat: /dev/ugen0: Operation not supported by device # udesc_dump /dev/ugen0 Standard Device Descriptor: bLength 18 bDescriptorType 01 bcdUSB 0110 bDeviceClass 00 bDeviceSubClass 00 bDeviceProtocol 00 bMaxPacketSize 8 idVendor 0403 idProduct 6001 bcdDevice 0400 iManufacturer 1 iProduct 2 iSerialNumber 3 bNumConfigurations 1 Configuration 0: Standard Configuration Descriptor: bLength 9 bDescriptorType 02 wTotalLength 32 bNumInterface 1 bConfigurationValue 1 iConfiguration 0 bmAttributes a0 (remote-wakeup) bMaxPower 22 (44 mA) Standard Interface Descriptor: bLength 9 bDescriptorType 04 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass ff bInterfaceSubClass ff bInterfaceProtocol ff iInterface 2 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 81 (in) bmAttributes 02 (Bulk) wMaxPacketSize 64 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 02 (out) bmAttributes 02 (Bulk) wMaxPacketSize 64 bInterval 0 Codes Representing Languages by the Device: bLength 4 bDescriptorType 03 wLANGID[0] 0409 String (index 1): FIDI String (index 2): usb serial converter String (index 3): FTBSW3LS