I find that my caps lock key on MBP17" is assigned to Ctrl_L via xev - and
I can CTRL-c break with it!
Furthermore I find the LED does not illuminate. I can get xev to report
back keysym Caps_Lock but it does not function. Most other keys are
working or have been properly reassigned (brightness, eject, mute,
vol+/-...) I have tried to reassign it - Keycode 66 (to Caps Lock to get
normal functioning with xmodmap to no avail.
Anyone heard of this before?
Will

Do people have Linux working on the Core 2 Duo Macs? If so, i386 or
amd64 distros?
Can I also assume that the current Macbook Pros work pretty much fine
with Linux, provided I'm willing to do some tweaking myself?
Thanks,
-- John

I am hacking out a few issues with my MBP17" with Gentoo at the moment:
1) while trying to get the backlight control and multimedia keys sorted I
began to look at xev for the key codes - all the keys except the fn key
register. After searching I found that the patch needed was already
applied but I had not built the function into the kernel:
[code]
<*> USB Human Interface Device (full HID) support
&#9474; &#9474;
&#9474; &#9474;[*] HID input layer support
&#9474; &#9474;
&#9474; &#9474;[*] Enable support for iBook/PowerBook special keys
&#9474; [/code]
so I rebuilt the kernel as above but to no avail. with xev the fn key
does not ever register.
2) Although I can read and burn CDs and DVDs and play CDs ok I cannot get
gxine to play DVDs - I wonder if anyone else has experiened this issue
where the error is:
[code]
The xine engine failed to start.
No demuxer found - stream format not recognised.[/code]
I have googled this and emerged teh gxinelibs with the recommended use
flags but to no avail.
3) Has anyone noticed that the caps-lock led does not light and appears
not to work properly and registers as Control L
[code]
KeyPress event, serial 29, synthetic NO, window 0x3000001,
root 0x75, subw 0x0, time 2111257855, (166,153), root:(176,226),
state 0x0, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
XKeysymToKeycode returns keycode: 37
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x3000001,
root 0x75, subw 0x0, time 2111257975, (166,153), root:(176,226),
state 0x4, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
XKeysymToKeycode returns keycode: 37
XLookupString gives 0 bytes:
XFilterEvent returns: False
[/code]
Might be my particular setup?
TIA
Will

On Tue, Sep 05, 2006 at 00:12:46 +0100, Martin J. Smith wrote:
> Hi all..
>
>
>
> I?m pretty new to the list, so apologies is this has been discussed before.
>
>
> Can anyone confirm if they?ve had any luck using the mac mini IR
> remote/receiver with LIRC?
>
>
>
> I?m unsure where to start and would appreciate any tips if its possible
> please, I?m looking to use it to trigger system events/scripts if possible,
> although I must admit I?ve not explored the abilities & limits of LIRC yet.
>
>
>
> Any tips or help would be appreciated.
Hi,
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 http://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).
Regards,
Tino

Hi all..
=20
I=92m pretty new to the list, so apologies is this has been discussed =
before.
Can anyone confirm if they=92ve had any luck using the mac mini IR
remote/receiver with LIRC?
=20
I=92m unsure where to start and would appreciate any tips if its =
possible
please, I=92m looking to use it to trigger system events/scripts if =
possible,
although I must admit I=92ve not explored the abilities & limits of LIRC =
yet.
=20
Any tips or help would be appreciated.
=20
Thanks in advance
Martin
--=20
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/437 - Release Date: =
04/09/2006
=20

Hello,
I have been playing around with my 1GB USB key to install Debian on it
so as to be able to boot my MBP in Linux. I was able to follow
http://wiki.debian.org/MacMiniIntel and Linux booted up fine on my MBP.
BTW I installed rEFIt on the USB key rather than the hard disk as I
didn't know what I was really doing and didn't want to hose the OSX
installation.
So the kernel compiled from 2.6.16.1 (vanilla) and the corresponding
packages from mactel-linux was able to boot and I got the bash prompt. I
haven't been able to run Xorg yet, as it says "No device detected" when
I try to start it. Then I found about the
http://wiki.debian.org/MacBookPro page and thought that the patches for
the MBP might provide me with something better. However, compiling the
kernel as I did before and copying it over the USB disk didn't allow me
to boot again. When I try the new 2.6.7.11 on the USB disk, it ends up
with a kernel panic telling that it couldn't find/load the /dev/sdb3
partition. The /dev/sdb3 is the 880MB parition which I use as / and the
/boot partition is the first primary partition on the USB disk which has
the e.efi and elilo.conf and vmlinuz on it.
Any help will be appreciated. If you need more info, please ask and I
will post.
thanks,
----
KD