From: Chris F. <chr...@di...> - 2008-06-06 04:43:57
|
Hi, This is in response to the following thread. http://sourceforge.net/mailarchive/message.php?msg_name=AMG%24bLd9UOB%40bartelmus.de I have tried testing the transmit function of Topseed device (0x1784, 0x0008). I have used the exact same config and get my other Topseed device working (0x1784, 0x0001). But it failed on two of my 0x0008 devices. When the usb device is inserted, I noticed there is some probing error regarding "invalid bInterval". ----------------- usb 4-2: new full speed USB device using uhci_hcd and address 35 usb 4-2: config 1 interface 0 altsetting 0 endpoint 0x1 has an invalid bInterval 0, changing to 32 usb 4-2: config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 0, changing to 32 usb 4-2: configuration #1 chosen from 1 choice lirc_dev: IR Remote Control driver registered, major 61 lirc_mceusb2: Philips eHome USB IR Transceiver and Microsoft MCE 2005 Remote Control driver for LIRC $Revision: 1.44 $ lirc_mceusb2: Daniel Melander <li...@ra...>, Martin Blatter <mar...@ya...> usb 4-2: reset full speed USB device using uhci_hcd and address 35 lirc_dev: lirc_register_plugin: sample_rate: 0 lirc_mceusb2[35]: Topseed Technology Corp. eHome Infrared Transceiver on usb4:35 usbcore: registered new interface driver lirc_mceusb2 I can then use this device to receive IR with no problem. But when trying to issue irsend command (the same command works on 0x0001 device), I got nothing unexpected from the logs. -------------------- lircd: lircd(mceusb2) ready lircd: accepted new client on /dev/lircd lircd: removed client lircd: accepted new client on /dev/lircd lircd: removed client lircd: accepted new client on /dev/lircd lircd: removed client lircd: accepted new client on /dev/lircd lircd: removed client lircd: accepted new client on /dev/lircd lircd: removed client Here is an output of lsusb -------------------- Bus 004 Device 035: ID 1784:0008 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x1784 idProduct 0x0008 bcdDevice 1.00 iManufacturer 1 Topseed Technology Corp. iProduct 2 eHome Infrared Transceiver iSerial 3 TS0000PP bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0020 1x 32 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0020 1x 32 bytes bInterval 0 As a comparison, here is an output of lsusb for the 0x0001 device. Noticed there is some attributes differences (e.g. transfer type, size.. etc.) ---------------------------- Bus 004 Device 032: ID 1784:0001 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 16 idVendor 0x1784 idProduct 0x0001 bcdDevice 0.00 iManufacturer 1 Topseed iProduct 2 eHome Infrared Transceiver iSerial 3 TS0003V1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 0 Any idea why transmitting function is not working on the 0x0008 device? Thanks, --Chris |