On Sat, Feb 6, 2016 at 2:56 PM, pabigot <[email protected]> wrote: > I've got a custom cape for BeagleBone Black which has several peripherals > including a 5-switch joystick. I have device tree nodes for each peripheral > which I add to a copy of am335x-boneblack.dts and use as a fixed device tree > (no overlays) loaded by u-boot. The joystick pins are bound to gpio-keys > using the gpios property, but I don't specify the interrupts property. > > All peripherals work fine on 3.8.13-bone79, including the joystick (using > evtest). > > On 4.1.16-ti-rt-r44 the joystick does not work. The input device is > created, and evtest displays the keys it supports, but does not generate > events when the joystick is manipulated.
The gpio#'s changed after 3.8, in your gpio-key property, for "gpio3 use &gpio3" not "$gpio4" like was used on 3.8.x also make sure you are using the correct dtc compiler: https://github.com/beagleboard/bb.org-overlays Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
