Autor Thema: Remote control problem with lirc  (Gelesen 4034 mal)

cristianonet

  • Newbie
  • *
  • Beiträge: 6
    • Profil anzeigen
Remote control problem with lirc
« am: Juni 28, 2012, 10:59:15 Nachmittag »
Hi

My 'Sundtek MediaTV Pro' USB stick is working perfectly with vlc + channels.conf obtained with w_scan. But I have a problem using the remote control with lirc. The thing is that the provided lirc configuration file does not produce the buttons that I push on the remote control.

While I push other buttons I get:

~ # irw
0000000080010002 00 1 sundtek.conf
0000000080010002 00 1 sundtek.conf
0000000080010007 00 6 sundtek.conf
00000000800100ae 00 Shutdown sundtek.conf
0000000080010161 00 Menu sundtek.conf
0000000080010161 00 Menu sundtek.conf
0000000080010174 00 User1 sundtek.conf
0000000080010174 00 User1 sundtek.conf
0000000080010174 00 User1 sundtek.conf
0000000080010007 00 6 sundtek.conf
0000000080010007 00 6 sundtek.conf
0000000080010007 00 6 sundtek.conf
00000000800100ae 00 Shutdown sundtek.conf
0000000080010161 00 Menu sundtek.conf
0000000080010004 00 3 sundtek.conf

The lirc daemon is running with this configuration:

Zitat
LIRCD_OPTS="-H devinput -d /dev/input/event8"

Since I got:
~ # /opt/bin/getinput.sh
waiting 5 seconds...
Sundtek IR Event: /dev/input/event8

I thought the mapping in sundtek.conf is wrong and I tried to create another mapping with

irrecord -H devinput -d /dev/input/event8 test.conf
But it seems that some buttons (1 and Power) do not produce input events. I can also see this by using

~ # cat /dev/input/event8
which also does not produce any output while pressing 1 and Power buttons (it produces output for some other buttons).

The strange thing is that
~ # mediaclient --pollrcpicks up the '1' button.

-> 00866b00ff
-> 80866b00ff
-> 80866b00ff
-> 80866b00ff
-> 80866b00ff
-> 80866b00ff
-> 81866b00ff
-> 80866b00ff
-> 80866b00ff
-> 80866b00ff
-> 80866b00f

Any ideas on what am I doing wrong?

$ uname -a
Linux linda 3.2.12-gentoo #5 SMP PREEMPT Tue Jun 19 23:37:55 EEST 2012 x86_64 Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz GenuineIntel GNU/Linux

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8040
    • Profil anzeigen
Re:Remote control problem with lirc
« Antwort #1 am: Juni 29, 2012, 06:56:06 Nachmittag »
We are currently working on some updates for next week (this will also affect the new remote controls which are shipped with the devices).

I'll continue with more information next week.
Failure is a good thing! I'll fix it

cristianonet

  • Newbie
  • *
  • Beiträge: 6
    • Profil anzeigen
Re:Remote control problem with lirc
« Antwort #2 am: Juni 30, 2012, 09:12:42 Vormittag »
We are currently working on some updates for next week (this will also affect the new remote controls which are shipped with the devices).

I'll continue with more information next week.

Thanks for the information, please let me know when the new driver version will be available (I'll also try to follow the forum for update notifications).

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8040
    • Profil anzeigen
Re:Remote control problem with lirc
« Antwort #3 am: Juli 07, 2012, 08:29:54 Nachmittag »
The driver is updated.

To change the layout between the flat remote control and the VCR remote control you can use following command:
Zitat
/opt/bin/mediaclient --updaterc=1 -d /dev/mediainput0

--updaterc=0 ... flat mobile remote control
--updaterc=1 ... VCR Remote control (big black one)

afterwards you need to replug the device, the setting is stored on the device.
Failure is a good thing! I'll fix it

cristianonet

  • Newbie
  • *
  • Beiträge: 6
    • Profil anzeigen
Re:Remote control problem with lirc
« Antwort #4 am: Juli 10, 2012, 08:26:48 Vormittag »
Thanks, everything seems to work with the new driver but for the following buttons of the remote control:

OK, Pause, FWD, REW, RECALL, Photo
I've checked the lirc configuration file /opt/bin/suntek.conf but it hasn't changed. How could I obtain the lirc configuration for the missing buttons?

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8040
    • Profil anzeigen
Re:Remote control problem with lirc
« Antwort #5 am: Juli 10, 2012, 12:57:17 Nachmittag »
either you create a new lirc configuration by yourself, or just wait the engineer is still preparing several changes to automatically place the updated lirc keymap once the device has been configured.
The latter should probably be the easier one (and supported one by us)
Failure is a good thing! I'll fix it