*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
03-25-2007, 07:47 PM
#1
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Rep:
FreeBSD Mouse Problem - Tried Everything ... Please Help.
Ok, this is attempt two at posting...
Just installed FreeBSD 6 on my laptop.
No mouse pointer at all using the trackpad.
Have tried endless combinations of settings in rc.conf and my xorg.conf file ...
I have turned moused OFF as im less fussed about a mouse on the command line but do want one for X. I read this on another thread which said that X will use its own mouse driver so sorry if this is wrong!
Firstly, WHERE SHOULD xorg.conf go?
In
/etc/X11/xorg.conf
Or
/usr/X11R6/lib/X11/xorg.conf
Also should it be called xorg.conf or xorg.conf.eg ?
This is my pointer section in xorg.conf
Code:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/sysmouse"
Option "Protocol" "Auto"
EndSection
I have this in rc.conf (I commented the moused lines out to disable it).
Code:
usbd_enable="YES"
gdm_enable="YES"
# -- sysinstall generated deltas -- # Sat Mar 24 13:47:06 2007
#moused_flags=""
#moused_port="/dev/sysmouse"
#moused_type="auto"
#moused_enable="YES"
Also for the record, a dmesg says that I have something mouselike at psm0.
Code:
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
Also, I only have psm0 and sysmouse in /dev (there is other stuff, but these are the only vaguely mousey things to be found there ... )
I have read the FreeBSD guides and numerous posts, and could really use a some guidance on this ...
Thanks.
Max.
03-26-2007, 06:33 PM
#2
Member
Registered: Apr 2006
Location: Ohio
Distribution: ArchLinux, NetBSD
Posts: 476
Rep:
Hello,
First, the file should be /etc/X11/xorg.conf
Second, it looks like the mouse settings may not be right in the device section of xorg.conf. Did you try to run xorgconfig? There should be listings for various mouse settings, like setting up for the touchpad of a laptop.
03-26-2007, 07:45 PM
#3
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
try reconfiguring Xorg and check if your mouse is working from a tty(if not use sysinstall to correct it). To configure the X11 server use
while not running X.
03-27-2007, 06:09 PM
#4
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Original Poster
Rep:
Thankyou,
I will do this tomorrow when I am back at my machine.
The trouble with running xorg config is that I do not have the exact monitor details for the laptop (it was given to me without any manuals).
I will try and copy out the details in that file and supply these to the configure utility.
Stay tuned and will post my results.
Thanks for helping.
03-28-2007, 06:41 AM
#5
Member
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700
Rep:
So you really haven't tried everything, have you?
03-29-2007, 05:38 PM
#6
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Original Poster
Rep:
Excuse me?
03-30-2007, 07:39 AM
#7
Member
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700
Rep:
The title of this thread is " FreeBSD Mouse Problem - Tried Everything ... Please Help."
03-30-2007, 08:01 AM
#8
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Original Poster
Rep:
..........
Last edited by maxvonseibold; 03-31-2007 at 05:07 AM .
03-30-2007, 11:07 AM
#9
Member
Registered: Jan 2006
Location: pl_PL.lodz
Distribution: FreeBSD
Posts: 334
Rep:
Quote:
Originally Posted by maxvonseibold
Unless ofcourse you do know the HorizSync and VertRefresh rates for a Sony Vaio PCG-Z600NEK Laptop in which case thank you so much for your kind assistance .....
these should work:
Code:
HorizSync 30 - 57
VertRefresh 30 - 72
or
Code:
HorizSync 31.5 - 48.5
VertRefresh 60
Also maybe this page will help You:
http://www.bodgit-n-scarper.com/sony.html
You should also check these:
http://tuxmobil.org/sony.html
http://www.linux-on-laptops.com/sony.html
03-30-2007, 01:32 PM
#10
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Original Poster
Rep:
hmmmm ok.
Lots of stuff. First up thank you vermaden for the monitor information.
I checked out the links you posted and then ran xorgcfg -textmode as suggested by
http://www.freebsd.org/doc/en_US.ISO...book/book.html
This seemed a logical approach to take ....
Once this was done and I entered the monitor specs kindly provided and did:
Xorg -config /etc/X11/xorg.conf (where xorg.conf was the output of xorgcfg).
I got a Fatal Screens Error:
no screens found.
I checked the log files from Xorg.0.log and changed the driver from 'ati' to neomagic and reran Xorg -config.
I got the basic black and grey grid with the mouse pointer represented as a big grey square that would not move ... is this an improvement ... ? ;-)
I sorted the square problem by adding this:
Option "SWCursor"
Option "NoRenderExtension"
To the Device section of the conf file.
Any ideas what next? I specified the mouse as a Glidepoint.
Here is the xorg.conf file again ...
Code:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "Module"
Load "freetype"
# Load "xtt"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "GlidePoint"
Option "Device" "/dev/sysmouse"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "gb"
EndSection
Section "Monitor"
Identifier "Monitor0"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 48.5
VertRefresh 60.0 - 60.0
EndSection
Section "Device"
Identifier "Card0"
# Driver "ati"
Driver "neomagic"
Option "SWCursor"
Option "NoRendorExtension"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "HWCursor" "Off"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
So to recap...
gdm is starting a pretty blue screen (Xorg is alive).
I still have no mouse .....
Any clues?
Thank You.
p.s. introuble. If you have read this far please do not bother posting anything, just go away.
03-30-2007, 01:50 PM
#11
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Original Poster
Rep:
Also thought I would add this:
My /etc/rc.conf file has the following:
moused_flags=""
moused_port="/dev/sysmouse"
moused_type="SysMouse"
moused_enable="YES"
I ran /usr/sbin/sysinstall
and specifying the pointer as a Glidepoint made the test app break, and this utility insisted that
moused_port="/dev/psm0"
moused_type="auto"
moused_enable="YES"
Was the setup I need (despite a lot of posts saying to contrary) ...
More confusion ...
03-30-2007, 02:12 PM
#12
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Original Poster
Rep:
I fixed it ...
Last edited by maxvonseibold; 03-30-2007 at 02:17 PM .
03-30-2007, 02:16 PM
#13
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Original Poster
Rep:
I fixed it ...
Turned off moused (by commenting out all moused lines in rc.conf) and just let Xorg run its mouse.
Specified
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psm0"
EndSection
Section "Device"
Identifier "Card0"
# Driver "ati"
Driver "neomagic"
Option "SWCursor" #This option deals with the big gray square cursor problem.
Option "NoRendorExtension" #This option deals with the big gray square cursor problem.
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
Option "HWCursor" "Off"
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
EndSection
Thanks to everyone (except the sarcastic idiot).
03-31-2007, 02:29 AM
#14
Member
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700
Rep:
I've made a perfectly valid statement. I didn't help you and it's my right to do so.
Quote:
not that it is any of your concern seeing that your sole purpose so far is to cause trouble.
That's kind of a hypocritical statement .. the idea under which you've posted this thread is that it should be someone else's concern, not just yours.
I had intended my reply as a joke .. *had* .. before you took it seriously. So now I'm taking it seriously.
03-31-2007, 05:25 AM
#15
Member
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41
Original Poster
Rep:
A joke eh?
I love the way people always use that phrase to excuse anything. It goes hand in hand with religion as the ultimate get out clause for anything. It was not a joke, it was rude. I spent a lot of time and trouble trying to figure my problem out and figured I would ask. Your reply was frankly very annoying.
Your an odd fellow, looking at my post and taking little pot shots here and there for no real reason. A bit sad, considering your other posts seem pretty interesting.
Still, do what ever you want to do.
Tags
as , big , displays , freebsd , mouse , pointer , sony , square , vaio , xorgconf , z600
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 02:38 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News