I'm trying to use one of these CH9329 + CH340 UART/TTL Serial Port to USB HID Full Keyboard and Mouse Cable to send keystrokes over USB from a 14.2 source host to a 13.2 target host.
Plugging one end gives this, which seems to be the target keyboard HID:
Plugging the other end gives this, which seems to be the source UART:
tio finds these devices on the source host, but connecting doesn't seem to do anything. I have a display connected to the target machine and I don't see anything changing.
I also tried
Can anyone tell me how to get this working?
Plugging one end gives this, which seems to be the target keyboard HID:
Code:
ugen6.3: <WWW.WCH.CN WCH UART TO KB-MSV1.8> at usbus6
ukbd0 on uhub8
ukbd0: <WWW.WCH.CN WCH UART TO KB-MSV1.8, class 0/0, rev 1.10/38.00, addr 3> on usbus6
kbd2 at ukbd0
uhid0 on uhub8
uhid0: <WWW.WCH.CN WCH UART TO KB-MSV1.8, class 0/0, rev 1.10/38.00, addr 3> on usbus6
uhid1 on uhub8
uhid1: <WWW.WCH.CN WCH UART TO KB-MSV1.8, class 0/0, rev 1.10/38.00, addr 3> on usbus6
ums0 on uhub8
ums0: <WWW.WCH.CN WCH UART TO KB-MSV1.8, class 0/0, rev 1.10/38.00, addr 3> on usbus6
ums0: 5 buttons and [XYZ] coordinates ID=1
ums0: 5 buttons and [Z] coordinates ID=2
Plugging the other end gives this, which seems to be the source UART:
Code:
ugen0.2: <vendor 0x1a86 USB Serial> at usbus0
uchcom0 on uhub5
uchcom0: <vendor 0x1a86 USB Serial, rev 1.10/2.64, addr 2> on usbus0
uchcom0: CH340 detected
tio finds these devices on the source host, but connecting doesn't seem to do anything. I have a display connected to the target machine and I don't see anything changing.
Code:
# tio --list
Device TID Uptime [s] Driver Description
----------------- ---- ------------- ---------------- --------------------------
/dev/ttyU0 138.136
/dev/ttyU0.init 138.136
/dev/ttyU0.lock 138.136
/dev/cuaU0 138.136
/dev/cuaU0.init 138.136
/dev/cuaU0.lock 138.136
# tio /dev/cuaU0
[17:42:11.834] tio v3.7
[17:42:11.834] Press ctrl-t q to quit
[17:42:11.948] Connected to /dev/cuaU0
# tio /dev/ttyU0
[16:47:06.097] tio v3.7
[16:47:06.097] Press ctrl-t q to quit
[16:47:06.211] Connected to /dev/ttyU0
I also tried
cu
but it doesn't seem to do anything either:
Code:
# cu -s 9600 -l /dev/cuaU0
Connected
Connection to server closed.
# cu -s 9600 -l /dev/ttyU0
Connected
Connection to server closed.
Can anyone tell me how to get this working?