geekhack

geekhack Community => Keyboards => Topic started by: srdios on Fri, 08 January 2021, 11:35:02

Title: Issues with JJ50
Post by: srdios on Fri, 08 January 2021, 11:35:02
I bought a jj50 from KPrepublic and flashed it with the qmk, using the qmk toolbox and the qmk configurator. Yesterday when I booted the OS, the keyboard did not work, but when I unplugged and plugged the USB back in, the OS recognized the keyboard and it returned to working normally. However, today when I tried to repeat the same process, the OS did not recognize the keyboard (neither in the window nor in Linux).

Here the dmesg usb output when I plug in the keyboard:

Code: [Select]
[ 3797.283994] usb usb2-port6: attempt power cycle
[ 3797.911881] usb 2-6: new low-speed USB device number 52 using xhci_hcd
[ 3797.912454] usb 2-6: Device not responding to setup address.
[ 3798.116486] usb 2-6: Device not responding to setup address.
[ 3798.323872] usb 2-6: device not accepting address 52, error -71
[ 3798.437878] usb 2-6: new low-speed USB device number 53 using xhci_hcd [ 3798.438480] usb 2-6: Device not responding to setup address.
[ 3798.644480] usb 2-6: Device not responding to setup address.
[ 3798.851862] usb 2-6: device not accepting address 53, error -71
[ 3798.851989] usb usb2-port6: unable to enumerate USB device
Title: Re: Issues with JJ50
Post by: suicidal_orange on Fri, 08 January 2021, 11:40:50
Have you tried it in a different USB port and using another cable to confirm it's the keyboard that is causing the problem?
Title: Re: Issues with JJ50
Post by: srdios on Fri, 08 January 2021, 11:46:09
Have you tried it in a different USB port and using another cable to confirm it's the keyboard that is causing the problem?

I tested it on other USB ports, and on another computer, the error was the same. The cable I tested on an old iPod, I managed to connect the iPod, and transfer files without a problem.
Title: Re: Issues with JJ50
Post by: suicidal_orange on Fri, 08 January 2021, 12:00:04
That would make the keyboard the problem. 

If you can reflash the firmware, that would fix it if it got corrupted (usually happens when plugging or unplugging the USB while the computer is booting)

Or is it in a metal case?  If so you could have given it a static shock.  Usually that breaks pins so switches don't work but maybe you could fry the whole chip.
Title: Re: Issues with JJ50
Post by: srdios on Fri, 08 January 2021, 12:17:46
That would make the keyboard the problem. 

If you can reflash the firmware, that would fix it if it got corrupted (usually happens when plugging or unplugging the USB while the computer is booting)

Or is it in a metal case?  If so you could have given it a static shock.  Usually that breaks pins so switches don't work but maybe you could fry the whole chip.

I tried to reflash putting the qmk back on, but the computer still doesn't recognize the keyboard when it goes into reset mode.

The case I use is an aluminum bottom plate, with 1mm Standoffs between the pcb and the bottom plate.
Title: Re: Issues with JJ50
Post by: kajahtaa on Fri, 08 January 2021, 15:06:39
Have you looked at this?

https://raw.githubusercontent.com/qmk/qmk_firmware/master/util/udev/50-qmk.rules