Skip to contentSkip to conversation

MSI Digivox mini III Remote Control

DISCUSSION Aleksandr V. Piskunov 3 participants 10 messages Sep 21, 2009 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Well, it seems there is a patch for Digivox mini III remote control at
http://linuxtv.org/hg/~anttip/af9015-digivox3_remote/, perhaps Antti can tell you more about it.

I got this tuner, and no, IR receiver doesn't work for me, it doesn't even work in WinXP with bundled drivers and software, tested with USB snoop, no reaction to keypresses. Maybe a hardware defect at receiver part, maybe something is missing in a firmware, no idea.

So check it on some Windows system first, then try patch..

Quoted 17 lines · Roman

hi,

after my previous failure with the hvr-900h and another Digivox micro hd, i am finally able to watch dvb-tv with the Digivox mini III.
Has anyone gotten the IR working? The wiki-entry says it is not supported yet.... on the other hand MSI provides linux-drivers that don't seem to work on recent kernels...

greetings,
Roman

Signature · 6 lines
Leave no stone unturned.
		-- Euripides
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

Hi,

thx for the tip, i jusst tested it on Windows 7 and i was amazed.... Not only the remote worked perfectly out of the box, also the software used (some media-center from ArcSoft), worked flawless. (I last used a Hauppauge TV-Card about 2 years ago on windows).
One thing to note is the channel switching was a LOT faster (max. 1sec.) than on linux (sometimes > 5sec.).

Anyway, the remote works on windows, no i am trying to compile the mentioned repository, but it seems to fail compiling.
I already sent a mail to the msi-support...

#------
make[2]: Entering directory `/home/strowi/src/zen-sources'
CC [M] /home/strowi/src/af9015-digivox3_remote/v4l/au0828-cards.o
In file included from /home/strowi/src/af9015-digivox3_remote/v4l/dmxdev.h:33,

                 from /home/strowi/src/af9015-digivox3_remote/v4l/au0828.h:29,

from /home/strowi/src/af9015-digivox3_remote/v4l/au0828-cards.c:22:
/home/strowi/src/af9015-digivox3_remote/v4l/compat.h:385: error: redefinition of 'usb_endpoint_type'
include/linux/usb/ch9.h:377: error: previous definition of 'usb_endpoint_type' was here
make[3]: *** [/home/strowi/src/af9015-digivox3_remote/v4l/au0828-cards.o] Error 1
#------

Am Monday 21 September 2009 10:19:33 schrieb Aleksandr V. Piskunov:

Quoted 11 lines

Well, it seems there is a patch for Digivox mini III remote control at
http://linuxtv.org/hg/~anttip/af9015-digivox3_remote/, perhaps Antti can tell you more about it.

I got this tuner, and no, IR receiver doesn't work for me, it doesn't even work in WinXP with bundled drivers and software, tested with USB snoop, no reaction to keypresses. Maybe a hardware defect at receiver part, maybe something is missing in a firmware, no idea.

So check it on some Windows system first, then try patch..

greetings,
Roman

Signature · 2 lines
Iron Law of Distribution:
	Them that has, gets.
#3 lore raw

Just grab that patch and apply it to the current vl4-dvb, no need to mess with old repository.
http://linuxtv.org/hg/~anttip/af9015-digivox3_remote/raw-rev/914ded6d921d

Now if the current tree doesn't compile, thats another issue, probably something with kernel headers, etc.

Actually thats interesting, I will test it on 64-bit Windows 7 when I get home, will RMA that stick if remote doesn't work.

As for channel switching, it's most likely a tv viewing software issue, buffering or something like that. For me this tuner locks to transponder in aprox. 1 second.

Quoted 50 lines · Roman

Hi,

thx for the tip, i jusst tested it on Windows 7 and i was amazed.... Not only the remote worked perfectly out of the box, also the software used (some media-center from ArcSoft), worked flawless. (I last used a Hauppauge TV-Card about 2 years ago on windows).
One thing to note is the channel switching was a LOT faster (max. 1sec.) than on linux (sometimes > 5sec.).

Anyway, the remote works on windows, no i am trying to compile the mentioned repository, but it seems to fail compiling.
I already sent a mail to the msi-support...

#------
make[2]: Entering directory `/home/strowi/src/zen-sources'
CC [M] /home/strowi/src/af9015-digivox3_remote/v4l/au0828-cards.o
In file included from /home/strowi/src/af9015-digivox3_remote/v4l/dmxdev.h:33,

                 from /home/strowi/src/af9015-digivox3_remote/v4l/au0828.h:29,

from /home/strowi/src/af9015-digivox3_remote/v4l/au0828-cards.c:22:
/home/strowi/src/af9015-digivox3_remote/v4l/compat.h:385: error: redefinition of 'usb_endpoint_type'
include/linux/usb/ch9.h:377: error: previous definition of 'usb_endpoint_type' was here
make[3]: *** [/home/strowi/src/af9015-digivox3_remote/v4l/au0828-cards.o] Error 1
#------

Am Monday 21 September 2009 10:19:33 schrieb Aleksandr V. Piskunov:

Quoted 11 lines

Well, it seems there is a patch for Digivox mini III remote control at
http://linuxtv.org/hg/~anttip/af9015-digivox3_remote/, perhaps Antti can tell you more about it.

I got this tuner, and no, IR receiver doesn't work for me, it doesn't even work in WinXP with bundled drivers and software, tested with USB snoop, no reaction to keypresses. Maybe a hardware defect at receiver part, maybe something is missing in a firmware, no idea.

So check it on some Windows system first, then try patch..

greetings,
Roman

Signature · 6 lines
Iron Law of Distribution:
	Them that has, gets.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
Quoted 3 lines · Aleksandr V. Piskunov

Just grab that patch and apply it to the current vl4-dvb, no need to mess with old repository.
http://linuxtv.org/hg/~anttip/af9015-digivox3_remote/raw-rev/914ded6d921d

With this patch remote will not work most likely. But after adding that patch you should see remote events dumped to the /var/log/messages when key is pressed. I need to know which key gives which code. After that I can add correct key mappings to the driver.

Antti

Signature · 1 line
http://palosaari.fi/
#5 lore raw

Am Monday 21 September 2009 14:35:53 schrieb Antti Palosaari:

Quoted 11 lines · Aleksandr V. Piskunov
Quoted 3 lines

Just grab that patch and apply it to the current vl4-dvb, no need to mess with old repository.
http://linuxtv.org/hg/~anttip/af9015-digivox3_remote/raw-rev/914ded6d921d

With this patch remote will not work most likely. But after adding that patch you should see remote events dumped to the /var/log/messages when key is pressed. I need to know which key gives which code. After that I can add correct key mappings to the driver.

Antti

I don't get anything else in the logs than this, even with the patch applied:
#---

Sep 21 15:43:04 Seth usbcore: registered new interface driver dvb_usb_af9015
Sep 21 15:43:07 Seth usb 1-5: new high speed USB device using ehci_hcd and 
address 4
Sep 21 15:43:08 Seth usb 1-5: configuration #1 chosen from 1 choice
Sep 21 15:43:08 Seth dvb-usb: found a 'MSI Digi VOX mini III' in cold state, 
will try to load a firmware
Sep 21 15:43:08 Seth usb 1-5: firmware: requesting dvb-usb-af9015.fw
Sep 21 15:43:08 Seth dvb-usb: downloading firmware from 
file 'dvb-usb-af9015.fw'
Sep 21 15:43:08 Seth dvb-usb: found a 'MSI Digi VOX mini III' in warm state.
Sep 21 15:43:08 Seth dvb-usb: will pass the complete MPEG2 transport stream to 
the software demuxer.
Sep 21 15:43:08 Seth DVB: registering new adapter (MSI Digi VOX mini III)
Sep 21 15:43:08 Seth af9013: firmware version:4.95.0
Sep 21 15:43:08 Seth DVB: registering adapter 0 frontend 0 (Afatech AF9013 
DVB-T)...
Sep 21 15:43:08 Seth tda18271 3-00c0: creating new instance
Sep 21 15:43:08 Seth TDA18271HD/C1 detected @ 3-00c0
Sep 21 15:43:08 Seth dvb-usb: MSI Digi VOX mini III successfully initialized 
and connected.
Sep 21 15:43:51 Seth [drm] LVDS-8: set mode 1024x768 10

#---

Gruß,
Roman

Signature · 3 lines
When I was in school, I cheated on my metaphysics exam: I looked into
the soul of the boy sitting next to me.
		-- Woody Allen
#6 lore raw
Quoted 29 lines · Roman

Am Monday 21 September 2009 14:35:53 schrieb Antti Palosaari:

Quoted 10 lines · Aleksandr V. Piskunov
Quoted 3 lines

Just grab that patch and apply it to the current vl4-dvb, no need to mess with old repository.
http://linuxtv.org/hg/~anttip/af9015-digivox3_remote/raw-rev/914ded6d921d

With this patch remote will not work most likely. But after adding that patch you should see remote events dumped to the /var/log/messages when key is pressed. I need to know which key gives which code. After that I can add correct key mappings to the driver.

Antti

I don't get anything else in the logs than this, even with the patch applied:
#---

Sep 21 15:43:04 Seth usbcore: registered new interface driver dvb_usb_af9015
Sep 21 15:43:07 Seth usb 1-5: new high speed USB device using ehci_hcd and address 4
Sep 21 15:43:08 Seth usb 1-5: configuration #1 chosen from 1 choice
Sep 21 15:43:08 Seth dvb-usb: found a 'MSI Digi VOX mini III' in cold state, will try to load a firmware
Sep 21 15:43:08 Seth usb 1-5: firmware: requesting dvb-usb-af9015.fw
Sep 21 15:43:08 Seth dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
Sep 21 15:43:08 Seth dvb-usb: found a 'MSI Digi VOX mini III' in warm state.
Sep 21 15:43:08 Seth dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Sep 21 15:43:08 Seth DVB: registering new adapter (MSI Digi VOX mini III)
Sep 21 15:43:08 Seth af9013: firmware version:4.95.0
Sep 21 15:43:08 Seth DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
Sep 21 15:43:08 Seth tda18271 3-00c0: creating new instance
Sep 21 15:43:08 Seth TDA18271HD/C1 detected @ 3-00c0
Sep 21 15:43:08 Seth dvb-usb: MSI Digi VOX mini III successfully initialized and connected.
Sep 21 15:43:51 Seth [drm] LVDS-8: set mode 1024x768 10
Quoted 1 line

#---

For reason or the other there is no any mention about remote polling. Could you enable debug=3 to see what eeprom value is set to remote? rmmod dvb-usb-af9015; modprobe dvb-usb-af9015 debug=3;

Antti

Signature · 1 line
http://palosaari.fi/
#7 lore raw

Am Monday 21 September 2009 16:00:45 schrieb Antti Palosaari:

Quoted 5 lines

For reason or the other there is no any mention about remote polling. Could you enable debug=3 to see what eeprom value is set to remote? rmmod dvb-usb-af9015; modprobe dvb-usb-af9015 debug=3;

Antti

Here is the output of dmesg after reloading the module:
#--
af9015_usb_probe: interface:0
af9015_read_config: IR mode:4
af9015_read_config: TS mode:0
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:4300
af9015_read_config: [0] MT2060 IF1:0
af9015_read_config: [0] tuner id:156
af9015_identify_state: reply:02
dvb-usb: found a 'MSI Digi VOX mini III' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (MSI Digi VOX mini III) af9015_af9013_frontend_attach: init I2C
af9015_i2c_init:
00: 2b aa 9b 0b 00 00 00 00 62 14 07 88 00 02 01 02
10: 00 80 00 fa fa 10 40 ef 04 30 31 30 31 30 37 32
20: 34 30 37 30 30 30 30 31 ff ff ff ff ff ff ff ff
30: 00 00 3a 01 00 08 02 00 cc 10 00 00 9c ff ff ff
40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
50: ff ff ff ff ff 26 00 00 04 03 09 04 10 03 41 00
60: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00
70: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00
80: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00
90: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
af9013: firmware version:4.95.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)... af9015_tuner_attach:
tda18271 3-00c0: creating new instance
TDA18271HD/C1 detected @ 3-00c0
dvb-usb: MSI Digi VOX mini III successfully initialized and connected. af9015_init:
af9015_init_endpoint: USB speed:3
af9015_download_ir_table:
usbcore: registered new interface driver dvb_usb_af9015
#--

Gruß,
Roman

Signature · 2 lines
Adam West:  I love this job more than I love taffy, and I'm a man who loves 
his taffy.
#8 lore raw
Quoted 11 lines · Roman

Am Monday 21 September 2009 16:00:45 schrieb Antti Palosaari:

Quoted 5 lines

For reason or the other there is no any mention about remote polling. Could you enable debug=3 to see what eeprom value is set to remote? rmmod dvb-usb-af9015; modprobe dvb-usb-af9015 debug=3;

Antti

Here is the output of dmesg after reloading the module:
#--
af9015_usb_probe: interface:0
af9015_read_config: IR mode:4

IR mode 4 disables it. I have strong feeling it should mean "polling"... Could you change af9015.c around line 720:
from: if (val == AF9015_IR_MODE_DISABLED || val == 0x04) {
to: if (val == AF9015_IR_MODE_DISABLED) {

and test again.
Antti

Signature · 1 line
http://palosaari.fi/
#9 lore raw

Hi Antti,

Am Monday 21 September 2009 16:19:37 schrieb Antti Palosaari:

Quoted 5 lines
Quoted 4 lines

Here is the output of dmesg after reloading the module:
#--
af9015_usb_probe: interface:0
af9015_read_config: IR mode:4

Quoted 7 lines

IR mode 4 disables it. I have strong feeling it should mean "polling"... Could you change af9015.c around line 720:
from: if (val == AF9015_IR_MODE_DISABLED || val == 0x04) {
to: if (val == AF9015_IR_MODE_DISABLED) {

and test again.
Antti

Ahh progress... ;)
I did as you suggested, now dmesg shows the IR-device:
#--

Sep 21 16:25:50 Seth input: IR-receiver inside an USB DVB receiver 
as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/input/input7
Sep 21 16:25:50 Seth dvb-usb: schedule remote query interval to 150 msecs

#--

And syslog shows requests like the following:
#--

Sep 21 16:26:33 Seth af9015_rc_query: 07 00 27 00 00 00 00 00

#--

If it is ok, i will mail the output to you (and not spam the ml), later this day or tomorrow morning, as i have to leave for the university now...

greetings,
Roman

Signature · 2 lines
Troubled day for virgins over 16 who are beautiful and wealthy and live
in eucalyptus trees.
#10 lore raw
Quoted 24 lines · Roman

Hi Antti,

Am Monday 21 September 2009 16:19:37 schrieb Antti Palosaari:

Quoted 5 lines
Quoted 4 lines

Here is the output of dmesg after reloading the module:
#--
af9015_usb_probe: interface:0
af9015_read_config: IR mode:4

Quoted 7 lines

IR mode 4 disables it. I have strong feeling it should mean "polling"... Could you change af9015.c around line 720:
from: if (val == AF9015_IR_MODE_DISABLED || val == 0x04) {
to: if (val == AF9015_IR_MODE_DISABLED) {

and test again.
Antti

Ahh progress... ;)
I did as you suggested, now dmesg shows the IR-device:
#--

Sep 21 16:25:50 Seth input: IR-receiver inside an USB DVB receiver 
as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/input/input7
Sep 21 16:25:50 Seth dvb-usb: schedule remote query interval to 150 msecs

#--

Quoted 8 lines

And syslog shows requests like the following:
#--

Sep 21 16:26:33 Seth af9015_rc_query: 07 00 27 00 00 00 00 00

#--

If it is ok, i will mail the output to you (and not spam the ml), later this day or tomorrow morning, as i have to leave for the university now...

Oh, tested under Windows, hardware is fine afterall.

Applied patch, removed check for val 0x04, now driver gets the scancodes!

So here we are, high-res picture of remote added to wiki at
http://www.linuxtv.org/wiki/index.php/MSI_DIGIVOX_mini_III

32 keys, left-to-right, top-to-bottom:

Sep 21 21:15:30 moon kernel: [ 5216.332334] af9015_rc_query: 07 00 13 00 00 00 00 00
Sep 21 21:15:32 moon kernel: [ 5218.308390] af9015_rc_query: 07 00 3b 00 00 00 00 00
Sep 21 21:15:33 moon kernel: [ 5219.524395] af9015_rc_query: 07 00 3e 00 00 00 00 00
Sep 21 21:15:36 moon kernel: [ 5221.956404] af9015_rc_query: 07 00 0b 00 00 00 00 00
Sep 21 21:15:39 moon kernel: [ 5225.452309] af9015_rc_query: 07 00 1e 00 00 00 00 00
Sep 21 21:15:41 moon kernel: [ 5227.428367] af9015_rc_query: 07 00 1f 00 00 00 00 00
Sep 21 21:15:42 moon kernel: [ 5228.644871] af9015_rc_query: 07 00 20 00 00 00 00 00
Sep 21 21:15:44 moon kernel: [ 5230.164338] af9015_rc_query: 07 00 52 00 00 00 00 00
Sep 21 21:15:46 moon kernel: [ 5232.292388] af9015_rc_query: 07 00 21 00 00 00 00 00
Sep 21 21:15:47 moon kernel: [ 5233.508393] af9015_rc_query: 07 00 22 00 00 00 00 00
Sep 21 21:15:48 moon kernel: [ 5234.572411] af9015_rc_query: 07 00 23 00 00 00 00 00
Sep 21 21:15:50 moon kernel: [ 5236.244373] af9015_rc_query: 07 00 51 00 00 00 00 00
Sep 21 21:15:52 moon kernel: [ 5238.524400] af9015_rc_query: 07 00 24 00 00 00 00 00
Sep 21 21:15:53 moon kernel: [ 5239.588419] af9015_rc_query: 07 00 25 00 00 00 00 00
Sep 21 21:15:54 moon kernel: [ 5240.500328] af9015_rc_query: 07 00 26 00 00 00 00 00
Sep 21 21:15:55 moon kernel: [ 5241.564350] af9015_rc_query: 07 00 50 00 00 00 00 00
Sep 21 21:15:57 moon kernel: [ 5243.084450] af9015_rc_query: 07 00 05 00 00 00 00 00
Sep 21 21:15:58 moon kernel: [ 5244.604424] af9015_rc_query: 07 00 27 00 00 00 00 00
Sep 21 21:15:59 moon kernel: [ 5245.516335] af9015_rc_query: 07 00 08 00 00 00 00 00
Sep 21 21:16:01 moon kernel: [ 5247.188419] af9015_rc_query: 07 00 4f 00 00 00 00 00
Sep 21 21:16:03 moon kernel: [ 5249.012366] af9015_rc_query: 07 00 3f 00 00 00 00 00
Sep 21 21:16:04 moon kernel: [ 5250.532340] af9015_rc_query: 07 00 16 00 00 00 00 00
Sep 21 21:16:05 moon kernel: [ 5251.448378] af9015_rc_query: 07 00 2a 00 00 00 00 00
Sep 21 21:16:06 moon kernel: [ 5252.664872] af9015_rc_query: 07 00 3c 00 00 00 00 00
Sep 21 21:16:09 moon kernel: [ 5254.944405] af9015_rc_query: 07 00 18 00 00 00 00 00
Sep 21 21:16:10 moon kernel: [ 5256.616366] af9015_rc_query: 07 00 07 00 00 00 00 00
Sep 21 21:16:11 moon kernel: [ 5257.680885] af9015_rc_query: 07 00 0f 00 00 00 00 00
Sep 21 21:16:13 moon kernel: [ 5258.896393] af9015_rc_query: 07 00 15 00 00 00 00 00
Sep 21 21:16:14 moon kernel: [ 5260.720336] af9015_rc_query: 07 00 36 00 00 00 00 00
Sep 21 21:16:16 moon kernel: [ 5261.784858] af9015_rc_query: 07 00 37 00 00 00 00 00
Sep 21 21:16:17 moon kernel: [ 5262.848378] af9015_rc_query: 07 00 2d 00 00 00 00 00
Sep 21 21:16:17 moon kernel: [ 5263.608427] af9015_rc_query: 07 00 2e 00 00 00 00 00