I seem to be encountering problems using the usb_gadget API �gadgetfs� on an embedded system with the pxa255 chip running the 2.4.19-rmk7-pxa2-adsx7 kernel.
I�m trying to run the example user mode driver for GadgetFS from the Linux-USB Gadget API website (http://www.linux-usb.org/gadget/). My exact process was: -Enabling CONFIG_USB_GADGET, CONFIG_USB_GADGET_PXA2XX, CONFIG_USB_PXA2XX, CONFIG_USB_GADGET_CONTROLLER, and CONFIG_USB_GADGETFS during the kernel make config. -Creating an executable with the example usb.c, usbstring.c, and usbstring.h from the http:www.linux-usb.org/gadget website (using the lart cross compiler for arm-linux) When trying to run the executable on the embedded system, I receive the error message saying �can�t chdir /dev/gadget: No such file or directory�. This message leads me to think that somehow gadgetfs was not enabled in the kernel properly. (However, when utilizing the alternate usb_gadget options, such as ether or serial, the host recognizes these drivers.) I have included a copy of my config file. I�d appreciate any help anyone could offer! Best, � Colleen � �
config_gadgetfs
Description: Binary data
