If you've gotten gadgetfs to load then you're good. Your software just creates files in the /dev/gadgetfs folder to communicate with the usb device. Its all user space from here on.
On Wednesday, November 20, 2013 9:17:27 AM UTC-5, [email protected] wrote: > > Hi Steve, > > could you please help me out with this problem? So far I've tried using > gadgetfs on the angstrom (v2012.12, kernel 3.8.13) on the beagleboard black. > I can succesfully modprobe g_zero after forcefully removing g_multi (which > acts as a usb-network interface to the computer, as well as a storage > device). > Whenever I try to load (modprobe) g_hid, i only get the error message > "ERROR: could not insert 'g_hid': No such device". > Modprobing gadgetfs gives me the following message in the syslog > "gadgetfs: USB Gadget filesystem, version 24 Aug 2004" and creating a dir > called /dev/gadget (mkdir -p /dev/gadget), then mounting it to the gadgetfs > filesystem (mount -t gadgetfs gadgetfs /dev/gadget) > gives me the following device > /dev/gadget/musb-hdrc but I do not know what to do with it. > > Thanks in advance. > > Regards > Felix > > On Wednesday, September 25, 2013 6:20:13 PM UTC+2, Steve French wrote: >> >> Felix, >> I can help you figure this out if you want, but it begs the >> question...why not do this with something like a Teensy2 for half the >> price? The Teensy2 would be perfect for this. There are example projects >> that could get you doing exactly this within a few minutes of taking the >> Teensy2 out of the box! >> thx! >> -frenchy >> >> -- >> Respectfully, >> Steve French >> 800.664.7256.office >> >> President, Volt Vision >> www.voltvision.com >> >> >> On Monday, September 23, 2013 2:21:40 PM UTC-4, >> [email protected]: >>> >>> Hello, >>> >>> I'm currently looking for help/information regarding the possibility to >>> use the Beaglebone Black as an external device (attached to a computer via >>> USB) emulating a mouse (USB HID Device). The BBB should register with the >>> computer as normal mouse and send eg. random movements to it. >>> My questions are the following: >>> 1. Is this theoretically possible? >>> 2. How would I achieve this? (So far I've searched for "USB HID mouse >>> BBB emulation", but have only come up with solutions for arduinos) >>> 3. Is there maybe an tutorial on this? >>> 4. Is there an API for this? >>> 5. Could someone provide me with a short example program? >>> >>> Thank you very much in advance. >>> >>> WIth kind regards >>> Felix >>> >>> -- 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/groups/opt_out.
