Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X11 / Presario R3000 / Mouse Problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mleck
n00b
n00b


Joined: 11 Jan 2005
Posts: 35
Location: UT

PostPosted: Mon Jan 24, 2005 8:40 pm    Post subject: X11 / Presario R3000 / Mouse Problems Reply with quote

Hello -

I'm trying my darndest to setup X11 on my Compaq Presario R3000. I'm running on an AMD Athlon-XP-M, and am using an nVidia GeForce 440 Card (also, I have a widescreen laptop, that I'd like to make full use of the screen with).

I've tried setting things up using the autoconfig:
Code:
Xorg -configure
X -config /root/xorg.config.new


But with no avail. Then I have done a manual config using:
Code:
xorgconfig


And that one seems to work... I can get X at least up, but no mouse works or anything. So, I've been looking around here quite a bit, and have found several people talking about similar problems. I followed their advice, and would check the output on /dev/input/mouse and /dev/psaux, and also others in /dev/misc/... but NONE of them give me ANY output when I use my touchpad mouse (and yes, it is turned on).

Then I noticed people talking about fglrxconfig - as a means of setting up their xorg.conf file, but I can't find that program anywhere. I've looked around a bit, and believe it is part of the DMI/ATI project or something, but I'm not sure if that's what I need because I am using the nVidia card.

I have hotplug running, but I'm not sure if it's doing much. I've tried using my wireless optical mouse also, but that doesn't work either. I need some help... I'm I going down the right road? Is there an app I should be using like 'fglrxconfig'? If so, where is it and how do I get it? Are there some options I need to compile into my kernel? Anyhow would be great.

BTW - I'm using the 2.6.10-gentoo-r6 dev-source kernel.
Back to top
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Mon Jan 24, 2005 10:01 pm    Post subject: Reply with quote

No, you really don't need fglrxconfig.

What Mouse do you have?
Is it a PS2, serial or USB?

In case of the first both, you should have compiled the drivers in Kernelconfig -> Device-Drivers -> Inpunt device support
listet under mouse.

You really should find out, at which device your mouse is and make an ln -sf /dev/device /dev/mouse.
_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
mleck
n00b
n00b


Joined: 11 Jan 2005
Posts: 35
Location: UT

PostPosted: Mon Jan 24, 2005 11:17 pm    Post subject: Reply with quote

Jinidog wrote:
No, you really don't need fglrxconfig.

What Mouse do you have?
Is it a PS2, serial or USB?

In case of the first both, you should have compiled the drivers in Kernelconfig -> Device-Drivers -> Inpunt device support
listet under mouse.

You really should find out, at which device your mouse is and make an ln -sf /dev/device /dev/mouse.


I have a touchpad mouse - it's just part of the laptop. I also have that external wireless mouse... which is a USB mouse.

I'll check what reference that mouse is pointing to and get back to you.
Back to top
View user's profile Send private message
mleck
n00b
n00b


Joined: 11 Jan 2005
Posts: 35
Location: UT

PostPosted: Fri Jan 28, 2005 8:01 pm    Post subject: Reply with quote

It seems like I don't have a /dev/mouse link. I do have a /dev/usbmouse->/dev/input/mice ... but when I do:

Code:
cat /dev/input/mice


I get nothing...
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Sat Jan 29, 2005 8:52 pm    Post subject: Reply with quote

Install the synaptics driver package. It's in portage. It provides a Synaptics/ALPS X11 driver and the ALPS kernel patch. Apply the patch and rebuild your kernel.

Configure your bootloader to pass the option "i8042.nomux" to prevent mouse and keyboard problems.

When booting, check for some alps.c output in dmesg: dmesg | grep -i alps - you should see a couple of messages.

Install the nvidia drivers. If you use the 6629 build you need to put some driver options in /etc/modules.d/nvidia:
Code:
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=0

Check that the driver loads correctly: update-modules && modprobe nvidia and then check your last few dmesg lines for output from the nvidia module.

Set up X to your liking. Here's my xorg.conf:
Code:
Section "Module"
    Load        "dbe"     # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
    Load       "glx"
EndSection

Section "Files"
    RgbPath   "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/TrueType/"
    FontPath   "/usr/share/fonts/freefont/"
   FontPath   "/usr/share/fonts/corefonts/"
   FontPath   "/usr/share/fonts/artwiz-aleczapka-en"
    FontPath   "/usr/local/share/fonts/pcf/"
   FontPath   "/usr/local/share/fonts/proggy/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
#    Driver   "Keyboard"
   Driver "kbd"
    Option "AutoRepeat" "500 30"
#    Option   "Xleds"      "1 2 3"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "se"
EndSection

Section "InputDevice"
   # ALPS Touchpad
   Driver      "synaptics"
   Identifier   "ALPS"
   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.2"
   Option      "MaxSpeed"         "0.5"
   Option      "AccelFactor"      "0.01"
   Option      "EdgeMotionMinSpeed"   "15"
   Option      "EdgeMotionMaxSpeed"   "15"
   Option      "UpDownScrolling"   "1"
   Option      "CircularScrolling"   "0"
EndSection

Section "Monitor"
    Identifier  "LCD"
    HorizSync   28.0-96.0
    VertRefresh 50.0-86.0
    ModeLine   "1280x800" 101.92 1280 1312 1696 1728 800 816 825 841
EndSection

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

# Device configured by xorgconfig:

Section "Device"
    Identifier  "NV17"
    Driver      "nvidia"
    #VideoRam    32768
   Option      "RenderAccel"   "true"
   Option      "NoLogo"      "true"
   Option      "CursorShadow"   "true"
   Option      "AllowGLXWithComposite" "true"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "NV17"
    Monitor     "LCD"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "ALPS" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "ALPS" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Extensions"
   Option "Composite"   "Enable"   
   Option "RENDER"      "true"
EndSection


Håkan
Back to top
View user's profile Send private message
mleck
n00b
n00b


Joined: 11 Jan 2005
Posts: 35
Location: UT

PostPosted: Thu Feb 03, 2005 11:15 pm    Post subject: Reply with quote

hw-tph wrote:
Install the synaptics driver package. It's in portage. It provides a Synaptics/ALPS X11 driver and the ALPS kernel patch. Apply the patch and rebuild your kernel.


Okay... I installed the synaptics driver... but I'm a little confused when it comes to "applying" the patch. I read through the README.alps file and also read the preface of the alps.patch.gz and didn't see or understand how to apply it... Can you give me a hand with that?
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Sat Feb 05, 2005 12:21 am    Post subject: Reply with quote

The patch is installed to /usr/share/doc/synaptics-<version>/. Just go to your kernel source directory and apply it to the source:
Code:
$ cd /usr/src/linux
$ zcat /usr/share/doc/synaptics-0.13.6/alps.patch.gz | patch -p1

Then build your kernel and install it as usual.


Håkan
Back to top
View user's profile Send private message
Ab3n
n00b
n00b


Joined: 03 Feb 2005
Posts: 19

PostPosted: Thu Feb 10, 2005 1:12 am    Post subject: Reply with quote

how do I build my kernel?
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Thu Feb 10, 2005 2:59 pm    Post subject: Reply with quote

Read the Gentoo installation handbook. It is covered in one of the last chapters.


Håkan
Back to top
View user's profile Send private message
Zhent
n00b
n00b


Joined: 08 Feb 2005
Posts: 11

PostPosted: Fri Feb 11, 2005 9:53 pm    Post subject: Reply with quote

also, for a quick check, go into the xorg.conf file and look for the mouse section. see if the mouse is connected to /dev/mouse0 or /dev/input/mouse0. I have a touchpad on my latop here as well and it was connected to /dev/input/mouse0, so i had to change that in the config myself.
Back to top
View user's profile Send private message
mleck
n00b
n00b


Joined: 11 Jan 2005
Posts: 35
Location: UT

PostPosted: Fri Feb 18, 2005 4:53 am    Post subject: Reply with quote

hw-tph wrote:
The patch is installed to /usr/share/doc/synaptics-<version>/. Just go to your kernel source directory and apply it to the source:
Code:
$ cd /usr/src/linux
$ zcat /usr/share/doc/synaptics-0.13.6/alps.patch.gz | patch -p1

Then build your kernel and install it as usual.


Håkan


Awesome! You da the man! This worked great. My mouse is now working!!! Now I'm just curious to see if I can get X to support my widescreen (15.4) inch screen. Any thoughts?
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Sun Feb 20, 2005 8:15 pm    Post subject: Reply with quote

If you have the 1280x800 LCD screen, have a look at my Monitor and Device settings in my xorg.conf above. You will most likely need the Modelines setting and possibly this is /etc/modules.d/nvidia:
Code:
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=0

Actually, you could grab my entire xorg.conf and just change whatever you need - FontPath entries, keyboard language and so on.

Håkan
Back to top
View user's profile Send private message
swingarm
l33t
l33t


Joined: 08 Jun 2002
Posts: 627
Location: Northern Colorado

PostPosted: Sun Feb 20, 2005 8:23 pm    Post subject: Reply with quote

Just thought I'd interject, another place you could find help on the R3000 is here:

http://lists.pcxperience.com/cgi-bin/mailman/listinfo/linuxr3000

very helpful.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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