On Wed, Jun 3, 2015 at 7:48 PM, Robert Nelson <[email protected]> wrote: > On Wed, Jun 3, 2015 at 6:16 PM, Jason Kridner <[email protected]> > wrote: >> All interested in http://campaign.circuithub.com/beaglebone-gamingcape, >> >> I'm trying to make sure the kernel and software image are suitable for >> giving the green light to CircuitHub to start shipping the Gaming >> Capes. I wanted to give people a chance to give some feedback on what >> ideally should be done, save off some notes on my current >> progress---and enable you to try it out if you happen to have built >> one of these capes. >> >> I've been starting by patching up the 3.8 kernel >> (firmware/capes/BEAGLEBOY-0013.dts): >> >> http://builds.beagleboard.org/builders/build-kernel/builds/45 >> >> On-going work on the install instructions are at: >> >> https://github.com/jadonk/gamingcape/blob/master/software/install.sh >> >> If the EEPROM isn't programmed, you'll need to short the WP line to >> ground and run: >> >> https://github.com/jadonk/gamingcape/blob/master/software/write_eeprom.sh >> >> What I haven't yet worked out, but am looking at resolving are: >> >> * adding a joystick driver for the joystick (not just analog values) >> --- my current thoughts are either using /dev/uinput and a >> userspace application or >> --- modifying the input/joystick/analog.c driver to use device tree >> and ADC converters >> * get the mouse working under X11 using the joystick and buttons >> --- I've hacked on xorg.conf files to get xserver-xorg-input-evdev >> drivers loaded, but I don't seem to be seeing the the "mouse" clicks >> (/var/log/Xorg.0.log - http://paste.debian.net/198458/) > > xserver-xorg-input-joystick should be able to handle this.. > > It allows a bunch of customization: > > http://www.x.org/releases/X11R7.7/doc/man/man4/joystick.4.xhtml
Hunyue created a /dev/uinput driver for me (software/adcjs.c) and helped me get a reasonable config for xserver-xorg-input-* (software/99-gamingcape.conf). https://github.com/jadonk/gamingcape I think I just need to modify an example emulator to use it and clean up a release image. I'm still having problems with the lsm330_acc driver. http://paste.debian.net/201168/ > > 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.
