here are my files.
/etc/lineakkb.def, with the irrelevant portions snipped:
<snip>
[Sager]
brandname = "Sager"
modelname = "NP8887"
[KEYS]
email = 236
www = 178
user = 129
back = 144
forward = 153
play = 162
stop = 164
volumeup = 176
volumedown = 174
[END KEYS]
[END Sager]
<snip>
~/.lineak/lineakd.conf:
# LinEAK - Linux support for Easy Access and Internet Keyboards
# Copyright (c) 2001,2002 Mark Smulders <Mark@PIRnet.nl>
#
http://lineak.sourceforge.net
#
# lineakd configuration file
#
# example key configuration:
# play= "xmms --play-pause"
# eject= EAK_EJECT
#
# available special actions:
# EAK_EJECT
# EAK_VOLUP
# EAK_VOLDOWN
# EAK_MUTE
# EAK_SLEEP
#
# LinEAK Configuration file for Sager NP8887
# Global settings
KeyboardType= Sager
CdromDevice= /dev/cdrom
MixerDevice= /dev/mixer
# Specific keys of your keyboard
email= "sylpheed-claws"
www= "links2 -g"
user= "bashish"
back= "xmms --rew"
forward= "xmms --fwd"
play= "xmms --play-pause"
stop= "xmms --stop"
volumeup= EAK_VOLUP
volumedown= EAK_VOLDOWN
# end lineakd.conf
and in .xinitrc:
exec lineakd -b &
you have to add the sager section in lineakkb.def yourself. mine is under the 'laptops' section of the file, but technically it doesn't matter. those numbers are X event numbers - but they may be different from mine on a 5660. it's better to test them yourself. run 'xev' and press each of the buttons, noting the event numbers for each button, and use those in lineakkb.def. (naturally, change model to NP5660, etc.)
let me know if you have any problems.