Skip to content

stk1160: disagrees about version of symbol module_layout #2

@raykov

Description

@raykov

Hello. Thanks for driver. But i get some errors.

make

make -C /lib/modules/3.2.27+/build M=/home/pi/stk1160-raspberrypi modules
make[1]: Entering directory `/usr/src/raspberrypi-linux-ada8b44'
  CC [M]  /home/pi/stk1160-raspberrypi/stk1160-core.o
  CC [M]  /home/pi/stk1160-raspberrypi/stk1160-v4l.o
  CC [M]  /home/pi/stk1160-raspberrypi/stk1160-video.o
  CC [M]  /home/pi/stk1160-raspberrypi/stk1160-i2c.o
  LD [M]  /home/pi/stk1160-raspberrypi/stk1160.o
  Building modules, stage 2.
  MODPOST 1 modules
  LD [M]  /home/pi/stk1160-raspberrypi/stk1160.ko
make[1]: Leaving directory `/usr/src/raspberrypi-linux-ada8b44'

sudo make install

make -C /lib/modules/3.2.27+/build M=/home/pi/stk1160-raspberrypi modules_install
make[1]: Entering directory `/usr/src/raspberrypi-linux-ada8b44'
  INSTALL /home/pi/stk1160-raspberrypi/stk1160.ko
  DEPMOD  3.2.27
make[1]: Leaving directory `/usr/src/raspberrypi-linux-ada8b44'

take your attention at DEPMOD 3.2.27

i have

uname -r

3.2.27+

but make install copy driver to /lib/modules/3.2.27/extra/stk1160.ko

i made symlink

sudo ln -s /lib/modules/3.2.27/extra/ /lib/modules/3.2.27+/extra/

and made

sudo depmod -a
sudo modprobe stk1160

ERROR: could not insert 'stk1160': Exec format error

in dmesg i see

dmesg

[    3.283273] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.394139] usb 1-1.2: New USB device found, idVendor=05e1, idProduct=0408
[    3.421132] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.443149] usb 1-1.2: Product: USB 2.0 Video Capture Controller
[    3.460140] usb 1-1.2: Manufacturer: Syntek Semiconductor
[    3.893441] udevd[137]: starting version 175
[    5.192968] Linux video capture interface: v2.00
[    5.416454] stk1160: disagrees about version of symbol module_layout
[    5.428823] stk1160: disagrees about version of symbol module_layout
[    6.708698] usbcore: registered new interface driver snd-usb-audio
[    6.757934] stk1160: disagrees about version of symbol module_layout

and /dev/video0 or /dev/easycap0 not present

lsmod

Module                  Size  Used by
snd_bcm2835            12808  1 
snd_usb_audio          93242  1 
snd_usbmidi_lib        17812  1 snd_usb_audio
snd_hwdep               5730  1 snd_usb_audio
snd_seq_midi            4518  0 
snd_seq_midi_event      6453  1 snd_seq_midi
snd_rawmidi            20611  2 snd_seq_midi,snd_usbmidi_lib
snd_pcm                74834  2 snd_usb_audio,snd_bcm2835
snd_page_alloc          4951  1 snd_pcm
snd_seq                52536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device          6300  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              19698  2 snd_seq,snd_pcm
snd                    52489  13 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_rawmidi,snd_hwdep,snd_usbmidi_lib,snd_usb_audio,snd_bcm2835
videobuf2_vmalloc       1965  0 
videobuf2_memops        2364  1 videobuf2_vmalloc
videobuf2_core         21366  0 
v4l2_common             9405  0 
videodev               88790  1 v4l2_common

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device

Please, help make it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions