From owner-freebsd-hackers Sat Jan 6 14:12:29 2001 From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 6 14:12:26 2001 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 0759937B400; Sat, 6 Jan 2001 14:12:26 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id OAA28183; Sat, 6 Jan 2001 14:12:24 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 06 Jan 2001 14:12:24 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: hackers@freebsd.org Subject: KVM switch vs. FreeBSD psm driver Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I realize this is a well-known problem. Although there's much discussion about it in the mailing list archives, I couldn't find an actual solution. I've got a Belkin OmniView Pro 8-Port KVM switch which thinks it's much smarter than it really is. When I try to use the mouse through it with FreeBSD (-current from around Christmas, but I also had problems with -stable) it doesn't work right at all. It's got the same symptoms everybody else has reported: the cursor jumps around, and lots of "psmintr: out of sync" messages get logged. I found a posting in -hackers where Kazutaka YOKOTA said: > You can force FreeBSD to use the mouse as the standard PS/2 mouse by > specifying the flags 0x200 to the psm driver. This way, the mouse > should always work. But, you cannot use the wheel. However, setting that flag hasn't helped me at all. Here are the relevant parts of "/var/run/dmesg.boot" from a verbose boot-up: psm0: current command byte:0047 psm0: flags 0x200 irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 255-ffffffff, 2 buttons psm0: config:00000200, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 The mouse itself is a no-name 2-button PS/2 mouse. It doesn't have a wheel or anything else "extra". It works fine when connected directly to the computer. I have also tried various combinations of flags 0x100 (NOCHECKSYNC) and 0x400 (NORESET) without any luck. The useless mouse behavior happens with moused and with XFree86 + no moused. It happens whether I specify the protocol as "ps/2" or as "auto". The KVM switch claims to have "Microsoft Intellimouse support and emulation." However, in the troubleshooting section of its manual it says you should make sure your driver is "either for a Standard PS/2 or Microsoft-compatible PS/2" mouse." I don't care about wheels, and I'm even willing to get by with only 2 buttons. I don't mind hacking up the psm driver if necessary. I just want the mouse to work with this switch. Any suggestions? John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message