Intrepid and Kernel 2.6.27: MSI Digivox mini II (V3.0) [Afatech DVB-T 2] not detected

Bug #271367 reported by criticalmess
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Intrepid by Wouter Stomp

Bug Description

$ lsusb
Bus 002 Device 010: ID 15a4:9016
## My Stick isn't correctly detected, this line is the one that dissappears, when I unplug the TV-Stick.
## lsusb line for the tv-stick is equal to the one when running Intrepid with 2.6.26-5

$ dmesg
[ 5874.260016] usb 2-4: USB disconnect, address 9
[ 5885.864012] usb 2-4: new high speed USB device using ehci_hcd and address 10
[ 5886.001585] usb 2-4: configuration #1 chosen from 1 choice
[ 5886.018533] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 16 -> 8
[ 5886.020079] input: Afatech DVB-T 2 as /class/input/input11
[ 5886.076130] input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:04.1-4

The firmware 'dvb-usb-digivox-02.fw' is located in '/lib/firmware', '/lib/firmware/2.6.26-5-generic/' and '/usr/lib/firmware/2.6.27-4-generic/'. Mercurical is correctly installed and v4l, too. I tried manually compiling and installing the latest v4l and af9015 without any efforts.

This is the dmesp-part for 2.6.26-5:
[ 209.503127] af9015_usb_device_exit:
[ 209.503129] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
[ 209.744020] usb 2-4: new high speed USB device using ehci_hcd and address 10
[ 209.877566] usb 2-4: configuration #1 chosen from 1 choice
[ 209.878043] af9015_usb_probe: interface:0
[ 209.879820] af9015_read_config: IR mode:1
[ 209.881624] af9015_read_config: TS mode:0
[ 209.883745] af9015_read_config: [0] xtal:2 set adc_clock:28000
[ 209.897852] af9015_read_config: [0] IF1:43000
[ 209.911410] af9015_read_config: [0] MT2060 IF1:0
[ 209.911410] af9015_read_config: [0] tuner id:156
[ 209.912280] af9015_identify_state: reply:02
[ 209.912282] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
[ 209.912319] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 209.913533] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
[ 209.913727] af9015_af9013_frontend_attach: init I2C
[ 209.913728] af9015_i2c_init:
[ 209.945215] 00: 2b d3 9b 0b 00 00 00 00 a4 15 16 90 00 02 01 02
[ 209.983410] 10: 03 80 00 fa fa 10 40 ef 01 30 31 30 31 31 30 31
[ 210.015409] 20: 36 30 37 30 30 30 30 31 ff ff ff ff ff ff ff ff
[ 210.048475] 30: 00 00 3a 01 00 08 02 00 f8 a7 00 00 9c ff ff ff
[ 210.080475] 40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
[ 210.112475] 50: ff ff ff ff 10 26 00 00 04 03 09 04 10 03 41 00
[ 210.144475] 60: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00
[ 210.176475] 70: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00
[ 210.208475] 80: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00
[ 210.240475] 90: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff
[ 210.272475] a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.304475] b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.336475] c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.368475] d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.400475] e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.432475] f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.440765] af9013: firmware version:4.95.0
[ 210.464475] DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
[ 210.464475] af9015_tuner_attach:
[ 210.464475] tda18271 0-00c0: creating new instance
[ 210.480475] TDA18271HD/C1 detected @ 0-00c0
[ 210.932607] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
[ 210.932611] af9015_init:
[ 210.932612] af9015_init_endpoint: USB speed:3
[ 210.976484] af9015_download_ir_table:
[ 210.980152] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 16 -> 8
[ 210.981507] input: Afatech DVB-T 2 as /class/input/input9
[ 211.017239] input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:04.1-4

When i switch back to 2.6.26-5 and start 'Digital Television' everything works properly.
I have no idea, what the problem may be or how to give further informations.

Revision history for this message
criticalmess (criticalmess) wrote :

This is the dmesp-part for 2.6.26-5:
[ 209.503127] af9015_usb_device_exit:
[ 209.503129] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
[ 209.744020] usb 2-4: new high speed USB device using ehci_hcd and address 10
[ 209.877566] usb 2-4: configuration #1 chosen from 1 choice
[ 209.878043] af9015_usb_probe: interface:0
[ 209.879820] af9015_read_config: IR mode:1
[ 209.881624] af9015_read_config: TS mode:0
[ 209.883745] af9015_read_config: [0] xtal:2 set adc_clock:28000
[ 209.897852] af9015_read_config: [0] IF1:43000
[ 209.911410] af9015_read_config: [0] MT2060 IF1:0
[ 209.911410] af9015_read_config: [0] tuner id:156
[ 209.912280] af9015_identify_state: reply:02
[ 209.912282] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
[ 209.912319] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 209.913533] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
[ 209.913727] af9015_af9013_frontend_attach: init I2C
[ 209.913728] af9015_i2c_init:
[ 209.945215] 00: 2b d3 9b 0b 00 00 00 00 a4 15 16 90 00 02 01 02
[ 209.983410] 10: 03 80 00 fa fa 10 40 ef 01 30 31 30 31 31 30 31
[ 210.015409] 20: 36 30 37 30 30 30 30 31 ff ff ff ff ff ff ff ff
[ 210.048475] 30: 00 00 3a 01 00 08 02 00 f8 a7 00 00 9c ff ff ff
[ 210.080475] 40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
[ 210.112475] 50: ff ff ff ff 10 26 00 00 04 03 09 04 10 03 41 00
[ 210.144475] 60: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00
[ 210.176475] 70: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00
[ 210.208475] 80: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00
[ 210.240475] 90: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff
[ 210.272475] a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.304475] b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.336475] c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.368475] d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.400475] e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.432475] f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 210.440765] af9013: firmware version:4.95.0
[ 210.464475] DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
[ 210.464475] af9015_tuner_attach:
[ 210.464475] tda18271 0-00c0: creating new instance
[ 210.480475] TDA18271HD/C1 detected @ 0-00c0
[ 210.932607] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
[ 210.932611] af9015_init:
[ 210.932612] af9015_init_endpoint: USB speed:3
[ 210.976484] af9015_download_ir_table:
[ 210.980152] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 16 -> 8
[ 210.981507] input: Afatech DVB-T 2 as /class/input/input9
[ 211.017239] input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:04.1-4

Revision history for this message
criticalmess (criticalmess) wrote :

Still the same in 2.6.27-4.5 incl. restricted-modules and rebuild and install of v4l-dvb and af9015. The Firmware is present in /lib/firmware/2.6.27-4-generic/, so seems to be correct setup in any way, but still doesnt work under 2.6.27.

description: updated
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
description: updated
Revision history for this message
criticalmess (criticalmess) wrote :

Got it, reinstalled Intrepid, installed mercurial and me-tv via synaptic, v4l-dvb and af9015 via hg clone and put firmware in right place. Works with Intrepid Beta and 2.6.27-7-generic. Thanks!

Changed in linux:
status: Triaged → Fix Released
Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

Well.. I have the same problem. When I Plug in the stick, all I get with lsusb is this line:

Bus 003 Device 012: ID 15a4:9016

and off course no module is loaded. Maybe a new installation would solve it, as it did for CypherDelic, but it should be an easier way, since this problem seems to be solved.

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

If I manually load the module via "modprobe dvb-usb-af9015", the module is loaded but not used

Revision history for this message
criticalmess (criticalmess) wrote :

This steps worked for me:

1. Get the Firmware from:
http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/

2. Move it into he right place:
sudo mv dvb-usb-digivox-02.fw /lib/firmware/`uname -r`

3. Install actual V4l:
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
make install
cd .

4. Install ANTTIP AF9015:
hg clone http://linuxtv.org/hg/~anttip/af9015/
make
make install

Maybe reboot. Plug it in and start Digital Television (me-tv). Have Phun.

Revision history for this message
criticalmess (criticalmess) wrote :

I forgot to "cd af9015" in step 4.

Revision history for this message
criticalmess (criticalmess) wrote :

Ha, still Xserver detects it as a Keyboard, but its working. Still maybe somebody need to fix xservers-xorg-input-* detection of this DVB-T-Stick. See my lsmod:

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

Hello, thanks a lot for your help, but I already did all that you told me (some howto somewhere). However, this time I did it exactly with the addresses you told me, and also (something I didn't before) with both. I found it strange though, because both seem to have the necessary modules to run dvb-usb-af9015. Sadly this didn't work either. One more thing maybe. You wrote "sudo mv dvb-usb-digivox-02.fw /lib/firmware/`uname -r`", but the name of the file was dvb-usb-af9015.fw. I also noticed when I plug in the stick (dmesg), that the firmware needed is dvb-usb-af9015.fw.

I used this stick with hardy and I did mostly the same. Everything seems to be fine, no dmesg errors when I plug it in and the dvb-usb-af9015 module is also loading smooth.. it's just not working. Do you know something I could additionally try?
Thanks in advance :)

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

I don't know exactly why (I believe it was the firmware) but it's working now. HOORAY!! And I really have to thank U, because the way I did it, I always had to pick the modules needed by dvb-usb-af9015. If I did make install, I had lost the support for the webcam (uvcvideo). Now everything seems to work seamlessly.
Thanks again.. and have a nice life :)

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

I'm back. There is still a problem here and I don't think it has something to do with the modules used. I found out that I have to try several times, until the stick is initialized. The difference in dmesg is:

NO SOCCESS:
[ 193.512589] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
[ 193.512601] firmware: requesting dvb-usb-af9015.fw
[ 193.516586] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'

SUCCESS:
[ 230.448101] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
[ 230.448450] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 230.448730] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
[ 230.927625] af9013: firmware version:4.95.0
[ 230.932752] DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
[ 230.986882] tda18271 5-00c0: creating new instance
[ 230.994757] TDA18271HD/C1 detected @ 5-00c0
[ 231.261272] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.

It looks like the problem would be the state of the stick (cold/warm).. whatever this means. I think some developer should take a look at this.

Greetings!

Revision history for this message
criticalmess (criticalmess) wrote :

Maybe it tries the different Firmware in cald-state. You definetly ONLY need that firmware, which i told you where to get. Remove the af9015fw, maybe its for the wrong model of Digivox mini II. Remember it is available in V2.0 and V3.0, and there are two different Wikis with different Firmwares out there. Check your version, check the firmware. Should work the way i told you. I have MSI digivox mini II (V3.0) like mentioned in the summary.

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

I couldn't fix it. The weird thing is, that it works sometimes and it worked perfectly with Hardy. I'll post the dmesg output again. Maybe somebody recognizes the actual problem. It looks like, if I'm disconecting the stick during the downloading of the firmware, next time I connect it, it's good:

NO SUCCESS:
[ 968.924021] usb 3-1: new high speed USB device using ehci_hcd and address 62
[ 969.061043] usb 3-1: configuration #1 chosen from 1 choice
[ 969.097593] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
[ 969.097603] firmware: requesting dvb-usb-af9015.fw
[ 969.101635] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[ 969.186291] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 16 -> 8
[ 969.187552] input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:02.2/usb3/3-1/3-1:1.1/input/input51
[ 969.216239] input,hidraw4: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:02.2-1
[ 973.096319] usb 3-1: USB disconnect, address 62
[ 973.099623] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.

SUCCESS:
[ 978.048013] usb 3-1: new high speed USB device using ehci_hcd and address 63
[ 978.185061] usb 3-1: configuration #1 chosen from 1 choice
[ 978.227550] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
[ 978.227561] firmware: requesting dvb-usb-af9015.fw
[ 978.234673] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[ 978.321604] usb 3-1: USB disconnect, address 63
[ 978.329697] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
[ 978.333376] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
[ 978.572020] usb 3-1: new high speed USB device using ehci_hcd and address 64
[ 978.709575] usb 3-1: configuration #1 chosen from 1 choice
[ 978.754127] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
[ 978.754462] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 978.754757] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
[ 979.160192] af9013: firmware version:4.95.0
[ 979.165315] DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
[ 979.167685] tda18271 5-00c0: creating new instance
[ 979.183822] TDA18271HD/C1 detected @ 5-00c0
[ 979.476801] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
[ 979.490706] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 16 -> 8
[ 979.491905] input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:02.2/usb3/3-1/3-1:1.1/input/input52
[ 979.520305] input,hidraw4: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:02.2-1

I really have no Idea what's going on.

Revision history for this message
fir3fly (fir3fly) wrote :

Thanx CypherDelic. Your Method works for me either. Even when i have a Digittrade USB DVB-T Stick. I use the Digittrade Firmware and your driver method and all is nice.

Thanks

Revision history for this message
flrtx (fltrx) wrote :

I followed the steps described in comment #6 and #7, but it's still not working for me. Do I have to load modules? Do I really have to have the stick unplugged while installing and plug it only when the installation is finished?

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

Hi flrtx. Whats the output of dmesg after you plug in the stick?

Revision history for this message
flrtx (fltrx) wrote :

LostinSpacetime, does this help you?

[ 198.050093] usb 4-1: USB disconnect, address 2
[ 208.464061] usb 5-1: new full speed USB device using uhci_hcd and address 3
[ 208.593554] usb 5-1: device descriptor read/64, error -71
[ 208.816083] usb 5-1: device descriptor read/64, error -71
[ 209.032072] usb 5-1: new full speed USB device using uhci_hcd and address 4
[ 209.152057] usb 5-1: device descriptor read/64, error -71
[ 209.376063] usb 5-1: device descriptor read/64, error -71
[ 209.592139] usb 5-1: new full speed USB device using uhci_hcd and address 5
[ 210.006905] usb 5-1: device not accepting address 5, error -71
[ 210.116038] usb 5-1: new full speed USB device using uhci_hcd and address 6
[ 210.524057] usb 5-1: device not accepting address 6, error -71
[ 210.525048] hub 5-0:1.0: unable to enumerate USB device on port 1

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

Hmm.. I'm not an expert, but this looks definitely like a different problem. Stupid question.. did U write "sudo make install" ? If yes, with "lsmod | grep af9015" (as root) U can find out if the module is loaded.

Revision history for this message
flrtx (fltrx) wrote :

I re-tried and it still doesn't work.

sudo lsmod | grep af9015 has no output.

If that's another problem, where can I get help for this?

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

This means the module isn't loaded at all. First check if your stick really needs this module and not another. The device we are talking about should be visible with "lsusb" like "Device 002: ID 15a4:9016". Try this. If you have the same, then try "sudo modprobe dvb_usb_af9015". If you get something like "module not found" then look if the file /lib/modules/2.6.27-8-generic/kernel/drivers/media/dvb/dvb-usb/dvb_usb_af9015.ko exists.

Revision history for this message
flrtx (fltrx) wrote :

lsusb gives me "Device 002: ID 15a4:9016". So I loaded the module, rebooted and now it works.
Can I now remove the cloned repositories from my home folder or will this destroy everything?

Thanks for your help!

I'm sorry for having been so stupid to forget to load the module but I thought, CypherDelic's instructions where complete and I switched my brain off.

I would suggest the following installation plan:

1. Get the Firmware from:
http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/

2. Move it into he right place:
sudo mv dvb-usb-digivox-02.fw /lib/firmware/`uname -r`

3. Install actual V4l:
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
sudo make
sudo make install
cd ..

4. Install ANTTIP AF9015:
hg clone http://linuxtv.org/hg/~anttip/af9015/
cd af9015
sudo make
sudo make install

5. Load the module
sudo modprobe dvb_usb_af9015

If this is succesful you should get something like this on sudo lsmod | grep af9015:
dvb_usb_af9015 31652 0
dvb_usb 27532 1 dvb_usb_af9015
i2c_core 31892 4 tda18271,af9013,dvb_usb_af9015,dvb_usb
usbcore 148848 6 dvb_usb_af9015,dvb_usb,usbhid,uhci_hcd,ehci_hcd

Then restart the computer.

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

I'm glad I could help. However, in my case it wasn't necessary to manually load the module. I believe this should happen automatically when one connects the device.. funny things happen.
You can delete the folder in your home directory but it can be useful as long as you don't make a kernel update. When, for some reason, the modules are gone (deleted, overwritten) with "sudo make install" U can put them back in their places. In case you have a new kernel, the folder is useless and U have to do it all over again :).

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.