-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard not working #272
Comments
It seems from the logs that the issue might be caused by a poor connection with the USB-C (it disconnects after a while). Please try replacing the USB cable. (I also want to complain about the quality of the included cable, which forced me to use my own high-quality USB cable during development.) |
If the keyboard, mouse, virtual USB drive, and other devices cannot be used simultaneously, it is likely due to this issue. Additionally, you can update to the latest version and try clicking 'Reset HID' on the web. |
I tried to use the two cables included and other I own.
I tried to use the internal pins into the motherboard, same scenario.
…On Wed, 22 Jan 2025 at 05:45 BuGu ***@***.***> wrote:
If the keyboard, mouse, virtual USB drive, and other devices cannot be
used simultaneously, it is likely due to this issue. Additionally, you can
update to the latest version and try clicking 'Reset HID' on the web.
—
Reply to this email directly, view it on GitHub
<#272 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7YB5J22XNBE7F26RVETUD2L5LD7AVCNFSM6AAAAABVTCSXKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBWGYYTOOBVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
May I ask what host device is connected to the NanoKVM? Additionally, is it only the keyboard that is not working, or are all devices emulated by the NanoKVM, such as the mouse, also not functioning? |
Sure
I was using Geekworm-X650 PCIe version in the same server and no issues. I
even used the same USB-C cable for a try.
Anyway, I am using a X99 F8D Plus with dual Xeon v4 E5-2696 and 256GB ECC
RAM.
I also tried:
touch /boot/BIOS && restart
And hit reset HID a couple of times.
I am only trying to use the keyboard.
…On Wed, Jan 22, 2025 at 6:45 AM BuGu ***@***.***> wrote:
May I ask what host device is connected to the NanoKVM? Additionally, is
it only the keyboard that is not working, or are all devices emulated by
the NanoKVM, such as the mouse, also not functioning?
—
Reply to this email directly, view it on GitHub
<#272 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7YB5NRYXIGG24E2E6GE3D2L5SCLAVCNFSM6AAAAABVTCSXKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBWG42DQNBZG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
As far as I know, some operating systems may not allow HID devices and mass storage devices to be combined into the same USB device. You might try disabling the virtual USB drive and RNDIS in the web settings. |
Hmm... the likelihood is low. I took a closer look at the log above and found that the host didn't even retrieve the USB descriptor for NanoKVM. This might be related to the gadget service in the NanoKVM system. Please try connecting the USB HID interface to another computer to see if the USB device appears. If it still doesn't work, you may need to re-flash the NanoKVM system according to the instructions here (note that the new system will automatically fetch the latest applications and download them upon first power-up, which may take some time). |
I'm having a hell of a time using the USB Keyboard too.... If I reboot the NanoKVM, the keyboard will work for a little bit of time, then stop functioning again. dmesg is as follows:
|
Today I tried to use, reset the HID and it worked fine until I tried to
mount a ISO. Then it is not working anymore. I tried to reset again and
rebooted the KVM. Still non functioning.
In the same device I used my Geekworm-X650 and I could use keyboard, mouse
and mounted ISO all the same time.
So this is the nanokvm limitation which breaks the main idea of a kvm ip.
Some logs:
[70364.263441] usb 3-13: reset high-speed USB device number 47 using
xhci_hcd
[70364.399311] sd 0:0:0:0: *Power-on or device reset occurred*
[70364.402794] sda:
[70364.698369] usb 3-13: reset high-speed USB device number 47 using
xhci_hcd
[70370.261881] usb 3-13: device firmware changed
[70370.262006] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK cmd_age=5s
[70370.262017] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 08 00
00 08 00
[70370.262022] I/O error, dev sda, sector 8 op 0x0:(READ) flags 0x80700
phys_seg 1 prio class 0
[70370.262101] usb 3-13: USB disconnect, device number 47
[70370.310813] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK cmd_age=0s
[70370.310825] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 08 00
00 08 00
[70370.310829] I/O error, dev sda, sector 8 op 0x0:(READ) flags 0x0
phys_seg 1 prio class 0
[70370.310837] Buffer I/O error on dev sda, logical block 1, async page read
[70370.414855] sda: detected capacity change from 44439552 to 0
[70370.592785] usb 3-13: new high-speed USB device number 48 using xhci_hcd
[70375.892850] usb 3-13: unable to read config index 0 descriptor/all
[70375.892864] usb 3-13: can't read configurations, error -110
[70376.008773] usb 3-13: new high-speed USB device number 49 using xhci_hcd
[70381.525835] usb 3-13: unable to read config index 0 descriptor/all
[70381.525849] usb 3-13: can't read configurations, error -110
[70381.526007] usb usb3-port13: attempt power cycle
[70381.912762] usb 3-13: new high-speed USB device number 50 using xhci_hcd
[70387.156824] usb 3-13: unable to read config index 0 descriptor/all
[70387.156837] usb 3-13: can't read configurations, error -110
[70387.271731] usb 3-13: new high-speed USB device number 51 using xhci_hcd
[70387.285655] usb 3-13: New USB device found, idVendor=3346,
idProduct=1009, bcdDevice= 5.10
[70387.285666] usb 3-13: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[70387.285671] usb 3-13: Product: NanoKVM
[70387.285675] usb 3-13: Manufacturer: sipeed
[70387.285678] usb 3-13: SerialNumber: 0123456789ABCDEF
[70387.289087] rndis_host 3-13:1.0: RNDIS init failed, -71
[70387.289109] rndis_host: *probe of 3-13:1.0 failed with error -71*
[70387.291078] input: sipeed NanoKVM as
/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.2/0003:3346:1009.0017/input/input38
[70387.403944] hid-generic 0003:3346:1009.0017: input,hidraw0: USB HID
v1.01 Keyboard [sipeed NanoKVM] on usb-0000:00:14.0-13/input2
[70392.789577] input: sipeed NanoKVM as
/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.3/0003:3346:1009.0018/input/input39
[70392.789893] hid-generic 0003:3346:1009.0018: input,hidraw1: USB HID
v1.01 Mouse [sipeed NanoKVM] on usb-0000:00:14.0-13/input3
[70392.791440] input: sipeed NanoKVM as
/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.4/0003:3346:1009.0019/input/input40
[70392.791687] hid-generic 0003:3346:1009.0019: input,hidraw2: USB HID
v1.01 Mouse [sipeed NanoKVM] on usb-0000:00:14.0-13/input4
[70392.792373] usb-storage 3-13:1.5: USB Mass Storage device detected
[70392.792849] scsi host0: usb-storage 3-13:1.5
[70393.813420] scsi 0:0:0:0: Direct-Access Linux File-Stor Gadget
0510 PQ: 0 ANSI: 2
[70393.814012] sd 0:0:0:0: Attached scsi generic sg0 type 0
[70393.814415] sd 0:0:0:0: *Power-on or device reset occurred*
[70393.815333] sd 0:0:0:0: [sda] 44439552 512-byte logical blocks: (22.8
GB/21.2 GiB)
[70393.815502] sd 0:0:0:0: [sda] Write Protect is off
[70393.815508] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[70393.815880] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[70393.819086] sda:
[70393.819398] sd 0:0:0:0: [sda] Attached SCSI removable disk
[70395.492296] usb 3-13: reset high-speed USB device number 51 using
xhci_hcd
[70411.284008] input: sipeed NanoKVM as
/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.4/0003:3346:1009.001A/input/input41
[70411.284270] hid-generic 0003:3346:1009.001A: input,hidraw2: USB HID
v1.01 Mouse [sipeed NanoKVM] on usb-0000:00:14.0-13/input4
[70411.292981] sd 0:0:0:0: *Power-on or device reset occurred*
[70593.767242] usb 3-13: USB disconnect, device number 51
[70594.035388] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[70594.035454] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[70594.276356] usb 3-13: new high-speed USB device number 52 using xhci_hcd
[70594.406121] usb 3-13: New USB device found, idVendor=3346,
idProduct=1009, bcdDevice= 5.10
[70594.406136] usb 3-13: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[70594.406141] usb 3-13: Product: NanoKVM
[70594.406145] usb 3-13: Manufacturer: sipeed
[70594.406148] usb 3-13: SerialNumber: 0123456789ABCDEF
[70594.409368] rndis_host 3-13:1.0: RNDIS init failed, -71
[70594.409393] rndis_host: *probe of 3-13:1.0 failed with error -71*
[70594.411353] input: sipeed NanoKVM as
/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.2/0003:3346:1009.001B/input/input42
[70594.516459] hid-generic 0003:3346:1009.001B: input,hidraw0: USB HID
v1.01 Keyboard [sipeed NanoKVM] on usb-0000:00:14.0-13/input2
[70604.757363] usbhid 3-13:1.3: can't add hid device: -110
[70604.790296] usbhid: *probe of 3-13:1.3 failed with error -110*
[70604.792007] input: sipeed NanoKVM as
/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.4/0003:3346:1009.001C/input/input43
[70604.792303] hid-generic 0003:3346:1009.001C: input,hidraw1: USB HID
v1.01 Mouse [sipeed NanoKVM] on usb-0000:00:14.0-13/input4
[70604.792923] usb-storage 3-13:1.5: USB Mass Storage device detected
[70604.793427] scsi host0: usb-storage 3-13:1.5
[70605.844989] scsi 0:0:0:0: Direct-Access Linux File-Stor Gadget
0510 PQ: 0 ANSI: 2
[70605.845620] sd 0:0:0:0: Attached scsi generic sg0 type 0
[70605.848788] sd 0:0:0:0: *Power-on or device reset occurred*
[70605.851879] sd 0:0:0:0: [sda] 929792 512-byte logical blocks: (476
MB/454 MiB)
[70605.852070] sd 0:0:0:0: [sda] Write Protect is off
[70605.852076] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[70605.852251] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[70605.855052] sda: sda1 sda2
[70605.855580] sd 0:0:0:0: [sda] Attached SCSI removable disk
[70609.042837] usb 3-13: reset high-speed USB device number 52 using
xhci_hcd
[70614.485018] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK cmd_age=5s
[70614.485033] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 0e 23 f0 00
00 08 00
[70614.485037] I/O error, dev sda, sector 926704 op 0x0:(READ) flags
0x80700 phys_seg 1 prio class 0
[70614.485356] sd 0:0:0:0: *Power-on or device reset occurred*
[70614.601835] usb 3-13: reset high-speed USB device number 52 using
xhci_hcd
[70620.125562] sd 0:0:0:0: *Power-on or device reset occurred*
[70620.128724] usb usb3-port13: disabled by hub (EMI?), re-enabling...
[70620.128739] usb 3-13: USB disconnect, device number 52
[70620.427002] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK cmd_age=0s
[70620.427015] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 40 00
00 08 00
[70620.427019] I/O error, dev sda, sector 64 op 0x0:(READ) flags 0x80700
phys_seg 1 prio class 0
[70620.434300] device offline error, dev sda, sector 0 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434314] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434331] device offline error, dev sda, sector 64 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434337] Buffer I/O error on dev sda, logical block 8, async page read
[70620.434402] device offline error, dev sda, sector 0 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434418] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434455] device offline error, dev sda, sector 0 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434460] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434470] ldm_validate_partition_table(): Disk read failed.
[70620.434487] device offline error, dev sda, sector 0 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434491] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434510] device offline error, dev sda, sector 0 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434514] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434533] device offline error, dev sda, sector 0 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434537] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434557] device offline error, dev sda, sector 0 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434560] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434568] Dev sda: unable to read RDB block 0
[70620.434583] device offline error, dev sda, sector 0 op 0x0:(READ) flags
0x0 phys_seg 1 prio class 0
[70620.434586] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434606] Buffer I/O error on dev sda, logical block 0, async page read
[70620.434685] sda: unable to read partition table
[70620.478325] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[70620.478386] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[70622.396467] usb usb3-port13: attempt power cycle
[70624.252457] usb usb3-port13: unable to enumerate USB device
[70679.190136] /dev/sda: Can't lookup blockdev
[70689.916298] usb usb3-port13: attempt power cycle
[70691.772291] usb usb3-port13: unable to enumerate USB device
[70713.428257] usb usb3-port13: attempt power cycle
[70715.268258] usb usb3-port13: unable to enumerate USB device
[70731.669252] usb usb3-port13: attempt power cycle
[70733.517162] usb usb3-port13: unable to enumerate USB device
[70755.476178] usb usb3-port13: attempt power cycle
[70757.325156] usb usb3-port13: unable to enumerate USB device
[70789.396097] usb usb3-port13: attempt power cycle
[70791.253067] usb usb3-port13: unable to enumerate USB device
[70871.708130] mce: [Hardware Error]: Machine check events logged
[71242.433273] mce: [Hardware Error]: Machine check events logged
[71281.563321] mce: [Hardware Error]: Machine check events logged
[71622.812113] mce: [Hardware Error]: Machine check events logged
[71650.709258] mce: [Hardware Error]: Machine check events logged
[72452.678342] mce_notify_irq: *1 callbacks suppressed*
[72452.678351] mce: [Hardware Error]: Machine check events logged
[72570.348860] mce: [Hardware Error]: Machine check events logged
[72980.233668] mce: [Hardware Error]: Machine check events logged
[73112.915143] mce: [Hardware Error]: Machine check events logged
[75060.928566] mce: [Hardware Error]: Machine check events logged
[75111.375184] mce: [Hardware Error]: Machine check events logged
[76465.927497] mce: [Hardware Error]: Machine check events logged
[76796.334716] usb usb3-port13: attempt power cycle
[76798.189771] usb usb3-port13: unable to enumerate USB device
…On Wed, Jan 22, 2025 at 7:40 AM BuGu ***@***.***> wrote:
Hmm... the likelihood is low. I took a closer look at the log above and
found that the host didn't even retrieve the USB descriptor for NanoKVM.
This might be related to the gadget service in the NanoKVM system. Please
try connecting the USB HID interface to another computer to see if the USB
device appears. If it still doesn't work, you may need to re-flash the
NanoKVM system according to the instructions here
<https://wiki.sipeed.com/hardware/en/kvm/NanoKVM/system/flashing.html>
(note that the new system will automatically fetch the latest applications
and download them upon first power-up, which may take some time).
—
Reply to this email directly, view it on GitHub
<#272 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7YB5N73OVX4FWQDVKPAWT2L5YQLAVCNFSM6AAAAABVTCSXKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBWHA4DAMJZG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello,
I attached the USB from outsite or inside, same issue: no keyboard.
[ 5208.624737] mce: [Hardware Error]: Machine check events logged
[ 5261.708806] usb 3-13: USB disconnect, device number 23
[ 5262.955571] usb 3-13: new high-speed USB device number 24 using xhci_hcd
[ 5268.574053] usb 3-13: New USB device found, idVendor=3346, idProduct=1009, bcdDevice= 5.10
[ 5268.574065] usb 3-13: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5268.574070] usb 3-13: Manufacturer: sipeed
[ 5273.693978] usb 3-13: can't set config #1, error -110
[ 5371.517110] usb 3-13: USB disconnect, device number 24
[ 5379.256350] usb 3-13: new high-speed USB device number 25 using xhci_hcd
[ 5384.797402] usb 3-13: unable to read config index 0 descriptor/all
[ 5384.797414] usb 3-13: can't read configurations, error -110
[ 5384.911324] usb 3-13: new high-speed USB device number 26 using xhci_hcd
[ 5390.429392] usb 3-13: unable to read config index 0 descriptor/all
[ 5390.429403] usb 3-13: can't read configurations, error -110
[ 5390.429520] usb usb3-port13: attempt power cycle
[ 5390.817321] usb 3-13: new high-speed USB device number 27 using xhci_hcd
[ 5396.064331] usb 3-13: unable to read config index 0 descriptor/all
[ 5396.064344] usb 3-13: can't read configurations, error -110
[ 5396.180259] usb 3-13: new high-speed USB device number 28 using xhci_hcd
[ 5401.693370] usb 3-13: unable to read config index 0 descriptor/all
[ 5401.693381] usb 3-13: can't read configurations, error -110
[ 5401.693487] usb usb3-port13: unable to enumerate USB device
[ 5870.745650] mce: [Hardware Error]: Machine check events logged
[ 6103.735920] usb 3-13: new high-speed USB device number 29 using xhci_hcd
[ 6109.275973] usb 3-13: unable to read config index 0 descriptor/all
[ 6109.275987] usb 3-13: can't read configurations, error -110
[ 6109.389915] usb 3-13: new high-speed USB device number 30 using xhci_hcd
[ 6114.907983] usb 3-13: unable to read config index 0 descriptor/all
[ 6114.907994] usb 3-13: can't read configurations, error -110
[ 6114.908109] usb usb3-port13: attempt power cycle
[ 6115.287900] usb 3-13: new high-speed USB device number 31 using xhci_hcd
[ 6120.539950] usb 3-13: unable to read config index 0 descriptor/all
[ 6120.539961] usb 3-13: can't read configurations, error -110
[ 6120.653890] usb 3-13: new high-speed USB device number 32 using xhci_hcd
[ 6126.171935] usb 3-13: unable to read config index 0 descriptor/all
[ 6126.171946] usb 3-13: can't read configurations, error -110
[ 6126.172057] usb usb3-port13: unable to enumerate USB device
The text was updated successfully, but these errors were encountered: