From owner-freebsd-sparc64@FreeBSD.ORG Sat Jan 7 17:16:15 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A98716A41F for ; Sat, 7 Jan 2006 17:16:15 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: from lmail.bathnetworks.co.uk (mail.bathnetworks.com [84.92.24.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C06E43D45 for ; Sat, 7 Jan 2006 17:16:14 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 20701 invoked by uid 510); 7 Jan 2006 17:19:22 +0000 Received: from 84.92.24.252 by lmail.bathnetworks.co.uk (envelope-from , uid 508) with qmail-scanner-1.24-st-qms (clamdscan: 0.87/1146. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(84.92.24.252):SA:0(-3.7/5.0):. Processed in 4.379707 secs); 07 Jan 2006 17:19:22 -0000 X-Spam-Status: No, hits=-3.7 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: bsd@bathnetworks.com via lmail.bathnetworks.co.uk X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(84.92.24.252):SA:0(-3.7/5.0):. Processed in 4.379707 secs Process 20694) Received: from mail.bathnetworks.com (HELO ?84.92.24.252?) (bsd@bathnetworks.com@84.92.24.252) by lmail.bathnetworks.co.uk with SMTP; 7 Jan 2006 17:19:17 +0000 From: Robert Slade To: James Tanis In-Reply-To: <65dcde740601070838n2dba8ba0k9f3d61bf7f6f2622@mail.gmail.com> References: <65dcde740601070838n2dba8ba0k9f3d61bf7f6f2622@mail.gmail.com> Content-Type: text/plain Message-Id: <1136654357.17772.11.camel@lmail.bathnetworks.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sat, 07 Jan 2006 17:19:17 +0000 Content-Transfer-Encoding: 7bit Cc: "freebsd-sparc64@freebsd.org" Subject: Re: type 5 kbd/mouse woes X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 17:16:15 -0000 On Sat, 2006-01-07 at 16:38, James Tanis wrote: > I'm pretty convinced its a problem resulting from my own ignorance as > far as FreeBSD/Sparc64 goes, so I'm just going to ask a simple > question first. What modules/drivers must one load to get a working > sun type 5 (din) mouse/keyboard under the console and in xorg? The > keyboard of course works fine under the console. Unfortunately, I > can't seem to find any documentation on the subject that isn't i386 > centric. I've tried most things that seem not unlikely, I have prior > experience with sparc32/xsun, but either it has been too long or > things are a bit different now :P. I realize I'm being pretty > ambiguous here, just wanted to know what kernel modules and xorg > drivers handle them. > > -- > James Tanis > jtanis@pycoder.org > http://pycoder.org James, It depends on which vesrion of FBSD you are using. For 6.0 P1 consiole the type 5 works out of the box ish. I say ish as the leds don't work and the only keymap appears to be US. I don't think the mouse works at all. With x-windows try this: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "Protocol" "standard" Option "AutoRepeat" "500 30" Option "XkbRules" "sun" Option "XkbModel" "type5" Option "XkbLayout" "gb" Option "XkbKeycodes" "sun(type5)" EndSection Change XkbLayout to your layout. BTW again it sort of works some keys are wrong and the leds don't work. I haven't bothered any further as I use ssh & vnc to connect and that works correctly. The mouse works though /dev/cuau3 as there is no sysmouse. Rob