ac_dispatcher Posted April 28, 2005 Report Share Posted April 28, 2005 I was a long time Gentoo user but my laptop had a overheating problem so I moved on to Mepis. The HD install was flawless. Its a great Debian Disto. As for -4 - Mepis still operates under XFree86 not Xorg. So I have a XF86Config-4 not xorg.conf. Here is the funny part. After I checked my XF86Config-4 again I saw this: #synapitcs in the modules section. So I took out the whole synptics part out of my XF86Config-4. The only entery was for my usb mouse. You know what? Both the usb mouse and my synaptics touchpad worked still. Some things that may have made a difference: I compile my own kernel - I have been working on its config file for about 2 years now. I build everything into the kernel - no modules. Check out my loaded modules: root@4[Kmenu]# lsmod Module Size Used by ppp_deflate 5248 0 bsd_comp 5760 0 ppp_async 9856 0 Also check your dsmeg log and your Xorg logs. Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 28, 2005 Author Report Share Posted April 28, 2005 (edited) Uh-oh. Feel like I just went into hyperspeed reading that lot Given the issues with ksynaptics, I can't help thinking the driver rather than the XOrg might be the real problem. Anyhoo, kernel-building is a little out of my league at the mo', but I guess if I could establish that that's what I'd need to do (without actually doing it), I could admit defeat and move on with my life. But for now I'll try a bit more config hacking just for the hell of it....! Never thought of checking lsmod for synaptics ... will have to check on that too. Edited April 28, 2005 by Havin_it Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 28, 2005 Author Report Share Posted April 28, 2005 Had a look at my syslog from this morning's boot (this is before changing xorg.conf any further). Couple of pertinent items: Apr 28 14:16:32 localhost kernel: mice: PS/2 mouse device common for all mice Apr 28 14:16:32 localhost kernel: input: AT Translated Set 2 keyboard on isa0060/serio0 Apr 28 14:16:32 localhost kernel: input: PS/2 Generic Mouse on isa0060/serio4 ... Apr 28 14:16:32 localhost kernel: usb 2-1: new low speed USB device using uhci_hcd and address 3 Apr 28 14:16:32 localhost kernel: usbcore: registered new driver hiddev Apr 28 14:16:32 localhost kernel: input: USB HID v1.10 Mouse [Wireless Mouse Wireless Mouse] on usb-0000:00:1d.1-1 Apr 28 14:16:32 localhost kernel: usbcore: registered new driver usbhid Apr 28 14:16:32 localhost kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver Apr 28 14:16:32 localhost kernel: usbcore: registered new driver usbmouse Apr 28 14:16:32 localhost kernel: drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver Apr 28 14:16:32 localhost kernel: ts: Compaq touchscreen protocol output Apr 28 14:16:32 localhost kernel: usbcore: registered new driver usblp Don't know what if anything can be determined from this, but I'll look again after I've applied the changes in your config, ac. Quote Link to comment Share on other sites More sharing options...
ac_dispatcher Posted April 28, 2005 Report Share Posted April 28, 2005 Apr 28 14:16:32 localhost kernel: input: PS/2 Generic Mouse on isa0060/serio4 Ill willing to bet that is your touchpad. Humor me. Make a backup first then try this: Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "InputDevice" Identifier "SynapticsMouse1" Driver "mouse" Option "Protocol" "auto-dev" Option "Device" "/dev/input/mice" Option "MaxSpeed" "0.12" Option "MinSpeed" "0.06" Option "BottomEdge" "4200" Option "SHMConfig" "on" Option "LeftEdge" "1700" Option "FingerLow" "25" Option "MaxTapTime" "180" Option "MaxTapMove" "220" Option "FingerHigh" "30" Option "VertScrollDelta" "100" Option "TopEdge" "1700" Option "RightEdge" "5300" Option "AccelFactor" "0.0010" EndSection Also in the file: Section "ServerLayout" section Section "ServerLayout" InputDevice "Mouse1" "CorePointer" InputDevice "SynapticsMouse1" "SendcoreEvents" note the chang to "mouse" for the synaptic driver and the "SendcoreEvents" in the Serverlayout section. Remember to backup first. Oh with nano its: nano -w /path/to/file/file.txt when done simply cntrl+x then it will ask you if you want to save. Type yes then enter - done :) Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 28, 2005 Author Report Share Posted April 28, 2005 Right. Ready to rock now... let's see how it goes. BTW, big props for introducing nano. My days of popping a root KWrite for one stinking line of config-editing are over! Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 28, 2005 Author Report Share Posted April 28, 2005 Sadly, no change. Thought I was scrolling for a moment, but was just highlighting. :( FWIW, I went into Harddrake and swapped driver again - the result was the same (both devices haywire) but this time I had launched it from a shell so was able to see the following: Warning: skip "location" field => "isa0060/serio4/input0" modinfo: could not find module mouse0 Warning: skip "location" field => "isa0060/serio4/input0" Again, hope someone could translate what this might mean. Is it correct/normal for both devices to be going to the same device-file? (/dev/mouse is a symlink to /dev/input/mice) What would happen if they were directed to different ones? Quote Link to comment Share on other sites More sharing options...
ac_dispatcher Posted April 29, 2005 Report Share Posted April 29, 2005 OH now Im hooked on this thread Lets get some more info here shall we? First post your entire xorg.conf here. Second post the output of the below command: cat /proc/bus/input/devices Also make sure you have "Event interface" (evdev) loaded. the command lsmod will show you loaded modules. modprobe <module> will load the modules with its dependencies. Great little tool "nano" is huh? I always use the -w switch. It turns off word wrapping long lines.. I think Mandrake is on udev now so that means Udev (at last check) has 4 device locations you can use for mice. /dev/input/mice /dev/input/mouse0 (there will be mouse1, mouse2,.. if you have more, but mouse0 is for 1st mouse) /dev/misc/psaux (which has symlink /dev/psaux) Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 29, 2005 Author Report Share Posted April 29, 2005 Heh, okay you asked for it! # ********************************************************************** # Refer to the XF86Config man page for details about the format of # this file. # ********************************************************************** Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:-1" EndSection Section "ServerFlags" #DontZap # disable <Crtl><Alt><BS> (server abort) AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching) EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer Load "dri" # direct rendering Load "/usr/X11R6/lib/modules/extensions/libglx.a" Load "synaptics" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "gb" Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "InputDevice" Driver "synaptics" Identifier "Mouse2" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "LeftEdge" "120" Option "RightEdge" "830" Option "TopEdge" "120" Option "BottomEdge" "650" Option "FingerLow" "14" Option "FingerHigh" "15" Option "MaxTapTime" "180" Option "MaxTapMove" "110" Option "EmulateMidButtonTime" "75" Option "VertScrollDelta" "20" Option "HorizScrollDelta" "20" Option "MinSpeed" "0.3" Option "MaxSpeed" "0.75" Option "AccelFactor" "0.015" Option "EdgeMotionMinSpeed" "200" Option "EdgeMotionMaxSpeed" "200" Option "UpDownScrolling" "1" Option "CircularScrolling" "1" Option "CircScrollDelta" "0.1" Option "CircScrollTrigger" "2" EndSection Section "Monitor" Identifier "monitor1" VendorName "Plug'n Play" HorizSync 31.5-48.5 VertRefresh 40-70 # Sony Vaio C1(X,XS,VE,VN)? # 1024x480 @ 85.6 Hz, 48 kHz hsync ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync # Dell D800 and few Inspiron (16/10) 1280x800 ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848 # Dell D800 and few Inspiron (16/10) 1680x1050 ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103 # Dell D800 and few Inspiron (16/10) 1920x1200 ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Monitor" Identifier "monitor2" VendorName "Plug'n Play" HorizSync 31.5-48.5 VertRefresh 40-70 # Sony Vaio C1(X,XS,VE,VN)? # 1024x480 @ 85.6 Hz, 48 kHz hsync ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync # Dell D800 and few Inspiron (16/10) 1280x800 ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848 # Dell D800 and few Inspiron (16/10) 1680x1050 ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103 # Dell D800 and few Inspiron (16/10) 1920x1200 ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Device" Identifier "device1" VendorName "Intel Corp." BoardName "Intel 85x" Driver "i810" Screen 0 BusID "PCI:0:2:0" Option "DPMS" EndSection Section "Device" Identifier "device2" VendorName "Intel Corp." BoardName "Intel 85x" Driver "i810" Screen 0 BusID "PCI:0:2:1" Option "DPMS" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1024 768 EndSubsection Subsection "Display" Depth 15 Virtual 1024 768 EndSubsection Subsection "Display" Depth 16 Virtual 1024 768 EndSubsection Subsection "Display" Depth 24 Virtual 1024 768 EndSubsection EndSection Section "Screen" Identifier "screen2" Device "device2" Monitor "monitor2" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1024 768 EndSubsection Subsection "Display" Depth 15 Virtual 1024 768 EndSubsection Subsection "Display" Depth 16 Virtual 1024 768 EndSubsection Subsection "Display" Depth 24 Virtual 1024 768 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "AlwaysCore" Screen "screen1" Screen "screen2" RightOf "screen1" #Option "Xinerama" EndSection other output to follow - I don't have the USB mouse with me right now, so there are only two entries. Yes, udev is loaded. So is 'ts', which I believe is touchscreen related but can't find more info on it. Quote Link to comment Share on other sites More sharing options...
ac_dispatcher Posted April 30, 2005 Report Share Posted April 30, 2005 Humor me Try this for a test. Comment out all of the synaptic stuff. Like this: #Section "InputDevice" #Driver "synaptics" #Identifier "Mouse2" #Option "Device" "/dev/psaux" #Option "Protocol" "auto-dev" #Option "LeftEdge" "120" #Option "RightEdge" "830" #Option "TopEdge" "120" #Option "BottomEdge" "650" #Option "FingerLow" "14" #Option "FingerHigh" "15" #Option "MaxTapTime" "180" #Option "MaxTapMove" "110" #Option "EmulateMidButtonTime" "75" #Option "VertScrollDelta" "20" #Option "HorizScrollDelta" "20" #Option "MinSpeed" "0.3" #Option "MaxSpeed" "0.75" #Option "AccelFactor" "0.015" #Option "EdgeMotionMinSpeed" "200" #Option "EdgeMotionMaxSpeed" "200" #Option "UpDownScrolling" "1" #Option "CircularScrolling" "1" #Option "CircScrollDelta" "0.1" #Option "CircScrollTrigger" "2" #EndSection and dont forget to : Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" #InputDevice "Mouse2" "AlwaysCore" Screen "screen1" Screen "screen2" RightOf "screen1" #Option "Xinerama" EndSection Need I say make a backup Im willing to bet that the touchpad will work just the same. Oh I still need the out put of that command. Also post you xorg log. Found in /var/log directory. . Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 30, 2005 Author Report Share Posted April 30, 2005 Yep, you were right. Both mice still exactly the same with only one config. So, um, what does this mean? Here's the output you asked for: I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 H: Handlers=kbd event0 B: EV=120013 B: KEY=4 2000000 2b803878 f840d001 f2ffffdf ffefffff ffffffff fffffffe B: MSC=10 B: LED=7 I: Bus=0011 Vendor=0002 Product=0001 Version=0000 N: Name="PS/2 Generic Mouse" P: Phys=isa0060/serio4/input0 H: Handlers=mouse0 event1 ts0 B: EV=7 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=3 I: Bus=0003 Vendor=05fe Product=0011 Version=0101 N: Name="Wireless Mouse Wireless Mouse" P: Phys=usb-0000:00:1d.1-1/input0 H: Handlers=mouse1 event2 ts1 B: EV=17 B: KEY=1f0000 0 0 0 0 0 0 0 0 B: REL=103 B: MSC=10 Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 30, 2005 Author Report Share Posted April 30, 2005 Xorg.0.log is a bit huge, so I'll attach it rather than dumping the whole lot. Here's a couple of highlights though: (**) Option "AllowMouseOpenFail" ... (II) LoadModule: "synaptics" (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.o (II) Module synaptics: vendor="The XFree86 Project" compiled for 4.2.0, module version = 1.0.0 Module class: XFree86 XInput Driver ABI class: XFree86 XInput driver, version 0.3 ... (II) LoadModule: "mouse" (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o (II) Module mouse: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.4 (II) LoadModule: "synaptics" (II) Reloading /usr/X11R6/lib/modules/input/synaptics_drv.o ... (==) I810(0): Silken mouse enabled (II) I810(0): Initializing HW Cursor ... and right at the bottom ... (**) Option "Protocol" "ExplorerPS/2" (**) Mouse1: Device: "/dev/mouse" (**) Mouse1: Protocol: "ExplorerPS/2" (**) Option "CorePointer" (**) Mouse1: Core Pointer (**) Option "Device" "/dev/mouse" (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 (**) Option "ZAxisMapping" "6 7" (**) Mouse1: ZAxisMapping: buttons 6 and 7 (**) Mouse1: Buttons: 7 (II) Synaptics touchpad driver version 0.13.5 Mouse2 no synaptics event device found (checked 4 nodes) (**) Option "Device" "/dev/input/event1" (**) Option "LeftEdge" "120" (**) Option "RightEdge" "830" (**) Option "TopEdge" "120" (**) Option "BottomEdge" "650" (**) Option "FingerLow" "14" (**) Option "FingerHigh" "15" (**) Option "MaxTapTime" "180" (**) Option "MaxTapMove" "110" (**) Option "EmulateMidButtonTime" "75" (**) Option "VertScrollDelta" "20" (**) Option "HorizScrollDelta" "20" (**) Option "EdgeMotionMinSpeed" "200" (**) Option "EdgeMotionMaxSpeed" "200" (**) Option "UpDownScrolling" "1" (**) Option "CircularScrolling" "1" (**) Option "CircScrollTrigger" "2" Query no Synaptics: 000000 (EE) Mouse2 no synaptics touchpad detected and no repeater device (EE) Mouse2 Unable to query/initialize Synaptics hardware. (EE) PreInit failed for input device "Mouse2" (II) UnloadModule: "synaptics" (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD) (II) Mouse1: ps2EnableDataReporting: succeeded SetClientVersion: 0 8 Attaching the whole thing below (text file). Xorg.0.txt Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 30, 2005 Author Report Share Posted April 30, 2005 Hey, while Googling, I found this page: http://prinsig.se/weekee/index.php/Touchpad_(hw) I'm not sure I read it right, i.e. whether this should still apply for kernel 2.6.11, but it seems to say that you need to load the psmouse module at boot. According to lsmod, this is not loaded. I assume modprobing it after boot won't help, so how can I pre-load it? ...assuming of course that this is the correct thing to do. Man I am LOST! I always feel like Linux 'documentation' is written for someone with a couple more PhD's than me. Quote Link to comment Share on other sites More sharing options...
ac_dispatcher Posted April 30, 2005 Report Share Posted April 30, 2005 That link is a good read. The modprobe command will load the module but when you reboot it wont load automatically. Sorry Im not running Mandy so Im not sure the the exact file. In Mepis its /etc/modules. I knew the patch was applyed in the 2.6 kernells just didnt know when. Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 30, 2005 Author Report Share Posted April 30, 2005 Well, I have a mix of news. 1 - I tried 'modprobe psmouse' and no such module exists on my system - not sure what to do about that...! 2 - Here's the tail of Xorg.0.log after I removed that boot argument you suggested earlier: (II) Synaptics touchpad driver version 0.13.5 (--) SynapticsMouse1 auto-dev sets device to /dev/input/event1 (**) Option "Device" "/dev/input/event1" (**) Option "SHMConfig" "on" (**) Option "LeftEdge" "1700" (**) Option "RightEdge" "5300" (**) Option "TopEdge" "1700" (**) Option "BottomEdge" "4200" (**) Option "FingerLow" "25" (**) Option "FingerHigh" "30" (**) Option "MaxTapTime" "180" (**) Option "MaxTapMove" "220" (**) Option "VertScrollDelta" "100" (--) SynapticsMouse1 ALPS touchpad found (**) Option "AlwaysCore" (**) SynapticsMouse1: always reports core events (II) XINPUT: Adding extended input device "SynapticsMouse1" (type: MOUSE) (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD) Synaptics DeviceInit called SynapticsCtrl called. (II) Mouse1: ps2EnableDataReporting: succeeded Synaptics DeviceOn called (--) SynapticsMouse1 ALPS touchpad found SetClientVersion: 0 8 The practical results: (a) the touchpad is twice as unresponsive as it was originally; and (B) KSynaptics is now alive! (albeit that it doesn't seem to have much effect...) This leaves an interesting dilemma. I can have the pad correctly detected with this kernel, but apparently the driver isn't doing too good a job of controlling it. I wonder if this is a known issue? Cue some more Googling... BTW, I may have made some more changes to xorg.conf, I forget, so here's the current one (mostly lifted from the synaptics driver's README.alps file): Section "InputDevice" Identifier "SynapticsMouse1" Driver "synaptics" Option "Protocol" "auto-dev" Option "Device" "/dev/input/mice" Option "MaxSpeed" "0.12" Option "MinSpeed" "0.06" Option "BottomEdge" "4200" Option "SHMConfig" "on" Option "LeftEdge" "1700" Option "FingerLow" "25" Option "MaxTapTime" "180" Option "MaxTapMove" "220" Option "FingerHigh" "30" Option "VertScrollDelta" "100" Option "TopEdge" "1700" Option "RightEdge" "5300" Option "AccelFactor" "0.0010" EndSection Perhaps I should add a ZAxisMapping option? I remember in a previous config it was there, defined as "4 5" I think - maybe i should try it as "6 7" the same as the other mouse? So many mysteries... be nice if the synaptics driver maintainer documented these options a bit better Quote Link to comment Share on other sites More sharing options...
Havin_it Posted April 30, 2005 Author Report Share Posted April 30, 2005 STOP PRESS! I now seem to have a fully-functional pad!!! The big breakthrough was reading the synaptics README.alps file. Note: In the last post, I said I was using the xorg.conf suggested in that file. THAT WAS BALONEY (forgive me - I was tired and emotional) - it was the one you offered me recently, ac_. Soo, I DID use it this time - see below - rebooted, and voila, all extras enabled it seems! I actually have a HORIZONTAL scroll-track too, which never does anything in Windows. Admittedly, All I've made it do so far is go back/forward pages in Firefox (quite annoying when done accidentally) but it should be interesting to learn what else happens with it. Notably, the KSynaptics applet has now gone dead again - wonder why that happened? I won't lose too much sleep over that though. ac, thanks for your interest in this. I think I would have given up before now if you hadn't been around. Ironic to think that I only updated to the 2.6.11 kernel just before starting this quest. Wonder how much more pain would have ensued if I hadn't? Brrrr... I'll be back here if I find any more useful info about the XOrg configs for this device, but for now I'll sign off with another question: What the HELL is circular scrolling? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.