Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse on xorg-x11 6.8.0-r3 Doesn't Work [RESOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Mon Dec 27, 2004 10:41 pm    Post subject: Mouse on xorg-x11 6.8.0-r3 Doesn't Work [RESOLVED] Reply with quote

Hi all,

I've just installed xorg-x11 6.8.0-r3 and using kernel 2.6.9-gentoo-r10 on UltraSparc IIi (Sabre). The X windows starts just fine, the keyboard works, but the mouse doesn't work. I have a keyboard type 6 and the mouse is attached to it.

Below is the excerpt:
Code:
Section "ServerLayout"
     Identifier     "X.org Configured"
     Screen 0 "Screen0" 0 0
     Screen 1 "Screen1" RightOf "Screen0"
     InputDevice     "Mouse0" "CorePointer"
     InputDevice     "Keyboard0" "CoreKeyboard"

[... cut ...]

Section "InputDevice"
     Identifier     "Keyboard0"
     Driver      "kbd"
     Option     "Protocol" "Standard"
     Option     "XkbModel" "type5"
     Option     "XkbRules" "xorg"
     Option     "XkbLayout" "en_US"
     Option     "XkbGeometry" "sun(type5)"
EndSection

Section "InputDevice"
     Identifier     "Mouse0"
     Driver      "mouse"
     Option      "Protocol" "auto" # IMPS/2 and Busmouse doesn't work
     Option      "Device" "/dev/input/mice" # /dev/mouse also doesn't work
     Option      "Emulate3Button" "false"
EndSection


In my kernel configuration, I've configured the following:
Code:
CONFIG_SPARC64=y
CONFIG_64BIT=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_TIME_INTERPOLATION=y

CONFIG_EXPERIMENTAL=y
[... cut ...]
CONFIG_MODULES=y
CONFIG_MODULES_UNLOAD=y
CONFIG_MODULES_FORCE_UNLOAD=y
CONFIG_MODULES_OBSOLETE_MODPARM=y
CONFIG_MODULES_MODVERSIONS=y
CONFIG_MODULES_KMOD=y
[... cut ...]
CONFIG_SBUS=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
[... cut ...]
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
[... cut ...]
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=m
CONFIG_KEYBOARD_SUNKBD=y
CONFIG_KEYBOARD_LKKBD=m
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_SERIAL=m
CONFIG_MOUSE_VSXXXAA=m
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_SPARCSPKR=y
CONFIG_INPUT_UINPUT=m

[... cut ...]
CONFIG_SERIAL_SUNCORE=y
CONFIG_SERIAL_SUNZILOG=y
CONFIG_SERIAL_SUNZILOG_CONSOLE=y
CONFIG_SERIAL_SUNSU=y
CONFIG_SERIAL_SUNSU_CONSOLE=y
CONFIG_SERIAL_SUNSAB=m
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_PRINTER=m



I already modprobe psmouse, but it still doesn't work. Help? Thanks.


Last edited by robbyjo on Tue Dec 28, 2004 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Tue Dec 28, 2004 1:12 pm    Post subject: Reply with quote

Try unplugging the mouse from the keyboard after X starts up, then plugging it back in.
This seems to be a rather common complaint with kernels 2.6.x, and is unrelated to X.

If you are seeing the problem I am aware of, it is kernel related, and you see it with gpm as well.
If you try the unplug mouse/plug mouse in, and it works or doesn't, please respond one way or the other.
There does not seem to be a Bug open on this, so if unplug/replug works, it would be good
to open one (which you can go ahead and do, if you like.)

I hope this helps,
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Tue Dec 28, 2004 7:22 pm    Post subject: Reply with quote

Ferris,

Thanks a lot! It works now! :D

What I did was setting the mouse protocol back to auto, unplugging the mouse and plugging it back, then restarting the xdm by invoking "/etc/init.d/xdm restart"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum