From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 07:44:06 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BADE410656BA for ; Tue, 24 Mar 2009 07:44:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 21FB18FC1D for ; Tue, 24 Mar 2009 07:44:05 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=2At8Q0IxsUAmnmmiMs8A:9 a=RbaUGAyy8uUO7zn8B1oA:7 a=WFT5vHUGYIhUJLRTbMtRzSjJhKEA:4 a=LY0hPdMaydYA:10 a=SV7veod9ZcQA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1112097469; Tue, 24 Mar 2009 08:44:04 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Tue, 24 Mar 2009 08:46:35 +0100 User-Agent: KMail/1.9.7 References: <49C7FE13.90808@lissyara.su> In-Reply-To: <49C7FE13.90808@lissyara.su> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903240846.35938.hselasky@c2i.net> Cc: Alex Keda Subject: Re: New USB stack and USB floppy 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: Tue, 24 Mar 2009 07:44:07 -0000 On Monday 23 March 2009, Alex Keda wrote: > I have USB floppy. > > Mar 24 00:11:25 HP kernel: usb2_alloc_device:1516: getting device > descriptor at addr 3 failed! > Mar 24 00:11:26 HP kernel: ugen0.3: at usbus0 > Mar 24 00:11:26 HP kernel: umass0: 0/0, rev 1.10/2.00, addr 3> on usbus0 > Mar 24 00:11:26 HP kernel: umass0: SCSI over Bulk-Only; quirks = 0x0100 ^^^^ Edit /sys/dev/usb/storage/umass.c And remove the quirk entry for your device. Maybe it is not correct. --HPS > Mar 24 00:11:27 HP kernel: umass0:2:0:-1: Attached to scbus2 > Mar 24 00:11:27 HP kernel: xptioctl: pass driver is not in the kernel > Mar 24 00:11:27 HP kernel: xptioctl: put "device pass" in your kernel > config file > > > but, > > HP$ grep "pass" /usr/src/sys/amd64/conf/GENERIC > device pass # Passthrough device (direct SCSI access) > device aacp # SCSI passthrough for aac (requires CAM) > HP$ > > If I unplug and plug it to the same port: > > Mar 24 00:19:12 HP kernel: usb2_alloc_device:1516: getting device > descriptor at addr 3 failed! > Mar 24 00:19:12 HP kernel: usb2_req_re_enumerate:1434: getting device > descriptor at addr 3 failed! > Mar 24 00:19:14 HP kernel: usb2_req_re_enumerate:1434: getting device > descriptor at addr 3 failed! > Mar 24 00:19:14 HP kernel: ugen0.3: <> at usbus0 (disconnected) > Mar 24 00:19:14 HP kernel: uhub_reattach_port:413: could not allocate > new device! > > If I plug it to another port - it detect, but need "pass" driver =) > > ============ > I have USB mouse. If I plug it first time - all OK. If second - to the > some port: > Mar 24 00:21:45 HP kernel: ugen0.3: at usbus0 > Mar 24 00:21:45 HP kernel: ums0: rev 2.00/3.40, addr 3> on usbus0 > Mar 24 00:21:45 HP kernel: ums0: error reading report description > Mar 24 00:21:45 HP kernel: device_attach: ums0 attach returned 12 > > ======== > HP$ uname -a > FreeBSD HP.lissyara.su 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Mar 23 > 22:45:17 MSK 2009 > lissyara@HP.lissyara.su:/usr/obj/usr/src/sys/GENERIC amd64 > HP$ > _______________________________________________ > 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"