DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th July 2011
mike25 mike25 is offline
New User
 
Join Date: Jun 2011
Posts: 3
Thanked 0 Times in 0 Posts
Default Mouse clicking not working correctly with X

Hello,

I just installed OpenBSD 4.9 on my old computer. I am having a strange problem with the mouse in X. When I press the left or the right mouse button, it performs the correct function in addition to scrolling up, as if I had moved the scroll wheel up. The scroll wheel does not work at all. The mouse is a Microsoft Standard Wireless Optical Mouse.

Here is my /etc/X11/xorg.conf:
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/OTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "dri2"
	Load  "extmod"
	Load  "glx"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "wsmouse"
	Option	    "Device" "/dev/wsmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	#DisplaySize	  320   240	# mm
	Identifier   "Monitor0"
	VendorName   "DEL"
	ModelName    "DELL P793"
	HorizSync    30.0 - 96.0
	VertRefresh  50.0 - 160.0
	Option	    "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
        #Option     "FPScale"            	# [<bool>]
        #Option     "FPTweak"            	# <i>
        #Option     "DualHead"           	# [<bool>]
	Identifier  "Card0"
	Driver      "nv"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes	"1024x768"
	EndSubSection
EndSection
It cannot be a hardware problem because it works fine with other operating systems (FreeBSD and Linux).

What could I do to fix the problem? Any help is appreciated.

Michael
Reply With Quote
  #2   (View Single Post)  
Old 12th July 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 305
Thanked 9 Times in 9 Posts
Default

If the scroll wheel doesn't work, try modifying the ZAxisMapping option in your xorg.conf:

Option "ZAxisMapping" "4 5"
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
  #3   (View Single Post)  
Old 12th July 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,432
Thanked 214 Times in 189 Posts
Default

Quote:
Any help is appreciated.
I've not seen anything like this. With that out of the way, here are the places I would look for information.
  1. Before doing anything else, check your Xorg log (you'll find the most recent two in /var/log/). There may be an indication of a problem in the messages therein.
  2. Check your dmesg(8). The mouse may be vanilla, but the interface or controller might not. Use that information with #3.
  3. Check the misc@ archives, using the mouse and controller drivers from your dmesg. There's nothing in misc@ that matches your "scroll wheel" issue closely, though there was someone with a similar problem with a KVM mouse that turned out to be hardware; it just manifested itself at the time of an upgrade.
Reply With Quote
  #4   (View Single Post)  
Old 16th July 2011
mike25 mike25 is offline
New User
 
Join Date: Jun 2011
Posts: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rocket357 View Post
If the scroll wheel doesn't work, try modifying the ZAxisMapping option in your xorg.conf:

Option "ZAxisMapping" "4 5"
I tried this; it did not work - moving the scroll wheel has no effect.

Quote:
Originally Posted by jggimi View Post
I've not seen anything like this. With that out of the way, here are the places I would look for information.
  1. Before doing anything else, check your Xorg log (you'll find the most recent two in /var/log/). There may be an indication of a problem in the messages therein.
  2. Check your dmesg(8). The mouse may be vanilla, but the interface or controller might not. Use that information with #3.
  3. Check the misc@ archives, using the mouse and controller drivers from your dmesg. There's nothing in misc@ that matches your "scroll wheel" issue closely, though there was someone with a similar problem with a KVM mouse that turned out to be hardware; it just manifested itself at the time of an upgrade.
My Xorg log appears to show no indication of the problem (I removed some of the log that was irrelevant to shorten it):
Code:
[889504.407] (--) checkDevMem: using aperture driver /dev/xf86
[889504.432] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
[889504.443] 
X.Org X Server 1.9.3
Release Date: 2010-12-13
[889504.443] X Protocol Version 11, Revision 0
[889504.443] Build Operating System: OpenBSD 4.9 i386 
[889504.444] Current Operating System: OpenBSD desk0.home 4.9 GENERIC#671 i386
[889504.444] Build Date: 01 March 2011  10:38:27AM
[889504.444]  
[889504.444] Current version of pixman: 0.20.2
[889504.444] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[889504.444] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[889504.444] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 16 23:15:29 2011
[889504.445] (==) Using config file: "/etc/X11/xorg.conf"
[889504.445] (==) ServerLayout "X.org Configured"
[889504.445] (**) |-->Screen "Screen0" (0)
[889504.445] (**) |   |-->Monitor "Monitor0"
[889504.446] (**) |   |-->Device "Card0"
[889504.446] (**) |-->Input Device "Mouse0"
[889504.446] (**) |-->Input Device "Keyboard0"
[889504.446] (==) Disabling SIGIO handlers for input devices
[889504.446] (==) Not automatically adding devices
[889504.446] (==) Not automatically enabling devices
[889504.446] (**) FontPath set to:
	/usr/X11R6/lib/X11/fonts/misc/,
	/usr/X11R6/lib/X11/fonts/TTF/,
	/usr/X11R6/lib/X11/fonts/OTF/,
	/usr/X11R6/lib/X11/fonts/Type1/,
	/usr/X11R6/lib/X11/fonts/100dpi/,
	/usr/X11R6/lib/X11/fonts/75dpi/,
	/usr/X11R6/lib/X11/fonts/misc/,
	/usr/X11R6/lib/X11/fonts/TTF/,
	/usr/X11R6/lib/X11/fonts/OTF/,
	/usr/X11R6/lib/X11/fonts/Type1/,
	/usr/X11R6/lib/X11/fonts/100dpi/,
	/usr/X11R6/lib/X11/fonts/75dpi/
[889504.446] (**) ModulePath set to "/usr/X11R6/lib/modules"
[889504.446] (II) Loader magic: 0x3c028c20
[889504.446] (II) Module ABI versions:
[889504.446] 	X.Org ANSI C Emulation: 0.4
[889504.446] 	X.Org Video Driver: 8.0
[889504.446] 	X.Org XInput driver : 11.0
[889504.446] 	X.Org Server Extension : 4.0
[889504.447] (--) PCI:*(0:1:0:0) 10de:0201:1462:8851 rev 163, Mem @ 0xfc000000/16777216, 0xf4000000/67108864, 0xf3f80000/524288, BIOS @ 0x????????/65536
[889504.447] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[889504.447] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[889504.447] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[889504.447] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[889504.447] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[889504.447] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[889504.447] (II) LoadModule: "dbe"
[889504.449] (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so
[889504.449] (II) Module dbe: vendor="X.Org Foundation"
[889504.449] 	compiled for 1.9.3, module version = 1.0.0
[889504.449] 	Module class: X.Org Server Extension
[889504.449] 	ABI class: X.Org Server Extension, version 4.0
[889504.449] (II) Loading extension DOUBLE-BUFFER
[889504.449] (II) LoadModule: "dri"
[889504.450] (II) Loading /usr/X11R6/lib/modules/extensions/libdri.so
[889504.451] (II) Module dri: vendor="X.Org Foundation"
[889504.451] 	compiled for 1.9.3, module version = 1.0.0
[889504.451] 	ABI class: X.Org Server Extension, version 4.0
[889504.451] (II) Loading extension XFree86-DRI
[889504.451] (II) LoadModule: "dri2"
[889504.453] (II) Loading /usr/X11R6/lib/modules/extensions/libdri2.so
[889504.453] (II) Module dri2: vendor="X.Org Foundation"
[889504.453] 	compiled for 1.9.3, module version = 1.2.0
[889504.453] 	ABI class: X.Org Server Extension, version 4.0
[889504.453] (II) Loading extension DRI2
[889504.453] (II) LoadModule: "extmod"
[889504.455] (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
[889504.455] (II) Module extmod: vendor="X.Org Foundation"
[889504.455] 	compiled for 1.9.3, module version = 1.0.0
[889504.455] 	Module class: X.Org Server Extension
[889504.455] 	ABI class: X.Org Server Extension, version 4.0
[889504.455] (II) Loading extension MIT-SCREEN-SAVER
[889504.455] (II) Loading extension XFree86-VidModeExtension
[889504.455] (II) Loading extension XFree86-DGA
[889504.455] (II) Loading extension DPMS
[889504.455] (II) Loading extension XVideo
[889504.455] (II) Loading extension XVideo-MotionCompensation
[889504.456] (II) Loading extension X-Resource
[889504.456] (II) LoadModule: "glx"
[889504.457] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[889504.458] (II) Module glx: vendor="X.Org Foundation"
[889504.458] 	compiled for 1.9.3, module version = 1.0.0
[889504.458] 	ABI class: X.Org Server Extension, version 4.0
[889504.458] (==) AIGLX enabled
[889504.458] (II) Loading extension GLX
[889504.458] (II) LoadModule: "record"
[889504.459] (II) Loading /usr/X11R6/lib/modules/extensions/librecord.so
[889504.460] (II) Module record: vendor="X.Org Foundation"
[889504.460] 	compiled for 1.9.3, module version = 1.13.0
[889504.460] 	Module class: X.Org Server Extension
[889504.460] 	ABI class: X.Org Server Extension, version 4.0
[889504.460] (II) Loading extension RECORD
[889504.460] (II) LoadModule: "nv"
[889504.461] (II) Loading /usr/X11R6/lib/modules/drivers/nv_drv.so
[889504.461] (II) Module nv: vendor="X.Org Foundation"
[889504.461] 	compiled for 1.9.3, module version = 2.1.18
[889504.461] 	Module class: X.Org Video Driver
[889504.461] 	ABI class: X.Org Video Driver, version 8.0
[889504.461] (II) LoadModule: "mouse"
[889504.463] (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.so
[889504.463] (II) Module mouse: vendor="X.Org Foundation"
[889504.463] 	compiled for 1.9.3, module version = 1.6.0
[889504.463] 	Module class: X.Org XInput Driver
[889504.463] 	ABI class: X.Org XInput driver, version 11.0
[889504.463] (II) LoadModule: "kbd"
[889504.465] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[889504.465] (II) Module kbd: vendor="X.Org Foundation"
[889504.465] 	compiled for 1.9.3, module version = 1.5.0
[889504.465] 	Module class: X.Org XInput Driver
[889504.465] 	ABI class: X.Org XInput driver, version 11.0
[889504.470] (--) NV: Found NVIDIA GeForce3 Ti 200 at 01@00:00:0
[889504.471] (II) Loading sub module "int10"
[889504.471] (II) LoadModule: "int10"
[889504.473] (II) Loading /usr/X11R6/lib/modules/libint10.so
[889504.474] (II) Module int10: vendor="X.Org Foundation"
[889504.474] 	compiled for 1.9.3, module version = 1.0.0
[889504.474] 	ABI class: X.Org Video Driver, version 8.0
[889504.474] (II) NV(0): Initializing int10
[889504.474] (==) NV(0): Write-combining range (0xa0000,0x20000) was already clear
[889504.474] (==) NV(0): Write-combining range (0xc0000,0x40000) was already clear
[889504.475] (II) NV(0): Primary V_BIOS segment is: 0xc000
[889504.475] (==) NV(0): Write-combining range (0x0,0x1000) was already clear
[889504.475] (--) NV(0): Chipset: "GeForce3 Ti 200"
[889504.475] (==) NV(0): Depth 24, (--) framebuffer bpp 32
[889504.475] (==) NV(0): RGB weight 888
[889504.475] (==) NV(0): Default visual is TrueColor
[889504.475] (II) Loading sub module "vgahw"
[889504.475] (II) LoadModule: "vgahw"
[889504.477] (II) Loading /usr/X11R6/lib/modules/libvgahw.so
[889504.478] (II) Module vgahw: vendor="X.Org Foundation"
[889504.478] 	compiled for 1.9.3, module version = 0.1.0
[889504.478] 	ABI class: X.Org Video Driver, version 8.0
[889504.478] (==) NV(0): Using HW cursor
[889504.478] (--) NV(0): Linear framebuffer at 0xF4000000
[889504.478] (--) NV(0): MMIO registers at 0xFC000000
[889504.479] (II) Loading sub module "i2c"
[889504.479] (II) LoadModule: "i2c"
[889504.479] (II) Module "i2c" already built-in
[889504.479] (II) Loading sub module "ddc"
[889504.479] (II) LoadModule: "ddc"
[889504.479] (II) Module "ddc" already built-in
[889504.479] (II) NV(0): I2C bus "DDC" initialized.
[889504.479] (II) NV(0): Probing for EDID on I2C bus A...
[889504.479] (II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0.
[889504.548] (--) NV(0): DDC detected a CRT:
[889504.548] (II) NV(0): Manufacturer: DEL  Model: 3005  Serial#: 1145722198
[889504.548] (II) NV(0): Year: 2002  Week: 17
[889504.549] (II) NV(0): EDID Version: 1.3
[889504.549] (II) NV(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[889504.549] (II) NV(0): Sync:  Separate  Composite
[889504.549] (II) NV(0): Max Image Size [cm]: horiz.: 32  vert.: 24
[889504.549] (II) NV(0): Gamma: 2.26
[889504.549] (II) NV(0): DPMS capabilities: Off; RGB/Color Display
[889504.549] (II) NV(0): First detailed timing is preferred mode
[889504.549] (II) NV(0): GTF timings supported
[889504.549] (II) NV(0): redX: 0.625 redY: 0.338   greenX: 0.281 greenY: 0.602
[889504.549] (II) NV(0): blueX: 0.149 blueY: 0.073   whiteX: 0.283 whiteY: 0.298
[889504.549] (II) NV(0): Supported established timings:
[889504.549] (II) NV(0): 720x400@70Hz
[889504.549] (II) NV(0): 640x480@60Hz
[889504.549] (II) NV(0): 1024x768@75Hz
[889504.549] (II) NV(0): Manufacturer's mask: 0
[889504.549] (II) NV(0): Supported standard timings:
[889504.549] (II) NV(0): #0: hsize: 1024  vsize 768  refresh: 85  vid: 22881
[889504.549] (II) NV(0): #1: hsize: 1280  vsize 1024  refresh: 85  vid: 39297
[889504.549] (II) NV(0): #2: hsize: 800  vsize 600  refresh: 85  vid: 22853
[889504.549] (II) NV(0): #3: hsize: 640  vsize 480  refresh: 85  vid: 22833
[889504.549] (II) NV(0): #4: hsize: 1600  vsize 1200  refresh: 75  vid: 20393
[889504.549] (II) NV(0): Supported detailed timing:
[889504.549] (II) NV(0): clock: 94.5 MHz   Image Size:  312 x 234 mm
[889504.549] (II) NV(0): h_active: 1024  h_sync: 1072  h_sync_end 1168 h_blank_end 1376 h_border: 0
[889504.549] (II) NV(0): v_active: 768  v_sync: 769  v_sync_end 772 v_blanking: 808 v_border: 0
[889504.549] (II) NV(0): Serial No: 4D02624MDJUV
[889504.549] (II) NV(0): Monitor name: DELL P793
[889504.549] (II) NV(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 96 kHz, PixClock max 215 MHz
[889504.549] (II) NV(0): Using CRT on CRTC 0
[889504.550] (II) NV(0): EDID vendor "DEL", prod id 12293
[889504.550] (II) NV(0): Using hsync ranges from config file
[889504.550] (II) NV(0): Using vrefresh ranges from config file
[889504.550] (II) NV(0): Printing DDC gathered Modelines:
[889504.555] (**) NV(0): Display dimensions: (320, 240) mm
[889504.555] (**) NV(0): DPI set to (81, 81)
[889504.555] (II) Loading sub module "fb"
[889504.555] (II) LoadModule: "fb"
[889504.557] (II) Loading /usr/X11R6/lib/modules/libfb.so
[889504.559] (II) Module fb: vendor="X.Org Foundation"
[889504.559] 	compiled for 1.9.3, module version = 1.0.0
[889504.559] 	ABI class: X.Org ANSI C Emulation, version 0.4
[889504.559] (II) Loading sub module "xaa"
[889504.559] (II) LoadModule: "xaa"
[889504.561] (II) Loading /usr/X11R6/lib/modules/libxaa.so
[889504.563] (II) Module xaa: vendor="X.Org Foundation"
[889504.563] 	compiled for 1.9.3, module version = 1.2.1
[889504.563] 	ABI class: X.Org Video Driver, version 8.0
[889504.563] (II) Loading sub module "ramdac"
[889504.563] (II) LoadModule: "ramdac"
[889504.563] (II) Module "ramdac" already built-in
[889504.563] (==) NV(0): Write-combining range (0x0,0x1000) was already clear
[889504.563] (--) Depth 24 pixmap format is 32 bpp
[889504.565] (==) NV(0): Write-combining range (0xa0000,0x10000) was already clear
[889504.691] (II) NV(0): Using XFree86 Acceleration Architecture (XAA)
[889504.691] 	Screen to screen bit blits
[889504.691] 	Solid filled rectangles
[889504.691] 	8x8 mono pattern filled rectangles
[889504.691] 	Indirect CPU to Screen color expansion
[889504.691] 	Solid Lines
[889504.691] 	Scanline Image Writes
[889504.692] 	Setting up tile and stipple cache:
[889504.692] 		32 128x128 slots
[889504.692] 		32 256x256 slots
[889504.692] 		16 512x512 slots
[889504.692] (==) NV(0): Backing store disabled
[889504.692] (==) NV(0): Silken mouse disabled
[889504.694] (**) NV(0): DPMS enabled
[889504.694] (==) RandR enabled
[889504.694] (II) Initializing built-in extension Generic Event Extension
[889504.694] (II) Initializing built-in extension SHAPE
[889504.694] (II) Initializing built-in extension MIT-SHM
[889504.694] (II) Initializing built-in extension XInputExtension
[889504.694] (II) Initializing built-in extension XTEST
[889504.694] (II) Initializing built-in extension BIG-REQUESTS
[889504.694] (II) Initializing built-in extension SYNC
[889504.694] (II) Initializing built-in extension XKEYBOARD
[889504.694] (II) Initializing built-in extension XC-MISC
[889504.694] (II) Initializing built-in extension XINERAMA
[889504.694] (II) Initializing built-in extension XFIXES
[889504.694] (II) Initializing built-in extension RENDER
[889504.694] (II) Initializing built-in extension RANDR
[889504.694] (II) Initializing built-in extension COMPOSITE
[889504.694] (II) Initializing built-in extension DAMAGE
[889504.726] (II) AIGLX: Screen 0 is not DRI2 capable
[889504.726] (II) AIGLX: Screen 0 is not DRI capable
[889504.737] (II) AIGLX: Loaded and initialized /usr/X11R6/lib/modules/dri/swrast_dri.so
[889504.737] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[889505.095] (**) Option "Protocol" "wsmouse"
[889505.095] (**) Mouse0: Protocol: wsmouse
[889505.095] (**) Option "CorePointer"
[889505.095] (**) Mouse0: always reports core events
[889505.095] (**) Option "Device" "/dev/wsmouse"
[889505.127] (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
[889505.127] (**) Option "ZAxisMapping" "4 5"
[889505.127] (**) Mouse0: ZAxisMapping: buttons 4 and 5
[889505.127] (**) Mouse0: Buttons: 9
[889505.127] (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
[889505.128] (**) Mouse0: (accel) keeping acceleration scheme 1
[889505.128] (**) Mouse0: (accel) acceleration profile 0
[889505.128] (**) Mouse0: (accel) acceleration factor: 2.000
[889505.128] (**) Mouse0: (accel) acceleration threshold: 4
[889505.128] (**) Option "CoreKeyboard"
[889505.128] (**) Keyboard0: always reports core events
[889505.128] (**) Option "Protocol" "standard"
[889505.128] (**) Keyboard0: Protocol: standard
[889505.128] (--) Keyboard0: using wscons layout gb
[889505.128] (**) Option "XkbRules" "xorg"
[889505.128] (**) Keyboard0: XkbRules: "xorg"
[889505.128] (**) Option "XkbModel" "pc105"
[889505.128] (**) Keyboard0: XkbModel: "pc105"
[889505.128] (**) Option "XkbLayout" "gb"
[889505.128] (**) Keyboard0: XkbLayout: "gb"
[889505.128] (**) Option "CustomKeycodes" "off"
[889505.128] (**) Keyboard0: CustomKeycodes disabled
[889505.128] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
[889707.399] (II) 3rd Button detected: disabling emulate3Button
[890063.478] (II) UnloadModule: "mouse"
[890063.495] (II) UnloadModule: "kbd"
According to my dmesg, it appears to be using uhid/uhidev. Here's the dmesg:
Code:
OpenBSD 4.9 (GENERIC) #671: Wed Mar  2 07:09:00 MST 2011
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.26GHz ("GenuineIntel" 686-class) 2.26 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem  = 535883776 (511MB)
avail mem = 516984832 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/22/02, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (59 entries)
bios0: vendor Dell Computer Corporation version "A06" date 05/22/2002
bios0: Dell Computer Corporation Dimension 8200
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC BOOT
acpi0: wakeup devices VBTN(S4) PCI0(S5) USB0(S3) USB1(S3) PCI1(S5) MOU_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PCI1)
acpicpu0 at acpi0
acpibtn0 at acpi0: VBTN
bios0: ROM list: 0xc0000/0xc000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82850 Host" rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe8000000, size 0x8000000
ppb0 at pci0 dev 1 function 0 "Intel 82850/82860 AGP" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce3 Ti 200" rev 0xa3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x04
pci2 at ppb1 bus 2
emu0 at pci2 dev 7 function 0 "Creative Labs SoundBlaster Live" rev 0x0a: apic 1 int 16 (irq 7)
ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at emu0
"Creative Labs PCI Gameport Joystick" rev 0x0a at pci2 dev 7 function 1 not configured
vendor "Conexant", unknown product 0x2016 (class communications subclass miscellaneous, rev 0x01) at pci2 dev 8 function 0 not configured
"VIA VT6306 FireWire" rev 0x46 at pci2 dev 9 function 0 not configured
rl0 at pci2 dev 10 function 0 "Realtek 8139" rev 0x10: apic 1 int 19 (irq 11), address 00:40:f4:b2:98:b3
rlphy0 at rl0 phy 0: RTL internal PHY
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x04
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST340016A>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITEON, DVD-ROM LTD163, GDHA> ATAPI 5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <PLEXTOR, DVDR PX-708A, 1.11> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x04: apic 1 int 19 (irq 11)
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x04: apic 1 int 17 (irq 10)
iic0 at ichiic0
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x04: apic 1 int 23 (irq 9)
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Microsoft Microsoft Wireless Optical Desktop\M-. 2.10" rev 2.00/0.41 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "Microsoft Microsoft Wireless Optical Desktop\M-. 2.10" rev 2.00/0.41 addr 2
uhidev1: iclass 3/0, 23 report ids
uhid0 at uhidev1 reportid 1: input=7, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=1, output=0, feature=0
uhid3 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid4 at uhidev1 reportid 5: input=3, output=0, feature=0
uhid5 at uhidev1 reportid 6: input=0, output=0, feature=1
ums0 at uhidev1 reportid 17: 5 buttons, Z dir
wsmouse0 at ums0 mux 0
uhid6 at uhidev1 reportid 18: input=0, output=0, feature=1
uhid7 at uhidev1 reportid 19: input=1, output=0, feature=0
uhid8 at uhidev1 reportid 20: input=1, output=0, feature=0
uhid9 at uhidev1 reportid 21: input=3, output=0, feature=0
uhid10 at uhidev1 reportid 23: input=0, output=0, feature=1
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
I searched the misc@ archive, but nothing relevant appears to show up. I'm not sure where to go from now.
Reply With Quote
  #5   (View Single Post)  
Old 17th July 2011
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 546
Thanked 9 Times in 9 Posts
Default

It looks like your mouse is being given both
Quote:
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Microsoft Microsoft Wireless Optical Desktop\M-. 2.10" rev 2.00/0.41 addr 2
uhidev0: iclass 3/1
and
Quote:
uhidev1 at uhub0 port 1 configuration 1 interface 1 "Microsoft Microsoft Wireless Optical Desktop\M-. 2.10" rev 2.00/0.41 addr 2
uhidev1: iclass 3/0, 23 report ids
This looks unusual to me - perhaps this is why your mouse keys seem to have two functions.
Reply With Quote
  #6   (View Single Post)  
Old 17th July 2011
mike25 mike25 is offline
New User
 
Join Date: Jun 2011
Posts: 3
Thanked 0 Times in 0 Posts
Default

Possibly, but the mouse and the keyboard go together using the same USB port, so perhaps one is for the mouse and the other is for the keyboard.
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
CPU power saving done correctly MihaiM OpenBSD General 6 24th November 2010 03:40 AM
Mouse:X (not-working) and tty-Console (working), in 8.0 ykt FreeBSD General 1 22nd December 2009 12:26 PM
startx not starting correctly - XOrg 7.4_2 Mantazz FreeBSD Ports and Packages 1 8th July 2009 04:17 PM
VNC not viewing correctly disappearedng FreeBSD General 6 30th August 2008 05:03 PM
Mouse not working with XFree86 JMJ_coder NetBSD General 6 30th June 2008 10:43 PM


All times are GMT. The time now is 06:32 PM.


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