How did you load g_printer on the beaglebone board? Did you have to unload something first? I'm trying to get windows to see it as a printer, also.
root@beaglebone:~# modprobe g_printer
ERROR: could not insert 'g_printer': No such device
root@beaglebone:~# modinfo g_printer
filename: /lib/modules/3.8.13/kernel/drivers/usb/gadget/g_printer.ko
license: GPL
author: Craig Nadler
description: Printer Gadget
srcversion: DDF852A83CCE4691D9F9B96
depends: libcomposite
intree: Y
vermagic: 3.8.13 SMP mod_unload modversions ARMv7 thumb2 p2v8
parm: idVendor:USB Vendor ID (ushort)
parm: idProduct:USB Product ID (ushort)
parm: bcdDevice:USB Device version (BCD) (ushort)
parm: iSerialNumber:SerialNumber string (charp)
parm: iManufacturer:USB Manufacturer string (charp)
parm: iProduct:USB Product string (charp)
parm: iSerialNum:1 (charp)
parm: iPNPstring:MFG:linux;MDL:g_printer;CLS:PRINTER;SN:1; (charp)
parm: qlen:uint
root@beaglebone:~# modprobe g_printer idVendor=0x3f0 idProduct=0x3404 bcdDevice=0x2 iSerialNumber=0x3 iManufacturer=HP iPNPstring:MFG:hp:MDL:deskjet 6122:CLS:PRINTER:SN:MY53A3B04P66
ERROR: could not insert 'g_printer': Invalid argument
root@beaglebone:~# modprobe g_printer idVendor=0x3f0 idProduct=0x3404 bcdDevice=0x2 iSerialNumber=0x3 iManufacturer=HP
ERROR: could not insert 'g_printer': No such device
root@beaglebone:~# modprobe g_printer idVendor=0x3f0 idProduct=0x3404
ERROR: could not insert 'g_printer': No such device
On Saturday, January 12, 2013 6:16:04 AM UTC-8, pisolg wrote:
hi, i have loaded the g_printer module in my beaglebone board,
if i plug in windows host, it's correctly viewed as a printer, now:
1)windows ask me a driver for the device found -> what kind of driver i must insert and where find it ?
2) in a iPNPstring i have specified a string when load the module iPNPstring ="something", windows ask me a driver for generic device, not for something why?
thank's