DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th May 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default Mouse not working with XFree86

Hello,

I am having trouble getting the mouse to move under X - X starts, but the mouse doesn't move. The mouse cursor appears, but it doesn't move around like it should. The mouse is just a cheap HP PS/2 ball mouse with a scroll wheel. The server is XFree86 4.5.0. My mouse section for XF86Config is:

Code:
Section "InputDevice"
    Identifier "Mouse1"
    Driver     "mouse"
    Option     "Protocol" "wsmouse"
    Option     "Device"   "/dev/wsmouse"
EndSection
I suspect that the issue is with the protocol, but I'm not certain. I have tried PS/2, BusMouse, Auto, SysMouse, IMPS/2, Microsoft, IntelliMouse, Logitech, I probably tried one or two others that I can't recall.

X starts up (which won't happen if I change the device - I've tried), the mouse cursor appears, but it won't move.


Any suggestions?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #2   (View Single Post)  
Old 20th May 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default

Hello,

I dug around my log files for Slackware (which has protocol set to "auto" in the configuration file) and found that the protocol used is ExplorerPS/2. So I set the protocol in NetBSD to ExplorerPS/2, and I get:

Code:
Mouse1: protocol "ExplorerPS/2" is not supported on this platform

Why isn't supported (XFree86's website says it is, but it also says to use device "wsmouse0" which will cause X to crash - device not found; I have to use "wsmouse"), I don't know? I also don't know why the configuration program will allow me to select protocols that aren't supported by the platform.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #3   (View Single Post)  
Old 20th May 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default

Hello,

O.K., so further digging has come up with this:

I think the problem is that NetBSD is not detecting the PS/2 mouse port. I used another mouse via USB and it worked. If I plug it in to the PS/2 port, it doesn't. Nor does dmesg reveal any information at all about a mouse. So why don't I just use the USB mouse all the time - because if I try to boot with it plugged in the USB port I get this boot time panic:

Code:
panic: ohci_softintr: addr 0x000dld70
stopped at        netbsd:cpu_Debugger+0x4:    popl    %ebp
So, I have two errors, I can't detect the PS/2 port and I can't boot with a USB mouse. I would like to get to the bottom of both of them, first and foremost - and hopefully easiest - detecting the PS/2 port.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #4   (View Single Post)  
Old 30th June 2008
kasse kasse is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 67
Thanked 0 Times in 0 Posts
Default

I too have the same problem with NetBSD 4.0, the only mouse that works is a usb mouse as wsmouse.
I have tried all sorts of things in moused -p /dev/{port} -i type and in the XF86Config. I have tried ps2-mice, serial mice, logitech trackball with all sorts of protocols and devices for the above types of mice but only the usb mouse works with protocol wsmouse and device /dev/wsmouse.
I am not sure I really understand what wscons is from reading 8.1 in the netbsd guide, but that is the only think that works of all the combinations I have tried.
Can someone please help me to get the serial or ps2 mouse working on XF86, I need the usb mouse for my other computer.
Reply With Quote
  #5   (View Single Post)  
Old 30th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default

Hello,

I have filed a bug report with NetBSD - so hopefully it will be fixed in the nearing future.

NetBSD Problem Report #38727
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #6   (View Single Post)  
Old 30th June 2008
kasse kasse is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 67
Thanked 0 Times in 0 Posts
Default

I'm just entering the netbsd realm, would I be better of switching to xorg right away?
Reply With Quote
  #7   (View Single Post)  
Old 30th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default

Hello,

Quote:
Originally Posted by kasse View Post
I'm just entering the netbsd realm, would I be better of switching to xorg right away?
Not for this issue, this isn't an X issue - the ps/2 mouse is not being recognized by the kernel.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse freezes in X spiderpig OpenBSD Installation and Upgrading 0 20th April 2009 09:05 AM
XFree86 vs. X.org JMJ_coder NetBSD General 24 24th November 2008 07:11 PM
Not nice PS/2 mouse :/ latorion FreeBSD General 21 11th October 2008 06:02 PM
help with usb mouse?? renej FreeBSD General 14 18th September 2008 01:25 PM
ATI, XFree86, and NetBSD Onyx NetBSD General 6 17th August 2008 03:58 PM


All times are GMT. The time now is 04:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick