Menu

2.6.27-rckernel-in module error and compiling

Help
2008-09-01
2013-04-25
  • rafael remy

    rafael remy - 2008-09-01

    2.6.27-rckernel-in module error and compiling problem

    hello, we use 2.6.27-rc4 kernel with ubuntu intrepid.
    the build in modul stkwebcam dont work:

    root@PrinzIP:/home/rafael/Desktop/stk11xx-1.3.1# rmmod stkwebcam
    root@PrinzIP:/home/rafael/Desktop/stk11xx-1.3.1# modprobe stkwebcam
    root@PrinzIP:/home/rafael/Desktop/stk11xx-1.3.1# dmesg |grep stkwebcam
    [   23.068016] stkwebcam: Syntek USB2.0 Camera is now controlling video device /dev/video0
    [   23.068016] usbcore: registered new interface driver stkwebcam
    [ 4655.261263] usbcore: deregistering interface driver stkwebcam
    [ 4655.261366] stkwebcam: Syntek USB2.0 Camera release resources video device /dev/video0
    [ 4659.555450] stkwebcam: Syntek USB2.0 Camera is now controlling video device /dev/video0
    [ 4659.558384] usbcore: registered new interface driver stkwebcam
    [ 4694.199920] stkwebcam: error suspending the sensor
    [ 4694.205297] stkwebcam: stk_sensor_outb failed, status=0x02
    [ 4694.205310] stkwebcam: Sensor resetting failed
    [ 4703.621955] usbcore: deregistering interface driver stkwebcam
    [ 4703.624194] stkwebcam: Syntek USB2.0 Camera release resources video device /dev/video0
    [ 4707.751258] stkwebcam: Syntek USB2.0 Camera is now controlling video device /dev/video0
    [ 4707.751312] usbcore: registered new interface driver stkwebcam

    when try to build the driver manually this error appears:

    root@PrinzIP:/home/rafael/Desktop/stk11xx-1.3.1# make -f Makefile-syntekdriver
    make -C /lib/modules/2.6.27-rc4/build SUBDIRS=/home/rafael/Desktop/stk11xx-1.3.1 modules
    make[1]: Betrete Verzeichnis '/usr/src/linux-source-2.6.27'
      CC [M]  /home/rafael/Desktop/stk11xx-1.3.1/stk11xx-usb.o
    /home/rafael/Desktop/stk11xx-1.3.1/stk11xx-usb.c: In function ‘usb_stk11xx_probe’:
    /home/rafael/Desktop/stk11xx-1.3.1/stk11xx-usb.c:807: error: implicit declaration of function ‘PAGE_ALIGN’
    make[2]: *** [/home/rafael/Desktop/stk11xx-1.3.1/stk11xx-usb.o] Fehler 1
    make[1]: *** [_module_/home/rafael/Desktop/stk11xx-1.3.1] Fehler 2
    make[1]: Verlasse Verzeichnis '/usr/src/linux-source-2.6.27'
    make: *** [all] Fehler 2

    when comment out the problem line this problem:
    http://paste.ubuntuusers.de/391677/

    maybe s.o. can help us, we have 4 A6T in office, and want to have some fun with the webcams :-)

     
    • rafael remy

      rafael remy - 2008-09-01

      the lsusb output changed, maybe that has to do with the problem?
      rafael@PrinzIP:~$ lsusb
      Bus 002 Device 002: ID 174f:a311 Syntek 1.3MPixel Web Cam - Asus A3A, A6J, A6K, A6M, A6R, A6T, A6V, A7T, A7sv, A7U
      Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 001 Device 002: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter
      Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

       

Log in to post a comment.