[clue] Need help, willing to pay

Charles Burton charles.d.burton at gmail.com
Sat Feb 2 18:38:43 MST 2013


Have you ran strace when you ran insmod? It will have a ton of output, but
there may be something in there that will help you track down what exactly
is failing.
On Feb 2, 2013 6:31 PM, "Paul Madsen" <paul.madsen.denver at gmail.com> wrote:

> Charles-
>
> Thanks.
> Does this indicate that the module is present in the system:
>
> cd  /lib/modules/3.2.0-36-generic/kernel/drivers/usb/gadget
>
> ls -l g_printer.ko
> -rw-r--r-- 1 root root 28148 Jan 8 15:50 g_printer.ko
>
> file g_printer.ko
> g_printer.ko: ELF 32 bit LSB relocatable, Inter 80386, version 1 (SYSV),
> BuildID [sha1]=0xc979f30133944500a3fcbacdd4336846925a8e9c, not stripped
>
>
> On Sat, Feb 2, 2013 at 5:43 PM, Charles Burton <charles.d.burton at gmail.com
> > wrote:
>
>> What it'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.
>>  On Feb 2, 2013 5:31 PM, "Paul Madsen" <paul.madsen.denver at gmail.com>
>> wrote:
>>
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
>
> _______________________________________________
> 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/cd0e0677/attachment.html 


More information about the clue mailing list