Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 12:19:52 -0400 (EDT)
From:      Jamie Bowden <ragnar@sysabend.org>
To:        Nick Hibma <hibma@skylink.it>
Cc:        hardware@FreeBSD.ORG
Subject:   Re: USB
Message-ID:  <Pine.BSF.3.96.990506120941.5656A-100000@beelzebubba.sysabend.org>
In-Reply-To: <Pine.BSF.3.96.990506150728.47841B-100000@elpc36.jrc.it>

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

I went ahead and guessed since the patch souldn't apply on it's own.  It
appeared that all you did was move one line, so I did it by hand.  It
seems to have worked.  Here's the relevant dmesg stuff:

...
uhci0: <VIA 83C572 USB Host Controller> rev 0x02 int d irq 9 on pci0.7.2
usb0: USB version 1.0, interrupting at 9
...
usbd_match
usb0: <VIA 83C572 USB Host Controller>
usbd_attach
usbd_new_device bus=0xf0b19000 depth=0 lowspeed=0
usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0,
protocol=0, m
axpacket=64, ls=0
usbd_new_device: new dev (addr 1), dev=0xf0752280, parent=0xf0b16900
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usbd_set_config_index: (addr 1) attr=0x40, selfpowered=1, power=0,
powerquirk=0
usbd_set_config_index: set config 1
usbd_set_config_index: setting new config 1
uhub0: 2 ports with 2 removable, self powered
usbd_init_port: adding hub port=1 status=0x0300 change=0x0000
usbd_init_port: adding hub port=2 status=0x0101 change=0x0001
uhub_explore: status change hub=1 port=2
usbd_new_device bus=0xf0b19000 depth=1 lowspeed=0
usbd_new_device: adding unit addr=2, rev=100, class=0, subclass=0,
protocol=0, m
axpacket=8, ls=0
usbd_new_device: new dev (addr 2), dev=0xf0b3ff80, parent=0xf0b15dc0
usbd_probe_and_attach: no device specific driver found
usbd_set_config_index: (addr 2) attr=0x60, selfpowered=1, power=0,
powerquirk=0
usbd_set_config_index: set config 1
usbd_set_config_index: setting new config 1
usbd_probe_and_attach: no interface drivers found
ugen0
ugen0: Hewlett-Packard HP ScanJet 6200C, rev 1.00/1.00, addr 2

When attempting to run usb_dump, I get the following:

12:12pm animaniacs  /home/jamie %runas ./usb_dump -f /dev/ugen0 -v
usb_dump: /dev/ugen0: Device not configured

Doing a usb_dump on /dev/usb0 returns no output.

I have created devices in /dev as follows:

12:13pm animaniacs  /dev %ls -la ugen0 
crw-------  1 root  wheel  114,   0 May  6 12:07 ugen0
12:13pm animaniacs  /dev %ls -la usb0 
crw-------  1 root  wheel  108,   0 May  6 12:08 usb0

Is there something else I need to do?

On Thu, 6 May 1999, Nick Hibma wrote:

:
:1) It's not recommendable to use 3.1 if you want to make any serious use
:of USB.

I just wanted to see if it worked, and how well.  So far so good, it sees
the device, and can identify it.  If someone wants to teach me C, I'll
even write a driver for it.  :)

:
:2) Scanners are not yet supported as devices and will be attached to by
:the ugen device (if you have compiled that in). If it is attached by the
:ugen device, could you do me a favour and run the usb_dump utilitiy you
:can fetch from
:   
:        http://www.etla.net/~n_hibma/usb/usb.pl   

Bookmarked.

Jamie Bowden

-- 

If we've got to fight over grep, sign me up.  But boggle can go.
	-Ted Faber (on Hasbro's request for removal of /usr/games/boggle)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990506120941.5656A-100000>