Skip to content
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

DragonRise USB Driver Issue #1755

Closed
DancingPigeon opened this issue Dec 9, 2016 · 8 comments
Closed

DragonRise USB Driver Issue #1755

DancingPigeon opened this issue Dec 9, 2016 · 8 comments

Comments

@DancingPigeon
Copy link

DancingPigeon commented Dec 9, 2016

I've posted about this here, but it's an issue more broad than RetroPie:

https://github.com/libretro/retroarch-joypad-autoconfig/blob/master/udev/DragonRise_Inc.___Generic___USB__Joystick__.cfg

Note that the linux kernel driver for this controller was broken from
kernel 4.4 until 4.9. With the broken driver the joystick axes
numbers will be off. This can be fixed by reverting commit
18339f5 and rebuilding hid-dr.ko.

@pelwell
Copy link
Contributor

pelwell commented Dec 9, 2016

Since the reversion is already upstreamed I've backported it to rpi-4.4.y and rpi-4.8.y.

@DancingPigeon
Copy link
Author

Fantastic- thank you.

popcornmix added a commit to raspberrypi/firmware that referenced this issue Dec 9, 2016
kernel: Revert HID: dragonrise: fix HID Descriptor for 0x0006 PID
See: raspberrypi/linux#1755

kernel: BCM270X_DT: Add i2c-sensor overlay
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=167207

kernel: lirc_rpi: Delete vestigial gpio_in_pull parameter
See: raspberrypi/linux#1711

kernel: BCM270X_DT: Add overlay for enc28j60 on SPI2
See: raspberrypi/linux#1735

kernel: bcm2835-rng: Avoid initialising if already enabled

bootcode: Enable the RNG as early as possible
firmware: rng: Avoid initialising if already enabled

powerman: Force a PVT calibration if aphy/dphy settings don't seem correct
See: #684
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Dec 9, 2016
kernel: Revert HID: dragonrise: fix HID Descriptor for 0x0006 PID
See: raspberrypi/linux#1755

kernel: BCM270X_DT: Add i2c-sensor overlay
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=167207

kernel: lirc_rpi: Delete vestigial gpio_in_pull parameter
See: raspberrypi/linux#1711

kernel: BCM270X_DT: Add overlay for enc28j60 on SPI2
See: raspberrypi/linux#1735

kernel: bcm2835-rng: Avoid initialising if already enabled

bootcode: Enable the RNG as early as possible
firmware: rng: Avoid initialising if already enabled

powerman: Force a PVT calibration if aphy/dphy settings don't seem correct
See: raspberrypi/firmware#684
@jangeador
Copy link

How can I apply this fix to a system?

@popcornmix
Copy link
Collaborator

You can use rpi-update to get the latest testing firmware/kernel which does include this fix.
But be aware that rpi-update firmware/kernel has latest changes in and could have regressions.
The apt-get kernel will be updated at some point (typically every month or two).

@DancingPigeon
Copy link
Author

That explains why apt-get update didn't fix it for me :)

I will run rpi-update sometime in the next few days (after backing up) and report back.1

@DancingPigeon
Copy link
Author

The axes are now fixed, unfortunately Y axis movement is still binary.

@popcornmix
Copy link
Collaborator

@DancingPigeon if there are upstream commits that improve this, then we can consider cherry-picking. If not then it sounds like a problem best reported upstream.

@DancingPigeon
Copy link
Author

@popcornmix I'll look into it. Cheers.

neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this issue Feb 27, 2017
kernel: Revert HID: dragonrise: fix HID Descriptor for 0x0006 PID
See: raspberrypi/linux#1755

kernel: BCM270X_DT: Add i2c-sensor overlay
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=167207

kernel: lirc_rpi: Delete vestigial gpio_in_pull parameter
See: raspberrypi/linux#1711

kernel: BCM270X_DT: Add overlay for enc28j60 on SPI2
See: raspberrypi/linux#1735

kernel: bcm2835-rng: Avoid initialising if already enabled

bootcode: Enable the RNG as early as possible
firmware: rng: Avoid initialising if already enabled

powerman: Force a PVT calibration if aphy/dphy settings don't seem correct
See: raspberrypi#684
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants