sipeed / NanoKVM

NanoKVM: Affordable, Multifunctional, Nano RISC-V IP-KVM
GNU General Public License v3.0
3.16k stars 53 forks source link

No Keyboard or Mouse showing on host device #87

Open haggis-supper opened 1 month ago

haggis-supper commented 1 month ago

Image version 1.0.0 running Application version 2.0.9.

Connected to a non graphical linux host i can see the console on screen and login prompt but keyboard and mouse are not being seen. If i log into the host and check USB devices it is not showing any keyboard or mice.

This has worked with previous application versions.

I've tried on multiple hosts including a Mac Mini and a DIY built system. Also used 3 or 4 different USB-A to USB-C cables without any success so far. Have 2 new short cables on the way for more testing.

patschi commented 1 month ago

Under the keyboard icon there is "Reset HID device". If you press this, does that somehow help solving it?

haggis-supper commented 1 month ago

Alas no, resetting the hid did nothing. I've even moved the usb plug to a different usb port, Linux messages does not show any new usb connections. I've also pulled down the latest image so i've now got Image Version 1.2.0 and Application version 2.0.9 and still no keyboard or mouse.

On 8 Oct 2024 10:45 am, Patrik Kernstock @.***> wrote: Under the keyboard icon there is "Reset HID device". If you press this, does that somehow help solving it?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

RDunmow commented 1 month ago

I also have the same issue, using the paste option to send commands to the remote device works, but this is not great.

haggis-supper commented 1 month ago

ok, i have found a solution. I just got a shorter new USB-A ro USB-C cable and that is working fine. Keyboard and Mouse are working.

I bought the 0.5m version of this - EBAY

When i login to my Linux host i can see the following has now been added

[352795.930549] usb 1-1.4: new high-speed USB device number 4 using ehci-pci
[352796.010305] usb 1-1.4: New USB device found, idVendor=3346, idProduct=1009, bcdDevice= 5.10
[352796.010314] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[352796.010318] usb 1-1.4: Product: licheervnano
[352796.010320] usb 1-1.4: Manufacturer: flyingrtx
[352796.010322] usb 1-1.4: SerialNumber: 0123456789ABCDEF
[352796.013480] input: flyingrtx licheervnano as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.4/1-1.4:1.2/0003:3346:1009.0001/input/input13
[352796.064899] hid-generic 0003:3346:1009.0001: input,hidraw0: USB HID v1.01 Keyboard [flyingrtx licheervnano] on usb-0000:00:1d.0-1.4/input2
[352796.066330] input: flyingrtx licheervnano as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.4/1-1.4:1.3/0003:3346:1009.0002/input/input14
[352796.066520] hid-generic 0003:3346:1009.0002: input,hidraw1: USB HID v1.01 Mouse [flyingrtx licheervnano] on usb-0000:00:1d.0-1.4/input3
[352796.068028] input: flyingrtx licheervnano as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.4/1-1.4:1.4/0003:3346:1009.0003/input/input15
[352796.068194] hid-generic 0003:3346:1009.0003: input,hidraw2: USB HID v1.01 Mouse [flyingrtx licheervnano] on usb-0000:00:1d.0-1.4/input4
[352796.091436] usb-storage 1-1.4:1.5: USB Mass Storage device detected
[352796.091984] usbcore: registered new interface driver cdc_ether
[352796.093340] scsi host4: usb-storage 1-1.4:1.5
[352796.093492] usbcore: registered new interface driver usb-storage
[352796.097269] rndis_host 1-1.4:1.0 usb0: register 'rndis_host' at usb-0000:00:1d.0-1.4, RNDIS device, aa:c0:fa:79:16:84
[352796.097314] usbcore: registered new interface driver uas
[352796.097317] usbcore: registered new interface driver rndis_host
[352796.179637] rndis_host 1-1.4:1.0 enp0s29u1u4: renamed from usb0
[352797.150503] scsi 4:0:0:0: Direct-Access     Linux    File-Stor Gadget 0510 PQ: 0 ANSI: 2
[352797.150908] sd 4:0:0:0: Attached scsi generic sg2 type 0
[352797.151350] sd 4:0:0:0: Power-on or device reset occurred
[352797.152010] sd 4:0:0:0: [sdb] 45950976 512-byte logical blocks: (23.5 GB/21.9 GiB)
[352797.152671] sd 4:0:0:0: [sdb] Write Protect is off
[352797.152673] sd 4:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[352797.153489] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[352797.156873]  sdb:
[352797.157115] sd 4:0:0:0: [sdb] Attached SCSI removable disk

If i do an lsusb i can see this

[root@docker ~]# lsusb
Bus 001 Device 004: ID 3346:1009 flyingrtx licheervnano
fenio commented 1 month ago

@haggis-supper And what cables were you using so far? The ones included with NanoKVM? Cause I'm also having issues with mouse/keyboard :/

haggis-supper commented 1 month ago

@haggis-supper And what cables were you using so far? The ones included with NanoKVM? Cause I'm also having issues with mouse/keyboard :/

I have the NanoKVM Lite, so you do not get any cables with it. Just the barebones board that you need to add cables and an SD card too. I have 3d designed my own case for it Thingiverse

fenio commented 1 month ago

I see. Thanks for explanation. I've got full package so it came with 2 USB-A / USB-C cables but I've got issues using any of them. I've just bought 0,5m high quality cable. They should deliver it tomorrow and we'll see.

fenio commented 1 month ago

Actually I found some different cable in my "maybe I will need it some day store" and it worked! So seems that this device is pretty sensitive when it comes to cable quality / lenght.

nwgat commented 4 days ago

using HDMI 2.0 and USB 3.0 cables might help, as they are generally better shielded and are backwards compatible with older specs