View previous topic :: View next topic |
Author |
Message |
lianlian n00b
Joined: 09 Apr 2005 Posts: 30
|
Posted: Sat Apr 16, 2005 6:43 am Post subject: need help installing keyboard and mouse |
|
|
I need help installing keyboard and mouse of a ultra5. Its a type5 model for keyboard and mouse. When I ran the tests, my keyboard didn't work, i can only move up and down from the mouse.
xorg.conf.new
Code: | Selection "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbModel" "type5"
Option "XkbRules" "sun"
Option "XkbLayout" "us"
Option "XkbVariant" "basic"
EndSection
Selection "InputDevice"
Identifier "Mouse
Driver "mouse"
Option "Protocol" "MouseSystem"
Option "Device" "/dev/sunmouse"
Option "Emulate3Buttons" "false"
EndSection |
|
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Sat Apr 16, 2005 1:48 pm Post subject: |
|
|
I am assuming this is a kernel-2.4.xx system because /dev/sunmouse works for your mouse. Here is a working keyboard definition from the Ultra2 I am writing this note on (also kernel-2.4.xx system):
Code: |
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun(type5)"
Option "XkbModel" "type5"
Option "XkbRules" "sun"
Option "XkbLayout" "en_US"
Option "XkbTypes" "types/complete"
Option "XkbCompat" "compat/complete"
Option "XkbGeometry" "sun(type5unix)"
EndSection
|
I have working xorg.conf files both for kernel-2.4.xx and for 2.6.xx, but if you don't hava a Creator or Elite video card, don't use the sunffb driver of course. See http://dev.gentoo.org/~fmccor/docs/xorg/xorg.conf/xorg.conf.html
Hope this helps,
Regards,
Ferris |
|
Back to top |
|
|
lianlian n00b
Joined: 09 Apr 2005 Posts: 30
|
Posted: Sat Apr 16, 2005 10:26 pm Post subject: |
|
|
i changed the Driver "kbd" to Driver "Keyboard" and my keyboard works, but my mouse still can only move up and down. |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Sun Apr 17, 2005 1:31 pm Post subject: |
|
|
I don't know if it matters or not, that you have:
Identifier "Mouse (missing right '"').
What happens if you corrct this, and what does your /var/log/Xorg.0.log say about your mouse? Eventually, at the end of the log file you should see this (or something like it):
Code: |
(**) Option "Protocol" "MouseSystems"
(**) Mouse0: Device: "/dev/sunmouse"
(**) Mouse0: Protocol: "MouseSystems"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/sunmouse"
(**) Option "Emulate3Buttons" "false"
(==) Mouse0: Buttons: 3
(**) Mouse0: SmartScroll: 1
(**) Option "BaudRate" "1200"
(**) Mouse0: BaudRate: 1200
(WW) *** WARNING the legacy keyboard driver "keyboard" is deprecated
(WW) *** and will be removed in the next release of the Xorg server.
(WW) *** Please consider using the the new "kbd" driver for "Keyboard0".
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
|
(There should be some other Mouse entries in the log file, too, such as:
Code: |
(II) LoadModule: "mouse"
(II) Loading /usr/lib/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
|
(where, for you, you should just see 'Mouse' instead of 'Mouse0', if that's how you are identifying it.).
Other than that, I have no good ideas (and I am not sure what I just wrote constitutes a good idea, either). Is your mouse otherwise known to be working? (E.g., I have one mouse that works like you are describing for the first 30 minutes or so, then finally works correctly. I attribute this to a bad capicitor or something in the mouse itself. If possible, just wait a while to see if the problem corrects itself, or try a different mouse. My experience shows that a marginally good mouse can exhibit the behavior you are seeing.)
Regards,
Ferris |
|
Back to top |
|
|
lianlian n00b
Joined: 09 Apr 2005 Posts: 30
|
Posted: Mon Apr 18, 2005 2:49 am Post subject: |
|
|
ok, got everything work now, but didn't like how it turn out, so i am installing gnome on it. another problem, earlier i emerge gnome(damn it was like 10 years), but didn't do the env-update... so do i have to emerge gnome again?
hey Ferris, thanks so much for helping out |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Mon Apr 18, 2005 11:20 am Post subject: |
|
|
My pleasure. What did the problem finally turn out to be?
If your first gnome installation was successful, I don't see why you'ld need to reinstall it. At least, try it first.
Regards,
Ferris |
|
Back to top |
|
|
lianlian n00b
Joined: 09 Apr 2005 Posts: 30
|
Posted: Mon Apr 18, 2005 4:51 pm Post subject: |
|
|
well, turned out to be the mouse itself was not working well, i kind of have move the mouse to the right/left about 1 feet to move the cursor, hope it's just temp problem like you described. |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Mon Apr 18, 2005 10:44 pm Post subject: |
|
|
If not, sun mice are pretty cheap (although you probably have to buy a keyboard and the mouse comes along with it). |
|
Back to top |
|
|
|