]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ps2avrGB/README.md
Fixed compilation of the ps2avrGB keyboard/firmware (resolving #2425) (#2478)
[qmk_firmware.git] / keyboards / ps2avrGB / README.md
1 ps2avrGB keyboard firmware
2 ==========================
3
4 This is a port of the QMK firmware for boards that are based on the
5 ps2avrGB firmware, like the [ps2avrGB
6 keyboard](https://www.keyclack.com/product/gb-ps2avrgb/) or the ones sold
7 by [Winkeyless](http://winkeyless.kr/product/ps2avrgb-parts/).
8
9 Note that this is a complete replacement for the firmware, so you won't be
10 using Bootmapper Client to change any keyboard settings, since not all the
11 USB report options are supported.
12
13 This is an example based on the b.mini keyboard for making other keyboards
14 compatible with QMK; fully supported boards have their own directory.
15
16 ## Supported Boards
17
18 - [b.fake](https://github.com/qmk/qmk_firmware/tree/master/keyboards/bfake)
19 - [b.mini](https://github.com/qmk/qmk_firmware/tree/master/keyboards/bmini)
20 - [pearl](https://github.com/qmk/qmk_firmware/tree/master/keyboards/pearl)
21
22 ## Installing
23
24 First, install the requirements. These commands are for OSX, but all you
25 need is the AVR toolchain and `bootloadHID` for flashing:
26
27 ```
28 $ brew cask install crosspack-avr
29 $ brew install --HEAD https://raw.githubusercontent.com/robertgzr/homebrew-tap/master/bootloadhid.rb
30 ```
31
32 In order to use the `./program` script, which can reboot the board into
33 the bootloader, you'll need Python 2 with PyUSB installed:
34
35 ```
36 $ pip install pyusb
37 ```
38
39 Then, with the keyboard plugged in, simply run this command from the
40 `qmk_firmware` directory:
41
42 ```
43 $ make ps2avrGB:program
44 ```
45
46 If you prefer, you can just build it and flash the firmware directly with
47 `bootloadHID` if you boot the board while holding down `L_Ctrl` to keep it
48 in the bootloader:
49
50 ```
51 $ make ps2avrGB
52 $ bootloadHID -r ps2avrGB_default.hex
53 ```
54
55 ## Setting the board to bootloader mode
56
57 If you're lucky, the programming script does this automagically for you. If
58 however this doesn't work for you, you need to enter the bootloader mode manually
59 by plugging the keyboard in while holding the bootloader key. If you did this
60 correctly the LEDs will blink and you'll be able to flash your firmware.
61
62 The bootloader key is the top left key of your matrix. For a standard board
63 from winkeyless.kr this is `L_Ctrl`, but for some custom boards running ps2avrGB
64 this might be different. For the Pearl it's `Esc`, for a b.fake it is `q`. If 
65 you're unsure you should be able to see the key in the bootmapper client.
66
67
68 ## Troubleshooting
69
70 From my experience, it's really hard to brick these boards. But these
71 tricks have been useful when it got stuck in a weird scenario.
72
73 1. Try plugging the board in while holding the bootloader key. This will force 
74    it to boot only the bootloader without loading the firmware. Once this is
75    done, just reflash the board with the original firmware.
76 2. Sometimes USB hubs can act weird, so try connecting the board directly
77    to your computer or plugging/unplugging the USB hub.