Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trackpad iScroll
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
Sik
n00b
n00b


Joined: 01 Jun 2004
Posts: 14

PostPosted: Sun Jan 01, 2006 7:13 pm    Post subject: trackpad iScroll Reply with quote

Hello,

I wan't to know if it's possible use synaptics driver in a powerbook 12"
867Mhz to do something like iScorll. Any of you have try it? How can I do
it to know what toutchpad I have?

thanks.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Sun Jan 01, 2006 9:11 pm    Post subject: Reply with quote

Single finger scroll works for me on my PB 15 5,6 by sliding down the edge of the pad.

But not two finger scroll as far as I'm aware ..
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
randalf
n00b
n00b


Joined: 02 Jan 2006
Posts: 61
Location: Dresden

PostPosted: Wed Jan 18, 2006 12:34 am    Post subject: Reply with quote

Hallo,
scoobydu, how did you get this Single finger scroll to work? Do you use synaptics for this and can you post your xorg.config-lines? I would like to have this feature on my PB to.
thanks
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Wed Jan 18, 2006 1:09 pm    Post subject: Reply with quote

My xorg.conf is at http://catmur.co.uk/~ed/ibook/xorg.conf -- I have single-finger scrolling (+ circular scrolling), dragging, multi-finger mouse button emulation, etc.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Wed Jan 18, 2006 1:13 pm    Post subject: Reply with quote

Oh yeah: you need to create /etc/udev/rules.d/70-appletouch.rules:
Code:
# Add a symlink for the touchpad
KERNEL=="event[0-9]*",   BUS="usb", SYSFS{interface}="Touchpad", SYMLINK="input/appletouch"
#
This gives a device /dev/input/appletouch so you don't have to mess around with input4 etc.; it also helps with sleep.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
john_doe
n00b
n00b


Joined: 17 Nov 2004
Posts: 27

PostPosted: Wed Jan 18, 2006 11:21 pm    Post subject: Reply with quote

Hello ecatmur.

I'd really like to see your xorg.conf but

http://catmur.co.uk/~ed/ibook/xorg.conf

doesn't work. Could you post it somewhere else, please?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jan 19, 2006 12:08 am    Post subject: Reply with quote

john_doe:

What kind of *book do you have? The synaptics driver only works with appletouch *books.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Thu Jan 19, 2006 12:32 pm    Post subject: Reply with quote

@randalf, hope it helps ;)

Quote:

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "LeftEdge" "60"
Option "RightEdge" "850"
Option "TopEdge" "60"
Option "BottomEdge" "511"
Option "MinSpeed" "0.4"
Option "MaxSpeed" "1"
Option "MaxTapMove" "10"
Option "MaxTapTime" "100"
Option "AccelFactor" "0.07"
Option "SHMConfig" "on"
Option "RTCornerButton" "3"
Option "LTCornerButton" "2"
Option "HorizScrollDelta" "0"
Option "VertScrollDelta" "30"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "5"
EndSection


@JoseJX: I think he/she means the file download doesnt work ;) not the contents of it ..... (maybe wrong ?)
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
john_doe
n00b
n00b


Joined: 17 Nov 2004
Posts: 27

PostPosted: Thu Jan 19, 2006 11:52 pm    Post subject: Reply with quote

I have an iBook g4 1.33 GHz. I can't get it working. Maybe my touchpad is not supported? I have all the usb support and evdev compiled into the kernel. I followed

http://gentoo-wiki.com/HARDWARE_Synaptics_Touchpad

but it only deals with synaptic and alps touchpa. Mine is an adb, I think.

Is this possible?

$ cat /proc/bus/input/devices
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
H: Handlers=mouse0 event0 evbug
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0017 Vendor=0001 Product=22c4 Version=0200
N: Name="ADB keyboard"
P: Phys=adb2:2.c4/input
H: Handlers=kbd event1 evbug
B: EV=120003
B: KEY=feb0ffdf 3cfffff ffffffff fffffffe
B: LED=7

I: Bus=0017 Vendor=0001 Product=771f Version=0100
N: Name="ADB Powerbook buttons"
P: Phys=adb7:7.1f/input
H: Handlers=kbd event2 evbug
B: EV=100003
B: KEY=7b 0 2 0 e0000 0 0 0

I: Bus=0017 Vendor=0001 Product=3301 Version=0100
N: Name="ADB mouse"
P: Phys=adb3:3.01/input
H: Handlers=mouse1 event3 evbug
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0003 Vendor=05ac Product=1000 Version=1241
N: Name="05ac:1000"
P: Phys=usb-0001:10:1a.0-1/input0
H: Handlers=kbd event4 evbug
B: EV=120003
B: KEY=e080ffdf 1cfffff ffffffff fffffffe
B: LED=1f

I: Bus=0003 Vendor=05ac Product=1000 Version=1241
N: Name="05ac:1000"
P: Phys=usb-0001:10:1a.0-1/input1
H: Handlers=mouse2 event5 evbug
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0017 Vendor=001f Product=0001 Version=0100
N: Name="PowerMac Beep"
P: Phys=powermac/beep
H: Handlers=kbd event6 evbug
B: EV=40001
B: SND=6
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Fri Jan 20, 2006 12:08 am    Post subject: Reply with quote

Recent iBooks use the appletouch driver (Device Drivers->USB support->Apple USB Touchpad). Although, you have two mice listed; isn't one of those the touchpad?
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
randalf
n00b
n00b


Joined: 02 Jan 2006
Posts: 61
Location: Dresden

PostPosted: Fri Jan 20, 2006 6:58 pm    Post subject: Reply with quote

ecatmur wrote:
Oh yeah: you need to create /etc/udev/rules.d/70-appletouch.rules:
Code:
# Add a symlink for the touchpad
KERNEL=="event[0-9]*",   BUS="usb", SYSFS{interface}="Touchpad", SYMLINK="input/appletouch"
#
This gives a device /dev/input/appletouch so you don't have to mess around with input4 etc.; it also helps with sleep.
This did not work for me. I still dont have /dev/input/appletouch.
I also tried to put every thing else from /dev/input to the Option "Device" - Line - like:
Code:
       Option          "Device"        "dev/input/mouse0"
Without this Option Line my /var/log/Xorg.0.log looks like this:
Code:
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 5
(**) Mouse0: SmartScroll: 1
(II) Synaptics touchpad driver version 0.14.4 (1404)
SynapticsTouchpad no synaptics event device found (checked 18 nodes)
(**) Option "Device" "/dev/input/mice"
(**) Option "SHMConfig" "on"
(**) Option "LeftEdge" "50"
(**) Option "RightEdge" "900"
(**) Option "TopEdge" "30"
(**) Option "BottomEdge" "304"
(**) Option "FingerLow" "15"
(**) Option "FingerHigh" "20"
(**) Option "MaxTapTime" "180"
(**) Option "MaxTapMove" "100"
(**) Option "MaxDoubleTapTime" "180"
(**) Option "ClickTime" "100"
(**) Option "FastTaps" "0"
(**) Option "VertScrollDelta" "30"
(**) Option "HorizScrollDelta" "30"
(**) Option "EdgeMotionMinZ" "30"
(**) Option "EdgeMotionMaxZ" "160"
(**) Option "EdgeMotionMinSpeed" "1"
(**) Option "EdgeMotionMaxSpeed" "400"
(**) Option "EdgeMotionUseAlways" "false"
(**) Option "LockedDrags" "false"
(**) Option "RTCornerButton" "0"
(**) Option "RBCornerButton" "0"
(**) Option "LTCornerButton" "0"
(**) Option "LBCornerButton" "0"
(**) Option "TapButton1" "1"
(**) Option "TapButton2" "2"
(**) Option "TapButton3" "3"
(**) Option "CircularScrolling" "1"
(**) Option "CircScrollTrigger" "1"
(**) Option "PalmDetect" "false"
Query no Synaptics: 6003C8
(EE) SynapticsTouchpad no synaptics touchpad detected and no repeater device
(EE) SynapticsTouchpad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "SynapticsTouchpad"
(II) UnloadModule: "synaptics"
Do i realy have to add a second 'Option "Device" -line' to get synaptics to work(scoobydu's xorg.conf doesn't have such Line)?
Any Ideas?
mfg. randalf
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Fri Jan 20, 2006 10:10 pm    Post subject: Reply with quote

@randalf:

What do you mean two device lines??

Quote:

# Option "Device" "/dev/input/mice"
Option "Device" "/dev/input/appletouch"


as one is commented out.

mice should work, but appletouch makes things clearer in your xorg.conf but shouldn´t stop /dev/input/mice working.

It sounds like you don have the kernel appletouch driver loaded, so your touchpad cannot be seen.
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
randalf
n00b
n00b


Joined: 02 Jan 2006
Posts: 61
Location: Dresden

PostPosted: Sat Jan 21, 2006 12:22 am    Post subject: Reply with quote

I dont know what i'm doing wrong.
The appletouch was compiled into the Kernel.
Now i tried to compile it as a Module and lsmod say's:
Code:
appletouch              8256  0

doesn't it looks allright? But there is still no /dev/input/appletouch available. Is there something else todo to make it appear?
What does this
Code:
SYSFS{interface}="Touchpad"
mean in /etc/udev/rules.d/70-appletouch.rules? Do i have to replace this 'interface' whith something else?
thank's for your Effort
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sun Jan 22, 2006 1:11 am    Post subject: Reply with quote

That means it matches devices which have "Touchpad" as the contents of the sysfs interface file.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
spool
n00b
n00b


Joined: 02 Feb 2006
Posts: 26
Location: UK

PostPosted: Sun Feb 12, 2006 12:49 am    Post subject: similar problem Reply with quote

I too have been unable to get the appletouch.rules file to work. I have tried various different file names to ensure it was loaded first (local.rules, 07-local.rules, appletouch.rules, 70-appletouch.rules etc.) I have appletouch and evdev compiled as modules, and both are loaded at startup. evdev was originally hard compiled but another post suggested it worked better as a module.

Code:
cat /etc/udev/rules.d/appletouch.rules

# Add a symlink for the touchpad
KERNEL=="event[0-9]*",   BUS="usb", SYSFS{interface}="Touchpad", SYMLINK="input/appletouch"
#


Sorry to be unclear: by "not work" I mean no symlink is created in /dev/input.
I have a 1.5 ghz 15" powerbook bought in August '04.

thanks
Back to top
View user's profile Send private message
randalf
n00b
n00b


Joined: 02 Jan 2006
Posts: 61
Location: Dresden

PostPosted: Thu Feb 16, 2006 12:43 am    Post subject: Reply with quote

john_doe wrote:
I have an iBook g4 1.33 GHz. I can't get it working. Maybe my touchpad is not supported? I have all the usb support and evdev compiled into the kernel. I followed

http://gentoo-wiki.com/HARDWARE_Synaptics_Touchpad

but it only deals with synaptic and alps touchpa. Mine is an adb, I think.

Is this possible?

Yes i think that the adb Touchpad was the Problem on my Alu_Book_1Ghz too. For those Books appletoch does not work.
I had to patch my Kernel with http://www.artha.org/shammash/ppc/adb_syn/adbsyn_evonly_0.2-2.6.15.diff and then to set
Code:
CONFIG_ADB_TRACKPAD_ABSOLUTE=y
in my kernel_.config.
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Wed Apr 05, 2006 12:33 am    Post subject: Reply with quote

I have a Powerbook G4 15" 1.67Ghz.

This setup worked for me :)

I used this InputDevice info in my xorg.conf:

scoobydu wrote:
@randalf, hope it helps ;)

Quote:

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "LeftEdge" "60"
Option "RightEdge" "850"
Option "TopEdge" "60"
Option "BottomEdge" "511"
Option "MinSpeed" "0.4"
Option "MaxSpeed" "1"
Option "MaxTapMove" "10"
Option "MaxTapTime" "100"
Option "AccelFactor" "0.07"
Option "SHMConfig" "on"
Option "RTCornerButton" "3"
Option "LTCornerButton" "2"
Option "HorizScrollDelta" "0"
Option "VertScrollDelta" "30"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "5"
EndSection


@JoseJX: I think he/she means the file download doesnt work ;) not the contents of it ..... (maybe wrong ?)



Thanks scoobydu!! :D

I can post more info on my TouchPad setup if anyone likes.
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
Back to top
View user's profile Send private message
spool
n00b
n00b


Joined: 02 Feb 2006
Posts: 26
Location: UK

PostPosted: Wed Apr 12, 2006 1:10 pm    Post subject: Problem with udev rules Reply with quote

I have an old post earlier in this forum, because I tried to create a symlink using a udev rules (ala ecatmur). No symlink is created, though the filename and code are identical to his earlier post. Should I just use /dev/mice or is there something obvious I might have missed?
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Thu Apr 13, 2006 11:22 pm    Post subject: Re: Problem with udev rules Reply with quote

spool wrote:
I have an old post earlier in this forum, because I tried to create a symlink using a udev rules (ala ecatmur). No symlink is created, though the filename and code are identical to his earlier post. Should I just use /dev/mice or is there something obvious I might have missed?


I used /dev/input/mice but I don't think that works for everyone.
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
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