Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
second button prob. [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Thu Sep 15, 2005 9:19 pm    Post subject: second button prob. [solved] Reply with quote

Activating the mouse button emulation

Maybe you just don't want to always carry that bloody USB mouse around, so you use the touchpad. But hey, there is only one single button !

Fortunately, we can use the /proc/sys interface to tell the kernel to emulate the two other mouse buttons with the Fn key.

Code:
# echo 1 > /proc/sys/dev/mac_hid/mouse_button_emulation


i dont have any /proc/sys directory at all -_-



locate mac_hid
/usr/src/linux-2.6.12-gentoo-r9/drivers/macintosh/mac_hid.c
/usr/src/linux-2.6.12-gentoo-r9/drivers/macintosh/mac_hid.o
/usr/src/linux-2.6.12-gentoo-r9/drivers/macintosh/.mac_hid.o.cmd

#
# Macintosh device drivers
#
CONFIG_ADB=y
CONFIG_ADB_CUDA=y
CONFIG_ADB_PMU=y
# CONFIG_PMAC_PBOOK is not set
# CONFIG_PMAC_BACKLIGHT is not set
# CONFIG_MAC_SERIAL is not set
# CONFIG_ADB_MACIO is not set
CONFIG_INPUT_ADBHID=y
CONFIG_MAC_EMUMOUSEBTN=y
# CONFIG_THERM_WINDTUNNEL is not set
# CONFIG_THERM_ADT746X is not set
# CONFIG_ANSLCD is not set

do i need to config gpm ? the usb mouse works fine, but i mean do i need to config gpm so that the second button vill work with trackpad ?
Sep 16 08:40:01 [rc-scripts] You need to setup MOUSEDEV and MOUSE in /etc/conf.d/gpm first

# Config file for /etc/init.d/gpm

# Please uncomment the type of mouse you have and the appropriate MOUSEDEV entry

#MOUSE=ps2
#MOUSE=imps2
#MOUSEDEV=/dev/psaux
MOUSEDEV=/dev/input/mouse0 <-- how do i know where my mouse is located ?

# Extra settings

#RESPONSIVENESS=
#REPEAT_TYPE=raw

# Please uncomment this line if you want gpm to understand charsets used
# in URLs and names with ~ or : in them, etc. This is a good idea to turn on!

#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""

# Various other options

#APPEND="-g 1 -A 60"
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -g 1 -A 60"

Thanx!
_________________
ibook 12" G3 800mhz 30gb 384ram
Back to top
View user's profile Send private message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Thu Sep 29, 2005 6:13 pm    Post subject: Reply with quote

need to add CONFIG_SYSCTL=y to my kernel config.
_________________
ibook 12" G3 800mhz 30gb 384ram
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum