From owner-freebsd-hackers Mon Sep 6 0:52:27 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from celery.dragondata.com (celery.dragondata.com [205.253.12.6]) by hub.freebsd.org (Postfix) with ESMTP id 961C11508A for ; Mon, 6 Sep 1999 00:52:17 -0700 (PDT) (envelope-from toasty@celery.dragondata.com) Received: (from toasty@localhost) by celery.dragondata.com (8.9.3/8.9.3) id CAA26844; Mon, 6 Sep 1999 02:49:29 -0500 (CDT) (envelope-from toasty) From: Kevin Day Message-Id: <199909060749.CAA26844@celery.dragondata.com> Subject: Re: Limit of bus hierarchies (was Re: PCI modems do not work???) To: nick.hibma@jrc.it Date: Mon, 6 Sep 1999 02:49:29 -0500 (CDT) Cc: imp@village.org (Warner Losh), A.Reilly@lake.com.au (Andrew Reilly), hackers@FreeBSD.ORG In-Reply-To: from "Nick Hibma" at Sep 06, 1999 09:11:06 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > You don't want to know what a ethernet/parallel/serial/hub thingie looks > like. I don't have one, so anyone that has one, could you send me the > output of the usb_dump utility avaible from > > http://www.etla.net/~n_hibma/usb/usb.pl > > I had a problem when I tried plugging in my two usb ethernet/serial/parallel/hub thingies. found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=10 map[0]: type 4, range 32, base 0000ef80, size 5 uhci0: rev 0x01 int d irq 10 on pci0.7.2 usb0: USB version 1.0, interrupting at 10 uhci0: PIRQD enable not set usbd_match usb0: usbd_attach usbd_new_device bus=0xc09eb000 depth=0 lowspeed=0 usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0, protocol=0, maxpacket=64, ls=0 usbd_new_device: new dev (addr 1), dev=0xc0763180, parent=0xc09e6140 uhub0 at usb0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 usbd_set_config_index: (addr 1) attr=0x40, selfpowered=1, power=0, powerquirk=0 usbd_set_config_index: set config 1 usbd_set_config_index: setting new config 1 uhub0: 2 ports with 2 removable, self powered usbd_init_port: adding hub port=1 status=0x0101 change=0x0001 usbd_init_port: adding hub port=2 status=0x0100 change=0x0000 uhub_explore: status change hub=1 port=1 usbd_new_device bus=0xc09eb000 depth=1 lowspeed=0 uhci_waitintr: timeout uhci_waitintr: timeout uhci_waitintr: timeout uhci_waitintr: timeout uhci_waitintr: timeout usbd_new_device: addr=2, getting first desc failed usbd_remove_device: 0xc09fae80 uhub_explore: usb_new_device failed, TIMEOUT uhub0: device problem, disabling port 1 This is under 3.2-STABLE as of a few days ago. Any ideas here? Here's the output of a windows tool I have of some of my more interesting devices, if you're interested... Here's the Entrega USB/Ethernet hub. External Hub: 000000000000000d#{f18a0e88-c30c-11d0-8815-00a0c906bed8} Hub Power: Self Power Number of Ports: 4 Power switching: Individual Compound device: No Over-current Protection: Individual Device Descriptor: bcdUSB: 0x0100 bDeviceClass: 0x09 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 (8) idVendor: 0x0451 (Texas Instruments) idProduct: 0x1446 bcdDevice: 0x0100 iManufacturer: 0x00 iProduct: 0x00 iSerialNumber: 0x00 bNumConfigurations: 0x01 ConnectionStatus: DeviceConnected Current Config Value: 0x01 Device Bus Speed: Full Device Address: 0x02 Open Pipes: 1 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Interrupt wMaxPacketSize: 0x0001 (1) bInterval: 0xFF This is the ethernet device, which appears as port 4 of this hub. (1-3 are USB ports, port 4 is an ethernet port) Device Descriptor: bcdUSB: 0x0100 bDeviceClass: 0x00 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 (8) idVendor: 0x1645 idProduct: 0x0005 bcdDevice: 0x0202 iManufacturer: 0x02 iProduct: 0x03 iSerialNumber: 0x01 bNumConfigurations: 0x01 ConnectionStatus: DeviceConnected Current Config Value: 0x01 Device Bus Speed: Full Device Address: 0x06 Open Pipes: 3 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Endpoint Descriptor: bEndpointAddress: 0x02 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Endpoint Descriptor: bEndpointAddress: 0x83 Transfer Type: Interrupt wMaxPacketSize: 0x0008 (8) bInterval: 0x01 Here's the hub on the Entrega USB/Serial/Parallel device: External Hub: 0000000000000018#{f18a0e88-c30c-11d0-8815-00a0c906bed8} Hub Power: Self Power Number of Ports: 4 Power switching: Individual Compound device: No Over-current Protection: Individual Device Descriptor: bcdUSB: 0x0100 bDeviceClass: 0x09 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 (8) idVendor: 0x0451 (Texas Instruments) idProduct: 0x1446 bcdDevice: 0x0100 iManufacturer: 0x00 iProduct: 0x00 iSerialNumber: 0x00 bNumConfigurations: 0x01 ConnectionStatus: DeviceConnected Current Config Value: 0x01 Device Bus Speed: Full Device Address: 0x05 Open Pipes: 1 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Interrupt wMaxPacketSize: 0x0001 (1) bInterval: 0xFF Configuration Descriptor: wTotalLength: 0x0019 bNumInterfaces: 0x01 bConfigurationValue: 0x01 iConfiguration: 0x00 bmAttributes: 0xE0 (Bus Powered Self Powered Remote Wakeup) MaxPower: 0x32 (100 Ma) Interface Descriptor: bInterfaceNumber: 0x00 bAlternateSetting: 0x00 bNumEndpoints: 0x01 bInterfaceClass: 0x09 bInterfaceSubClass: 0x00 bInterfaceProtocol: 0x00 iInterface: 0x00 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Interrupt wMaxPacketSize: 0x0001 (1) bInterval: 0xFF Here's the serial port on that device: Device Descriptor: bcdUSB: 0x0100 bDeviceClass: 0x00 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x40 (64) idVendor: 0x1645 idProduct: 0x0001 bcdDevice: 0x0102 iManufacturer: 0x01 0x0409: "ENTREGA TECHNOLOGIES, INC." iProduct: 0x02 0x0409: "Entrega USB Serial Converter" iSerialNumber: 0x03 0x0409: "679274" bNumConfigurations: 0x01 ConnectionStatus: DeviceConnected Current Config Value: 0x01 Device Bus Speed: Full Device Address: 0x07 Open Pipes: 3 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x10 Endpoint Descriptor: bEndpointAddress: 0x01 Transfer Type: Bulk wMaxPacketSize: 0x0010 (16) bInterval: 0x10 Endpoint Descriptor: bEndpointAddress: 0x82 Transfer Type: Interrupt wMaxPacketSize: 0x0008 (8) bInterval: 0x08 Configuration Descriptor: wTotalLength: 0x0027 bNumInterfaces: 0x01 bConfigurationValue: 0x01 iConfiguration: 0x00 bmAttributes: 0x60 (Self Powered Remote Wakeup) MaxPower: 0x32 (100 Ma) Interface Descriptor: bInterfaceNumber: 0x00 bAlternateSetting: 0x00 bNumEndpoints: 0x03 bInterfaceClass: 0x00 bInterfaceSubClass: 0x00 bInterfaceProtocol: 0x00 iInterface: 0x00 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x10 Endpoint Descriptor: bEndpointAddress: 0x01 Transfer Type: Bulk wMaxPacketSize: 0x0010 (16) bInterval: 0x10 Endpoint Descriptor: bEndpointAddress: 0x82 Transfer Type: Interrupt wMaxPacketSize: 0x0008 (8) bInterval: 0x08 And the parallel port: Device Descriptor: bcdUSB: 0x0100 bDeviceClass: 0x00 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 (8) idVendor: 0x1645 idProduct: 0x0006 bcdDevice: 0x0100 iManufacturer: 0x00 iProduct: 0x00 iSerialNumber: 0x00 bNumConfigurations: 0x01 ConnectionStatus: DeviceConnected Current Config Value: 0x01 Device Bus Speed: Full Device Address: 0x08 Open Pipes: 3 Endpoint Descriptor: bEndpointAddress: 0x01 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Endpoint Descriptor: bEndpointAddress: 0x82 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Endpoint Descriptor: bEndpointAddress: 0x83 Transfer Type: Interrupt wMaxPacketSize: 0x0004 (4) bInterval: 0x01 Configuration Descriptor: wTotalLength: 0x004E bNumInterfaces: 0x01 bConfigurationValue: 0x01 iConfiguration: 0x00 bmAttributes: 0x80 (Bus Powered ) MaxPower: 0x31 (98 Ma) Interface Descriptor: bInterfaceNumber: 0x00 bAlternateSetting: 0x00 bNumEndpoints: 0x01 bInterfaceClass: 0x07 bInterfaceSubClass: 0x01 bInterfaceProtocol: 0x01 iInterface: 0x00 Endpoint Descriptor: bEndpointAddress: 0x01 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Interface Descriptor: bInterfaceNumber: 0x00 bAlternateSetting: 0x01 bNumEndpoints: 0x02 bInterfaceClass: 0x07 bInterfaceSubClass: 0x01 bInterfaceProtocol: 0x02 iInterface: 0x00 Endpoint Descriptor: bEndpointAddress: 0x01 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Endpoint Descriptor: bEndpointAddress: 0x82 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Interface Descriptor: bInterfaceNumber: 0x00 bAlternateSetting: 0x02 bNumEndpoints: 0x03 bInterfaceClass: 0xFF bInterfaceSubClass: 0x00 bInterfaceProtocol: 0xFF iInterface: 0x00 Endpoint Descriptor: bEndpointAddress: 0x01 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Endpoint Descriptor: bEndpointAddress: 0x82 Transfer Type: Bulk wMaxPacketSize: 0x0040 (64) bInterval: 0x00 Endpoint Descriptor: bEndpointAddress: 0x83 Transfer Type: Interrupt wMaxPacketSize: 0x0004 (4) bInterval: 0x01 Here's also something somewhat interesting... a USB keyboard with a PS/2 mouseport on the keyboard itself. (sorta like the mac) Device Descriptor: bcdUSB: 0x0100 bDeviceClass: 0x00 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 (8) idVendor: 0x1293 idProduct: 0x2101 bcdDevice: 0x0100 iManufacturer: 0x01 0x0409: "SOLID YEAR" iProduct: 0x02 0x0409: "KEYBOARD & MOUSE" iSerialNumber: 0x00 bNumConfigurations: 0x01 ConnectionStatus: DeviceConnected Current Config Value: 0x01 Device Bus Speed: Low Device Address: 0x04 Open Pipes: 2 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Interrupt wMaxPacketSize: 0x0008 (8) bInterval: 0x0A Endpoint Descriptor: bEndpointAddress: 0x82 Transfer Type: Interrupt wMaxPacketSize: 0x0003 (3) bInterval: 0x0A Configuration Descriptor: wTotalLength: 0x003B bNumInterfaces: 0x02 bConfigurationValue: 0x01 iConfiguration: 0x00 bmAttributes: 0xA0 (Bus Powered Remote Wakeup) MaxPower: 0x32 (100 Ma) Interface Descriptor: bInterfaceNumber: 0x00 bAlternateSetting: 0x00 bNumEndpoints: 0x01 bInterfaceClass: 0x03 bInterfaceSubClass: 0x01 bInterfaceProtocol: 0x01 iInterface: 0x04 0x0409: "USB KBD" HID Descriptor: bcdHID: 0x0100 bCountryCode: 0x21 bNumDescriptors: 0x01 bDescriptorType: 0x22 wDescriptorLength: 0x0040 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Interrupt wMaxPacketSize: 0x0008 (8) bInterval: 0x0A Interface Descriptor: bInterfaceNumber: 0x01 bAlternateSetting: 0x00 bNumEndpoints: 0x01 bInterfaceClass: 0x03 bInterfaceSubClass: 0x01 bInterfaceProtocol: 0x02 iInterface: 0x05 0x0409: "PS2MOUSE" HID Descriptor: bcdHID: 0x0100 bCountryCode: 0x21 bNumDescriptors: 0x01 bDescriptorType: 0x22 wDescriptorLength: 0x0032 Endpoint Descriptor: bEndpointAddress: 0x82 Transfer Type: Interrupt wMaxPacketSize: 0x0003 (3) bInterval: 0x0A I have no idea if this means anything to you, but in lieu of your usb dump, it's at least something. :) If I can figure out how to make USB work on this system with FreeBSD, i'll use usb_dump and send this to you again. Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message