Sundtek Support Forum

English => Sundtek MediaTV Pro (Europe) => Thema gestartet von: erdah am August 26, 2009, 02:54:58 Nachmittag

Titel: No remote in Ubuntu 9.04
Beitrag von: erdah am August 26, 2009, 02:54:58 Nachmittag
Hi!

I cannot get the remote to work in Ubuntu 9.04 32-bit (clean installation). I have followed the installation instructions for lirc and vdr. The TV-tuner works in vdr but not the remote.

Running /opt/bin/getinput.sh generates "cannot access /event*" error message.

I've also tried configure lirc to use /dev/mediainput0.
Titel: Re:No remote in Ubuntu 9.04
Beitrag von: Sundtek am August 26, 2009, 03:00:22 Nachmittag
/dev/mediainput0 needs an extra application which we will start to ship soon.

please replug your device 1-2 times till getinput.sh returns the correct path to the input device.

you can also manually load uinput by running:
sudo modprobe uinput

and afterwards replug the device, the driver is supposed to load it automatically although the initialization of uinput might take a little bit too long and the driver might skip to use it because of that.
Titel: Re:No remote in Ubuntu 9.04
Beitrag von: erdah am August 26, 2009, 03:33:11 Nachmittag
Thanks. Now a device was found (/dev/input/event12). I have modified /etc/lirc/hardware.conf accordingly. The remote still doesn't work in vdr. What is the easiest/best way to test the remote controller?
Titel: Re:No remote in Ubuntu 9.04
Beitrag von: Sundtek am August 26, 2009, 03:39:30 Nachmittag
please note that the order how you start the applications is important

You first need to start lircd, afterwards you need to restart the vdr service.

you can just run

irw

on the console for testing the remote control.
Titel: Re:No remote in Ubuntu 9.04
Beitrag von: erdah am August 26, 2009, 04:14:00 Nachmittag
Excellent. Now it works!

How can I avoid to replug the device 1-2 times after each reboot?
Titel: Re:No remote in Ubuntu 9.04
Beitrag von: Sundtek am August 26, 2009, 04:21:17 Nachmittag
This is still a point on our todolist. It's mainly a configuration issue with udev. The next update at the end of this week should cover a solution for the uinput delay.

In order to get the remote control work automatically:
* VDR needs an update for automatically detecting new remotes
* LIRC needs an update for recognizing newly attached remotes
* uinput needs to load before the driver gets initialized.

The other way will be to run a small X Application which can use the mediainput interface, this is still an open point on our driver roadmap.
Titel: Re:No remote in Ubuntu 9.04
Beitrag von: Sundtek am August 28, 2009, 12:39:33 Vormittag
The 27th August Update fixed the lirc issue.

The installer places a udev script which tells lirc to restart when the device gets plugged in or the system boots up. So now only VDR needs to be restarted in order to detect the device after plugging in the device