Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SOLVED: XF86Config-4 problem
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
alloydog
LXF regular


Joined: Thu Apr 07, 2005 8:32 pm
Posts: 600

PostPosted: Tue Aug 02, 2005 8:44 pm    Post subject: Reply with quote

I have followed the HOWTO to the letter (well, almost, I found the driver from an Ubuntu repository...), and now have synaptics_drv.o in /usr/X11R6/lib/modules/input and evdev in etc/modules.
XF86Config-4 looks like this:
Code:
Section "Module"
   Load      "synaptics"
   Load      "dbe"
   SubSection   "extmod"
      Option   "omit xfree86-dga"
   EndSubSection
   Load      "type1"
   Load      "freetype"
EndSection

Section "Files"
    RgbPath   "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
#    ModulePath "/usr/X11R6/lib/modules"
EndSection

#Section "ServerFlags"
#EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier   "TouchPad"
   Driver      "synaptics"
   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 “PS/2Mouse”
   Driver “mouse”
   Option “Device” “/dev/psaux”
   Option “Protocol” “IMPS/2”
   Option “ZaxisMapping” “4 5”
EndSection

Section "Monitor"
    Identifier  "Armada 110 Monitor"
    HorizSync   31.5 - 48.5
    VertRefresh 50-90
EndSection

Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "Armada 110 Video Card"
    Driver      "trident"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Armada 110 Video Card"
    Monitor     "Armada 110 Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "TouchPad" "CorePointer"
    InputDevice "PS/2Mouse" "AlwaysCore"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


still only the touchpad work, but no PS/2 mouse.

The Howto mentioned about ensuring the PS/2 mouse driver was loaded, but I believe it is already compiled in the 2.6.7 kernel, so I guess there is no need.

Is there anything else missing?
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Tue Aug 02, 2005 9:51 pm    Post subject: Reply with quote

So you got the compile to work. Probably a config syntax error i would expect. And you needed drivers for your touchpad ....

I had to add ...

Option "SendCoreEvents" "true"

To the Input Section for my PS/2 mouse to get any result. My Server Layout Section just declares the other sections to use. But i'm using v4.3 where i would guess your using X.org. There may be some difference there.

Put the " "SendCoreEvents" "true" " bit in the Input Device Section for the mouse.

Interesting config, i always need an explicit ModesLine in my own Monitor Section, along with Sync rate settings. Seems others don't though Smile

You haven't got much there for your Amada Card (trident), but i suppose if thats all thats needed. Why the "Standard VGA" section ?, do you really need it ?

I would have expected some blanking/suspend setting in the ServerFlags Section ... but again, that might just be my v4.3.

I'd do as suggested be fore. Comment in the touchpad stuff and focus on the mouse first. And move the "core pointer" related settings to the actual device section, rather than putting them in the ServerLayout Section. As in my case, the thing that got the pointer moving was just the single addition of

Code:

  Option      "SendCoreEvents"   "true"


Option "CorePointer" .... had no effect !



jm
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
alloydog
LXF regular


Joined: Thu Apr 07, 2005 8:32 pm
Posts: 600

PostPosted: Wed Aug 03, 2005 7:41 am    Post subject: Reply with quote

Good day jm, I added the Option "SendCoreEvents" "true" bit to the PS/2Mouyse entry (and removed the appropriate entry in the Server Layout section), but still it did not work.

The monitor/display settings come from someone else's XF86Config for and Armada 110 - I found it whilst searching for the mouse/touchpad fix. This is a common problem.

BeatrIX uses XFree86.

I was wondering if the problem lay deeper, as when I installed it, I had to use the failsafe option, so the kernel line in GRUB is
Code:
kernel      /boot/vmlinuz-2.6.7 root=/dev/hda2 ro ramdisk_size=100000 lang=en apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce noapic noacpi acpi=off noapm vga=normal quiet splash


I started removing the options one by one, rebooting each time. noapic noapm removed OK, but when I removed noacpi and acpi=off, it failed to boot.

I rebooted from the LiveCD with the options kernel26 noacpi acpi=off and it booted OK, with all the correct graphics APM and more impotantly USB support.

I reinstalled BeatrIX, as it it only takes abour 30 mins - which is quicker than me reinstall all the missing modules, drivers and what-not.

The PS2/mouse still did not work, but I tried a USB mouse again. This time it did work. This is with the default XF86Config-4, and I did not even have to install the synaptics_drv.o driver.
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Wed Aug 03, 2005 9:43 am    Post subject: Reply with quote

Just a thought - have you ever had a PS/2 mouse working on this machine ?
We had a laptop in the office many years ago where the PS/2 port was wired for keyboard only - if we wanted an external mouse we had to use a serial one (before the days of USB Sad )
Back to top
View user's profile Send private message
alloydog
LXF regular


Joined: Thu Apr 07, 2005 8:32 pm
Posts: 600

PostPosted: Wed Aug 03, 2005 11:17 am    Post subject: Reply with quote

The PS/2 mouse worked fine with Windows 2000. The machine is circa 2001, so I guess it ought to support PS/2 more readily that serial.
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Mon Aug 08, 2005 2:05 am    Post subject: Reply with quote

Curious, i guess the touchpad is usb. The only thing i can think of is that the kernel hasn't been configured correctly for ps/2, or the back reference to the touch pad is over-riding the later ps/2 settings. Going by the config they seem to be using the same device file. Which may be significant.

I only have the one "pointer" a logitech optical ps/2 mouse, but two mouse configurations. X will log an error in /var/log/XFree86.0.log for the second configuration ... the ps/2 mouse, but still use the ps/2 configuration. I don't think the monitor will have anything to do with it though.

Did you also shelve the touchpad for a while and test with just the one mouse connected, with the touchpads config commented in. Why not also recompile the kernel with heaps of debug support, just for testing too.


jm
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast