Hi,

Just to say I've managed to resolve the problem. Mine was essentially the
same as Jan's, with the slight difference that I had USBHID built into the
kernel. The lib-hid-detach method worked, and a further modprobe set up the
IR controller as a /dev/input as expected.

I've now got a fully working IR controller!! :)

I don't suppose anyone knows if its possible to limit it so it only responds
from one certain Mac remote, like you can with OSX?

Thanks for everyone's help, Jan's especially

Maq

-----Original Message-----
From: Jan Bernhardt [mailto:[EMAIL PROTECTED] 
Sent: 21 October 2006 20:12
To: Martin J. Smith
Subject: Re: [Mactel-linux-users] appleir module and Mac Mini

Martin J. Smith wrote:
> Excellent! Its now attached as /dev/input/event3
> 
> Seems to be receiving IR codes, thanks very much for your help :)

No problem, my pleasure.

> Is there a good way to ensure this works a treat from boot up? I'm not
sure
> where to put bits like this in the standard rc type boot scripts?

I'd suggest you create a new init script for this purpose. Create a script 
named /etc/init.d/appleir like this:

--- cut ---
#!/bin/sh

# make sure the apple ir driver is not loaded
rmmod appleir
libhid-detach-device 05ac:8240
modprobe appleir
--- cut ---

# chmod 755 /etc/init.d/appleir
# ln -sf /etc/init.d/appleir /etc/rcX.d/S99appleir

Where X is your default runlevel e.g. 3 or 5. If you don't know your default

runlevel execute 'runlevel' or look for it in /etc/inittab.

HTH,

- Jan.


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/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
Mactel-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

Reply via email to