From: poma <pomidorabelisima@gmail.com>
To: linux-media <linux-media@vger.kernel.org>
Cc: Antti Palosaari <crope@iki.fi>,
Michael Krufky <mkrufky@linuxtv.org>,
Manu Abraham <abraham.manu@gmail.com>
Subject: Re: dvb_usb_af9015: command failed=1 _ kernel >= 4.1.x
Date: Mon, 11 May 2015 20:43:14 +0200 [thread overview]
Message-ID: <5550F842.3050604@gmail.com> (raw)
In-Reply-To: <554FDAE7.4010906@gmail.com>
On 05/11/2015 12:25 AM, poma wrote:
> On 10.05.2015 12:38, poma wrote:
>> On 08.05.2015 12:59, poma wrote:
>>> On 08.05.2015 12:20, poma wrote:
>>>>
>>>> [ 0.000000] Linux version 4.0.2-200.fc21.x86_64 ...
>>>>
>>>> [ 0.870875] usb 1-2: new high-speed USB device number 2 using ehci-pci
>>>> [ 0.990286] usb 1-2: New USB device found, idVendor=15a4, idProduct=9016
>>>> [ 0.992575] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>>> [ 0.994859] usb 1-2: Product: DVB-T 2
>>>>
>>>> [ 1.001398] usb 1-2: Manufacturer: Afatech
>>>> [ 1.003555] usb 1-2: SerialNumber: 010101010600001
>>>> [ 1.009194] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7
>>>> [ 1.011694] input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.1/0003:15A4:9016.0001/input/input5
>>>> [ 1.066814] hid-generic 0003:15A4:9016.0001: input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:02.1-2/input1
>>>>
>>>> [ 11.997119] usb 1-2: dvb_usb_v2: found a 'Afatech AF9015 reference design' in warm state
>>>> [ 12.206778] usb 1-2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
>>>> [ 12.207412] DVB: registering new adapter (Afatech AF9015 reference design)
>>>>
>>>> [ 12.286137] i2c i2c-13: af9013: firmware version 5.1.0.0
>>>> [ 12.289121] usb 1-2: DVB: registering adapter 0 frontend 0 (Afatech AF9013)...
>>>> [ 12.343650] mxl5007t 13-00c0: creating new instance
>>>> [ 12.346003] mxl5007t_get_chip_id: unknown rev (3f)
>>>> [ 12.346156] mxl5007t_get_chip_id: MxL5007T detected @ 13-00c0
>>>> [ 12.350371] usb 1-2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
>>>> [ 12.350649] DVB: registering new adapter (Afatech AF9015 reference design)
>>>> [ 12.553632] i2c i2c-13: af9013: found a 'Afatech AF9013' in warm state
>>>> [ 12.557256] i2c i2c-13: af9013: firmware version 5.1.0.0
>>>> [ 12.563779] usb 1-2: DVB: registering adapter 1 frontend 0 (Afatech AF9013)...
>>>> [ 12.564554] mxl5007t 13-00c0: attaching existing instance
>>>> [ 12.567004] usb 1-2: dvb_usb_af9015: command failed=1
>>>> [ 12.567555] mxl5007t_soft_reset: 521: failed!
>>>> [ 12.569745] mxl5007t_attach: error -121 on line 907
>>>> [ 12.571231] usbcore: registered new interface driver dvb_usb_af9015
>>>>
>>>>
>>>> $ lsdvb
>>>>
>>>> lsdvb: Simple utility to list PCI/PCIe DVB devices
>>>> Version: 0.0.4
>>>> Copyright (C) Manu Abraham
>>>> $
>>>>
>>>
>>>
>>> Afatech AF9015 reference design:
>>>
>>> 3.18.12-200.fc21.x86_64 - OK
>>>
>>> 3.19.7-200.fc21.x86_64 - KO
>>> 4.0.2-200.fc21.x86_64 - KO
>>> 4.1.0-0.rc2.git3.1.fc23.x86_64 - KO
>>>
>>>
>>> If you have a patch to test, shout loudly.
>>>
>>>
>>
>> Looks like the same bug:
>> AVerMedia HD Volar (A867) - Afatech AF9033
>> http://forum.sifteam.eu/sifbox-by-sif-team/125122-kernel-3-19-a867-xgaz-dove.html
>>
>> http://git.linuxtv.org/cgit.cgi/media_build.git - no positive effect.
>>
>>
>> Ho ho ho
>>
>
> It seems the 'lsdvb' is what made the device unusable after re/boot.
> Of course this applies to kernel >= 3.19.x
> The device has to be unplugged and after a minute or two plugged back to be usable again.
>
>
> $ lsdvb
>
> lsdvb: Simple utility to list PCI/PCIe DVB devices
> Version: 0.0.4
> Copyright (C) Manu Abraham
>
> usb (5:0 -868620712:32665) on PCI Domain:-874755276 Bus:32665 Device:2098 Function:0
> DEVICE:0 ADAPTER:0 FRONTEND:0 (Afatech AF9013)
> FE_OFDM Fmin=174MHz Fmax=862MHz
> DEVICE:0 ADAPTER:1 FRONTEND:0 (Afatech AF9013)
> FE_OFDM Fmin=174MHz Fmax=862MHz
>
> $ dmesg
> [ 80.332837] usb 2-2: dvb_usb_af9015: command failed=1
> [ 80.332857] i2c i2c-13: af9013: i2c wr failed=-5 reg=d607 len=1
> [ 80.337837] usb 2-2: dvb_usb_af9015: command failed=1
> [ 80.337848] mxl5007t_write_reg: 472: failed!
> [ 80.337853] mxl5007t_sleep: error -121 on line 709
> [ 80.338324] usb 2-2: dvb_usb_af9015: command failed=1
> [ 80.338328] mxl5007t_write_reg: 472: failed!
> [ 80.338332] mxl5007t_sleep: error -121 on line 711
>
>
>
Furthermore, it is sufficient to re/boot to the latest kernels,
and the device is K.O. again,
e.g.
# modinfo -n mxl5007t
/lib/modules/4.1.0-0.rc3.git0.1.fc23.x86_64+debug/kernel/drivers/media/tuners/mxl5007t.ko.xz
...
[ 13.874536] i2c i2c-13: af9013: found a 'Afatech AF9013' in warm state
[ 13.878031] i2c i2c-13: af9013: firmware version 5.1.0.0
[ 13.884691] usb 1-2: DVB: registering adapter 1 frontend 0 (Afatech AF9013)...
[ 13.884942] mxl5007t 13-00c0: attaching existing instance
[ 13.887166] usb 1-2: dvb_usb_af9015: command failed=1
[ 13.887179] mxl5007t_soft_reset: 521: failed!
[ 13.888780] mxl5007t_attach: error -121 on line 907
[ 13.897808] usbcore: registered new interface driver dvb_usb_af9015
...
# ls -al /dev/dvb
ls: cannot access /dev/dvb: No such file or directory
Keep in mind, this time it has nothing to do with 'lsdvb',
# lsdvb
-bash: /bin/lsdvb: Permission denied
next prev parent reply other threads:[~2015-05-11 18:43 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-08 10:20 dvb_usb_af9015: command failed=1 - stable: 4.0.2 poma
2015-05-08 10:59 ` poma
2015-05-10 10:38 ` dvb_usb_af9015: command failed=1 >= 3.19.x poma
2015-05-10 22:25 ` dvb_usb_af9015: command failed=1 _ lsdvb " poma
2015-05-11 18:43 ` poma [this message]
2015-05-12 14:11 ` dvb_usb_af9015: command failed=1 _ kernel >= 4.1.x Antti Palosaari
2015-05-13 3:56 ` poma
2015-05-16 23:07 ` Antti Palosaari
2015-05-18 19:15 ` poma
2015-05-21 21:23 ` poma
2015-05-26 12:24 ` poma
2015-07-02 23:02 ` poma
-- strict thread matches above, loose matches on Subject: below --
2015-07-06 20:17 Jose Alberto Reguero
2015-07-07 8:48 ` poma
2015-07-13 9:48 ` poma
2015-07-31 15:03 ` poma
[not found] ` <CAAZRmGym49dG6Jj-ZeKZmy0rgr4ozph7-ggjLoWtGOvT1m4oBA@mail.gmail.com>
2015-08-10 21:46 ` poma
2015-08-10 22:40 ` Antti Palosaari
2015-08-12 23:52 ` poma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5550F842.3050604@gmail.com \
--to=pomidorabelisima@gmail.com \
--cc=abraham.manu@gmail.com \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=mkrufky@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).