From owner-freebsd-current@FreeBSD.ORG Sat Mar 28 14:45:56 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 70F9C1065688 for ; Sat, 28 Mar 2009 14:45:56 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from hosting.lissyara.su (hosting.lissyara.su [77.221.149.162]) by mx1.freebsd.org (Postfix) with ESMTP id BAAF38FC17 for ; Sat, 28 Mar 2009 14:45:55 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from [89.178.151.104] (port=24873 helo=HP.lissyara.su) by hosting.lissyara.su with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LnZnF-000O2N-Ol; Sat, 28 Mar 2009 17:45:53 +0300 Message-ID: <49CE3832.5060203@lissyara.su> Date: Sat, 28 Mar 2009 17:46:10 +0300 From: Alex Keda User-Agent: Thunderbird 2.0.0.21 (X11/20090322) MIME-Version: 1.0 To: Hans Petter Selasky References: <49C7FE13.90808@lissyara.su> <200903240846.35938.hselasky@c2i.net> In-Reply-To: <200903240846.35938.hselasky@c2i.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: hosting.lissyara.su Cc: freebsd-current@freebsd.org 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: Sat, 28 Mar 2009 14:45:57 -0000 Hans Petter Selasky пишет: > 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. I delete UMASS_PROTO_SCSI. But: Mar 28 17:44:01 HP kernel: usb2_alloc_device:1516: getting device descriptor at addr 3 failed! Mar 28 17:44:02 HP kernel: usb2_req_re_enumerate:1434: getting device descriptor at addr 3 failed! Mar 28 17:44:03 HP kernel: usb2_req_re_enumerate:1434: getting device descriptor at addr 3 failed! Mar 28 17:44:03 HP kernel: ugen0.3: <> at usbus0 (disconnected) Mar 28 17:44:03 HP kernel: uhub_reattach_port:413: could not allocate new device! > > --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" > > > _______________________________________________ > 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"