|
2010-01-23
, 21:21
|
Posts: 6 |
Thanked: 5 times |
Joined on Jan 2010
|
#12
|
|
2010-01-23
, 21:58
|
Posts: 85 |
Thanked: 29 times |
Joined on Jan 2008
|
#13
|
|
2010-01-29
, 13:01
|
Posts: 17 |
Thanked: 3 times |
Joined on Dec 2009
@ Bristol, UK
|
#14
|
|
2010-01-29
, 16:57
|
Posts: 17 |
Thanked: 3 times |
Joined on Dec 2009
@ Bristol, UK
|
#15
|
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: | ||
|
2010-01-30
, 11:25
|
Posts: 17 |
Thanked: 3 times |
Joined on Dec 2009
@ Bristol, UK
|
#16
|
stop bluetoothd start bluetoothd
|
2010-01-30
, 12:49
|
Posts: 17 |
Thanked: 3 times |
Joined on Dec 2009
@ Bristol, UK
|
#17
|
|
2010-01-30
, 13:17
|
Posts: 17 |
Thanked: 3 times |
Joined on Dec 2009
@ Bristol, UK
|
#18
|
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: | ||
|
2010-01-30
, 17:00
|
Posts: 85 |
Thanked: 29 times |
Joined on Jan 2008
|
#19
|
|
2010-01-30
, 19:33
|
Posts: 17 |
Thanked: 3 times |
Joined on Dec 2009
@ Bristol, UK
|
#20
|
I followed the instructions pertaining internal modules compilation, everything went smooth, however:
Nokia-N900-42-11:/home/user# insmod hid-apple.ko
insmod: error inserting 'hid-apple.ko': -1 Invalid module format
What gives?