ps2x2pico icon indicating copy to clipboard operation
ps2x2pico copied to clipboard

ITX Llama Issue - Wired Keyboard and Mouse not working together

Open danifunker opened this issue 6 months ago • 5 comments

Greetings!

Please close of this is a duplicate.

I performed the update of the itx llama rp2040 HID controller recently. I am able to connect either my mouse successfully, or my keyboard successfully, but not both.

Here are the debug logs:

Only Mouse connected:

ITX-Llama RP2040 USB-to-PS/2 (itxllama-rp2040-0.2)
Setting defaults for keyboard
scancodeset set to 2
kb > host aa
ms > host aa
ms > host 00
Blinking keyboard LEDs

HID(1,0,mouse) mounted
 VID: 15d9  PID: 0a4f
 HID has 1 reports
 HID(1,0,mouse) registered for reports
host > kb ff

Keyboard and mouse connected:

ITX-Llama RP2040 USB-to-PS/2 (itxllama-rp2040-0.2)
Setting defaults for keyboard
scancodeset set to 2
kb > host aa
ms > host aa
ms > host 00
Blinking keyboard LEDs

HID(1,0,keyboard) mounted
 VID: 045e  PID: 00db
 HID has 1 reports
 HID(1,0,keyboard) registered for reports

HID(1,1,none) mounted
 VID: 045e  PID: 00db
 HID has 1 reports
 HID(1,1,none) registered for reports
host > kb ff
KBHOSTCMD_RESET_FF
Setting defaults for keyboard
scancodeset set to 2

Figured I would report this to you, thanks a lot in advance!

danifunker avatar Jun 19 '25 19:06 danifunker

Hi, have you tried swapping the USB ports?

No0ne avatar Jun 23 '25 12:06 No0ne

I have tried swapping which device is plugged in to which USB port.

danifunker avatar Jun 23 '25 12:06 danifunker

I've updated to the latest pico-sdk, tinyusb and pio-usb version! If you want you can test this: https://github.com/No0ne/itxllama/tree/main/rp2040/build

No0ne avatar Jul 26 '25 10:07 No0ne

Sorry for the long delay on this. I just flashed the latest version.

Seems like this isn't resolving my issue. I also noticed when I use the same mouse and keyboard combination on the PS2 side of things, it also doesn't work- only the mouse works not the keyboard.

Right now, I have both the devices hooked up via USB, and only the keyboard seems to be working. I'm going to revert back to the configuration with the mouse on PS/2 and the keyboard on USB.

FWIW, the keyboard I'm using is the Microsoft Ergonomic Keyboard 4000.

danifunker avatar Oct 23 '25 22:10 danifunker

Here are the latest logs. `ITX-Llama RP2040 USB-to-PS/2 (itxllama-rp2040-0.3) Setting defaults for keyboard scancodeset set to 2 kb > host aa ms > host aa ms > host 00 Blinking keyboard LEDs

HID(1,0,keyboard) mounted VID: 045e PID: 00db HID has 1 reports HID(1,0,keyboard) registered for reports

HID(1,1,none) mounted VID: 045e PID: 00db HID has 1 reports HID(1,1,none) registered for reports host > kb ff KBHOSTCMD_RESET_FF Setting defaults for keyboard scancodeset set to 2 kb > host fa kb > host aa Blinking keyboard LEDs host > kb f5 KBHOSTCMD_DISABLE_F5 kb > host fa host > kb f0 KBHOSTCMD_SET_SCAN_CODE_SET_F0 kb > host fa host > kb 02 scancodeset set to 2 kb > host fa host > kb f4 KBHOSTCMD_ENABLE_F4 kb > host fa host > ms ff ms > host fa ms > host aa ms > host 00 host > ms ff ms > host fa ms > host aa ms > host 00 host > ms f3 ms > host fa host > ms c8 ms > host fa host > ms f3 ms > host fa host > ms 64 ms > host fa host > ms f3 ms > host fa host > ms 50 ms > host fa host > ms f2 ms > host fa ms > host 03 host > ms e8 ms > host fa host > ms 03 ms > host fa host > ms e6 ms > host fa host > ms f3 ms > host fa host > ms 28 ms > host fa host > ms f4 kb > host 58 host > kb ed KBHOSTCMD_SET_LEDS_ED kb > host fa host > kb 04 kb > host fa kb > host f0 kb > host 58 kb > host 58 host > kb ed KBHOSTCMD_SET_LEDS_ED kb > host fa host > kb 00 kb > host fa kb > host f0 kb > host 58 `

I tried moving the mouse in Windows, but nothing seems to happen. I did press caps lock twice so you could see it in the logs.

Could this be an issue with the llama resetting the USB ports during startup?

danifunker avatar Oct 23 '25 22:10 danifunker