adding a printer: usblp kernel module

Discussion in 'Kernels' started by damoreluc, Dec 29, 2013.

  1. damoreluc

    damoreluc New Member

    Joined:
    Dec 9, 2013
    Messages:
    15
    Likes Received:
    1
    Hello,

    On my UDOO Quad (Linaro Ubuntu 12.04 LTS, Linux udoo 3.0.35 #1 SMP PREEMPT Thu Nov 28 13:14:24 CET 2013 armv7l armv7l armv7l GNU/Linux) I'm trying to install an usb printer, so I added USB printer class in menuconfig following the steps in this
    http://www.udoo.org/forum/viewtopic.php?f=24&t=364 post by r3dfish.

    After rebooting, when plugging a printer (it's an Epson EPS6200) I get this in dmesg:

    Code:
    [    5.092457] usblp: disagrees about version of symbol module_layout
    and usbcore cannot register the new interface:

    Code:
    [    0.890108] usbcore: registered new interface driver usbfs
    [    0.895742] usbcore: registered new interface driver hub
    [    0.901240] usbcore: registered new device driver usb
    [    1.707751] usbcore: registered new interface driver rt2800usb
    [    1.896084] usbcore: registered new interface driver usb-storage
    [    1.907055] usbcore: registered new interface driver usbserial
    [    1.918164] usbcore: registered new interface driver usbserial_generic
    [    1.934160] usbcore: registered new interface driver debug
    [    2.018061] usbcore: registered new interface driver usbtouchscreen
    [    2.389306] usbcore: registered new interface driver uvcvideo
    [    2.449075] usbcore: registered new interface driver btusb
    [    2.551234] usbcore: registered new interface driver usbhid
    [    2.561133] usbcore: registered new interface driver snd-usb-audio
    as consequence, there's no /dev/usb directory.

    Can someone help me?
    Thanks in advance!
     
  2. saidol

    saidol New Member

    Joined:
    Oct 3, 2013
    Messages:
    24
    Likes Received:
    0
    Hi,
    that error is related to insertion of a modules not compatible with running kernel. So check twice you are loading the kernel you have just compiled. Also check if there are multiple versions of this module on the machine and ensure you are loading the correct one.

    You can also try to compile usblp statically in the kernel.

    Note that this kind of problems happen even if the running kernel and kernel source have the same numerical value (e.g. both are 3.0.35), but the two use different configuration options.

    Bye
    Giuseppe
     

Share This Page