From owner-freebsd-alpha Wed May 24 12:18: 0 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.rdc1.va.home.com (ha1.rdc1.va.home.com [24.2.32.66]) by hub.freebsd.org (Postfix) with ESMTP id 8920437BD8C for ; Wed, 24 May 2000 12:17:55 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx ([24.6.244.187]) by mail.rdc1.va.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000524191754.VAAG22611.mail.rdc1.va.home.com@john.baldwin.cx>; Wed, 24 May 2000 12:17:54 -0700 Content-Length: 2706 X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <14635.61347.319740.783675@grasshopper.cs.duke.edu> Date: Wed, 24 May 2000 15:17:49 -0400 (EDT) Organization: BSD, Inc. From: John Baldwin To: Andrew Gallatin Subject: Re: Test it please.. Cc: freebsd-alpha@FreeBSD.ORG Message-Id: <20000524191754.VAAG22611.mail.rdc1.va.home.com@john.baldwin.cx> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 24-May-00 Andrew Gallatin wrote: > > John Baldwin writes: > > Hey gang, > > > > I'd like to MFC the support for the USB controller on some of > > the newer Alpha workstations that I committed to -current a > > while back. The patch can be found at > > http://www.FreeBSD.org/~jhb/patches/alpha.usb.patch. > > > > Also, I'd like to turn on USB support in GENERIC on the Alpha > > just as I have with i386 so as to support USB hardware during > > install and on a typical system w/o requiring a custom kernel, > > so if people could try out enabling USB in their kernels I'd > > appreciate it. I should have an actual Alpha to do testing on > > my own in another week or two. Thanks. > > I've only seen one problem: > ../../dev/usb/ukbd.c:45: opt_ukbd.h: No such file or directory > > You'll need to add opt_ukbd.h to options.alpha to prevent this: Actually, in -current its in /sys/conf/options, since it's machine independent, but duly noted. > Index: options.alpha > =================================================================== > RCS file: /home/ncvs/src/sys/conf/options.alpha,v > retrieving revision 1.19 > diff -u -r1.19 options.alpha > --- options.alpha 1999/12/15 10:04:05 1.19 > +++ options.alpha 2000/05/24 15:14:24 > @@ -55,6 +55,7 @@ > > # Atkbd options > ATKBD_DFLT_KEYMAP opt_atkbd.h > +UKBD_DFLT_KEYMAP opt_ukbd.h > > # Kbd options > KBD_DISABLE_KEYMAP_LOAD opt_kbd.h > > > After doing that & ucommenting the usb stuff in GENERIC, I see this > when booting an xp1000: > > ohci0: mem 0x1094000-0x1094fff irq 234 at device 7.3 on pci0 > ohci0: interrupting at ISA irq 10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This means it worked. > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > > That looks good! It's quite good. > I don't know a darned thing about USB. I may be able to borrow a USB > CDROM drive. If you're willing to hold my hand & give me step-by-step > instructions on how to get it working, I'd be happy to do some testing > for you. I don't know about USB CD-ROM's, but if you have a mouse, you should be able to just plug it in and have it work. Well, you'll have to start up usbd first and then plug in a mouse, but since ohci0 attached ok, the patch is working. > Cheers, > > Drew Thanks. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message