NetBSD Problem Report #38462

From martin@duskware.de  Sat Apr 19 12:57:58 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 683A963B293
	for <gnats-bugs@gnats.netbsd.org>; Sat, 19 Apr 2008 12:57:58 +0000 (UTC)
Message-Id: <20080419125540.611BB63B293@narn.NetBSD.org>
Date: Sat, 19 Apr 2008 12:55:40 +0000 (UTC)
From: 0intro@gmail.com
Reply-To: 0intro@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: Sun Type-6 USB keyboard not supported
X-Send-Pr-Version: www-1.0

>Number:         38462
>Category:       port-sparc64
>Synopsis:       Sun Type-6 USB keyboard not supported
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 19 13:00:00 +0000 2008
>Last-Modified:  Sun Apr 20 14:25:01 +0000 2008
>Originator:     David
>Release:        NetBSD-current 2008-18-04 sparc64
>Organization:
>Environment:
>Description:
I am trying to install NetBSD-current 2008-17-04 (lasted binary snapshot available) on my Sun Blade 150 computer. This is the sparc64 port.

I am using a Sun Type-6 USB keyboard.
Contratry to older Sun machines, the Sun Blade 150 does not have a Keyboard DIN-8 port, so only USB keyboards can be used.

After booting the NetBSD cdrom, the keyboard does not work.
I am stuck when the line "Terminal type (just hit ENTER for 'sun'):" appear, since I cannot type anything.
>How-To-Repeat:
Boot a Sun Blade 150 with a Type-6 USB keyboard.
Type Stop-A to enter the OpenBootPROM.
Insert the NetBSD-current 2008-18-04 sparc64 cdrom in the cdrom drive.
Type "boot cdrom" in the OpenBoot PROM.
The kernel is now booting.
Keyboard is not supported.
>Fix:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sat, 19 Apr 2008 15:03:38 +0200

 On Sat, Apr 19, 2008 at 01:00:00PM +0000, 0intro@gmail.com wrote:
 > I am stuck when the line "Terminal type (just hit ENTER for 'sun'):" appear, since I cannot type anything.

 Could you try to "boot cdrom netbsd -a" and check the kernel messages when
 the usb keyboard attaches? Or take a photo and put it up somewhere?

 Thanks,

 Martin

From: David <0intro@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sat, 19 Apr 2008 13:46:25 +0000

 >   Could you try to "boot cdrom netbsd -a" and check the kernel messages when
 >   the usb keyboard attaches? Or take a photo and put it up somewhere?

 I hope this is what you want.

 uhub0: Sun Microsystem OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 ...
 uhidev0 at uhub0 port 3 configuration 1 interface 0
 uhidev0: vendor 0x0430 product 0x0100, rev 1.00/1.02, addr2, iclass 3/1
 ums0 at uhidev0: 3 buttons
 wsmouse0 at ums0 mux 0
 uhidev1 at uhub0 port 4 configurztion 1 interface 0
 uhidev1: vendor 0x0430 product 0x0005, rev 1.00/1.02, addr3, iclass 3/1
 ukbd0 at uhidev1
 wskbd0 at ukbd0: console keyboard

 -- 
 David

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 0intro@gmail.com
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sat, 19 Apr 2008 16:08:27 +0200

 On Sat, Apr 19, 2008 at 01:50:01PM +0000, David wrote:
 >  uhidev1 at uhub0 port 4 configurztion 1 interface 0
 >  uhidev1: vendor 0x0430 product 0x0005, rev 1.00/1.02, addr3, iclass 3/1
 >  ukbd0 at uhidev1
 >  wskbd0 at ukbd0: console keyboard

 Hmm, this looks good, it should just work.

 When it does not accept keystrokes, can you use Stop-A to break into ddb?
 Does the keyboard work there?

 Martin

From: David <0intro@gmail.com>
To: gnats-bugs@netbsd.org
Cc: "Martin Husemann" <martin@duskware.de>
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sat, 19 Apr 2008 14:11:28 +0000

 >  When it does not accept keystrokes, can you use Stop-A to break into ddb?
 >  Does the keyboard work there?

 Stop-A does not work too.

 -- 
 David

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 0intro@gmail.com
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sat, 19 Apr 2008 21:46:27 +0200

 What framebuffer/wsdisplay attaches on your machine?

 Martin

From: David <0intro@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sat, 19 Apr 2008 22:56:17 +0200

 >   What framebuffer/wsdisplay attaches on your machine?

 A Sun XVR-500 (3Dlabs Wildcat II).

 /pci@1f,0/pci@5: Device 1 SUNW,XVR-500

 -- 
 David

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 0intro@gmail.com
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sun, 20 Apr 2008 00:26:44 +0200

 On Sat, Apr 19, 2008 at 09:00:05PM +0000, David wrote:
 >  >   What framebuffer/wsdisplay attaches on your machine?
 >  
 >  A Sun XVR-500 (3Dlabs Wildcat II).
 >  
 >  /pci@1f,0/pci@5: Device 1 SUNW,XVR-500

 So no wsdisplay attaches?
 I guess that would explains it.

 Martin

From: David <0intro@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sun, 20 Apr 2008 00:59:24 +0200

 >  So no wsdisplay attaches?
 >  I guess that would explains it.

 When I boot with the XVR-500, the PGX64 is attached to /dev/fd0, but
 there is no wsdisplay attaches.
 The XVR-500 does not seem to be supported.

 -- 
 David

From: David <0intro@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sun, 20 Apr 2008 10:41:56 +0200

 genfb try to attach something, but it does not succeed to and displays:
 genfb0: bogus parameters, unable to continue

 -- 
 David

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, 0intro@gmail.com
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sun, 20 Apr 2008 11:58:13 +0200

 On Sun, Apr 20, 2008 at 08:45:03AM +0000, David wrote:
 >  genfb try to attach something, but it does not succeed to and displays:
 >  genfb0: bogus parameters, unable to continue

 At the OF ok> prompt, can you cd to the display node and do .properties?

 Thanks,

 Martin

From: David <0intro@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sun, 20 Apr 2008 15:00:37 +0200

 >  At the OF ok> prompt, can you cd to the display node and do .properties?

 I replaced some of the hexadecimal output by "...".

 ok cd /pci@1f,0/pci@5
 ok .properties
 available            80000000 00000000 03030000 00000000
                      00fd0000
 interrupt-map        ...

 interrupt-map-mask   00fff800 00000000 00000000 00000007
 ranges               80000000 00000000 03000000 82000000
                      00000000 03000000 00000000 04000000
 bus-range            00 00 00 01 00 00 00 01
 compatible           pci8086,b152.0
                      pci8086,b152
                      pciclass,060400
                      pciclass,0604
 reg                  00002800
 #adress-cells        00000003
 #size-cells          00000002
 device_type          pci
 name                 pci
 fast-back-to-back
 devsel-speed         00000001
 class-code           00060400
 latency-timer        00000040
 cache-line-size      00000010
 revision-id          00000000
 device-id            0000b152
 vendor-id            00008086
 ok

 -- 
 David

From: David <0intro@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sun, 20 Apr 2008 16:17:49 +0200

 Since I will not be at home during a week, I made two videos
 illustrating the problem.

 The first video [1] shows the boot of the NetBSD installation cdrom on
 the Sun Blade 150 with the XVR-500 framebuffer.
 The second video [2] shows the result of ".properties" in
 /pci@1f,0/pci@5, the XVR-500 framebuffer directory.

 There is no problem when I boot using the onboard PGX64 framebuffer
 (ATI Mach64). The problem only appear when using the PCI XVR-500
 framebuffer (3DLabs).

 [1] http://www.9grid.fr/netbsd/netbsd.wmv (3.3 MB)
 [2] http://www.9grid.fr/netbsd/netbsd.wmv (1.5 MB)

 -- 
 David

From: David <0intro@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/38462: Sun Type-6 USB keyboard not supported
Date: Sun, 20 Apr 2008 16:20:30 +0200

 Erratum.

 The second link should be:
 [2] http://www.9grid.fr/netbsd/properties.wmv (1.5 MB)

 Sorry.

 -- 
 David

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.