Skip to contentSkip to conversation

USB: serial: pl2303: add Delock Infrared device id

DISCUSSION Johan Hovold 1 participant 1 message Feb 11, 2019 USB

lore
Share & tools
lore
#0 lore raw
Quoted 16 lines · Ebrahim Byagowi
Quoted 14 lines · Johan Hovold
Quoted 9 lines · Ebrahim Byagowi
Quoted 8 lines · Johan Hovold
Quoted 7 lines · On Sat, Feb 09, 2019 at 12:18:40PM +0330, [email protected] wrote:

From: Ebrahim Byagowi <[email protected]>

This makes Delock Infrared adapter to work as a USB to Serial device.

---
 drivers/usb/serial/pl2303.c | 1 +
 drivers/usb/serial/pl2303.h | 3 +++
 2 files changed, 4 insertions(+)

These descriptors do no look like they come from a pl2303 device (e.g. the device descriptor class and protocol is 255/1/0 and not 0/0/0).

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

I've uploaded a screenshot here
https://commons.wikimedia.org/wiki/File:A_modified_kernel_screenshot_on_QEMU.png
which shows it understands a remote control commands also.

It shows that you receive something over the bulk-in endpoint at the default line speed, but those -EPIPE errors also tells us that this is not a pl2303 device.

Oh, understandable. And very sorry that I was misleading here.

No, problem.

Quoted 9 lines
Quoted 2 lines

Would you be able to open the device to see if you can identify a generic usb-serial chip inside?

Here is a picture of its inside[1] and that 3606 apparently is the usb to serial chip.

We suspected it is related to[2] but its pins doesn't match and I couldn't yet test the module provided there is related for some reason so any pointer will be nice.

No, sorry. It's seems unlikely to be a mcs7780 given the pins.

Perhaps looking closer at the windows driver and snooping traffic might provide some insights into the protocol used.

A search also revealed one libusb project for this device on sourcefourge, but judging from a very quick look it also just did reads and writes over the bulk-endpoints without any control commands. But perhaps someone has done some research in this area before you.

Johan

Quoted 5 lines

  [1]:
https://commons.wikimedia.org/wiki/File:Infrared_Device,_VID1685_PID0200.jpg

  [2]:
https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=112;74;109&PLine=74