I changed
#define USB_DEVICE_ID_APPLE_GEYSER3_JIS 0x0219
to
#define USB_DEVICE_ID_APPLE_GEYSER3_JIS 0x021B
in hid-core.c and appletouch.c, and it works! Big thanks guys, you've made
my day (and week)! The cursor is still pretty "jumpy" as before though, and
I have to press my finger down pretty hard for it to register anything, but
I think that's in the config. Also my keyboard doesn't work as before, I
can't switch tty with CTRL+Alt+F# (in X) anymore for some reason.
I'm a little curious though, will the result be the same if I apply your
(Scott) patch? Does any solution work better?
/ Johan
2006/11/23, Scott L. Price < [EMAIL PROTECTED]>:
Apply this patch and it will work. It is a hack, but it works.:
--- appletouch.c.orig 2006-11-06 21:58:23.000000000 -0600
+++ appletouch.c 2006-11-06 21:29:24.000000000 -0600
@@ -47,6 +47,10 @@
#define GEYSER3_ISO_PRODUCT_ID 0x0218
#define GEYSER3_JIS_PRODUCT_ID 0x0219
+#define GEYSER4_ANSI_PRODUCT_ID 0x021A
+#define GEYSER4_ISO_PRODUCT_ID 0x021B
+#define GEYSER4_JIS_PRODUCT_ID 0x021C
+
#define ATP_DEVICE(prod) \
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | \
USB_DEVICE_ID_MATCH_INT_CLASS | \
@@ -72,6 +76,10 @@
{ ATP_DEVICE(GEYSER3_ISO_PRODUCT_ID) },
{ ATP_DEVICE(GEYSER3_JIS_PRODUCT_ID) },
+ { ATP_DEVICE(GEYSER4_ANSI_PRODUCT_ID) },
+ { ATP_DEVICE(GEYSER4_ISO_PRODUCT_ID) },
+ { ATP_DEVICE(GEYSER4_JIS_PRODUCT_ID) },
+
/* Terminating entry */
{ }
};
@@ -174,7 +182,10 @@
return (productId == GEYSER3_ANSI_PRODUCT_ID) ||
(productId == GEYSER3_ISO_PRODUCT_ID) ||
- (productId == GEYSER3_JIS_PRODUCT_ID);
+ (productId == GEYSER3_JIS_PRODUCT_ID) ||
+ (productId == GEYSER4_ANSI_PRODUCT_ID) ||
+ (productId == GEYSER4_ISO_PRODUCT_ID) ||
+ (productId == GEYSER4_JIS_PRODUCT_ID);
}
static int atp_calculate_abs(int *xy_sensors, int nb_sensors, int fact,
Johan Hallin wrote:
> Hi everyone,
>
> I have a Macbook Pro 15" with Intel Core 2 Duo and I'm getting desperate
> trying to get the touchpad working properly (so I can right-click). I'm
> using Debian Etch with kernel 2.6.18.1 and this
>
config<http://svn.sourceforge.net/viewvc/*checkout*/mactel-linux/trunk/kernel/mactel-patches-2.6.18/config-2.6.18
>.
>
> The Xorg (version 7.1) synaptics driver (0.14.6) doesn't seem to detect
my
> touchpad at all. I've applied the mactel patches from
>
here<http://svn.sourceforge.net/viewvc/mactel-linux/trunk/kernel/mactel-patches-2.6.18/
>(all
>
> except the sound patch, I think). I also did what Soeren Sonnenburg
> suggested
>
here<http://www.mail-archive.com/mactel-linux-users@lists.sourceforge.net/msg00265.html
>,
>
> recompiled the kernel, and still no luck. I've made sure all the right
> modules are loaded - those that aren't are built in into the kernel.
>
> (I just noticed that the output from dmesg gets really interesting
towards
> the end.. the same thing repeating over and over.)
>
> I also tried running the following script *after* booting in order to
> reload
> the modules in the proper order:
> #!/bin/sh
> sudo rmmod usbhid appletouch appleir
> sudo modprobe appleir
> sudo modprobe appletouch
> sleep 2
> sudo modprobe usbhid pb_fnmode=2
>
> I've been searching the net for days now and pulling my hair out, so I'd
> really appreciate some help with this!
>
> / Johan
>
> Some outputs:
> -----------------
> lsmod:
>
> Module Size Used by
> usbhid 46368 0
> appletouch 10496 0
> appleir 7296 0
> nls_iso8859_1 5248 1
> udf 91524 0
> binfmt_misc 13320 1
> thermal 14728 0
> fan 5892 0
> button 7696 0
> processor 30152 1 thermal
> ac 6276 0
> battery 10756 0
> sk98lin 166368 0
> ndiswrapper 188180 0
> sbp2 24968 0
> eth1394 21124 0
> ide_cd 42144 1
> intel_rng 3968 0
> cdrom 39456 1 ide_cd
> generic 6148 0 [permanent]
> snd_hda_intel 19988 1
> snd_hda_codec 155776 1 snd_hda_intel
> snd_pcm_oss 46240 0
> snd_mixer_oss 18816 1 snd_pcm_oss
> snd_pcm 81668 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
> snd_timer 25220 1 snd_pcm
> snd 54244 8
> snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore 10976 1 snd
> ohci1394 37424 0
> piix 11652 0 [permanent]
> snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
> ieee1394 304952 3 sbp2,eth1394,ohci1394
> ide_core 127132 3 ide_cd,generic,piix
> i2c_i801 9100 0
> i2c_core 23040 1 i2c_i801
> evdev 11264 4
> ------------------------
> cat /proc/bus/input/devices:
>
> I: Bus=0017 Vendor=0001 Product=0001 Version=0100
> N: Name="Macintosh mouse button emulation"
> P: Phys=
> S: Sysfs=/class/input/input0
> H: Handlers=mouse0 event0
> B: EV=7
> B: KEY=70000 0 0 0 0 0 0 0 0
> B: REL=3
>
> I: Bus=0003 Vendor=05ac Product=8240 Version=0110
> N: Name="Apple Mac mini infrared remote control driver"
> P: Phys=/input0
> S: Sysfs=/class/input/input31
> H: Handlers=kbd event1
> B: EV=100003
> B: KEY=38 800 c0000 0 0 0
>
> I: Bus=0003 Vendor=05ac Product=021b Version=0013
> N: Name="Apple Computer Apple Internal Keyboard / Trackpad"
> P: Phys=usb-0000:00: 1d.0-2/input0
> S: Sysfs=/class/input/input32
> H: Handlers=kbd event2
> B: EV=120003
> B: KEY=10000 0 0 0 0 0 0 7b 0 0 0 e0aeffdf 1cfffff ffffffff fffffffe
> B: LED=1f
>
> I: Bus=0003 Vendor=05ac Product=021b Version=0013
> N: Name="Apple Computer Apple Internal Keyboard / Trackpad"
> P: Phys=usb-0000:00:1d.0-2/input1
> S: Sysfs=/class/input/input33
> H: Handlers=mouse1 event3
> B: EV=100007
> B: KEY=70000 0 0 0 0 0 0 0 0
> B: REL=3
>
> I: Bus=0003 Vendor=05ac Product=021b Version=0013
> N: Name="Apple Computer Apple Internal Keyboard / Trackpad"
> P: Phys=usb-0000:00:1d.0-2/input2
> S: Sysfs=/class/input/input34
> H: Handlers=kbd event4
> B: EV=3
> B: KEY=2 0 0 0 0 0
>
> I: Bus=0003 Vendor=05ac Product=1000 Version=1965
> N: Name="HID 05ac:1000"
> P: Phys=usb-0000:00:1d.3-1/input0
> S: Sysfs=/class/input/input35
> H: Handlers=kbd event5
> B: EV=120003
> B: KEY=e080ffdf 1cfffff ffffffff fffffffe
> B: LED=1f
>
> I: Bus=0003 Vendor=05ac Product=1000 Version=1965
> N: Name="HID 05ac:1000"
> P: Phys=usb-0000:00:1d.3-1/input1
> S: Sysfs=/class/input/input36
> H: Handlers=mouse2 event6
> B: EV=7
> B: KEY=1f0000 0 0 0 0 0 0 0 0
> B: REL=3
> ------------------------
> cat /var/log/Xorg.0.log (the relevant part(?)):
>
> (II) Synaptics touchpad driver version 0.14.6 (1406)
> Synaptics Touchpad no synaptics event device found (checked 17 nodes)
> (**) Option "Device" "/dev/input/mice" /* <--- I've tried mouse0,
mouse1,
> mouse2, event3, psaux... */
> (**) Option "SHMConfig" "on"
> (**) Option "LeftEdge" "100"
> (**) Option "RightEdge" "1120"
> (**) Option "TopEdge" "50"
> (**) Option "BottomEdge" "310"
> (**) Option "FingerLow" "25"
> (**) Option "FingerHigh" "30"
> (**) Option "MaxTapTime" "180"
> (**) Option "MaxTapMove" "220"
> (**) Option "MaxDoubleTapTime" "180"
> (**) Option "VertScrollDelta" "20"
> (**) Option "HorizScrollDelta" "50"
> Query no Synaptics: 6003C8
> (EE) Synaptics Touchpad no synaptics touchpad detected and no repeater
> device
> (EE) Synaptics Touchpad Unable to query/initialize Synaptics hardware.
> (EE) PreInit failed for input device "Synaptics Touchpad"
> (II) UnloadModule: "synaptics"
> ----------------------------------
> /etc/X11/xorg.conf (the relevant part(?)):
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen 0 "aticonfig-Screen[0]" 0 0
> InputDevice "Generic Keyboard"
> InputDevice "Synaptics Touchpad"
> InputDevice "Configured Mouse"
> EndSection
>
> Section "ServerFlags"
> Option "AIGLX" "off"
> EndSection
>
> Section "Files"
>
> # path to defoma fonts
> FontPath "/usr/share/fonts/X11/misc"
> FontPath "/usr/X11R6/lib/X11/fonts/misc"
> FontPath "/usr/share/fonts/X11/cyrillic"
> FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
> FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
> FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
> FontPath "/usr/share/fonts/X11/Type1"
> FontPath "/usr/X11R6/lib/X11/fonts/Type1"
> FontPath "/usr/share/fonts/X11/100dpi"
> FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
> FontPath "/usr/share/fonts/X11/75dpi"
> FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
> FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
>
> Section "Module"
> Load "i2c"
> Load "bitmap"
> Load "ddc"
> Load "dri"
> Load "extmod"
> Load "freetype"
> Load "glx"
> Load "int10"
> Load "type1"
> Load "vbe"
> Load "synaptics"
> EndSection
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> Option "XkbModel" "pc105"
> Option "XkbLayout" "se"
> EndSection
>
> Section "InputDevice"
> Identifier "Configured Mouse"
> Driver "mouse"
> Option "CorePointer"
> Option "Device" "/dev/input/mice"
> Option "Protocol" "ImPS/2"
> Option "Emulate3Buttons" "true"
> EndSection
>
> Section "InputDevice"
> Identifier "Synaptics Touchpad"
> Driver "synaptics"
> Option "CorePointer"
> Option "SendCoreEvents" "true"
> Option "Device" "/dev/input/mice"
> # Option "Device" "/dev/psaux"
> Option "Protocol" "auto-dev"
> Option "LeftEdge" "100"
> Option "RightEdge" "1120"
> Option "TopEdge" "50"
> Option "BottomEdge" "310"
> Option "FingerLow" "25"
> Option "FingerHigh" "30"
> Option "MaxTapTime" "180"
> Option "MaxTapMove" "220"
> Option "MaxDoubleTapTime" "180"
> Option "VertScrollDelta" "20"
> Option "HorizScrollDelta" "50"
> Option "MinSpeed" "0.79"
> Option "MaxSpeed" " 0.88"
> Option "AccelFactor" "0.0015"
> Option "SHMConfig" "on"
> EndSection
> -------------------------------------
> /etc/modules: (apparently the appletouch module must be loaded before
> usbhid
> - I figured this should work)
>
> loop
> sbp2
> appletouch
> ndiswrapper
> usbhid
> ----------------------------------
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mactel-linux-users mailing list
> Mactel-linux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mactel-linux-users
--
Electrical Engineering/Web Development
Dragonfly Technologies, Inc. http://www.dflytech.com
Hunt Utilities Group LLC http://www.hugllc.com
Hopkins, MN (952) 935-2418
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-users mailing list
Mactel-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users