[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

More keymap/ binding keys problems.



hello again.
thanks for your help in replying to my last question about this, but my msg was rather lacking in detail. here is a whole lot of config info about my ibook dual usb 500mhz dvd/cdrw
i still cannot get my mouse clicks bound to keys. _please help_
-john

these are the files and there values below them.

/proc/sys/dev/mac_hid/keyboard_lock_keycodes
1
/proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes
1
/proc/sys/dev/mac_hid/mouse_button2_keycode
73   ## thats F7
/proc/sys/dev/mac_hid/mouse_button3_keycode
74   ## thats F8
/proc/sys/dev/mac_hid/mouse_button_emulation
1
_____________________
i have append="keyboard_sends_linux_keycodes=1" in yaboot.conf
i have tried booting without that but i get the screwy keymap.

im running
Linux freed0m 2.4.18 #3 Wed Jun 26 22:05:30 EDT 2002 ppc unknown
this is the standard kernel tree, not benh

xmodmap -pke gives me the following.
keycode  73 = F7
keycode  74 = F8

so i know i have the codes right, yet F7 and F8 refuse to open up my blackbox menu
but when i xmodmap -e "pointer = <whatever>" and rebind the one mouse key i have to differnt mouse buttons, the menu opens. so we know it's not a problem with the menu.
i cant think of any reason why this isnt working. i get the same keycodes using xev that xmodmap -pke gives me. i have also tried binding the clicks to many other keys, but to no avail.

also, the keys associated with the  values that  are in  /proc/sys/dev/mac_hid/mouse_button[2-3]_keycode files do not function due to them being remapped.

my kernel is compiled with
cat .config | grep ADB

CONFIG_ADB_CUDA=y
CONFIG_ADB_PMU=y
CONFIG_ADB=y
CONFIG_ADB_MACIO=y
CONFIG_INPUT_ADBHID=y
CONFIG_MAC_ADBKEYCODES=y

just to give u some more info, heres some relevant parts of my XF86config-4 file


Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

( i buy this beautiful laptop, yet apple gimps the hell out of it with one mouse key)


-- 
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: