Bug 41272 - dvb-usb-af9015: MSI Digivox Mini II v3 does not work on 64-bit systems
Summary: dvb-usb-af9015: MSI Digivox Mini II v3 does not work on 64-bit systems
Status: RESOLVED OBSOLETE
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: dvb-usb (show other bugs)
Hardware: All Linux
: P1 high
Assignee: dvb-usb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 21:04 UTC by Andrej Podzimek
Modified: 2023-02-20 12:44 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.0.2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Kernel .config of a 32-bit system where the receiver works (71.30 KB, text/plain)
2011-08-16 21:04 UTC, Andrej Podzimek
Details
Kernel .config of a 64-bit system where the receiver fails (76.33 KB, text/plain)
2011-08-16 21:05 UTC, Andrej Podzimek
Details

Description Andrej Podzimek 2011-08-16 21:04:58 UTC
Created attachment 69002 [details]
Kernel .config of a 32-bit system where the receiver works

Tested kernel versions: 2.6.39.3, 3.0.1, 3.0.2
Tested firmware versions: 4.95, 5.1

The receiver works (almost) fine on 32-bit systems, except some weird keymap rambling:

	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 14-00c0: creating new instance
	TDA18271HD/C1 detected @ 14-00c0
	IR keymap rc-msi-digivox-ii not found
	Registered IR keymap rc-empty
	input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/rc/rc0/input7
	rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/rc/rc0
	dvb-usb: schedule remote query interval to 500 msecs.
	dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
	usbcore: registered new interface driver dvb_usb_af9015

On 64-bit systems, it usually fails as follows:

	usb 2-6: new high speed USB device number 6 using ehci_hcd
	Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 16 -> 8
	input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.1/input/input8
	generic-usb 0003:15A4:9016.0001: input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:1d.7-6/input1
	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
	usb 2-6: USB disconnect, device number 6
	af9015: recv bulk message failed:-71
	af9013: I2C write failed reg:d736 len:1
	dvb-usb: no frontend was attached by 'Afatech AF9015 DVB-T USB2.0 stick'
	IR keymap rc-msi-digivox-ii not found
	Registered IR keymap rc-empty
	input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/rc/rc0/input9
	rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/rc/rc0
	dvb-usb: schedule remote query interval to 500 msecs.
	dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
	af9015: bulk message failed:-19 (9/0)
	usbcore: registered new interface driver dvb_usb_af9015
	usb 2-6: new high speed USB device number 7 using ehci_hcd
	af9015: bulk message failed:-22 (8/-30718)
	af9015: af9015_rc_query: failed:-22
	dvb-usb: error -22 while querying for an remote control event.
	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 1 frontend 0 (Afatech AF9013 DVB-T)...
	tda18271 3-00c0: creating new instance
	TDA18271HD/C1 detected @ 3-00c0
	af9015: bulk message failed:-22 (8/-30718)
	af9015: af9015_rc_query: failed:-22
	dvb-usb: error -22 while querying for an remote control event.
	IR keymap rc-msi-digivox-ii not found
	Registered IR keymap rc-empty
	input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/rc/rc1/input10
	rc1: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/rc/rc1
	dvb-usb: schedule remote query interval to 500 msecs.
	dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.

	af9015: bulk message failed:-22 (8/-30718)
	af9015: af9015_rc_query: failed:-22
	dvb-usb: error -22 while querying for an remote control event.

The last three lines above are repeated *forever*, every 500 milliseconds, with varying numbers after the first message (8/19 and 8/0 appear as well).

The most importantly, modprobe -r dvb_usb_af9015 causes a kernel *freeze* (no panic, no log messages), no matter if the receiver is connected or not. (The machine is unreachable via network after that.)

Due to a total lack of documentation, I have no idea what the keymap error mesages mean and how to fix these issues. (I also don't know whether the remote controls actually work. They used to work in the past, but I don't have them handy now.)

The module is modprobe'd with 'remote=2'.

There are two attachments:
	* kernel .config from the 32-bit machine where the receiver works
	* kernel .config from the 64-bit machine where the receiver fails and the module freezes the kernel when unloaded
Comment 1 Andrej Podzimek 2011-08-16 21:05:36 UTC
Created attachment 69012 [details]
Kernel .config of a 64-bit system where the receiver fails
Comment 2 xerofoify 2014-06-25 16:07:11 UTC
Please test against a newer kernel to see if it's fixed.
Thanks Nick
Comment 3 Andrej Podzimek 2023-02-20 12:44:37 UTC
Closing this because it’s definitely obsolete after more than a decade.

IIRC, it has been fixed.

Today DVB-T does not exist any more where I live (as all kinds of terrestrial TV have been switched off for good) and I no longer have any of the devices involved.

Note You need to log in before you can comment on or make changes to this bug.