From owner-freebsd-sparc64@FreeBSD.ORG Sat Jan 7 19:11:31 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 63B2716A41F for ; Sat, 7 Jan 2006 19:11:31 +0000 (GMT) (envelope-from mdh_lists@yahoo.com) Received: from web34014.mail.mud.yahoo.com (web34014.mail.mud.yahoo.com [66.163.178.95]) by mx1.FreeBSD.org (Postfix) with SMTP id 046F843D4C for ; Sat, 7 Jan 2006 19:11:30 +0000 (GMT) (envelope-from mdh_lists@yahoo.com) Received: (qmail 92709 invoked by uid 60001); 7 Jan 2006 19:11:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oMBnQETbMZ8hStfiFSW3Cg7Y8u0xSQjf/xMVH3x3s9WpfsS5Jq/D8N7cxjecXfnR6RjRTJWq9Qrcb+23TTiPbaxLhBHKtInQlhsYxgJSIZS3bkt1Rk21Mtf/T18yRNa7Y2TVo4q0JB57lNCGT0AhpCUoancoRHIZ6pm1ZOi97pQ= ; Message-ID: <20060107191130.92707.qmail@web34014.mail.mud.yahoo.com> Received: from [68.233.12.105] by web34014.mail.mud.yahoo.com via HTTP; Sat, 07 Jan 2006 11:11:30 PST Date: Sat, 7 Jan 2006 11:11:30 -0800 (PST) From: mdh lists To: Robert Slade , James Tanis In-Reply-To: <1136654357.17772.11.camel@lmail.bathnetworks.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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:11:31 -0000 --- 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. __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com