On 05/06/07, Ortwin Glück <[EMAIL PROTECTED]> wrote:

Nick Hoffman wrote:
> when i was using 2.6.18.7+mactel , suspended to disk and then resumed,
> the touchpad no lnoger worked. however, i could revive the touchpad
> with this command:
>     sudo modprobe -r usbhid appletouch; \
>         sleep 1; \
>         sudo modprobe appletouch; \
>         sudo modprobe usbhid
>
> i'm now using 2.6.21+mactel and reviving the touchpad with the above
> command no longer works.
>
> i googled around for a solution and came across this on the Gentoo wiki:
>     http://tinyurl.com/2to755
> i gave it a try, but unfortunately it didn't work. after trying it, i
> looked at X's log and noticed this:
>
> SynapticsCtrl called.
> Synaptics DeviceOff called
> Synaptics DeviceOn called
> (EE) xf86OpenSerial: Cannot open device /dev/input/appletouchpad
>         No such file or directory.
> (WW) Synaptics Touchpad: cannot open input device
>
> so i have 2 questions for the mailing list:
> 1) does anyone know how to fix this problem?, or
> 2) does anyone have a different solution for getting the touchpad to
> survive a suspend-to-disk on a MBP C2D?
>

Maybe use hotplug of XInput correctly?

http://wiki.x.org/wiki/XInputHotplug



--
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416



hi Ortwin. i read through the URL you sent me and googled around for
additional information, but i'm afraid i don't really understand what you
mean by "use hotplug of XInput correctly". would you mind being a bit more
specific please?

i tried the solution you proposed at
http://www.odi.ch/prog/macbookpro/index.php#7 by running this command:
   echo 'SUBSYSTEMS=="usb", DRIVERS=="appletouch",
ATTRS{interface}=="Touchpad", SYMLINK+="input/appletouchpad"' \
      >/etc/udev/rules.d/010-appletouch.rules
and then using this touchpad config in /etc/X11/xorg.conf :
   Section "InputDevice"
       Identifier  "Synaptics Touchpad"
       Driver      "synaptics"
       Option      "Device"        "/dev/input/appletouchpad"
       Option      "Protocol"      "event"
       Option      "SHMConfig"  "on"
after rebooting, the touchpad worked, and this symlink existed:
   lrwxrwxrwx 1 root root 6 2007-06-07 11:25 /dev/input/appletouchpad ->
event2

however the touchpad didn't survive a suspend-to-disk. after resuming,
/dev/input/appletouchpad had changed:
   lrwxrwxrwx 1 root root 6 2007-06-07 11:25 /dev/input/appletouchpad ->
mouse1
and /var/log/Xorg.0.log contained said this:
   (EE) xf86OpenSerial: Cannot open device /dev/input/appletouchpad
           No such file or directory.
   (WW) Synaptics Touchpad: cannot open input device

i checked /var/log/suspend2disk.log to make sure the appletouch module was
being loaded before usbhid, and it was:
========we are back from suspend, cleaning up.========

== restore_after_sleep: restart and reload everything ==

Resuming:
---------

Reloading modules:
 appleir
 appletouch
 usbhid
 ath_pci
....


so, i'm really not sure what to try next. any suggestions would be
appreciated. cheers,
Nick
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mactel-linux-users mailing list
Mactel-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

Reply via email to