Hello

 

Thanks for the note. I have tried all of the below as per Tino’s mail, but unfortunately there is no device available. I’m running a mac mini 1.66 duo, and the appleir module is loaded, as is EVDEV build into the kernel, but still no device exists..

 

Does anyone know of anything else I should check?

 

Thanks in advance

Martin

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Griso
Sent: 09 September 2006 14:03
To: [email protected]
Subject: Re: [Mactel-linux-users] apple-ir.c - Mac Mini IR Remote with LIRC

 

this should do the trick:

1. Make sure the evdev kernel module is loaded or compiled into the
   kernel (CONFIG_INPUT_EVDEV)

2. lsinput (in Debian Etch, it is in the input-utils package)

3. Spot the device for the apple remote. If it's not there, try
   cat /dev/input/eventX with all eventX files, press a button on the
   remote and look if you got the right device

4. Start irrecord -H dev/input -d /dev/input/<proper device>

5. Follow the instructions given by irrecord

6. Move the resulting lircd.conf to /etc/

7. Start lircd -n -H dev/input -d /dev/input/<proper device> /etc/lircd.conf

8. Start irw, press some buttons on the remote and check if it prints
   the button press events

Now you could set up a ~/.lircrc and populate it with your desired
actions. To trigger system events/scripts, you might want to take a
look into the irexec documentation on www.lirc.org. Short example:

  begin
    prog   = irexec
    button = power
    config = /usr/bin/your_program
  end

Now start irexec and press the button you specified as "button" (above,
"power" is used. You should tweak this to a button mentioned in your
/etc/lircd.conf file).


i've tried to do this, but when i start irrecord -H dev/input -d /dev/input/<proper device> i've got this error message :
irrecord: gap not found, can't continue

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08/09/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08/09/2006

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mactel-linux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

Reply via email to