Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 15:17:49 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: Test it please..
Message-ID:  <20000524191754.VAAG22611.mail.rdc1.va.home.com@john.baldwin.cx>
In-Reply-To: <14635.61347.319740.783675@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000524191754.VAAG22611.mail.rdc1.va.home.com>