Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[laptop] touchpad et supermount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
nuts
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1630

PostPosted: Wed Jul 21, 2004 5:44 pm    Post subject: [laptop] touchpad et supermount Reply with quote

etant pris par le temps, je ne peux faire de recherche.
Sur un portable compaq, j arrive a faire marcher une souris en USB, mais le touchpad. comment l installer? configuration du noyau et xorg.conf??

Mais aussi, utiliser le supermount pour le lecteur cd ou disquette, comment fait on?
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Wed Jul 21, 2004 9:31 pm    Post subject: Reply with quote

Perso mon touchpad c'est un synaptics donc un peut different des touchpads standart "simples", mais il me semble que ca se configure comme une souris externe ! Essaye voir avec protocol ps/2 (ou imps/2) et /dev/psaux en device !

[EDIT] A titre educatif, voici la partie de mon xorg.conf concernant le touchpad/souris :
Code:
Section "InputDevice"
  Driver    "synaptics"
  Identifier    "Touchpad"
  Option    "Device"    "/dev/psaux"
  Option    "Protocol"  "auto-dev"
  Option    "LeftEdge"      "1900"
  Option    "RightEdge"     "5400"
  Option    "TopEdge"       "1900"
  Option    "BottomEdge"    "4000"
  Option    "FingerLow" "25"
  Option    "FingerHigh"    "30"
  Option    "MaxTapTime"    "180"
  Option    "MaxTapMove"    "220"
  Option    "VertScrollDelta" "100"
  Option    "MinSpeed"  "0.02"
  Option    "MaxSpeed"  "0.18"
  Option    "AccelFactor" "0.0010"
  Option    "SHMConfig" "on"
#  Option   "Repeater"  "/dev/ps2mouse"
EndSection

Section "InputDevice"
    Identifier  "External Mouse"
    Driver      "mouse"
    Option      "SendCoreEvents"    "true"
    Option      "Device"        "/dev/input/mice"
    Option      "Protocol"      "ImPS/2"
    Option      "Emulate3Buttons"   "true"
    Option      "ZAxisMapping"      "4 5"
EndSection

_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
nuts
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1630

PostPosted: Thu Jul 22, 2004 7:02 am    Post subject: Reply with quote

bah dis donc c est bizar toutes ces valeurs. y a pas un truc a ajouter aussi a la fin du ficgier de conf??
Back to top
View user's profile Send private message
broly
Guru
Guru


Joined: 21 Feb 2003
Posts: 345
Location: cachan 94

PostPosted: Thu Jul 22, 2004 9:33 am    Post subject: Reply with quote

il faut aussi que ton kernel soit compiler avec le support de event puis apres tu emerge synaptics
Back to top
View user's profile Send private message
nuts
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1630

PostPosted: Thu Jul 22, 2004 9:37 am    Post subject: Reply with quote

tres bien. sinon une idee pour le supermount?
Back to top
View user's profile Send private message
broly
Guru
Guru


Joined: 21 Feb 2003
Posts: 345
Location: cachan 94

PostPosted: Thu Jul 22, 2004 9:39 am    Post subject: Reply with quote

ds le noyau 2.6 tu a l'option dans filesysttem je crois ou pas tres loin a part ca j'en c pas plus désolé :(
Back to top
View user's profile Send private message
nuts
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1630

PostPosted: Thu Jul 22, 2004 9:53 am    Post subject: Reply with quote

diantre j ai pas preciser c est le noyau 2.4
Back to top
View user's profile Send private message
broly
Guru
Guru


Joined: 21 Feb 2003
Posts: 345
Location: cachan 94

PostPosted: Thu Jul 22, 2004 9:59 am    Post subject: Reply with quote

bon la je te mache tout !! un coup de google et je tombe la dessus :
copier coller du site http://gentoo-wiki.com/HOWTO_Supermount

Code:

For a quick background, supermount is a way of automatically mounting removable disk drives (floppys, cd-roms, dvd-roms, etc) without having to manually mount them or using some sort of kde/gnome on-the-fly (u)mount magic. Because of the nature of supermount, it allows you to eject the drive while it is mounted (if it's reading it blocks it) and will automatically handle the appropriate mounting/unmounting.

The first step is to acquire a kernel which has the appropriate kernel patch on it. I just went ahead and grabbed the gentoo-dev-sources which has supermount/bootsplash and a few other things. You could also use the vanilla sources and the patch from supermount@sourceforge (http://supermount-ng.sourceforge.net) (also has more information on the supermount-ng).

If you want to patch the kernel yourself, first make sure that /usr/src/linux is the kernel you wish to patch. Copy the patch to /usr/src/linux and apply using the following commands.




 cp supermount-2.0.3-2.6.0.patch.gz /usr/src/linux
 cd /usr/src/linux
 gzcat supermount-2.0.3-2.6.0.patch.gz | patch -p1
 


You will get a listing of the files that were patched and if there were any errors it'll tell you. Keep in mind that the patch will not work on all pre-patched kernels as another patch could break this patch.

Next step is to be sure to enable the appropriate option in the kernel. It is sorta hidden and I couldn't find it without looking through the .config file.




 File systems  --->
    Pseudo filesystems  --->
        <*> Supermount removable media support
 




I have mine built in to the kernel, but it might also be a good idea to build it as a module so that if it crashes it doesn't take your kernel down with it.

Before you reboot with your new kernel, make the directories for your mount points




 mkdir /mnt/dvd
 mkdir /mnt/cdrw
 mkdir /mnt/floppy
 


and edit your /etc/fstab file to include the following entries. Make sure the mount points here go along with the mount points we just created above.




 none                    /mnt/dvd        supermount      fs=auto,dev=/dev/cdroms/cdrom1  0 0
 none                    /mnt/cdrw       supermount      fs=auto,dev=/dev/cdroms/cdrom0  0 0
 none                    /mnt/floppy     supermount      fs=auto,dev=/dev/fd0,--,user,rw    0 0
 


Now you can reboot.

The layout for this should be fairly self explanatory. I've never had to use anything but "auto" for the fstype and of course your device point to the device of your drive. The second option is your mount point. Make sure that the first field is "none" as having the device name in this field may cause things to be slow.



ca ira ??? :D
Back to top
View user's profile Send private message
nuts
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1630

PostPosted: Thu Jul 22, 2004 10:31 am    Post subject: Reply with quote

je crois. merci
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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