I need configuring OMAPL138 as a usb gadget printer , i always config the linux kernel supporting usb gadget , details :
< * > Inventra Highspeed Dual Role Controller(TI , ADI , ...)
< * > DA8xx/OMAP-L1x
Driver Mode (USB Peripheral(gadget stack)) - ->
[ * ] Disable DMA(always use PIO)
[ * ] Enable debugging messages
< * > USB Gadget support - - >
< M > USB Gadegt Drivers
< M > Printer Gadgets
after that , running make ARCH=arm CROSS_COMPILE=/ti-sdk-am180x-evm-05.05.01.00/linux-devkit/bin/arm-arago-linux-gnueabi- uImage modules ,i get uImage and g_printer.ko , then load kernel(uImage) and load the driver (g_printer.ko)
insmod g_printer.ko idVendor=0x154f idProduct=0x1300 .
then connected the OMAPL138 to the PC host , the PC host running the system is Windwos 7 , usb printer is found in PC host .
But , how to control the printer through the PC host?
Regards,
JOE