Re: usb mouse is detected by fbsd 7 but not X

2008-06-30 Thread Aggelidis Nikos
I had the same problem when 2 weeks ago i installed FreeBSD7.

the solution was:

# Xorg -configure to create an default xorg.conf file.

{http://www.freebsd.org/doc/en/books/handbook/x-config.html}

Apparently for the mouse to work it needs a default{at least} xorg.conf file.

-nicolas

PS: If this is regular behaviour of X11 shouldn't a note be made in
the handbook?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Chip
Just installed FBSD 7, after being gone from FBSD the last 3 years. 
During boot I see that the mouse is detected as ums0, but cannot get it 
to work in X11. I cannot find any xorg.conf. or xorg.conf.new files. I 
have gnome installed and working, so I know X is working properly. Any 
suggestions on the usb mouse?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Gonzalo Nemmi
On Thursday 26 June 2008 20:49:46 Chip wrote:
 Just installed FBSD 7, after being gone from FBSD the last 3 years.
 During boot I see that the mouse is detected as ums0, but cannot get it
 to work in X11. I cannot find any xorg.conf. or xorg.conf.new files. I
 have gnome installed and working, so I know X is working properly. Any
 suggestions on the usb mouse?
 Thanks.

Using a Logitech MX510 usb mouse in here.

[EMAIL PROTECTED] ~]% cat /etc/X11/xorg.conf
...
Section InputDevice
# generated from default
Identifier Mouse0
Driver mouse
Option Protocol auto
Option Device /dev/sysmouse
Option Emulate3Buttons no
Option ZAxisMapping 4 5
EndSection
...
Section ServerLayout
Identifier Layout0
Screen Screen0
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 CorePointer
EndSection



-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Chip
My /etc/X11 directory is empty, so do I create a new file called 
xorg.conf and just try the code you have in it?

Thanks.

Gonzalo Nemmi wrote:

On Thursday 26 June 2008 20:49:46 Chip wrote:
  

Just installed FBSD 7, after being gone from FBSD the last 3 years.
During boot I see that the mouse is detected as ums0, but cannot get it
to work in X11. I cannot find any xorg.conf. or xorg.conf.new files. I
have gnome installed and working, so I know X is working properly. Any
suggestions on the usb mouse?
Thanks.



Using a Logitech MX510 usb mouse in here.

[EMAIL PROTECTED] ~]% cat /etc/X11/xorg.conf
...
Section InputDevice
# generated from default
Identifier Mouse0
Driver mouse
Option Protocol auto
Option Device /dev/sysmouse
Option Emulate3Buttons no
Option ZAxisMapping 4 5
EndSection
...
Section ServerLayout
Identifier Layout0
Screen Screen0
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 CorePointer
EndSection



  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Gonzalo Nemmi
No ..
Run a locate xorg.conf to see what xorg.conf file is beign used to run 
gnome ..
Check under /usr/local/etc/X11 to see if there's xorg.conf ..
If you are running gnome .. _there_has_to_be_ a xorg.conf file somewhere ...
Find that file a do your edits in there.

And BTW .. the code I passed on to you, are just the sections regarding the 
mouse and the serverlayout configuration part of the whole xorg.conf file .. 
Your not gonna do much with it alone .. you still need the complete xorg.conf 
file ..  


-- 
Blessings
Gonzalo Nemmi

On Thursday 26 June 2008 21:32:30 Chip wrote:
 My /etc/X11 directory is empty, so do I create a new file called
 xorg.conf and just try the code you have in it?
 Thanks.

 Gonzalo Nemmi wrote:
  On Thursday 26 June 2008 20:49:46 Chip wrote:
  Just installed FBSD 7, after being gone from FBSD the last 3 years.
  During boot I see that the mouse is detected as ums0, but cannot get it
  to work in X11. I cannot find any xorg.conf. or xorg.conf.new files. I
  have gnome installed and working, so I know X is working properly. Any
  suggestions on the usb mouse?
  Thanks.
 
  Using a Logitech MX510 usb mouse in here.
 
  [EMAIL PROTECTED] ~]% cat /etc/X11/xorg.conf
  ...
  Section InputDevice
  # generated from default
  Identifier Mouse0
  Driver mouse
  Option Protocol auto
  Option Device /dev/sysmouse
  Option Emulate3Buttons no
  Option ZAxisMapping 4 5
  EndSection
  ...
  Section ServerLayout
  Identifier Layout0
  Screen Screen0
  InputDeviceKeyboard0 CoreKeyboard
  InputDeviceMouse0 CorePointer
  EndSection

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Chip
I ran update.locatedb, twice, and ran locate xorg.conf and locate 
xorg.conf.new. The only result was for xorg.conf found in 
/usr/local/man/man5/xorg.conf.5.gz


--
Chip

Gonzalo Nemmi wrote:

No ..
Run a locate xorg.conf to see what xorg.conf file is beign used to run 
gnome ..

Check under /usr/local/etc/X11 to see if there's xorg.conf ..
If you are running gnome .. _there_has_to_be_ a xorg.conf file somewhere ...
Find that file a do your edits in there.

And BTW .. the code I passed on to you, are just the sections regarding the 
mouse and the serverlayout configuration part of the whole xorg.conf file .. 
Your not gonna do much with it alone .. you still need the complete xorg.conf 
file ..  



  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Malcolm Kay
On Fri, 27 Jun 2008 09:19 am, Chip wrote:
 Just installed FBSD 7, after being gone from FBSD the last 3 years. 
 During boot I see that the mouse is detected as ums0, but cannot get it 
 to work in X11. I cannot find any xorg.conf. or xorg.conf.new files. I 
 have gnome installed and working, so I know X is working properly. Any 
 suggestions on the usb mouse?
 Thanks.

You do have 'moused' enabled?

Malcolm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Paul Schmehl

--On June 26, 2008 6:34:37 PM -0700 Chip [EMAIL PROTECTED] wrote:


I ran update.locatedb, twice, and ran locate xorg.conf and locate
xorg.conf.new. The only result was for xorg.conf found in
/usr/local/man/man5/xorg.conf.5.gz



You need to run, as root, # Xorg -configure and create an xorg.conf 
file.  Then follow the instructions on the screen and run X using the 
xorg.conf.new file that it creates to verify that X will work.


If it does, copy the xorg.conf.new file to /etc/xorg.conf and your mouse 
should work fine.


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Ashish Shukla आशीष शुक्ल
,--- Chip  writes:
| Just installed FBSD 7, after being gone from FBSD the last 3
| years. During boot I see that the mouse is detected as ums0, but
| cannot get it to work in X11. I cannot find any xorg.conf. or
| xorg.conf.new files. I have gnome installed and working, so I know X
| is working properly. Any suggestions on the usb mouse?

When you plugin your USB mouse, is any moused corresponding to ums0 gets
started, hmm...:

88
abbe [~] monte-cristo% ps -A |grep moused |grep ums0
 1280  ??  Ss 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I
 /var/run/moused.ums0.pid
88

If not, then make sure you've moused is enabled in your /etc/rc.conf.

If yes, then create an xorg.conf using Xorg -configure and make sure it
has following into it:

88
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceSysMouse CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section InputDevice
Identifier  SysMouse
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
EndSection
88

HTH
-- 
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpU237yxoeXn.pgp
Description: PGP signature


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Chip
Yes, it is enabled and also have usbd_enable set to YES and mouse_type 
set to AUTO and mouse_port set to /dev/ums0 (which shows on the boot up 
screen and it shows my exact mouse brand and model).

--
Chip

Malcolm Kay wrote:

On Fri, 27 Jun 2008 09:19 am, Chip wrote:
  
Just installed FBSD 7, after being gone from FBSD the last 3 years. 
During boot I see that the mouse is detected as ums0, but cannot get it 
to work in X11. I cannot find any xorg.conf. or xorg.conf.new files. I 
have gnome installed and working, so I know X is working properly. Any 
suggestions on the usb mouse?

Thanks.



You do have 'moused' enabled?

Malcolm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Chip
Thanks for the tip, did that, and verified that the mouse is set to auto 
in the mouse section, still no mouse in any X window manager. Back out 
at the terminal I unplugged the mouse and plugged it back in and get 
this error -

unable to open /dev/ums0: no such file or directory
but when I view the directory /dev there is ums0 in the directory.
--
Chip

Paul Schmehl wrote:

--On June 26, 2008 6:34:37 PM -0700 Chip [EMAIL PROTECTED] wrote:


I ran update.locatedb, twice, and ran locate xorg.conf and locate
xorg.conf.new. The only result was for xorg.conf found in
/usr/local/man/man5/xorg.conf.5.gz



You need to run, as root, # Xorg -configure and create an xorg.conf 
file.  Then follow the instructions on the screen and run X using the 
xorg.conf.new file that it creates to verify that X will work.


If it does, copy the xorg.conf.new file to /etc/xorg.conf and your 
mouse should work fine.


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Chip

Chip wrote:
Thanks for the tip, did that, and verified that the mouse is set to 
auto in the mouse section, still no mouse in any X window manager. 
Back out at the terminal I unplugged the mouse and plugged it back in 
and get this error -

unable to open /dev/ums0: no such file or directory
but when I view the directory /dev there is ums0 in the directory.
--
Chip

One more note: I ran sysinstall and the mouse does work in the section 
to configure the mouse. But not in X still.




Paul Schmehl wrote:

--On June 26, 2008 6:34:37 PM -0700 Chip [EMAIL PROTECTED] wrote:


I ran update.locatedb, twice, and ran locate xorg.conf and locate
xorg.conf.new. The only result was for xorg.conf found in
/usr/local/man/man5/xorg.conf.5.gz



You need to run, as root, # Xorg -configure and create an xorg.conf 
file.  Then follow the instructions on the screen and run X using the 
xorg.conf.new file that it creates to verify that X will work.


If it does, copy the xorg.conf.new file to /etc/xorg.conf and your 
mouse should work fine.


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Chip
Ok, it's working now, thanks for all the suggestions, you got me 
straightened out. Once I got a xorg.conf.new configured correctly I 
forgot to copy it to /etc/X11. Dummy me, heheheh. (Been a long time 
since my last experience with BSD, about 3 years.)

Thanks guys,
Chip

Gonzalo Nemmi wrote:

No ..
Run a locate xorg.conf to see what xorg.conf file is beign used to run 
gnome ..

Check under /usr/local/etc/X11 to see if there's xorg.conf ..
If you are running gnome .. _there_has_to_be_ a xorg.conf file somewhere ...
Find that file a do your edits in there.

And BTW .. the code I passed on to you, are just the sections regarding the 
mouse and the serverlayout configuration part of the whole xorg.conf file .. 
Your not gonna do much with it alone .. you still need the complete xorg.conf 
file ..  



  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Paul Schmehl

--On June 26, 2008 7:52:07 PM -0700 Chip [EMAIL PROTECTED] wrote:


Thanks for the tip, did that, and verified that the mouse is set to auto
in the mouse section, still no mouse in any X window manager. Back out
at the terminal I unplugged the mouse and plugged it back in and get
this error -
unable to open /dev/ums0: no such file or directory
but when I view the directory /dev there is ums0 in the directory.
--


What version of FreeBSD are you running?  If 7.0 STABLE, you should 
probably csup source and rebuild kernel and world.  I had a similar 
problem with the early release and it was related to usb devices not being 
detected (which sounds like what your problem is.)


BTW, I don't have anything in /etc/rc.conf regarding a mouse.  If you 
enable moused, you're overriding the default behavior of the usb mouse and 
forcing it to behave according to your dictates.


The mouse should work in Xorg without anything entered in /etc/rc.conf.

The first thing you should do is go to the console, unplug and then replug 
the mouse.  You should see the mouse being disconnected and then 
re-detected by messages written to console.  If you don't see that, your 
usb mouse isn't being detected properly.


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.


Re: usb mouse is detected by fbsd 7 but not X

2008-06-26 Thread Chip

Paul Schmehl wrote:


What version of FreeBSD are you running?  

7.0-Release
If 7.0 STABLE, you should probably csup source and rebuild kernel and 
world.  I had a similar problem with the early release and it was 
related to usb devices not being detected (which sounds like what your 
problem is.)


BTW, I don't have anything in /etc/rc.conf regarding a mouse.  If you 
enable moused, you're overriding the default behavior of the usb mouse 
and forcing it to behave according to your dictates.


The mouse should work in Xorg without anything entered in /etc/rc.conf.

Yep, you're right. I commented out the lines regarding the mouse in the 
rc.conf and the mouse works fine in gnome.

--
Chip

The first thing you should do is go to the console, unplug and then 
replug the mouse.  You should see the mouse being disconnected and 
then re-detected by messages written to console.  If you don't see 
that, your usb mouse isn't being detected properly.


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]