From owner-freebsd-stable Tue Aug 13 20:29:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02CE237B400 for ; Tue, 13 Aug 2002 20:29:37 -0700 (PDT) Received: from alcanet.com.au (mail3.alcanet.com.au [208.178.117.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B06D43E70 for ; Tue, 13 Aug 2002 20:29:35 -0700 (PDT) (envelope-from peter.jeremy@alcatel.com.au) Received: from sydsmtp01.alcatel.com.au (IDENT:root@localhost.localdomain [127.0.0.1]) by alcanet.com.au (8.12.4/8.12.4/Alcanet1.3) with ESMTP id g7E3TR8R008672; Wed, 14 Aug 2002 13:29:28 +1000 Received: from gsmx07.alcatel.com.au ([139.188.20.247]) by sydsmtp01.alcatel.com.au (Lotus Domino Release 5.0.10) with ESMTP id 2002081413292651:79834 ; Wed, 14 Aug 2002 13:29:26 +1000 Received: from gsmx07.alcatel.com.au (localhost [127.0.0.1]) by gsmx07.alcatel.com.au (8.12.5/8.12.5) with ESMTP id g7E3TQhh073245; Wed, 14 Aug 2002 13:29:26 +1000 (EST) (envelope-from peter.jeremy@alcatel.com.au) Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.12.5/8.12.5/Submit) id g7E3TQGs073244; Wed, 14 Aug 2002 13:29:26 +1000 (EST) (envelope-from peter.jeremy@alcatel.com.au) Date: Wed, 14 Aug 2002 13:29:26 +1000 From: Peter Jeremy To: Josef Karthauser 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> Mail-Followup-To: Josef Karthauser , freebsd-stable@freebsd.org References: <20020812193712.GA369@genius.tao.org.uk> <20020812215059.N59573-100000@server.arg.sj.co.uk> <20020812213700.GE369@genius.tao.org.uk> Mime-Version: 1.0 User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020812213700.GE369@genius.tao.org.uk>; from joe@tao.org.uk on Mon, Aug 12, 2002 at 10:37:00PM +0100 X-MIMETrack: Itemize by SMTP Server on SYDSMTP01/AlcatelAustralia(Release 5.0.10 |March 22, 2002) at 14/08/2002 01:29:26 PM, Serialize by Router on SYDSMTP01/AlcatelAustralia(Release 5.0.10 |March 22, 2002) at 14/08/2002 01:29:28 PM, Serialize complete at 14/08/2002 01:29:28 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-Aug-12 22:37:00 +0100, Josef Karthauser 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: mem 0x41000000-0x41000fff irq 11 at device 16.0 on pci0 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 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