Menu

Fedora9 issues, was OK with F8.

Help
2008-08-23
2013-04-25
  • Jean-Philippe Monteiro

    ASUS F9E-2P174

    [fa9@asus ~]$ uname -a

    Linux asus 2.6.25.14-108.fc9.i686 #1 SMP Mon Aug 4 14:08:11 EDT 2008 i686 i686 i386 GNU/Linux

    WebCam

    diggin'n'diggin, I found out I need the stk11xx module to be loaded and linked with /dev/video0

    [It used to work with Fedora8]

    Method: the method included in the syntek readme did not work; the one for ubuntu neither, I used this one which copies and modprobe rather than insmod. notice that there shouldn't be a difference.

    outputs:

    lsusb

    Bus 002 Device 002: ID 174f:6a33 Syntek
    [root@asus ~]# xawtv
    This is xawtv-3.95, running on Linux/i686 (2.6.25.14-108.fc9.i686)
    xinerama 0: 1280x800+0+0
    /dev/video0 [v4l2]: no overlay support
    v4l-conf had some trouble, trying to continue anyway
    ioctl: VIDIOC_S_CTRL(id=9963778;value=32767): Unknown error 515
    ioctl: VIDIOC_S_CTRL(id=9963776;value=32767): Unknown error 515
    ioctl: VIDIOC_S_CTRL(id=9963777;value=32767): Unknown error 515
    v4l2: oops: select timeout

    dmesg after loading the module stk11xx:

    stk11xx: usb_stk11xx_exit: Syntek USB2.0 webcam driver shutdown
    usbcore: deregistering interface driver usb_stk11xx_driver
    stk11xx: Syntek USB2.0 Camera disconnected
    stk11xx: Syntek USB2.0 Camera release resources video device /dev/video0
    Linux video capture interface: v2.00
    stk11xx: Syntek USB2.0 webcam driver startup
    stk11xx: Syntek USB2.0 - STK-1135 based webcam found.
    stk11xx: Syntek AVStream USB2.0 1.3M WebCam - Product ID 0x6A33.
    stk11xx: Release: 0005
    stk11xx: Number of interfaces : 1
    stk11xx: Initialize USB2.0 Syntek Camera
    stk11xx: Syntek USB2.0 Camera is ready
    stk11xx: Syntek USB2.0 Camera is now controlling video device /dev/video0
    usbcore: registered new interface driver usb_stk11xx_driver
    stk11xx: v1.3.1 : Syntek USB Video Camera
    stk11xx: Check device return error (0x0201 = 0C) !
    stk11xx: Check device return... (tons of lines like this)

    lsmod

    [root@asus ~]# lsmod |grep stk
    stk11xx                97156  0
    videodev               30208  1 stk11xx

    [root@asus ~]# lsmod |grep video
    videodev               30208  1 stk11xx
    video                  20368  0
    output                  6656  1 video
    v4l1_compat            15364  1 videodev

    xawtv output xawtv shows three frozen frames then blacks out,

    output from launching in a terminal:

    xinerama 0: 1280x800+0+0
    /dev/video0 [v4l2]: no overlay support
    v4l-conf had some trouble, trying to continue anyway
    ioctl: VIDIOC_S_CTRL(id=9963778;value=32767): Unknown error 515
    ioctl: VIDIOC_S_CTRL(id=9963776;value=32767): Unknown error 515
    ioctl: VIDIOC_S_CTRL(id=9963777;value=32767): Unknown error 515
    v4l2: oops: select timeout

    (led light next to the camera shows up fine)

    dmesg after closing xawtv

    [root@asus ~]# xawtv
    This is xawtv-3.95, running on Linux/i686 (2.6.25.14-108.fc9.i686)stk11xx: Check device return error (0x0201 = 0C) !
    stk11xx: Check device return error (0x0201 = 0C) !
    stk11xx: Error : Register 0x0001 = 02
    stk11xx: Error : Register 0x0001 = 02
    stk11xx: Error : Register 0x0001 = 02
    stk11xx: Error : Register 0x0001 = 02
    stk11xx: Error : Register 0x0001 = 02
    stk11xx: Check device return error (0x0201 = 0C) !
    stk11xx: Check device return error (0x0201 = 0C) !

    VLC complains it can't open /dev/video0
    SKYPE shows black screen

    /var/log just do lots of

    ...
    Aug 23 17:10:19 asus kernel: stk11xx: Check device return error (0x0201 = 0C) !
    Aug 23 17:10:19 asus kernel: stk11xx: Check device return error (0x0201 = 0C) !
    Aug 23 17:10:21 asus kernel: stk11xx: Error : Register 0x0001 = 02

    Details

    Bus 002 Device 002: ID 174f:6a33 Syntek
    Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               2.00
    bDeviceClass            0 (Defined at Interface level)
    bDeviceSubClass         0
    bDeviceProtocol         0
    bMaxPacketSize0        64
    idVendor           0x174f Syntek
    idProduct          0x6a33
    bcdDevice            0.05
    iManufacturer           1
    iProduct                2
    iSerial                10
    bNumConfigurations      1
    Configuration Descriptor:
       bLength                 9
       bDescriptorType         2
       wTotalLength          147
       bNumInterfaces          1
       bConfigurationValue     1
       iConfiguration          0
       bmAttributes         0x80
         (Bus Powered)
       MaxPower              500mA
       Interface Descriptor:
         bLength                 9
         bDescriptorType         4
         bInterfaceNumber        0
         bAlternateSetting       0
         bNumEndpoints           2
         bInterfaceClass       255 Vendor Specific Class
         bInterfaceSubClass    255 Vendor Specific Subclass
         bInterfaceProtocol    255 Vendor Specific Protocol
         iInterface              0
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x81  EP 1 IN
           bmAttributes            3
             Transfer Type            Interrupt
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0000  1x 0 bytes
           bInterval               5
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x82  EP 2 IN
           bmAttributes            1
             Transfer Type            Isochronous
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0000  1x 0 bytes
           bInterval               1
       Interface Descriptor:
         bLength                 9
         bDescriptorType         4
         bInterfaceNumber        0
         bAlternateSetting       1
         bNumEndpoints           2
         bInterfaceClass       255 Vendor Specific Class
         bInterfaceSubClass    255 Vendor Specific Subclass
         bInterfaceProtocol    255 Vendor Specific Protocol
         iInterface              0
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x81  EP 1 IN
           bmAttributes            3
             Transfer Type            Interrupt
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0002  1x 2 bytes
           bInterval               5
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x82  EP 2 IN
           bmAttributes            1
             Transfer Type            Isochronous
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0300  1x 768 bytes
           bInterval               1
       Interface Descriptor:
         bLength                 9
         bDescriptorType         4
         bInterfaceNumber        0
         bAlternateSetting       2
         bNumEndpoints           2
         bInterfaceClass       255 Vendor Specific Class
         bInterfaceSubClass    255 Vendor Specific Subclass
         bInterfaceProtocol    255 Vendor Specific Protocol
         iInterface              0
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x81  EP 1 IN
           bmAttributes            3
             Transfer Type            Interrupt
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0002  1x 2 bytes
           bInterval               5
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x82  EP 2 IN
           bmAttributes            1
             Transfer Type            Isochronous
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x03fc  1x 1020 bytes
           bInterval               1
       Interface Descriptor:
         bLength                 9
         bDescriptorType         4
         bInterfaceNumber        0
         bAlternateSetting       3
         bNumEndpoints           2
         bInterfaceClass       255 Vendor Specific Class
         bInterfaceSubClass    255 Vendor Specific Subclass
         bInterfaceProtocol    255 Vendor Specific Protocol
         iInterface              0
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x81  EP 1 IN
           bmAttributes            3
             Transfer Type            Interrupt
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0002  1x 2 bytes
           bInterval               5
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x82  EP 2 IN
           bmAttributes            1
             Transfer Type            Isochronous
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0400  1x 1024 bytes
           bInterval               1
       Interface Descriptor:
         bLength                 9
         bDescriptorType         4
         bInterfaceNumber        0
         bAlternateSetting       4
         bNumEndpoints           2
         bInterfaceClass       255 Vendor Specific Class
         bInterfaceSubClass    255 Vendor Specific Subclass
         bInterfaceProtocol    255 Vendor Specific Protocol
         iInterface              0
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x81  EP 1 IN
           bmAttributes            3
             Transfer Type            Interrupt
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0002  1x 2 bytes
           bInterval               5
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x82  EP 2 IN
           bmAttributes            1
             Transfer Type            Isochronous
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0c00  2x 1024 bytes
           bInterval               1
       Interface Descriptor:
         bLength                 9
         bDescriptorType         4
         bInterfaceNumber        0
         bAlternateSetting       5
         bNumEndpoints           2
         bInterfaceClass       255 Vendor Specific Class
         bInterfaceSubClass    255 Vendor Specific Subclass
         bInterfaceProtocol    255 Vendor Specific Protocol
         iInterface              0
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x81  EP 1 IN
           bmAttributes            3
             Transfer Type            Interrupt
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x0002  1x 2 bytes
           bInterval               5
         Endpoint Descriptor:
           bLength                 7
           bDescriptorType         5
           bEndpointAddress     0x82  EP 2 IN
           bmAttributes            1
             Transfer Type            Isochronous
             Synch Type               None
             Usage Type               Data
           wMaxPacketSize     0x1400  3x 1024 bytes
           bInterval               1

    ??

    Thanks for any help. I wrote to the fedora forums to no avail, and the ubuntu gurus point to stuff that doesn't work here.

     
    • Jean-Philippe Monteiro

      The above was only with xawtv; I compiled camorama 0.19 from source and it returned a framerate of about 1f per 20s...
      UBUNTU 8.04 has it working out-of-the-box, even from the livecd (!), the stk11x driver is already present and works with a framerate of about 5-6f per sec in camorama & xawtv (yes, both). Unfortunately WiFi/wlan0/WPA weren't working at all so I got rid of U and went back to Fedora9 which better suits my purposes.

      For some reason, the pre-build ubuntu module is 130kb, while the self-build fFdora one is 1.5megs... (? I did not cleaned afterwards ?)

      any hint on: error code 0x0201 = 0C  (dmesg|tail) or "Failed to initialize buffer manager, falling back to classic, ioctl: unknown error 515 (xawtv debug output) ?

      cheers

       
      • Nicolas VIVIEN

        Nicolas VIVIEN - 2008-08-30

        Warning,

        you have to driver : stkwebcam and stk11xx

        stkwebcam is built in kernel (since 2.6.25) But, this driver support only 174F:A311 webcam.

        For others webcams, you have to use stk11xx (on this website)

        About message :

        error code 0x0201 = 0C : Only a warning (not serious...)

        As far as I'm concerned, I run xawtv with "-nodga" option.

        Camorama works with V4L
        Xawtv works with V4L2
        Skype works with V4L2
        Ekiga works with V4L or V4L2

        Regards,

        Nicolas

         

Log in to post a comment.