<p dir="ltr">What it&#39;s telling you is that there is no g_printer module compiled in the system. It may not be part of the default build and you may have to compile the module yourself. </p>
<div class="gmail_quote">On Feb 2, 2013 5:31 PM, &quot;Paul Madsen&quot; &lt;<a href="mailto:paul.madsen.denver@gmail.com">paul.madsen.denver@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Yaverot -</div>
<div> </div>
<div>Thank you for you reply.  </div>
<div> </div>
<div>I did not build the module for g_printer.  It came as part of the Ubunto distribution.</div>
<div> </div>
<div>I ran the /sbin/depmod -a command to rebuild the module dependencies, but this did not fix the problem.</div>
<div> </div>
<div>Running the &#39;insmod&#39; command directly produces the same error message:</div>
<div> </div>
<div>sudo insmod /lib/modules/3.2.0-36-generic/kernel/drivers/usb/gadget/g_printer.ko<br>FATAL:  Error inserting g_printer<br>(/lib/modules/3.1.0-36-generic/kernel/drivers/usb/gadget/g_printer.ko): No such device</div>
<div> </div>
<div>The &#39;lspci&#39; command produces:</div>
<div>...</div>
<div>01:02.0 USB controller: NetChip Technology, Inc. device 2200 (rev 01)</div>
<div>...</div>
<div> </div>
<div>Any further thoughts?</div>
<div> </div>
<div>Thanks</div>
<div>Paul<br><br></div>
<div class="gmail_quote">On Sat, Feb 2, 2013 at 12:07 PM, Yaverot <span dir="ltr">&lt;<a href="mailto:Yaverot@computermail.net" target="_blank">Yaverot@computermail.net</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Have you built the module for g_printer?  Is modprobe failing because you built it internal instead of as a module?<br>

<br>  │ Symbol: USB_G_PRINTER [=n]<br>  │ Prompt: Printer Gadget<br> │   Defined at drivers/usb/gadget/Kconfig:834<br>│   Depends on: &lt;choice&gt;<br>Location:<br>  │     -&gt; Device Drivers<br>  │       -&gt; USB support (USB_SUPPORT [=y])<br>

  │         -&gt; USB Gadget Support (USB_GADGET [=n])<br> │           -&gt; USB Gadget Drivers (&lt;choice&gt; [=n])<br><br>--- <a href="mailto:paul.madsen.denver@gmail.com" target="_blank">paul.madsen.denver@gmail.com</a> wrote:<br>
<br>
From: Paul Madsen &lt;<a href="mailto:paul.madsen.denver@gmail.com" target="_blank">paul.madsen.denver@gmail.com</a>&gt;<br>To: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>Subject: [clue] Need help, willing to pay<br>

Date: Sat, 2 Feb 2013 10:50:51 -0700<br>
<div><br>to CLUEs-<br><br><br><br>I am trying to have my Ubunto Linux system emulate a USB printer so that I<br>can capture a print stream.<br><br><br><br>I have a Netchip 2280 card installed on the PC.   This PCI card has a<br>

</div>USBType B external connection – the same as a<br>
<div>USB printer.<br><br><br><br>See <a href="http://www.kernel.org/doc/Documentation/usb/gadget_printer.txt" target="_blank">http://www.kernel.org/doc/Documentation/usb/gadget_printer.txt</a>  for<br>more details.<br>
<br><br><br>The document says:<br><br><br><br></div>*To load the **USB** device controller driver and the printer gadget driver.<br>The following example uses the Netchip 2280 device controller driver:*<br><br>* *<br><br>

*modprobe net2280*<br><br>*modeprobe g_printer*<br>
<div><br><br><br>The first command works fine.  I am stuck with the ‘modprobe g_printer’<br>command:<br><br><br><br>sudo modprobe g_printer<br><br>FATAL:  Error inserting g_printer<br>(/lib/modules/3.1.0-36-generic/kernel/drivers/usb/gadget/g_printer.ko): No<br>

such device<br><br><br><br>Does anyone know what the solution might be?<br><br><br><br>I am willing to deliver my system to someone for a while so he can work on<br>it at his own pace.<br><br><br><br>Thanks,<br>Paul Madsen<br>

<br><a href="tel:303%20694-6616" value="+13036946616" target="_blank">303 694-6616</a><br><br><br></div>_______________________________________________<br>clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>

For information, account preferences, or to unsubscribe see:<br><a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br><br>_______________________________________________<br>

clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>For information, account preferences, or to unsubscribe see:<br><a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a></blockquote>

</div><br>
<br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div>