Timeline for Change hidraw device from mouse to joystick
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 17, 2015 at 22:40 | comment | added | Leiaz | Oh. Sorry, my eyes glitched here, I thought the PID matched, for some reason. The VID/PID also need to be in the hid_have_special_driver array in hid-core.c. But the two devices supported by this driver don't work exactly the same way, and your device may also be different from those. It may not work out of the box just by adding its PID. | |
| May 17, 2015 at 21:50 | comment | added | ac3d912 | So, after adding { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x1801), }, to the driver, then re-compiling, and insmodding the driver, it still uses hid_generic as the driver for my device. How do I tell the HID system to use the hid_dr driver instead of the generic one? (I figured by adding the PID as I did, would do it) | |
| May 17, 2015 at 19:43 | comment | added | ac3d912 | It has taken me a couple of days to finish testing it out, but this is the correct answer; unfortunately, the driver doesn't support the PID for my device. I am adding code for my device now. Thanks for pointing this driver out to me! | |
| May 17, 2015 at 19:42 | vote | accept | ac3d912 | ||
| May 10, 2015 at 22:33 | history | answered | Leiaz | CC BY-SA 3.0 |