All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aleksandr V. Piskunov" <aleksandr.v.piskunov@gmail.com>
To: Roman <lists@hasnoname.de>
Cc: Antti Palosaari <crope@iki.fi>,
	"Aleksandr V. Piskunov" <aleksandr.v.piskunov@gmail.com>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: MSI Digivox mini III Remote Control
Date: Mon, 21 Sep 2009 21:26:10 +0300	[thread overview]
Message-ID: <20090921182610.GA16805@moon> (raw)
In-Reply-To: <200909211631.19838.lists@hasnoname.de>

On Mon, Sep 21, 2009 at 04:31:19PM +0200, Roman wrote:
> Hi Antti,
> 
> Am Monday 21 September 2009 16:19:37 schrieb Antti Palosaari:
> > > 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
> 
> 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...
> 

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

      reply	other threads:[~2009-09-21 18:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200909202026.27086.lists@hasnoname.de>
2009-09-21  8:19 ` MSI Digivox mini III Remote Control Aleksandr V. Piskunov
2009-09-21 10:53   ` Roman
2009-09-21 11:51     ` Aleksandr V. Piskunov
2009-09-21 12:35       ` Antti Palosaari
2009-09-21 13:55         ` Roman
2009-09-21 14:00           ` Antti Palosaari
2009-09-21 14:10             ` Roman
2009-09-21 14:19               ` Antti Palosaari
2009-09-21 14:31                 ` Roman
2009-09-21 18:26                   ` Aleksandr V. Piskunov [this message]

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=20090921182610.GA16805@moon \
    --to=aleksandr.v.piskunov@gmail.com \
    --cc=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=lists@hasnoname.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.