Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
disabling Ibook trackpad in gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
elwood73
n00b
n00b


Joined: 07 Jun 2004
Posts: 55

PostPosted: Wed Jan 26, 2005 6:50 am    Post subject: edit the xorg.conf Reply with quote

in /dev/input you should see 'mice' as well as 'mouse0, mouse1' etc
type the following for each mouseX:

Code:

hexdump /dev/input/mouseX

Move your usb mouse while hexdump is running. If you see output on your screen, you've found the usb mouse.

Edit xorg.conf, look for:
Code:

Option "Device"      "/dev/input/mice"


and change it to
Code:

Option "Device"      "/dev/input/mouseX"


where X corresponds to your mouse number.

When using the USB port closest to the front of the machine, my usb mouse is /dev/input/mouse2
Back to top
View user's profile Send private message
Cayennes
n00b
n00b


Joined: 01 Oct 2004
Posts: 33

PostPosted: Mon Jan 31, 2005 6:04 pm    Post subject: Re: edit the xorg.conf Reply with quote

elwood73 wrote:
change it to
Code:

Option "Device"      "/dev/input/mouseX"


where X corresponds to your mouse number.


The point of the patch is that one can switch back and forth between trackpad-only and mouse-only at will. Even if one never cares to use the trackpad, this is convenient because X doesn't fail to start if you turn on the computer and haven't gotten around to plugging in the mouse by the time X tries to start.

Also for some reason when I used the method you suggest (before I discovered this patch) if the mouse got unplugged (or jiggled) at any point, when replugged it would no longer work at all until X was restarted (and of course the trackpad didn't work either.)


Last edited by Cayennes on Tue Feb 01, 2005 4:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
bcarnazzi
n00b
n00b


Joined: 31 Jan 2005
Posts: 25
Location: Reunion Island

PostPosted: Tue Feb 01, 2005 5:01 am    Post subject: Reply with quote

Hi all,

I think the simplest way to disable mouse tap with console & X is to emerge pbbuttonsd and to put :
Code:
TPMode = notap

at the end of /etc/pbbuttonsd.conf

It's works for me.

Bruno.
Back to top
View user's profile Send private message
Cayennes
n00b
n00b


Joined: 01 Oct 2004
Posts: 33

PostPosted: Tue Feb 01, 2005 4:44 pm    Post subject: Reply with quote

bcarnazzi wrote:

I think the simplest way to disable mouse tap with console & X is to emerge pbbuttonsd and to put :
Code:
TPMode = notap

at the end of /etc/pbbuttonsd.conf


The patch is to disable the trackpad entirely, not just the tap function. Is there a way to do that with pbbuttonsd?
Back to top
View user's profile Send private message
bcarnazzi
n00b
n00b


Joined: 31 Jan 2005
Posts: 25
Location: Reunion Island

PostPosted: Wed Feb 02, 2005 3:17 am    Post subject: Reply with quote

Thow ! What's the goal ? (Got an USB mouse & trackpad bothers ?)
_________________
Jabber: bcarnazzi@jabber.fr
Back to top
View user's profile Send private message
damike
n00b
n00b


Joined: 02 Feb 2005
Posts: 1

PostPosted: Wed Feb 02, 2005 12:08 pm    Post subject: 2.6.10-gentoo-r4 Reply with quote

Hm - the patch doesn't seem to work on my system. I don't really want to try out a new kernel ...

How can I check that everything is working correctly concerning the patch and sysctl?

I patched without errors, the build produced no errers and under /proc I see:
Code:

mobilo sys # ls /proc/sys/dev/mac_hid/adb_trackpad_disable_on_usb_mouse
/proc/sys/dev/mac_hid/adb_trackpad_disable_on_usb_mouse


which then returns:
Code:

mobilo sys # cat /proc/sys/dev/mac_hid/adb_trackpad_disable_on_usb_mouse
1


But the trackpad still works. Any ideas?
Back to top
View user's profile Send private message
flaviomoura
n00b
n00b


Joined: 11 Jul 2005
Posts: 56
Location: Brazil

PostPosted: Thu Jul 14, 2005 4:07 pm    Post subject: Reply with quote

Hippi@Bacarni wrote:
I used the trackpad-2.6.9-r4.diff and patched the gentoo-dev-sources-2.6.10-r6


I have gentoo-sources-2..6.10-r6 and when I try to patch it I get the following error:

wcflavio linux# patch -p1 < trackpad-2.6.9-r4.diff
patching file drivers/macintosh/Kconfig
Hunk #1 FAILED at 161.
Hunk #2 FAILED at 54.
Hunk #3 FAILED at 491.
Hunk #4 FAILED at 513.
Hunk #5 FAILED at 1229.
Hunk #6 FAILED at 33.
Hunk #7 FAILED at 1752.
Hunk #8 FAILED at 1774.
Hunk #9 FAILED at 1838.
Hunk #10 FAILED at 762.
10 out of 10 hunks FAILED -- saving rejects to file drivers/macintosh/Kconfig.rej
wcflavio linux#

How could I fix it?

Thanks,

Flavio.
Back to top
View user's profile Send private message
Cayennes
n00b
n00b


Joined: 01 Oct 2004
Posts: 33

PostPosted: Thu Jan 12, 2006 11:48 pm    Post subject: Reply with quote

Here's the updated patch for gentoo-sources 2.6.15
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
Goto page Previous  1, 2
Page 2 of 2

 
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