 |
 |
 |
 |
Pandaemonium |
|
Welcome to Pandaemonium. Our intention is to support the WA BSD community and spread the word about BSD.
From Pandaemonium, capital of Hell in Paradise Lost, an epic poem by John Milton: Greek pan (all), Latin daemonium (from Greek daimonion - lesser god, demon). Literally "all demons".
|
|
 |
 |
 |
 |
 |
 |
 |
 |
User Functions |
|
|
Don't have an account yet? Sign up as a New User
|
|
 |
 |
 |
 |
 |
 |
 |
 |
Events Block |
|
| There are no upcoming events |
|
 |
 |
 |
 |
|
 |
 |
 |
 |
| PS/2 mice and switchboxes |
|
Sunday, November 18 2001 @ 09:44 PM EST Contributed by: deece
|
Use your FreeBSD system on a switchbox? Sick of having to use 2 (or more) mice since switching renders the mouse unusable? Read on for a quick solution
After reading through the source code (/usr/src/sys/isa/psm.c) it seems the situation for mice is as follows:
- Boot up probe detects the mouse, and switches it into its native mode (level two)
- User switches consoles, the mouse resets itself back to being a generic PS/2 mouse (level zero)
- FreeBSD is still trying to interpret the data as if its in the native mode (and making a complete mess of it in the process)
The quick solution to this is to edit your kernel config, and change the line
device psm0 at atkbdc? irq 12
to read
device psm0 at atkbdc? irq 12 flags 0x0200
After a recompile & reboot, your system will no longer put the mouse into its native mode, treating it as a generic 3 button mouse (yes, you've just lost your extra buttons/scroll wheel/etc), and will quite happily work even on a manual switchbox.
I'll eventually write a patch when I get bored which will place the mouse back into its native mode when an "out of sync" error occurs, but until then, this presents a usable solution.
|
|
| |
| [ Views: 3036 ] |
|
|
 |
 |
 |
 |
|
|
|