From owner-freebsd-sparc64@FreeBSD.ORG Sat Jan 7 19:27:03 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 527BA16A41F for ; Sat, 7 Jan 2006 19:27:03 +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 5175E43D49 for ; Sat, 7 Jan 2006 19:27:02 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 22072 invoked by uid 510); 7 Jan 2006 19:30:09 +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.8/5.0):. Processed in 7.804064 secs); 07 Jan 2006 19:30:09 -0000 X-Spam-Status: No, hits=-3.8 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.8/5.0):. Processed in 7.804064 secs Process 22040) 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 19:30:01 +0000 From: Robert Slade To: mdh lists In-Reply-To: <20060107191130.92707.qmail@web34014.mail.mud.yahoo.com> References: <20060107191130.92707.qmail@web34014.mail.mud.yahoo.com> Content-Type: text/plain Message-Id: <1136662200.17772.19.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 19:30:01 +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 19:27:03 -0000 On Sat, 2006-01-07 at 19:11, mdh lists wrote: > --- Robert Slade wrote: > > > 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 > > sysmouse is created by running moused. moused > provides the /dev/sysmouse utility. To activate > moused for a Sun type5 setup, you'll almost certainly > want the command `moused -t mousesystems -p > /dev/cuau3`. This will allow you to have Xorg access > the mouse via /dev/sysmouse, as well as providing > mouse functionality on a syscons console. So yes, the > mouse does in fact work on the console with FreeBSD > 6.0 on sparc64. :-) > > The LED problem is a known issue, and I have a GNATS > ticket open on it, you can check out the FreeBSD bug > tracking system and see if you maybe have anything to > add to the information I've already provided in that > ticket to assist the kernel dev folks in identifying > and addressing the lock key LED problem. However, as > all the toggles still work just fine, I marked the > ticket as non-critical. > Many thanks - I was trying to figure the mouse out. Is it possible to change the console keyboard layout to gb rather than us? I've actually got a type6 kb and remembering which keys do what is a real pain. Rob