[beagleboard] BeagleBone as USB gamepad HID

2018-05-01 Thread Joseph Foster
I was wanting to build a homemade gamepad or HOTAS using a BeagleBone Black or Pocket. It will be written in C++. I was wondering if there are any libraries that will let me use the board as a USB HID client for this purpose. Also would I be able to just use a USB A to A to the already onboard

[beagleboard] Use a Beaglebone as a USB client for HID

2018-02-13 Thread Joseph Foster
I am wanting to use a Beaglebone (green) as a USB client for HID input as a personal project. Can the Beaglebone do this out of the box with certain pin setup? If so what libraries can I use to do this? PRU is always an option if I have to, but I'd rather not learn in depth the USB protocol at

Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-03 Thread Joseph Foster
] On Saturday, December 2, 2017 at 2:14:58 PM UTC-6, RobertCNelson wrote: > > On Sat, Dec 2, 2017 at 2:20 AM, Joseph Foster > > wrote: > > When setting config-pin P8.11 pruout, I get bash: > > /sys/devices/platform/ocp/ocp*P8_11_pinmux/state: No such file or >

Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-02 Thread Joseph Foster
riday, December 1, 2017 at 9:14:55 PM UTC-6, RobertCNelson wrote: > > On Fri, Dec 1, 2017 at 8:59 PM, Joseph Foster > > wrote: > > Ok so I am now load and execute on the PRUs, but how do I set the pinmux > for > > the PRUs. I think it would use the U-Boot Cape Universa

[beagleboard] Help resetting signal to reuse prussdrv_pru_send_event(ARM_PRU0_INTERRUPT);

2017-12-01 Thread Joseph Foster
I'm trying to reuse the prussdrv_pru_send_event(ARM_PRU0_INTERRUPT); function, but I can't reset the register for WBS r31,30 This is my PRU code: Enter code here...// Origin 0 defines the start of the program in the // PRU's instruction RAM, entrypoint is for debugging #define CONST_PRUCFG

Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-01 Thread Joseph Foster
Ok so I am now load and execute on the PRUs, but how do I set the pinmux for the PRUs. I think it would use the U-Boot Cape Universal but the load example uses slots. On Friday, December 1, 2017 at 10:52:30 AM UTC-6, RobertCNelson wrote: > > On Thu, Nov 30, 2017 at 11:45 PM, Joseph

Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Joseph Foster
Where would the slots file now be located. Its not in the /sys/devices/platform/bone_capemgr/ directory for me On Thursday, November 30, 2017 at 10:55:35 PM UTC-6, RobertCNelson wrote: > > > > On Nov 30, 2017 10:33 PM, "Joseph Foster" > wrote: > > How do

Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Joseph Foster
How do I upgrade to v4.14.x-bone, the update_kernel.sh only lists TI kernels On Thursday, November 30, 2017 at 9:57:13 PM UTC-6, RobertCNelson wrote: > > On Thu, Nov 30, 2017 at 9:50 PM, Joseph Foster > > wrote: > > I'm not sure really what librobotics is, and Debian 9.

Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Joseph Foster
I'm not sure really what librobotics is, and Debian 9.x (Stretch) would be preferred. On Thursday, November 30, 2017 at 9:31:29 PM UTC-6, RobertCNelson wrote: > > On Thu, Nov 30, 2017 at 8:54 PM, Joseph Foster > > wrote: > > sudo: /opt/scripts/tools/version.sh: command

Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Joseph Foster
sudo: /opt/scripts/tools/version.sh: command not found I'm running 4.4.30-ti-r64 On Tuesday, November 28, 2017 at 11:50:05 AM UTC-6, RobertCNelson wrote: > > Hi Joseph, > > On Mon, Nov 27, 2017 at 10:31 PM, > > wrote: > > I've been trying for hours to get PRU working on the latest supported