* [linux-dvb] Digittrade DVB-T (Afatech DVB-T) (af9015.fw) - Device Information
@ 2008-10-14 11:57 Jelle de Jong
2008-10-14 12:24 ` Jelle de Jong
0 siblings, 1 reply; 7+ messages in thread
From: Jelle de Jong @ 2008-10-14 11:57 UTC (permalink / raw)
To: linux-dvb
[-- Attachment #1: Type: text/plain, Size: 866 bytes --]
This message contains the following attachment(s):
Afatech DVB-T - Device Information - v0.1.1j.txt
Hello everybody,
I bought an other usb dvb-t stick (number 5) with the hope it would work
out of the box under Debian Linux Sid because I could not efficiently
maintain all the custom build drivers on my systems.
The distributer, tried to create something that would work on Linux but
he kind of missed the point of Linux sustainable driver model. There was
an cdrom included with an "autoself" installation script. That tried to
heavily rape my debian box..
http://filebin.ca/rydcgt/treiber.tar.gz
I would like to know if this device can work out of the box? and if not
what is needed to get the device working out of the box?
See the attachment for the device information. If more information is
needed please tell me how to gather it.
Best regards,
Jelle
[-- Attachment #2: Afatech DVB-T - Device Information - v0.1.1j.txt --]
[-- Type: text/plain, Size: 5206 bytes --]
Alias: Digittrade DVB-T USB Stick (Afatech DVB-T) (af9015.fw)
Sourcelink: http://www.einfach-eee.de/eee-pc-zubehoer/
Digittrade: http://www.digittrade.de/shop/product_info.php/info/p66_DIGITTRADE-DVB-T-Stick-USB-2-0-1-1-DVBT-Windows-Linux-MAC.html
[ 38.236036] usb 5-4: new high speed USB device using ehci_hcd and address 8
[ 38.372111] usb 5-4: configuration #1 chosen from 1 choice
[ 38.380692] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8
[ 38.387769] input: Afatech DVB-T as /class/input/input10
[ 38.416192] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4
[ 38.416448] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016
[ 38.416457] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 38.416466] usb 5-4: Product: DVB-T
[ 38.416471] usb 5-4: Manufacturer: Afatech
cat /proc/version
Linux version 2.6.26-1-686 (Debian 2.6.26-7) (waldi@debian.org) (gcc version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Wed Oct 1 12:03:14 UTC 2008
ls -hal /lib/firmware/dvb-usb-af9015.fw
-rw------- 1 root root 13K 2008-10-14 13:17 /lib/firmware/dvb-usb-af9015.fw
sudo lsusb -vvv -d 15a4:9016
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x15a4
idProduct 0x9016
bcdDevice 2.00
iManufacturer 1 Afatech
iProduct 2 DVB-T
iSerial 0
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
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
[-- Attachment #3: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [linux-dvb] Digittrade DVB-T (Afatech DVB-T) (af9015.fw) - Device Information 2008-10-14 11:57 [linux-dvb] Digittrade DVB-T (Afatech DVB-T) (af9015.fw) - Device Information Jelle de Jong @ 2008-10-14 12:24 ` Jelle de Jong 2008-10-14 13:59 ` [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (not working) Jelle de Jong 0 siblings, 1 reply; 7+ messages in thread From: Jelle de Jong @ 2008-10-14 12:24 UTC (permalink / raw) To: linux-dvb Jelle de Jong wrote: > This message contains the following attachment(s): > Afatech DVB-T - Device Information - v0.1.1j.txt > > Hello everybody, > > I bought an other usb dvb-t stick (number 5) with the hope it would work > out of the box under Debian Linux Sid because I could not efficiently > maintain all the custom build drivers on my systems. > > The distributer, tried to create something that would work on Linux but > he kind of missed the point of Linux sustainable driver model. There was > an cdrom included with an "autoself" installation script. That tried to > heavily rape my debian box.. > > http://filebin.ca/rydcgt/treiber.tar.gz > > I would like to know if this device can work out of the box? and if not > what is needed to get the device working out of the box? > > See the attachment for the device information. If more information is > needed please tell me how to gather it. > > Best regards, > > Jelle I found some additional information, but all my above questions remain the same. http://openlab.savonia-amk.fi/wiki/index.php/Afatech_9016_DVB-T_USB Best regards, Jelle _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (not working) 2008-10-14 12:24 ` Jelle de Jong @ 2008-10-14 13:59 ` Jelle de Jong 2008-10-14 14:53 ` Antti Palosaari 0 siblings, 1 reply; 7+ messages in thread From: Jelle de Jong @ 2008-10-14 13:59 UTC (permalink / raw) To: linux-dvb [-- Attachment #1: Type: text/plain, Size: 1880 bytes --] -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jelle de Jong wrote: > Jelle de Jong wrote: >> >> Hello everybody, >> >> I bought an other usb dvb-t stick (number 5) with the hope it would work >> out of the box under Debian Linux Sid because I could not efficiently >> maintain all the custom build drivers on my systems. >> >> The distributer, tried to create something that would work on Linux but >> he kind of missed the point of Linux sustainable driver model. There was >> an cdrom included with an "autoself" installation script. That tried to >> heavily rape my debian box.. >> >> http://filebin.ca/rydcgt/treiber.tar.gz >> >> I would like to know if this device can work out of the box? and if not >> what is needed to get the device working out of the box? >> >> See the attachment for the device information. If more information is >> needed please tell me how to gather it. >> >> Best regards, >> >> Jelle > > I found some additional information, but all my above questions remain > the same. > > http://openlab.savonia-amk.fi/wiki/index.php/Afatech_9016_DVB-T_USB > > Best regards, > > Jelle > Hello everybody, Even while the device does not yet work out of the box and I don't know why this is the case, i tried to get the device working. I created some documentation of my steps, but the device refuses to find any dvb-t signals, while I am sure there are there. Please see the attachment for far more detailed information. Any help is really appreciated. Kind regards, Jelle -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iJwEAQECAAYFAkj0pdcACgkQ1WclBW9j5HmiqwQAlypHrucNNZK7m0rxAoMgG/U+ jybxQChrQTQPlso0Vt5H2U1HsPUD1gGQQEv6jk9dqjO66+dc+npEa85qGV/VtTFl JLlpA0WEl+UBx2PmCt9CINljuNUGXMifg7CoPdnz42B00bl3TAbEtE7QEWdPTMG0 mu1dZ3/fw+X+Y6kxK9s= =gQvK -----END PGP SIGNATURE----- [-- Attachment #2: Afatech DVB-T - Installation Guide - v0.1.1j.txt --] [-- Type: text/plain, Size: 8127 bytes --] #!/bin/bash # just for highliting # Afatech DVB-T - Installation Guide - v0.1.1j.txt # # Copyright 2008 Jelle de Jong <jelledejong at powercraft dot nl> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. cd ~ wget http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw sudo mv --verbose dvb-usb-af9015.fw /lib/firmware/ sudo chmod 555 /lib/firmware/dvb-usb-af9015.fw ls -hal /lib/firmware/dvb-usb-af9015.fw -r-xr-xr-x 1 jelle jelle 16K 2007-11-16 21:06 /lib/firmware/dvb-usb-af9015.fw # original firware included on cdrom cd ~ sudo cp --verbose "/media/DIGITTRADE DVB-T/Installationsdateien/linux/dvb-usb-af9015.fw" /lib/firmware/ sudo chmod 555 /lib/firmware/dvb-usb-af9015.fw ls -hal /lib/firmware/dvb-usb-af9015.fw -r-xr-xr-x 1 jelle root 13K 2008-10-14 15:36 /lib/firmware/dvb-usb-af9015.fw sudo apt-get install linux-headers-$(uname -r) build-essential mercurial cd ~ [ -e af9015 ] && rm --recursive af9015 hg clone http://linuxtv.org/hg/~anttip/af9015 cd af9015 make sudo make install sudo depmod -a cd ~ sudo shutdown -r now ls -hal /dev/dvb/adapter0/ total 0 drwxr-xr-x 2 root root 120 2008-10-14 15:38 . drwxr-xr-x 3 root root 60 2008-10-14 15:38 .. crw-rw---- 1 root video 212, 4 2008-10-14 15:38 demux0 crw-rw---- 1 root video 212, 5 2008-10-14 15:38 dvr0 crw-rw---- 1 root video 212, 3 2008-10-14 15:38 frontend0 crw-rw---- 1 root video 212, 7 2008-10-14 15:38 net0 dmesg | grep af90 dmesg # firmware version:4.95.0 [ 44.132059] firmware: requesting dvb-usb-af9015.fw [ 44.141827] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 44.219500] usbcore: registered new interface driver dvb_usb_af9015 [ 45.157789] af9013: firmware version:4.95.0 [ 45.280556] af9015: command failed:2 [ 43.552057] usb 5-4: new high speed USB device using ehci_hcd and address 9 [ 43.688128] usb 5-4: configuration #1 chosen from 1 choice [ 43.696836] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 43.703912] input: Afatech DVB-T as /class/input/input10 [ 43.732239] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 43.732503] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 43.732512] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 43.732520] usb 5-4: Product: DVB-T [ 43.732525] usb 5-4: Manufacturer: Afatech [ 44.132046] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware [ 44.132059] firmware: requesting dvb-usb-af9015.fw [ 44.141827] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 44.213470] usb 5-4: USB disconnect, address 9 [ 44.216418] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected. [ 44.219500] usbcore: registered new interface driver dvb_usb_af9015 [ 44.472074] usb 5-4: new high speed USB device using ehci_hcd and address 10 [ 44.608713] usb 5-4: configuration #1 chosen from 1 choice [ 44.655921] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state. [ 44.656063] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 44.656439] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick) [ 45.157789] af9013: firmware version:4.95.0 [ 45.163795] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... [ 45.280556] af9015: command failed:2 [ 45.280566] mt2060 I2C read failed [ 45.280675] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected. [ 45.294842] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 45.295337] input: Afatech DVB-T as /class/input/input11 [ 45.320250] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 45.320527] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 45.320536] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 45.320544] usb 5-4: Product: DVB-T [ 45.320549] usb 5-4: Manufacturer: Afatech # firmware version:4.65.0 [ 56.158741] firmware: requesting dvb-usb-af9015.fw [ 56.176145] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 56.231452] usbcore: registered new interface driver dvb_usb_af9015 [ 57.157978] af9013: firmware version:4.65.0 [ 57.277990] af9015: command failed:2 [ 55.584068] usb 5-4: new high speed USB device using ehci_hcd and address 8 [ 55.720067] usb 5-4: configuration #1 chosen from 1 choice [ 55.728745] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 55.735821] input: Afatech DVB-T as /class/input/input10 [ 55.764228] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 55.764496] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 55.764505] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 55.764513] usb 5-4: Product: DVB-T [ 55.764519] usb 5-4: Manufacturer: Afatech [ 56.158728] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware [ 56.158741] firmware: requesting dvb-usb-af9015.fw [ 56.176145] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 56.231452] usbcore: registered new interface driver dvb_usb_af9015 [ 56.231533] usb 5-4: USB disconnect, address 8 [ 56.232690] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected. [ 56.504073] usb 5-4: new high speed USB device using ehci_hcd and address 9 [ 56.640782] usb 5-4: configuration #1 chosen from 1 choice [ 56.654602] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state. [ 56.654720] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 56.655145] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick) [ 57.157978] af9013: firmware version:4.65.0 [ 57.163981] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... [ 57.277990] af9015: command failed:2 [ 57.278001] mt2060 I2C read failed [ 57.278118] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected. [ 57.292623] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 57.293147] input: Afatech DVB-T as /class/input/input11 [ 57.324212] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 57.324482] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 57.324492] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 57.324500] usb 5-4: Product: DVB-T [ 57.324505] usb 5-4: Manufacturer: Afatech # cleanup cd ~ [ -e af9015 ] && rm --recursive af9015 sudo apt-get remove --purge linux-headers-$(uname -r) build-essential mercurial # scanning channels .... (noting found, device does not seem to work) # i used diffrent antenna's, including active ones and the orignal # my em28xx devices do work so the signal is strong enough bash .scripts/dvb-t/setup-free-to-air-channels.sh w_scan version 20080815 Info: using DVB adapter auto detection. Found DVB-T frontend. Using adapter /dev/dvb/adapter0/frontend0 -_-_-_-_ Getting frontend capabilities-_-_-_-_ frontend Afatech AF9013 DVB-T supports INVERSION_AUTO QAM_AUTO TRANSMISSION_MODE_AUTO GUARD_INTERVAL_AUTO HIERARCHY_AUTO FEC_AUTO -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 177500: <skip> 858000: ERROR: Sorry - i couldn't get any working frequency/transponder Nothing to scan!! dumping lists (0 services) Done. [-- Attachment #3: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (not working) 2008-10-14 13:59 ` [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (not working) Jelle de Jong @ 2008-10-14 14:53 ` Antti Palosaari 2008-10-14 15:06 ` Jelle de Jong 0 siblings, 1 reply; 7+ messages in thread From: Antti Palosaari @ 2008-10-14 14:53 UTC (permalink / raw) To: Jelle de Jong; +Cc: linux-dvb hello Jelle, sorry for top-posting... Error from attached file: [ 57.163981] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... [ 57.277990] af9015: command failed:2 [ 57.278001] mt2060 I2C read failed goes to the fact that I2C-communication towards tuner is behind I2C-gate of the AF9015/AF9013. MT2060 you use does not have I2C-gate implemented. Use newer MT2060 module for correct functionality. See for more information: http://palosaari.fi/linux/v4l-dvb/controlling_tuner.txt http://palosaari.fi/linux/v4l-dvb/controlling_tuner_af9015_dual_demod.txt reagrds Antti Jelle de Jong wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jelle de Jong wrote: >> Jelle de Jong wrote: >>> Hello everybody, >>> >>> I bought an other usb dvb-t stick (number 5) with the hope it would work >>> out of the box under Debian Linux Sid because I could not efficiently >>> maintain all the custom build drivers on my systems. >>> >>> The distributer, tried to create something that would work on Linux but >>> he kind of missed the point of Linux sustainable driver model. There was >>> an cdrom included with an "autoself" installation script. That tried to >>> heavily rape my debian box.. >>> >>> http://filebin.ca/rydcgt/treiber.tar.gz >>> >>> I would like to know if this device can work out of the box? and if not >>> what is needed to get the device working out of the box? >>> >>> See the attachment for the device information. If more information is >>> needed please tell me how to gather it. >>> >>> Best regards, >>> >>> Jelle >> I found some additional information, but all my above questions remain >> the same. >> >> http://openlab.savonia-amk.fi/wiki/index.php/Afatech_9016_DVB-T_USB >> >> Best regards, >> >> Jelle >> > > Hello everybody, > > Even while the device does not yet work out of the box and I don't know > why this is the case, i tried to get the device working. I created some > documentation of my steps, but the device refuses to find any dvb-t > signals, while I am sure there are there. > > Please see the attachment for far more detailed information. > > Any help is really appreciated. > > Kind regards, > > Jelle > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iJwEAQECAAYFAkj0pdcACgkQ1WclBW9j5HmiqwQAlypHrucNNZK7m0rxAoMgG/U+ > jybxQChrQTQPlso0Vt5H2U1HsPUD1gGQQEv6jk9dqjO66+dc+npEa85qGV/VtTFl > JLlpA0WEl+UBx2PmCt9CINljuNUGXMifg7CoPdnz42B00bl3TAbEtE7QEWdPTMG0 > mu1dZ3/fw+X+Y6kxK9s= > =gQvK > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------ > > _______________________________________________ > linux-dvb mailing list > linux-dvb@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (not working) 2008-10-14 14:53 ` Antti Palosaari @ 2008-10-14 15:06 ` Jelle de Jong 2008-10-14 15:16 ` Antti Palosaari 0 siblings, 1 reply; 7+ messages in thread From: Jelle de Jong @ 2008-10-14 15:06 UTC (permalink / raw) To: Antti Palosaari; +Cc: linux-dvb Antti Palosaari wrote: > hello Jelle, > sorry for top-posting... > > Error from attached file: > > [ 57.163981] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... > [ 57.277990] af9015: command failed:2 > [ 57.278001] mt2060 I2C read failed > > goes to the fact that I2C-communication towards tuner is behind I2C-gate > of the AF9015/AF9013. MT2060 you use does not have I2C-gate implemented. > Use newer MT2060 module for correct functionality. > > See for more information: > http://palosaari.fi/linux/v4l-dvb/controlling_tuner.txt > http://palosaari.fi/linux/v4l-dvb/controlling_tuner_af9015_dual_demod.txt > > reagrds > Antti Thanks for the information, since one of my specializations is embedded hardware development, I do understand the presented issues. Should there not be an option to the MT2060 module to use the I2C-gate or not? What can I do to get this device working now? > > Jelle de Jong wrote: > Jelle de Jong wrote: >>>> Jelle de Jong wrote: >>>>> Hello everybody, >>>>> >>>>> I bought an other usb dvb-t stick (number 5) with the hope it would work >>>>> out of the box under Debian Linux Sid because I could not efficiently >>>>> maintain all the custom build drivers on my systems. >>>>> >>>>> The distributer, tried to create something that would work on Linux but >>>>> he kind of missed the point of Linux sustainable driver model. There was >>>>> an cdrom included with an "autoself" installation script. That tried to >>>>> heavily rape my debian box.. >>>>> >>>>> http://filebin.ca/rydcgt/treiber.tar.gz >>>>> >>>>> I would like to know if this device can work out of the box? and if not >>>>> what is needed to get the device working out of the box? >>>>> >>>>> See the attachment for the device information. If more information is >>>>> needed please tell me how to gather it. >>>>> >>>>> Best regards, >>>>> >>>>> Jelle >>>> I found some additional information, but all my above questions remain >>>> the same. >>>> >>>> http://openlab.savonia-amk.fi/wiki/index.php/Afatech_9016_DVB-T_USB >>>> >>>> Best regards, >>>> >>>> Jelle >>>> > Hello everybody, > > Even while the device does not yet work out of the box and I don't know > why this is the case, i tried to get the device working. I created some > documentation of my steps, but the device refuses to find any dvb-t > signals, while I am sure there are there. > > Please see the attachment for far more detailed information. > > Any help is really appreciated. > > Kind regards, > > Jelle >> >> ------------------------------------------------------------------------ >> _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (not working) 2008-10-14 15:06 ` Jelle de Jong @ 2008-10-14 15:16 ` Antti Palosaari 2008-10-14 19:30 ` [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (70% working) Jelle de Jong 0 siblings, 1 reply; 7+ messages in thread From: Antti Palosaari @ 2008-10-14 15:16 UTC (permalink / raw) To: Jelle de Jong; +Cc: linux-dvb Jelle de Jong wrote: > Antti Palosaari wrote: >> hello Jelle, >> sorry for top-posting... >> >> Error from attached file: >> >> [ 57.163981] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... >> [ 57.277990] af9015: command failed:2 >> [ 57.278001] mt2060 I2C read failed >> >> goes to the fact that I2C-communication towards tuner is behind I2C-gate >> of the AF9015/AF9013. MT2060 you use does not have I2C-gate implemented. >> Use newer MT2060 module for correct functionality. >> >> See for more information: >> http://palosaari.fi/linux/v4l-dvb/controlling_tuner.txt >> http://palosaari.fi/linux/v4l-dvb/controlling_tuner_af9015_dual_demod.txt >> >> reagrds >> Antti > > Thanks for the information, since one of my specializations is embedded > hardware development, I do understand the presented issues. > > Should there not be an option to the MT2060 module to use the I2C-gate > or not? What can I do to get this device working now? There is no option for I2C-gate, gate will be called every time when access to tuner is needed. If you already use MT2060 coming with AF9015 driver it should work. I doubt that you are mixing em2880 driver and af9015 and wrong tuner driver is coming from em2880. But I am not sure. Could you make clean install to see whether or not it is working. hg clone http://linuxtv.org/hg/v4l-dvb/ make make install (root privileges) replug stick reboot plug stick It should work (hopefully) reagrds Antti -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (70% working) 2008-10-14 15:16 ` Antti Palosaari @ 2008-10-14 19:30 ` Jelle de Jong 0 siblings, 0 replies; 7+ messages in thread From: Jelle de Jong @ 2008-10-14 19:30 UTC (permalink / raw) To: Antti Palosaari; +Cc: linux-dvb [-- Attachment #1: Type: text/plain, Size: 2578 bytes --] Antti Palosaari wrote: > Jelle de Jong wrote: >> Antti Palosaari wrote: >>> hello Jelle, >>> sorry for top-posting... >>> >>> Error from attached file: >>> >>> [ 57.163981] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... >>> [ 57.277990] af9015: command failed:2 >>> [ 57.278001] mt2060 I2C read failed >>> >>> goes to the fact that I2C-communication towards tuner is behind I2C-gate >>> of the AF9015/AF9013. MT2060 you use does not have I2C-gate implemented. >>> Use newer MT2060 module for correct functionality. >>> >>> See for more information: >>> http://palosaari.fi/linux/v4l-dvb/controlling_tuner.txt >>> http://palosaari.fi/linux/v4l-dvb/controlling_tuner_af9015_dual_demod.txt >>> >>> reagrds >>> Antti >> Thanks for the information, since one of my specializations is embedded >> hardware development, I do understand the presented issues. >> >> Should there not be an option to the MT2060 module to use the I2C-gate >> or not? What can I do to get this device working now? > > There is no option for I2C-gate, gate will be called every time when > access to tuner is needed. If you already use MT2060 coming with AF9015 > driver it should work. I doubt that you are mixing em2880 driver and > af9015 and wrong tuner driver is coming from em2880. But I am not sure. > Could you make clean install to see whether or not it is working. > > hg clone http://linuxtv.org/hg/v4l-dvb/ > make > make install (root privileges) > replug stick > reboot > plug stick > > It should work (hopefully) > > reagrds > Antti I tried the above but it did not work, so I flushed out my current kernel and modules and restored it to a default Debian state and rebuild the af9015 system as described in my attachment. The device kind of works now (yes :-p), with normal passive antennas I can find signals, however with my kind of expensive active antenna it does not find anything... I can also tune the signal with totem-xine dvb, mplayer is not able to tune the signal... I have no idea why, i tried different timeout and cache settings. Also the remote does not work, when the device is connected during boot nu input device is created. When the device is insert after a complete boot. the input device is created, but it is not working. I scanned the event with irrecord without any result... Playing dvb://Nederland 1(Digitenne). dvb_tune Freq: 722000000 Not able to lock to the signal on the given frequency, timeout: 1 dvb_tune, TUNING FAILED ERROR, COULDN'T SET CHANNEL 0: Failed to open dvb://Nederland 1(Digitenne). Any idea's? Best regards, Jelle [-- Attachment #2: Afatech DVB-T - Installation Guide - v0.1.2j.txt --] [-- Type: text/plain, Size: 11220 bytes --] #!/bin/bash # just for highliting # Afatech DVB-T - Installation Guide - v0.1.2j.txt # # Copyright 2008 Jelle de Jong <jelledejong at powercraft dot nl> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. cd ~ wget http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw sudo mv --verbose dvb-usb-af9015.fw /lib/firmware/ sudo chmod 555 /lib/firmware/dvb-usb-af9015.fw ls -hal /lib/firmware/dvb-usb-af9015.fw -r-xr-xr-x 1 jelle jelle 16K 2007-11-16 21:06 /lib/firmware/dvb-usb-af9015.fw sudo apt-get install linux-headers-$(uname -r) build-essential mercurial cd ~ [ -e af9015 ] && rm --recursive af9015 hg clone http://linuxtv.org/hg/~anttip/af9015 cd af9015 make sudo make install sudo depmod -a cd ~ sudo shutdown -r now ls -hal /dev/dvb/adapter0/ total 0 drwxr-xr-x 2 root root 120 2008-10-14 20:03 . drwxr-xr-x 3 root root 60 2008-10-14 20:03 .. crw-rw---- 1 root video 212, 4 2008-10-14 20:03 demux0 crw-rw---- 1 root video 212, 5 2008-10-14 20:03 dvr0 crw-rw---- 1 root video 212, 3 2008-10-14 20:03 frontend0 crw-rw---- 1 root video 212, 7 2008-10-14 20:03 net0 dmesg | grep af90 [ 39.345010] firmware: requesting dvb-usb-af9015.fw [ 39.354356] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 39.427422] usbcore: registered new interface driver dvb_usb_af9015 [ 40.388995] af9013: firmware version:4.95.0 dmesg [ 38.772041] usb 5-4: new high speed USB device using ehci_hcd and address 8 [ 38.908086] usb 5-4: configuration #1 chosen from 1 choice [ 38.916772] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 38.923864] input: Afatech DVB-T as /class/input/input10 [ 38.952224] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 38.952496] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 38.952505] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 38.952513] usb 5-4: Product: DVB-T [ 38.952519] usb 5-4: Manufacturer: Afatech [ 39.344997] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware [ 39.345010] firmware: requesting dvb-usb-af9015.fw [ 39.354356] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 39.422168] usb 5-4: USB disconnect, address 8 [ 39.424394] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected. [ 39.427422] usbcore: registered new interface driver dvb_usb_af9015 [ 39.692085] usb 5-4: new high speed USB device using ehci_hcd and address 9 [ 39.835168] usb 5-4: configuration #1 chosen from 1 choice [ 39.849246] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state. [ 39.849366] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 39.849792] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick) [ 40.388995] af9013: firmware version:4.95.0 [ 40.395000] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... [ 40.671009] MT2060: successfully identified (IF1 = 1220) [ 41.136134] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected. [ 41.153146] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 41.154029] input: Afatech DVB-T as /class/input/input11 [ 41.184235] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 41.184593] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 41.184603] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 41.184611] usb 5-4: Product: DVB-T [ 41.184616] usb 5-4: Manufacturer: Afatech # cleanup cd ~ [ -e af9015 ] && rm --recursive af9015 sudo apt-get remove --purge linux-headers-$(uname -r) build-essential mercurial ------------------------------------------------------------------------ # debugging section # original firmware included on cdrom cd ~ sudo cp --verbose "/media/DIGITTRADE DVB-T/Installationsdateien/linux/dvb-usb-af9015.fw" /lib/firmware/ sudo chmod 555 /lib/firmware/dvb-usb-af9015.fw ls -hal /lib/firmware/dvb-usb-af9015.fw -r-xr-xr-x 1 jelle root 13K 2008-10-14 15:36 /lib/firmware/dvb-usb-af9015.fw # scanning channels .... (noting found, device does not seem to work) # i used diffrent antenna's, including active ones and the orignal # my em28xx devices do work so the signal is strong enough bash .scripts/dvb-t/setup-free-to-air-channels.sh w_scan version 20080815 Info: using DVB adapter auto detection. Found DVB-T frontend. Using adapter /dev/dvb/adapter0/frontend0 -_-_-_-_ Getting frontend capabilities-_-_-_-_ frontend Afatech AF9013 DVB-T supports INVERSION_AUTO QAM_AUTO TRANSMISSION_MODE_AUTO GUARD_INTERVAL_AUTO HIERARCHY_AUTO FEC_AUTO -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 177500: <skip> 858000: ERROR: Sorry - i couldn't get any working frequency/transponder Nothing to scan!! dumping lists (0 services) Done. # firmware version:4.95.0 [ 44.132059] firmware: requesting dvb-usb-af9015.fw [ 44.141827] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 44.219500] usbcore: registered new interface driver dvb_usb_af9015 [ 45.157789] af9013: firmware version:4.95.0 [ 45.280556] af9015: command failed:2 [ 43.552057] usb 5-4: new high speed USB device using ehci_hcd and address 9 [ 43.688128] usb 5-4: configuration #1 chosen from 1 choice [ 43.696836] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 43.703912] input: Afatech DVB-T as /class/input/input10 [ 43.732239] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 43.732503] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 43.732512] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 43.732520] usb 5-4: Product: DVB-T [ 43.732525] usb 5-4: Manufacturer: Afatech [ 44.132046] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware [ 44.132059] firmware: requesting dvb-usb-af9015.fw [ 44.141827] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 44.213470] usb 5-4: USB disconnect, address 9 [ 44.216418] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected. [ 44.219500] usbcore: registered new interface driver dvb_usb_af9015 [ 44.472074] usb 5-4: new high speed USB device using ehci_hcd and address 10 [ 44.608713] usb 5-4: configuration #1 chosen from 1 choice [ 44.655921] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state. [ 44.656063] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 44.656439] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick) [ 45.157789] af9013: firmware version:4.95.0 [ 45.163795] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... [ 45.280556] af9015: command failed:2 [ 45.280566] mt2060 I2C read failed [ 45.280675] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected. [ 45.294842] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 45.295337] input: Afatech DVB-T as /class/input/input11 [ 45.320250] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 45.320527] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 45.320536] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 45.320544] usb 5-4: Product: DVB-T [ 45.320549] usb 5-4: Manufacturer: Afatech # firmware version:4.65.0 [ 56.158741] firmware: requesting dvb-usb-af9015.fw [ 56.176145] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 56.231452] usbcore: registered new interface driver dvb_usb_af9015 [ 57.157978] af9013: firmware version:4.65.0 [ 57.277990] af9015: command failed:2 [ 55.584068] usb 5-4: new high speed USB device using ehci_hcd and address 8 [ 55.720067] usb 5-4: configuration #1 chosen from 1 choice [ 55.728745] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 55.735821] input: Afatech DVB-T as /class/input/input10 [ 55.764228] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 55.764496] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 55.764505] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 55.764513] usb 5-4: Product: DVB-T [ 55.764519] usb 5-4: Manufacturer: Afatech [ 56.158728] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware [ 56.158741] firmware: requesting dvb-usb-af9015.fw [ 56.176145] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 56.231452] usbcore: registered new interface driver dvb_usb_af9015 [ 56.231533] usb 5-4: USB disconnect, address 8 [ 56.232690] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected. [ 56.504073] usb 5-4: new high speed USB device using ehci_hcd and address 9 [ 56.640782] usb 5-4: configuration #1 chosen from 1 choice [ 56.654602] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state. [ 56.654720] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 56.655145] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick) [ 57.157978] af9013: firmware version:4.65.0 [ 57.163981] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... [ 57.277990] af9015: command failed:2 [ 57.278001] mt2060 I2C read failed [ 57.278118] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected. [ 57.292623] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8 [ 57.293147] input: Afatech DVB-T as /class/input/input11 [ 57.324212] input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-4 [ 57.324482] usb 5-4: New USB device found, idVendor=15a4, idProduct=9016 [ 57.324492] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 57.324500] usb 5-4: Product: DVB-T [ 57.324505] usb 5-4: Manufacturer: Afatech # I got the problem that I also had build and installed an other em28xx 4vl repository that was conflicting with the mt2060 module. # I remove all my old modules resinstalled them to a fresh default stage and rebuild this driver and then the device worked! cd ~ [ -e v4l-dvb ] && rm --recursive v4l-dvb hg clone http://linuxtv.org/hg/v4l-dvb/ cd v4l-dvb make sudo make install sudo depmod -a cd ~ [-- Attachment #3: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-10-14 19:30 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-10-14 11:57 [linux-dvb] Digittrade DVB-T (Afatech DVB-T) (af9015.fw) - Device Information Jelle de Jong 2008-10-14 12:24 ` Jelle de Jong 2008-10-14 13:59 ` [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (not working) Jelle de Jong 2008-10-14 14:53 ` Antti Palosaari 2008-10-14 15:06 ` Jelle de Jong 2008-10-14 15:16 ` Antti Palosaari 2008-10-14 19:30 ` [linux-dvb] Afatech DVB-T - Installation Guide - v0.1.1j (70% working) Jelle de Jong
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox