You are not logged in.

#1 2011-04-11 23:45:28

cgarcia
Member
Registered: 2010-08-09
Posts: 39

2.6.38 and DVB malfunction

With kernel 2.6.38, the DVB card is very slow zapping channels (even half a minute in vlc!). Some channels don't show at all. Vlc still plays at normal speed, but mplayer is very slow (like in a vesa mode) despite the native Intel driver loaded.

Downgrading the Xorg didn't fixed the problem. Downgrading to 2.6.37-6 restored the normal function.

My hardware is  15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T USB2.0 stick.

Offline

#2 2011-04-12 11:17:28

hybrid
Member
Registered: 2007-02-05
Posts: 261

Re: 2.6.38 and DVB malfunction

I can confirm this issue. I'm using a DIGIVOX mini II V3.0 (AF9015), kaffeine doesn't tune Channels, on a channel search it doesn't find any.

kaffeine wrote:

demux_wavpack: (open_wv_file:127) open_wv_file: non-seekable inputs aren't supported yet.
kaffeine(5449) DvbDevice::frontendEvent: tuning failed

dmesg wrote:

af9015: recv bulk message failed:-71
af9015: af9015_rc_query: failed:-1
dvb-usb: error -1 while querying for an remote control event.
af9015: recv bulk message failed:-75
af9013: I2C read failed reg:d507

lsmod | grep af wrote:

af9013                 16751  1
dvb_usb_af9015         18163  0
dvb_usb                13282  1 dvb_usb_af9015
rc_core                12840  9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,dvb_usb_af9015,dvb_usb,ir_rc5_decoder,ir_nec_decoder
i2c_core               15688  6 tda18271,af9013,dvb_usb_af9015,dvb_usb,nvidia,i2c_i801
usbcore               113783  6 usbhid,dvb_usb_af9015,dvb_usb,uhci_hcd,ehci_hcd

lsusb wrote:

Bus 001 Device 003: ID 15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T USB2.0
stick
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x15a4 Afatech Technologies, Inc.
  idProduct          0x9016 AF9015 DVB-T USB2.0 stick
  bcdDevice            2.00
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           71
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.01
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              16

It all ran fine until the last pacman -Syu

/var/log/pacman.log wrote:

[2011-04-12 03:26] Running 'pacman -Syu'
[2011-04-12 03:26] synchronizing package lists
[2011-04-12 03:27] starting full system upgrade
[2011-04-12 03:32] upgraded audacious-plugins (2.4.4-2 -> 2.4.4-3)
[2011-04-12 03:32] upgraded xproto (7.0.20-1 -> 7.0.21-1)
[2011-04-12 03:32] upgraded libx11 (1.4.3-1 -> 1.4.3-2)
[2011-04-12 03:32] upgraded consolekit (0.4.3-2 -> 0.4.3-3)
[2011-04-12 03:32] upgraded dhcpcd (5.2.11-1 -> 5.2.12-1)
[2011-04-12 03:32] upgraded xextproto (7.1.2-1 -> 7.2.0-1)
[2011-04-12 03:32] upgraded fixesproto (4.1.2-1 -> 5.0-1)
[2011-04-12 03:32] upgraded libtasn1 (2.8-1 -> 2.9-1)
[2011-04-12 03:32] upgraded libgpg-error (1.9-2 -> 1.9-3)
[2011-04-12 03:32] upgraded libgcrypt (1.4.6-1 -> 1.4.6-2)
[2011-04-12 03:32] upgraded gnutls (2.10.5-1 -> 2.12.2-1)
[2011-04-12 03:32] upgraded gstreamer0.10-good (0.10.27-2 -> 0.10.28-1)
[2011-04-12 03:32] upgraded taglib (1.6.3-1 -> 1.7-1)
[2011-04-12 03:32] upgraded gstreamer0.10-good-plugins (0.10.27-2 -> 0.10.28-1)
[2011-04-12 03:32] upgraded imagemagick (6.6.9.1-1 -> 6.6.9.4-1)
[2011-04-12 03:32] upgraded kaffeine (1.1-1 -> 1.2.1-1)
[2011-04-12 03:32] upgraded kdebase-workspace (4.6.2-1 -> 4.6.2-2)
[2011-04-12 03:33] upgraded kernel26 (2.6.37.5-1 -> 2.6.38.2-1)
[2011-04-12 03:33] upgraded kernel26-headers (2.6.37.5-1 -> 2.6.38.2-1)
[2011-04-12 03:33] upgraded libdrm (2.4.23-2 -> 2.4.25-1)
[2011-04-12 03:33] upgraded libxfixes (4.0.5-1 -> 5.0-1)
[2011-04-12 03:33] upgraded lirc-utils (1:0.9.0-1 -> 1:0.9.0-2)
[2011-04-12 03:33] upgraded lirc (1:0.9.0-1 -> 1:0.9.0-2)
[2011-04-12 03:33] upgraded mdadm (3.1.5-1 -> 3.2.1-1)
[2011-04-12 03:33] upgraded xkeyboard-config (2.1-1 -> 2.2.1-1)
[2011-04-12 03:33] upgraded xorg-server-common (1.9.4.901-1 -> 1.10.0.902-1)
[2011-04-12 03:33] upgraded xf86-input-evdev (2.6.0-2 -> 2.6.0-3)
[2011-04-12 03:33] upgraded xorg-server (1.9.4.901-1 -> 1.10.0.902-1)
[2011-04-12 03:33] upgraded nvidia-utils (270.30-1 -> 270.41.03-1)
[2011-04-12 03:33] upgraded mesa (7.10.1-1 -> 7.10.2-2)
[2011-04-12 03:33] upgraded nvidia (270.30-3 -> 270.41.03-1)
[2011-04-12 03:33] upgraded phonon-gstreamer (4.4.4-1 -> 4.5.0-1)
[2011-04-12 03:33] upgraded syslog-ng (3.2.2-1 -> 3.2.2-2)
[2011-04-12 03:34] upgraded virtualbox (4.0.4-2 -> 4.0.4-3)
[2011-04-12 03:34] upgraded xdg-utils (1.1.0rc1-1 -> 1.1.0rc1-2)
[2011-04-12 03:34] upgraded xf86-video-vesa (2.3.0-4 -> 2.3.0-5)
[2011-04-12 03:34] upgraded xine-ui (0.99.6-1 -> 0.99.6-2)

An issue with the new kernel/it's modules sounds plausible to me. Though that af9013 module looks wrong to me too, I'll blacklist it and see what happens (since I can't unload it).

edit: The dmesg when I plug the dvb-usb stick in:

usb 1-3: new high speed USB device using ehci_hcd and address 4
dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
af9013: firmware version:4.95.0.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
tda18271 1-00c0: creating new instance
TDA18271HD/C2 detected @ 1-00c0
Registered IR keymap rc-empty
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/rc/rc2/input7
rc2: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/rc/rc2
dvb-usb: schedule remote query interval to 500 msecs.
dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.

Last edited by hybrid (2011-04-12 11:25:46)

Offline

#3 2011-04-12 13:48:28

hybrid
Member
Registered: 2007-02-05
Posts: 261

Re: 2.6.38 and DVB malfunction

Alright, blacklisting af9013 did not do the trick. I rolled back to kernel 2.6.37.5-1 and noticed I had to force pacman to install the old kernel package cuz the following files were still in filesystem

/lib/modules/2.6.37-ARCH/modules.alias
/lib/modules/2.6.37-ARCH/modules.alias.bin
/lib/modules/2.6.37-ARCH/modules.builtin
/lib/modules/2.6.37-ARCH/modules.builtin.bin
/lib/modules/2.6.37-ARCH/modules.ccwmap
/lib/modules/2.6.37-ARCH/modules.dep
/lib/modules/2.6.37-ARCH/modules.dep.bin
/lib/modules/2.6.37-ARCH/modules.devname
/lib/modules/2.6.37-ARCH/modules.ieee1394map
/lib/modules/2.6.37-ARCH/modules.inputmap
/lib/modules/2.6.37-ARCH/modules.isapnpmap
/lib/modules/2.6.37-ARCH/modules.ofmap
/lib/modules/2.6.37-ARCH/modules.order
/lib/modules/2.6.37-ARCH/modules.pcimap
/lib/modules/2.6.37-ARCH/modules.seriomap
/lib/modules/2.6.37-ARCH/modules.softdep
/lib/modules/2.6.37-ARCH/modules.symbols
/lib/modules/2.6.37-ARCH/modules.symbols.bin
/lib/modules/2.6.37-ARCH/modules.usbmap

I'm not sure why these files owned by kernel26-2.6.37.5-1 still persisted after pacman -Syu installed kernel26-2.6.38.2-1.
Anyhow, with the .37.5-1 package I can watch tv again.

Offline

#4 2011-04-21 10:22:16

hybrid
Member
Registered: 2007-02-05
Posts: 261

Re: 2.6.38 and DVB malfunction

Kernel 2.6.38.3-1 does not fix it. Though mplayer plays dvb fine now, xine does too.
Kaffeine doesn't seem to have a --verbose switch so I'm kind of stuck here. No idea if the error lies within kaffeine or if it is a kernel regression bug (since downgrading to <=2.6.37.5-1 fixes that behaviour). Any input is appreciated.

Offline

#5 2011-05-01 13:18:19

cgarcia
Member
Registered: 2010-08-09
Posts: 39

Re: 2.6.38 and DVB malfunction

Kernel 2.6.38.4 still doesn't works properly. Not only vlc, but also mplayer: only non-HD channels show with slow reproduction. However 2.6.37 works flawlessly in a Pentium 4 at 3.3 GHz (despite HD channels need nearly a full CPU). Anyway, with non-HD channels, 2.6.38 doesn't uses a lot of CPU but they don't show smoothly.

Offline

#6 2011-05-07 07:43:49

hybrid
Member
Registered: 2007-02-05
Posts: 261

Re: 2.6.38 and DVB malfunction

Seems like we were suffering from different problems.  Luckily (for me) with the latest kdelibs (4.6.3-1, hit arch repos yesterday) even kaffeine plays dvb fine again.
Hopefully you'll find a solution or at least a work around for your issue.

Offline

Board footer

Powered by FluxBB