[clue] Need help, willing to pay
Paul Madsen
paul.madsen.denver at gmail.com
Sat Feb 2 17:31:31 MST 2013
Yaverot -
Thank you for you reply.
I did not build the module for g_printer. It came as part of the Ubunto
distribution.
I ran the /sbin/depmod -a command to rebuild the module dependencies, but
this did not fix the problem.
Running the 'insmod' command directly produces the same error message:
sudo insmod
/lib/modules/3.2.0-36-generic/kernel/drivers/usb/gadget/g_printer.ko
FATAL: Error inserting g_printer
(/lib/modules/3.1.0-36-generic/kernel/drivers/usb/gadget/g_printer.ko): No
such device
The 'lspci' command produces:
...
01:02.0 USB controller: NetChip Technology, Inc. device 2200 (rev 01)
...
Any further thoughts?
Thanks
Paul
On Sat, Feb 2, 2013 at 12:07 PM, Yaverot <Yaverot at computermail.net> wrote:
> Have you built the module for g_printer? Is modprobe failing because you
> built it internal instead of as a module?
>
> │ Symbol: USB_G_PRINTER [=n]
> │ Prompt: Printer Gadget
> │ Defined at drivers/usb/gadget/Kconfig:834
> │ Depends on: <choice>
> Location:
> │ -> Device Drivers
> │ -> USB support (USB_SUPPORT [=y])
> │ -> USB Gadget Support (USB_GADGET [=n])
> │ -> USB Gadget Drivers (<choice> [=n])
>
> --- paul.madsen.denver at gmail.com wrote:
>
> From: Paul Madsen <paul.madsen.denver at gmail.com>
> To: clue at cluedenver.org
> Subject: [clue] Need help, willing to pay
> Date: Sat, 2 Feb 2013 10:50:51 -0700
>
> to CLUEs-
>
>
>
> I am trying to have my Ubunto Linux system emulate a USB printer so that I
> can capture a print stream.
>
>
>
> I have a Netchip 2280 card installed on the PC. This PCI card has a
> USBType B external connection – the same as a
> USB printer.
>
>
>
> See http://www.kernel.org/doc/Documentation/usb/gadget_printer.txt for
> more details.
>
>
>
> The document says:
>
>
>
> *To load the **USB** device controller driver and the printer gadget
> driver.
> The following example uses the Netchip 2280 device controller driver:*
>
> * *
>
> *modprobe net2280*
>
> *modeprobe g_printer*
>
>
>
> The first command works fine. I am stuck with the ‘modprobe g_printer’
> command:
>
>
>
> sudo modprobe g_printer
>
> FATAL: Error inserting g_printer
> (/lib/modules/3.1.0-36-generic/kernel/drivers/usb/gadget/g_printer.ko): No
> such device
>
>
>
> Does anyone know what the solution might be?
>
>
>
> I am willing to deliver my system to someone for a while so he can work on
> it at his own pace.
>
>
>
> Thanks,
> Paul Madsen
>
> 303 694-6616
>
>
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
>
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20130202/9538cfb6/attachment.html
More information about the clue
mailing list