LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-28-2003, 10:44 AM   #1
bf84
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
Battery Notification and Mouse problems


I'm using a Sony Vaio with XP Pro and Red Hat 9, but i'm having 2 problems so far.

1. The battery meter never changes from the charging status.
2. i can't use the mouse (touchpad), i can only use my USB mouse.

thanks for any help.
 
Old 09-28-2003, 01:05 PM   #2
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
for the battery meter what application is showing it? and are you using apm or acpi? you might try upgrading to the latest release of gkrellm and using acpi if you arent

try adding this to lilo for the mouse
append="psmouse_noext=1"
 
Old 09-28-2003, 01:23 PM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
this seems common to me in both windows and linux. the not-charged icon never seems to be showing, but if you hover over it, the tool tip does say for me "Plugged in - Fully charged" even though the icon is showing the charged icon. not a problem for me since this behavior is in both linux and windows. using apm over here.

for your usb mouse and touchpad question.

http://www.linuxquestions.org/questi...e+and+touchpad

Last edited by megaspaz; 09-28-2003 at 01:24 PM.
 
Old 09-28-2003, 03:13 PM   #4
bf84
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the tips. I'm very new to linux (installed it 2 days ago) and i don't know a lot of this stuff. i have no idea what you mean by apm acpi. i do know i'm using GRUB though. thanks.
 
Old 09-28-2003, 03:21 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
apm and acpi simply put deal with power management things. acpi is newer than apm and is the new standard in power management.

did you get your touchpad working with your usb mouse?
 
Old 09-28-2003, 04:17 PM   #6
bf84
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the info. the touchpad only kind of works. it will move the cursor around, but everytime everytime i touch it it's like i've right clicked. and it also moves way too fast for me to really control.
 
Old 09-28-2003, 04:33 PM   #7
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
not sure about the sensitivity, but in your XF86Config-4 file, you can go to the input device section of synaptics and play around with changing the min speed and max speed.
 
Old 09-28-2003, 09:11 PM   #8
bf84
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the help. i'm really bad at this and i have no idea what to do to edit these files. i probably did something wrong installing the touchpad driver.
 
Old 09-28-2003, 10:26 PM   #9
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
the file you'll need to edit is in /etc/X11/ (full path is /etc/X11/XF86Config-4 ).

here's my XF86Config-4 file. i'll highlet the parts that are important that you need to add/modify. nothing is changed from what was posted in the link i posted earlier.

Quote:
# File generated by anaconda.

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "SendCoreEvents"
InputDevice "Mouse[1]" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

FontPath "unix/:7100"

EndSection

Section "Module"
# Load "GLcore"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"

# Option "AutoRepeat" "500 5"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:nocaps"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
#Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
# Modified by mouseconfig
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "Device" "/dev/psaux"
Option "Edges" "1900 5400 1800 3900"
Option "Finger" "25 30"
Option "MaxTapTime" "20"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
# Option "Repeater" "/dev/ps2mouse"
# Option "SHMConfig" "on"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5-90.0
VertRefresh 59.0-75.0
Option "dpms"

# -- 1400x1050 --
# 1400x1050 @ 60Hz, 65.8 kHz hsync
Modeline "1400x1050" 129 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 70Hz, 76.8 kHz hsync
Modeline "1400x1050" 151 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 75Hz, 82.3 kHz hsync
Modeline "1400x1050" 162 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 85Hz, 93.2 kHz hsync
Modeline "1400x1050" 184 1400 1464 1656 1960
1050 1051 1054 1100 +HSync +VSync

EndSection

Section "Device"
# no known options
Identifier "VESA driver (generic)"
Driver "nvidia"
VendorName "VESA driver (generic)"
BoardName "VESA driver (generic)"
Option "NvAgp" "1"
Option "NoLogo" "true"
#BusID
EndSection

Section "Screen"
Identifier "Screen0"
Device "VESA driver (generic)"
Monitor "Monitor0"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1400x1050" "1280x960" "1024x768" "800x600" "640x480"
EndSubsection

EndSection

#Section "DRI"
# Mode 0666
#EndSection
now remember in my file, the server layout and in the device input sections, mouse0 is the usb mouse and mouse[1] is the touchpad. your usb mouse might have a different identifier.

Last edited by megaspaz; 09-28-2003 at 10:28 PM.
 
Old 09-29-2003, 08:53 PM   #10
bf84
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Well, I've tried a few things with that and so far the only change is I managed to load X without any mouse (X is annoying to use without one by the way). It's a good thing I know some of the commands or I would've been screwed. I haven't tried just copying the whole thing yet. I'm assuming that won't work since I have a different system than you. Here's my file.

Quote:
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Generic Laptop Display Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility 7500"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 09-29-2003, 10:19 PM   #11
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
it will work. X is X. in your server layout, change the option of your usb mouse identifier to "SendCoreEvents" and the option of your touchpad to "CorePointer"

my usb mouse - > InputDevice "Mouse0" "SendCoreEvents"
touchpad entry - > InputDevice "Mouse[1]" "CorePointer"


those are the instructions straight from the developer of the synaptics touchpad utility.

follow the instructions on the link i posted earlier in this thread.

and why do you have 2 mouse devices listed? if you're only using the usb mouse, i'd dump the mouse0 input device section. it makes no sense to me at all.
 
Old 10-01-2003, 10:19 PM   #12
bf84
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Success!! That worked, thanks a lot. I had 3 mice for some reason and then since I had a mouse0 I assumed the same as yours, but it turned out to be absolutely nothing. Sorry to keep buggin you like that though.
 
Old 10-01-2003, 11:42 PM   #13
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
no probs. glad it worked for you.
 
  


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
Wireless mouse battery level detection? daihard Linux - Hardware 2 09-27-2005 04:04 AM
Wireless mouse battery strength Duranthas Linux - Hardware 1 09-07-2005 09:28 PM
Low Battery notification in Gnome? burki Linux - Laptop and Netbook 4 03-11-2005 10:41 PM
battery level for cordless mouse rsarson Linux - Hardware 0 08-30-2004 08:26 PM
low I didn't battery indicator for cordless mouse jnsc Linux - Software 0 06-03-2003 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:04 PM.

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
Open Source Consulting | Domain Registration