LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2005, 09:16 PM   #1
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Rep: Reputation: 15
Laptop Debian Freeze


Alright I'm used to Fedora which solves little problems like this for you. But since I'm out of the playpen now I need a little help.

I have a Gateway Solo 9550 with the newest version of Debain installed. If I leave the system alone for a few minutes it will freeze (specifically the mouse) and if I close the lid it will freeze. I'm guessing there is some package or setting I'm missing here. Just tell me where to go.
 
Old 07-04-2005, 09:43 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
For starters, I would remove gpm if you have it enabled, and also install acpid
Code:
apt-get update
apt-get remove gpm
apt-get install acpid
Gpm seems to interfere with X on some laptops (mine included). Acpid may help with the lid button etc.

Cheers,

mj
 
Old 07-04-2005, 09:49 PM   #3
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
I installed it and got something about recompiling the kernel to get advanced support but aside from that it in stalled finr. I am compiling MPlayer now so I don't want to test it just yet. While I'm waiting though do you know where I can go to make the mouse wheel button work?
 
Old 07-04-2005, 10:00 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Has the system stopped freezing up...?

Anyway, to enable the middle mouse roller button, you'll just need to edit your /etc/X11/XF86Config-4, so that it includes the following lines
Code:
Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"        "/dev/input/mice"
        Option          "SendCoreEvents" "true"
        Option          "Protocol"       "IMPS/2"
        Option          "ZAxisMapping"   "4 5"
        Option          "Buttons"        "5"
EndSection
Note that the identifier and driver for your mouse may vary. Also, this is assuming a standard two button plus roller ball/button usb mouse. Now, just restart X and you should be done.

Cheers,

mj
 
Old 07-04-2005, 10:12 PM   #5
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
No it didn't stop the freezing

Also no luck with the mouse

And it also seems my laptop is getting hotter than usual

...lots of fun here

Last edited by aeuzent; 07-04-2005 at 10:56 PM.
 
Old 07-04-2005, 11:39 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
For the freezing, it would help if you can narrow it down a bit. What happens if you start X, but don't touch the mouse at all ? Does it still freeze ? Does it take the same amount of time ? Any interesting warnings (WW) or errors (EE) in /var/log/XFree86.0.log ?

For the mouse wheel button, the above format will work if you have entered it correctly. Check your existing X config file, and then modify it as necessary. As a last resort, post the mouse entry here if you're still having trouble.

Cheers,

mj
 
Old 07-05-2005, 05:01 PM   #7
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Here's my XFree86 log, it's only a piece though. The thing is huge. Alot of it confuses me but see if you can make any sense of it.

Code:
(II) NV(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(**) Option "dpms"
(**) NV(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "PS/2"
(**) Configured Mouse: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Buttons" "5"
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 5
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
        No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
Could not init font path element unix/:7100, removing from list!
GetModeLine - scrn: 0 clock: 135000
GetModeLine - hdsp: 1280 hbeg: 1296 hend: 1440 httl: 1688
              vdsp: 1024 vbeg: 1025 vend: 1028 vttl: 1066 flags: 5
(II) Open APM successful
(II) Configured Mouse: ps2EnableDataReporting: succeeded
And here is the mouse entry

Code:
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver        "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection
Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection
That second entry wasn't there when I originally edited it

Last edited by aeuzent; 07-05-2005 at 05:04 PM.
 
Old 07-05-2005, 05:12 PM   #8
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
The part that you want to look at will be at the bottom of the log file (for the most recent addition) -- just scroll to the end, then back up until you see it beginning to repeat itself. Alternatively, you can simply 'grep' out the error and warning messages...
Code:
grep "EE\|WW" /var/log/XFree86.0.log
It looks like at least one error is coming from the incorrect mouse device location -- you may want to change /dev/input/mice back to whatever you had before. The only bits you'll probably want to change will be the "buttons" and "z axis mapping" lines.

Cheers,

mj
 
Old 07-05-2005, 05:16 PM   #9
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Quote:
That second entry wasn't there when I originally edited it
Meaning that you added it, or that it appeared mysteriously...? Anyhoo, it's the one giving the error, so best to delete it.

How many mice do you have on your system, that you want to use (and what type(s) are they ?).

Cheers,

mj
 
Old 07-05-2005, 05:22 PM   #10
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Just the touchpad on the laptop. Any guess as to which entry it is?
 
Old 07-05-2005, 05:27 PM   #11
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Almost certainly the first one. Does it have a wheel button as well, or was this on some external mouse you had plugged in ?

Cheers,

mj
 
Old 07-05-2005, 05:39 PM   #12
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
No, just the touchpad the whole way through

Any ideas on how to fix the freezing?

And here's the greped errors

Code:
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/lib/X11/fonts/CID" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) System lacks support for changing MTRRs
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"

EDIT: Also I deleted the second mouse entry and it killed X so I put it back on.

Last edited by aeuzent; 07-05-2005 at 05:50 PM.
 
Old 07-05-2005, 05:48 PM   #13
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Quote:
While I'm waiting though do you know where I can go to make the mouse wheel button work?
Was this on a different system ?

Anyway, delete the second entry (the generic mouse) from your /etc/X11/XF86Config-4, restart X, and then grep for the errors from a console after it has frozen (switch to another screen by pressing CTRL - ALT - F1). Also, have a look at the tail end of /var/log/messages for clues.

Cheers,

mj
 
Old 07-05-2005, 05:51 PM   #14
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Oh, nearly forgot -- you will also need to delete (or comment out, by placing a # at the beginning of the line) the line near the top of your XF86Config-4 file, that references your generic mouse. It will be in the "Server Layout" section, and the line will begin with "Input device".

Cheers,

mj
 
Old 07-05-2005, 05:51 PM   #15
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Alright it's commented out. But I still don't have a working middle button.


And it's still freezing.

Last edited by aeuzent; 07-05-2005 at 06:07 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stream and music on debain makes my laptop freeze alexrait1 Debian 2 01-02-2006 05:19 PM
Laptop freeze arunsri Linux - Laptop and Netbook 4 03-06-2005 04:11 AM
Keyboard Freeze on old laptop Jimmy The Clown Linux - Laptop and Netbook 0 01-23-2005 07:03 PM
Fedora Core1 install freeze on Compaq Laptop sevvy8 Linux - Laptop and Netbook 2 07-07-2004 02:18 PM
RedHat 9.0 Toshiba laptop reboot freeze sardaukar_siet Linux - Software 0 04-16-2003 02:25 PM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration