From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 20:39:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3852F16A4CE for ; Thu, 19 Aug 2004 20:39:44 +0000 (GMT) Received: from ariel.globecom.net (ariel.globecom.net [212.116.67.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id B30D343D45 for ; Thu, 19 Aug 2004 20:39:43 +0000 (GMT) (envelope-from mattias.bjork@sydnet.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by ariel.globecom.net (Postfix) with ESMTP id 34E70670DB4 for ; Thu, 19 Aug 2004 22:39:52 +0200 (CEST) Received: from ariel.globecom.net ([127.0.0.1]) by localhost (ariel.bahnhof.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32159-01-82 for ; Thu, 19 Aug 2004 22:39:51 +0200 (CEST) Received: from mail-gw.globecom.net (mail-gw.globecom.net [212.116.65.149]) by ariel.globecom.net (Postfix) with ESMTP id 425F3670178 for ; Thu, 19 Aug 2004 22:39:51 +0200 (CEST) Received: from setiathome.birch.se (unknown [212.116.92.111]) by mail-gw.globecom.net (Postfix) with ESMTP id 92066B836 for ; Thu, 19 Aug 2004 22:39:29 +0200 (CEST) Received: (qmail 924 invoked by uid 0); 19 Aug 2004 20:39:29 -0000 Received: from unknown (HELO ?192.168.10.201?) (192.168.10.201) by setiathome.birch.se with SMTP; 19 Aug 2004 20:39:29 -0000 Message-ID: <41251005.8030500@sydnet.net> Date: Thu, 19 Aug 2004 22:39:33 +0200 From: =?ISO-8859-1?Q?Mattias_Bj=F6rk?= User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at globecom.net Subject: Mouse problems with KVM switch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 20:39:44 -0000 Hi, I have just brought this KVM switch: http://www.level1.com/products3.php?sklop=20&id=590430 But Im having major problems with getting the mouse to work under FreeBSD. Even the keyboard does not work sometimes. This KVM switch has support for hotkey and also supports emulation on both mouse and keyboard. When I boot up my system and see the BIOS on the computer the keyboard works just fine. Then when it continues to boot and comes to the loader, it still works. And the it starts to load the kernel. But then when i get to the login prompt the keyboard does not work. And sometimes even thought I stay with the computer the hole boot process I can't even use the keyboard. So I have to use ssh to login to the computer and make it reboot to regain the keyboard. I have also tried to change the cables but I get the same results. And It works with no problems under Windows XP Pro. The system that im using is FreeBSD 5.2.1-p9, at least on this system. I have also two other computers that Im running FreeBSD-stable on. On one of my FreeBSD-stable machines I have hade a working mouse under X Windows System (Xorg latest from ports). But then I rebooted the system and when I started xdm, it found the mouse but when I move it around It didn't move like it should. It took some seconds before it moved and it did not move like it should, jumps several ramdom cm/inches on the screen (Perhaps in the direction that I move the mouse im not sure). Its on usable in other words. I have also tryied to use moused under FreeBSD but I get the same fault/problem. I also have a problem if I do not have this machine selected when I boot. Then when I switch to it when the boot of the FreeBSD system has complete, The screen on the monitor just blinks. Still the keyboard works because I can press two times Left Ctrl and then 1 to 4 to change the computer Im controlling. This I can not do with the FreeBSD 5.2.1-p9 system I can only see the screen but have to change the computer im controlling by pressing the button on the switch box. I have tried to remove the cables and put them back again. But that does not help, the only solution I can see is to reboot the system and let it boot with it selected. I have also booted up with the mouse directly connected to the computer. Then when the system boot was completed I moved the mouse around to see that it did work. After that I plugged back the cable from the switch in to the computers mouse port. And the plugged the mouse back in the switch box, that did not work either. I have also added flags to both psm0 and atkbd in my kernel config: # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x0 device psm0 at atkbdc? irq 12 flags 0x0 I have also tried with the flags set to 0x100 on both atkbd0 and psm0, but that doesn't seem to make any diffrance. I have done this on my FreeBSD 5.2.1-p9 box as well. I have also changed it in: /boot/device.hints But I don't get it working correctly either by that. Does anybody have a clue or have hade any similar problems and/or who could shine some light on this problem? Mvh Mattias Björk ps: sorry if this is posted one time already... I have hade some problems with my MUA.