Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2002 13:29:26 +1000
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: usb MFC? [was: HEADS UP: FreeBSD 4.7 Code Freeze]
Message-ID:  <20020814132926.C72938@gsmx07.alcatel.com.au>
In-Reply-To: <20020812213700.GE369@genius.tao.org.uk>; from joe@tao.org.uk on Mon, Aug 12, 2002 at 10:37:00PM %2B0100
References:  <20020812193712.GA369@genius.tao.org.uk> <20020812215059.N59573-100000@server.arg.sj.co.uk> <20020812213700.GE369@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-Aug-12 22:37:00 +0100, Josef Karthauser <joe@tao.org.uk> wrote:
>It would help if I had an idea of what works and what's broken in
>-stable for usb.  I'd welcome reports from usb users.

I have a Sony Cybershot (umass camera) that won't work with a a Compaq
Armada 1592DT running -stable from about 3 weeks ago.  I've tried on a
couple of other -stable systems of varying dates and the camera works
- one difference is that the other systems all use UHCI controllers.
Is there a problem in the OHCI code?

The relevant probe messages are:
ohci0: <OHCI (generic) USB controller> mem 0x41000000-0x41000fff irq 11 at device 16.0 on pci0
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

If I start usbd and then connect the camera, I get:
# usbd -dvvv
usbd: opened /dev/usb0
usbd: reading configuration file /etc/usbd.conf
usbd: action 1: ActiveWire board, firmware download
  vndr=0x0854 prdct=0x0100 rlse=0x0000
  attach='/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}'
usbd: action 2: Entrega Serial with UART
  vndr=0x1645 prdct=0x8001 rlse=0x0101
  attach='/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}'
usbd: action 3: USB ethernet
  devname: [ack]ue[0-9]+
  attach='dhclient ${DEVNAME}'
  detach='killall dhclient'
usbd: action 4: Mouse
  devname: ums[0-9]+
  attach='/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid'
usbd: action 5: USB device
usbd: 5 actions
usbd: opened /dev/usb
usbd: attach event at 0.030458000, OHCI root hub, (unknown):
  vndr=0x0000 prdct=0x0000 rlse=0x0100 clss=0x0009 subclss=0x0000 prtcl=0x0000
  device names: uhub0
usbd: Found action 'USB device' for OHCI root hub, (unknown) at uhub0
usbd: action 0: USB device
usbd: Setting DEVNAME='uhub0'
usbd: doing discovery on /dev/usb0
usbd: doing discovery on /dev/usb0
usbd: doing discovery on /dev/usb0
usbd: doing discovery on /dev/usb0
^C

pciconf shows:
ohci0@pci0:16:0:        class=0x0c0310 card=0xa0f80e11 chip=0xa0f80e11 rev=0x06 hdr=0x00
    vendor   = 'Compaq Computer Corp.'
    device   = 'ZFMicro USB Open Host Controller'
    class    = serial bus
    subclass = USB

Where the 'doing discovery' lines match me (dis)connecting the camera.
Note that the camera itself isn't discovered.  If I stop usbd and
restart usbd, it doesn't even detect that the camera has been attached.

Peter

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020814132926.C72938>