2007/7/27, Arnaud Quette <[EMAIL PROTECTED]>: > > 2007/7/27, Philippe Normand <[EMAIL PROTECTED]>: > > > > > > > > So configuring a remote controller is in 2 steps : > > > - set the right .lirc file for elisa > > > > > > Maybe we can only change the .lirc with GUI (have one file and edit > > > it) > > > > > > > > > > Yes if the LIRC buttons list is unified. Here's a .lirc snippet > > > > > > begin > > prog = elisa > > button = MENU > > config = toggle_menu_key > > repeat = 0 > > delay = 0 > > end > > > > Problem is that depending on the remote the button list changes.. For > > some remote the menu key "MENU" and for some it's "Menu".. > > > > But maybe the upcoming changes in LIRC will fix that? > > it will. as told prev., all keys will have the same name as the one in > the linux input layer. > the elisa lircrc would so be: > > https://wiki.ubuntu.com/MediaCenter/RemoteSupport?action=AttachFile&do=get&target=lircrc.elisa > > updating your above example: > begin > prog = elisa > button = KEY_MENU > config = toggle_menu_key > repeat = 0 > delay = 0 > end > > for all remotes supported by LIRC and exposing a MENU key. > Note that I'll post this week end the mail I mentioned during the > meeting, and dealing with all the UMC / LIRC points, and especially > the new namespace application. > > for the lircd.conf problem, I'm thinking about giving some rights to > the elisa user on the /etc/lirc dir so that the GUI can write the > file. The daemon startup problem (still needing root rights) remain, > but only if we don't consider a reboot... I'll let the idea float in > my mind, and get back later on this...
In a private thread with Christophe of Lirc Team, we think that's a good solution. You just must signal the change to the lircd deamon, with a SIGHUP signal. So something like a deamon started at the boot level would be a very nice solution. And this deamon may be use for other reasons, so... Thanks to wattazoum and many kudos to him ;) Arnaud > -- > Free Software Developer - http://arnaud.quette.free.fr/ > Debian Developer - http://people.debian.org/~aquette/ > Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ > Ubuntu Media Center (UMC) Project Leader - https://launchpad.net/~umc-team > -- Loïc Dardant
