1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-27 19:42:24 -05:00

Update README.md

This commit is contained in:
mcgurk 2016-10-10 11:49:59 +03:00 committed by GitHub
parent c94bf0824b
commit 669afb0b02

View File

@ -95,7 +95,7 @@ Linux usbhid-module doesn't support out of box multiple controllers with one USB
#### Solution 1 #### Solution 1
You have to give parameter You have to give parameter
`quirks=0x2341:0x8036:0x40` (first numbers are VID and PID of adapter) to usbhid-module. Here is example how to do it with RetrOrangePi 2.5.2: `quirks=0x2341:0x8036:0x40` (first numbers are VID and PID of Arduino) to usbhid-module. Here is example how to do it with RetrOrangePi 2.5.2:
- Make backup of `/boot/boot-retro.cmd` and `/boot/boot.scr` - Make backup of `/boot/boot-retro.cmd` and `/boot/boot.scr`
- Edit `/boot/boot-retro.cmd` setenv bootargs -line and add `usbhid.quirks=0x2341:0x8036:0x40` to kernel parameters. - Edit `/boot/boot-retro.cmd` setenv bootargs -line and add `usbhid.quirks=0x2341:0x8036:0x40` to kernel parameters.
- `sudo mkimage -C none -A arm -T script -d /boot/boot-retro.cmd /boot/boot.scr` - `sudo mkimage -C none -A arm -T script -d /boot/boot-retro.cmd /boot/boot.scr`