Author Topic: Redscarf 2 PCB problem  (Read 1157 times)

0 Members and 1 Guest are viewing this topic.

Offline sitch

  • Thread Starter
  • Posts: 259
  • Location: Malaysia
Redscarf 2 PCB problem
« on: Tue, 15 September 2015, 09:45:03 »
Hi, when I plug in my custom keyboard, during the bios it will prompt the computer to enter+P to get into MEBX, which I'm required to unplug the keyboard to continue to boot up. Is my keyboard sending signals to the PC maybe due to bad soldering? keyboardtestor shows the keyboard working fine though..
Any idea how to fix this?

Offline primered6

  • Posts: 21
  • Location: N.Wales UK
Re: Redscarf 2 PCB problem
« Reply #1 on: Wed, 16 September 2015, 08:50:21 »
Sounds interesting..Is this for a desktop or laptop?
GNU Terry Pratchett.

Offline sitch

  • Thread Starter
  • Posts: 259
  • Location: Malaysia
Re: Redscarf 2 PCB problem
« Reply #2 on: Wed, 16 September 2015, 11:40:56 »
Its a desktop, is there anyway/website/tools other than keyboardtestor to check for signal from keyboard?

Offline flabbergast

  • Posts: 234
  • Location: UK
Re: Redscarf 2 PCB problem
« Reply #3 on: Wed, 16 September 2015, 12:26:57 »
This kind of thing is very likely to be a firmware thing than a PCB/hardware thing.

During BIOS/boot phase, the USB drivers used are not the usual ones in your system (be it windows or linux), but ones which are coded in BIOS/EFI (whatever your PC comes with). They are often somewhat simple/non-standard, crippled and behave strangely (e.g. do not properly advertise the boot protocol).

The problems usually arise when the firmware supports NKRO (because NKRO requires a different USB communication that the "usual" 6KRO, and the NKRO protocol is definitely not supported by BIOSes). BIOS is supposed to let the keyboard know that it should work in "boot protocol", i.e. the traditional 6KRO, but they don't always do that.

Various firmwares that are available for custom PCBs deal with these problems in various ways, and use different ways of "guessing" when they communicate with BIOS and when with a normal system.

So - I would recommend trying out different firmwares on the Red Scarf, to see if behaviour during BIOS/boot changes or not. This might be tricky, since I think only TMK supports Red Scarf at the moment. However you can try to disable NKRO and see if this "helps".

EDIT: As far as checking sniffing the USB traffic goes, you'd need a hardware USB sniffer since you need to have a look at what's happening when your PC is booting. That's expensive.

Offline primered6

  • Posts: 21
  • Location: N.Wales UK
Re: Redscarf 2 PCB problem
« Reply #4 on: Wed, 16 September 2015, 12:34:42 »
This kind of thing is very likely to be a firmware thing than a PCB/hardware thing.

During BIOS/boot phase, the USB drivers used are not the usual ones in your system (be it windows or linux), but ones which are coded in BIOS/EFI (whatever your PC comes with). They are often somewhat simple/non-standard, crippled and behave strangely (e.g. do not properly advertise the boot protocol).

The problems usually arise when the firmware supports NKRO (because NKRO requires a different USB communication that the "usual" 6KRO, and the NKRO protocol is definitely not supported by BIOSes). BIOS is supposed to let the keyboard know that it should work in "boot protocol", i.e. the traditional 6KRO, but they don't always do that.

Various firmwares that are available for custom PCBs deal with these problems in various ways, and use different ways of "guessing" when they communicate with BIOS and when with a normal system.

So - I would recommend trying out different firmwares on the Red Scarf, to see if behaviour during BIOS/boot changes or not. This might be tricky, since I think only TMK supports Red Scarf at the moment. However you can try to disable NKRO and see if this "helps".

EDIT: As far as checking sniffing the USB traffic goes, you'd need a hardware USB sniffer since you need to have a look at what's happening when your PC is booting. That's expensive.

Though I think it might be the same a possible solution is to try it though a PS2 adapter (if your motherboard supports it that is), that way might bypass the USB controller on the motherboard and might solve the problem PS2 connection also support NKRO..
And it will free up a USB connection which is always a good thing right?
GNU Terry Pratchett.