From: Vincent <vi...@in...> - 2014-01-27 12:16:56
|
Any idea please? *Vincent* http://influence-pc.fr/ Le 13/01/2014 10:06, Vincent a écrit : > > I have one InfraRed receiver, the Sony VAIO PCVA-IR5U, and two > remotes, the RM-GP5U and the RM-RM10E. I have this remotes since a > long time, bought with a desktop computer (at least ten years). > > I wish to use this material with an Ubuntu Linux to create a > mediacenter under XBMC. First of all, without doing anything, when I > plug the receiver and press any key on both remotes, I have a random > character (always the same for each key) or a random action (volume > up/down, scroll, etc). > > The only software I know using IR devices is LIRC. I searched in the > list <http://lirc.sourceforge.net/remotes/sony/> but my remotes are > not supported by default. I installed LIRC and tried to create a new > configuration file for the first remote (RM-GP5U) according to the > manual <http://www.lirc.org/html/configure.html> (step 3). > > Here is how I proceeded: > > | sudo apt-get install lirc > sudo modprobe lirc_dev > | > > or after a reboot: > > | sudo modprobe lirc_serial > | > > Then: > > | sudo irrecord --device=/dev/lirc0 RM-GP5U.conf > | > > The wizard appear as expected but the there is no dot printed into the > console. Instead, after a short time, irrecord answer in the console: > > | irrecord: no data for 10 secs, aborting > irrecord: gap not found, can't continue > | > > I have absolutly no idea what to do, it's very hard for me to > understand the LIRC logic. > > Here is my /etc/lirc/hardware.conf: > > | # /etc/lirc/hardware.conf > # > #Chosen Remote Control > REMOTE="None" > REMOTE_MODULES="" > REMOTE_DRIVER="" > REMOTE_DEVICE="" > REMOTE_SOCKET="" > REMOTE_LIRCD_CONF="" > REMOTE_LIRCD_ARGS="" > > #Chosen IR Transmitter > TRANSMITTER="None" > TRANSMITTER_MODULES="" > TRANSMITTER_DRIVER="" > TRANSMITTER_DEVICE="" > TRANSMITTER_SOCKET="" > TRANSMITTER_LIRCD_CONF="" > TRANSMITTER_LIRCD_ARGS="" > > #Disable kernel support. > #Typically, lirc will disable in-kernel support for ir devices in order to > #handle them internally. Set to false to prevent lirc from disabling this > #in-kernel support. > #DISABLE_KERNEL_SUPPORT="true" > > #Enable lircd > START_LIRCD="false" > > #Don't start lircmd even if there seems to be a good config file > #START_LIRCMD="false" > > #Try to load appropriate kernel modules > LOAD_MODULES="true" > > # Default configuration files for your hardware if any > LIRCMD_CONF="" > > #Forcing noninteractive reconfiguration > #If lirc is to be reconfigured by an external application > #that doesn't have a debconf frontend available, the noninteractive > #frontend can be invoked and set to parse REMOTE and TRANSMITTER > #It will then populate all other variables without any user input > #If you would like to configure lirc via standard methods, be sure > #to leave this set to "false" > FORCE_NONINTERACTIVE_RECONFIGURATION="false" > START_LIRCMD="" > | > > All is commented in /etc/lirc/lircd.conf. Thanks to all of those > who'll try to understand my problem. > > -- > > *Vincent* > http://influence-pc.fr/ > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk |