newgrp sbox scratchbox # Now within the scratchbox environment # Set up a kernel target sb-conf setup MaemoKernel -c cs2007q3-glibc2.5-arm7 -d qemu:perl:svn:apt-https -t /scratchbox/devkits/qemu/bin/qemu-arm-sb sb-conf select MaemoKernel sb-conf rs MaemoKernel /home/user/maemo-sdk-rootstrap_5.0_armel.tgz sb-conf in MaemoKernel -edFL # Get the kernel source mkdir ~/maemo_kernel fakeroot apt-get update cd ~/maemo_kernel apt-get source kernel cd kernel-2.6.28 # Create the config make EXTRAVERSION=-omap1 rx51_defconfig nano .config # Add a line that says: CONFIG_HID_APPLE=m # Build the kernel and modules make EXTRAVERSION=-omap1 oldconfig make EXTRAVERSION=-omap1 bzImage make EXTRAVERSION=-omap1 modules # Exit from scratchbox exit # Install the new module, I use ssh and zeroconf but you can copy it manually - change the names in angle brackets to your own values and remove the angle brackets scp /scratchbox/users/<ashre>/home/<ashre>/maemo_kernel/kernel-2.6.28/drivers/hid/hid-apple.ko root@<N900>.local:/lib/modules/2.6.28-omap1/ ssh root@<N900>.local # Now on the N900, in an XTerminal if not using ssh insmod /lib/modules/2.6.28-omap1/hid-apple.ko
| The Following User Says Thank You to ashre For This Useful Post: | ||
stop bluetoothd start bluetoothd
HIDD_ENABLED=1
device 00:25:BC:FB:7D:B6 {
name "Apple Wireless Keyboard";
auth enable;
encrypt enable;
}
| The Following 2 Users Say Thank You to ashre For This Useful Post: | ||