From owner-freebsd-current@FreeBSD.ORG Wed May 9 07:04:19 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E175916A400 for ; Wed, 9 May 2007 07:04:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 52B8613C43E for ; Wed, 9 May 2007 07:04:19 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe12.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 313280621; Wed, 09 May 2007 09:04:17 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 9 May 2007 09:04:03 +0200 User-Agent: KMail/1.9.5 References: <20070502083356.GB1787@obelix.dsto.defence.gov.au> <200705021848.47920.hselasky@c2i.net> <200705082255.32015.h.schmalzbauer@omnisec.de> In-Reply-To: <200705082255.32015.h.schmalzbauer@omnisec.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705090904.03257.hselasky@c2i.net> Cc: Harald Schmalzbauer Subject: Re: [new usb4bsd stack] Feedback ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2007 07:04:20 -0000 Hi, Thanks for reporting. Try the following patch to /sys/dev/usb/umass.c: Change the "umass_bbb_config" to "umass_cbi_config" in the following piece of code: } else if (sc->sc_proto & (UMASS_PROTO_CBI|UMASS_PROTO_CBI_I)) { err = usbd_transfer_setup (uaa->device, uaa->iface_index, sc->sc_xfer, umass_bbb_config, (sc->sc_proto & UMASS_PROTO_CBI_I) ? UMASS_T_CBI_MAX : (UMASS_T_CBI_MAX-2), sc, &(sc->sc_mtx)); /* skip reset first time */ sc->sc_last_xfer_index = UMASS_T_CBI_COMMAND; } else { err = USBD_INVAL; } Then recompile. Could you send me the build error when you build with "DFLT_UKBD_KEYMAP" ? --HPS On Tuesday 08 May 2007 22:55, Harald Schmalzbauer wrote: > Am Mittwoch, 2. Mai 2007 schrieb Hans Petter Selasky: > > On Wednesday 02 May 2007 10:33, Wilkinson, Alex wrote: > > > All looks good so far: > > > > > > FreeBSD 7.0-CURRENT #2: Wed May 2 09:28:13 WST 2007 > > > > > > 1st device successfully attached: > > > > > > umass0: > > 0/0, rev 2.00 /0.01, addr 126> umass0: SCSI over Bulk-Only; quirks = > > > 0x0000 umass0:0:0:-1: Attached to scbus0 > > > cd0 at umass-sim0 bus 0 target 0 lun 0 > > > cd0: Removable CD-ROM SCSI-0 device > > > cd0: 40.000MB/s transfers > > > cd0: cd present [252723 x 2048 byte records] > > > GEOM_LABEL: Label for provider cd0 is iso9660/HPSMST740. > > I'm not so lucky, my Sony Memory Stick Controller doesn't work: > umass0: > umass0: 8070i (ATAPI) over CBI with CCI; quirks = 0x0000 > umass0: could not setup required transfers, USBD_NO_CALLBACK > device_attach: umass0 attach returned 6 > usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=125! > usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=125! > usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=125! > usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=125! > > 7.0-current from today, i815 (ich2) uhci. > > Another card reader is working fine, also my rs232 cable (uplcom) attaches > correctly. > > One problem is that configuring DFLT_UKBD_KEYMAP in the kernel config > breakes the build. > > Best regards, > > -Harry > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"