I come across the problem, too. root@beaglebone:/home/debian# modprobe g_printer iProduct="Test" idVendor=0x1d6b idProduct=0x0002 iManufacturer="Canon" iPNPstring="something" iSerialNum="1234" bcdDevice=261 modprobe: ERROR: could not insert 'g_printer': No such device
How did you solve this? 在 2013年10月24日星期四 UTC+8上午7:57:58,[email protected]写道: > > 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 >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/6e6d0e41-1399-428f-a1b6-fabba8ed30fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
