From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 00:08:45 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB255106564A for ; Sun, 22 Feb 2009 00:08:45 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1148FC0C for ; Sun, 22 Feb 2009 00:08:45 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 4C24EFF75 for ; Sun, 22 Feb 2009 13:08:44 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id alIyNfCqyjzL for ; Sun, 22 Feb 2009 13:08:40 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP for ; Sun, 22 Feb 2009 13:08:40 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 0B8101142E; Sun, 22 Feb 2009 13:08:39 +1300 (NZDT) Date: Sat, 21 Feb 2009 16:08:39 -0800 From: Andrew Thompson To: freebsd-usb@freebsd.org Message-ID: <20090222000839.GA29083@citylink.fud.org.nz> References: <20090217.085424.775975548.imp@bsdimp.com> <200902190926.42992.hselasky@c2i.net> <20090219.090621.-786048162.imp@bsdimp.com> <200902191729.18715.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902191729.18715.hselasky@c2i.net> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: USB2+umass: root mount fails X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2009 00:08:46 -0000 Whatever the solution may be (root_mount_hold/root_mount_rel, sync/async explore, ...), I will commit the patch from http://wiki.freebsd.org/USB for the moment so people can still boot. Andrew From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 01:05:14 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E605D106566B for ; Sun, 22 Feb 2009 01:05:14 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id A820D8FC16 for ; Sun, 22 Feb 2009 01:05:14 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id D6876FF70 for ; Sun, 22 Feb 2009 14:05:13 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VcuMXQiEYLbF for ; Sun, 22 Feb 2009 14:05:09 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP for ; Sun, 22 Feb 2009 14:05:09 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 4333A1142E; Sun, 22 Feb 2009 14:05:09 +1300 (NZDT) Date: Sat, 21 Feb 2009 17:05:09 -0800 From: Andrew Thompson To: freebsd-usb@freebsd.org Message-ID: <20090222010509.GB29083@citylink.fud.org.nz> References: <20090217.085424.775975548.imp@bsdimp.com> <200902190926.42992.hselasky@c2i.net> <20090219.090621.-786048162.imp@bsdimp.com> <200902191729.18715.hselasky@c2i.net> <20090222000839.GA29083@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090222000839.GA29083@citylink.fud.org.nz> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: USB2+umass: root mount fails X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2009 01:05:15 -0000 On Sat, Feb 21, 2009 at 04:08:39PM -0800, Andrew Thompson wrote: > > > Whatever the solution may be (root_mount_hold/root_mount_rel, sync/async > explore, ...), I will commit the patch from http://wiki.freebsd.org/USB > for the moment so people can still boot. Scratch that, I used root_mount_hold (r188907). This is by no means final but just pushed through to help people boot since the stack is now default. Andrew From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 14:18:16 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B150C106566B; Sun, 22 Feb 2009 14:18:16 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 878858FC08; Sun, 22 Feb 2009 14:18:16 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from freefall.freebsd.org (simon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1MEIGxp063196; Sun, 22 Feb 2009 14:18:16 GMT (envelope-from simon@freefall.freebsd.org) Received: (from simon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1MEIGep063192; Sun, 22 Feb 2009 14:18:16 GMT (envelope-from simon) Date: Sun, 22 Feb 2009 14:18:16 GMT Message-Id: <200902221418.n1MEIGep063192@freefall.freebsd.org> To: simon@FreeBSD.org, simon@FreeBSD.org, freebsd-usb@FreeBSD.org From: simon@FreeBSD.org Cc: Subject: Re: usb/130066: [newusb] Serial adaptor use fail with 'unsupported speed XXX' X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2009 14:18:16 -0000 Synopsis: [newusb] Serial adaptor use fail with 'unsupported speed XXX' State-Changed-From-To: open->closed State-Changed-By: simon State-Changed-When: Sun Feb 22 14:15:31 UTC 2009 State-Changed-Why: Both my serial adaptors now work, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=130066 From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 01:08:57 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C85D6106566B; Mon, 23 Feb 2009 01:08:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8D6EE8FC0C; Mon, 23 Feb 2009 01:08:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id D9DE2FF69; Mon, 23 Feb 2009 14:08:55 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AKuR-kJtJZqH; Mon, 23 Feb 2009 14:08:51 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 23 Feb 2009 14:08:51 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 314E511432; Mon, 23 Feb 2009 14:08:51 +1300 (NZDT) Date: Sun, 22 Feb 2009 17:08:50 -0800 From: Andrew Thompson To: current@freebsd.org Message-ID: <20090223010850.GB40325@citylink.fud.org.nz> References: <20090220033740.GA903@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090220033740.GA903@citylink.fud.org.nz> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org Subject: Re: CFR: usb switchover patches X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 01:08:58 -0000 On Thu, Feb 19, 2009 at 07:37:40PM -0800, Andrew Thompson wrote: > Hi, > > > I have put together a proposed set of changes for moving USB2 to its > permanent location. The layout has some differences to how it is right > now so I am looking for feedback. > > The changeover requires that the old usb stack be available until 8.0 is > branched and moves it from sys/dev/usb to sys/legacy/dev/usb. The reason > for this location is to reduce the changes in #includes (using -I > compiler hacks). The patch doesnt show userland changes required for > usbdevs and friends but they will be done. > > Some ports will break. Any that exist solely for the old usb stack can > be marked broken (like udesc_dump). I dont know that the fallout will be > like for the others, maybe portmgr would be interested in doing a build > test. > > The change roughly goes > > svn move sys/dev/usb -> sys/legacy/dev/usb > svn move sys/dev/usb2 -> sys/dev/usb (with fixups, see below) I plan to do this tomorrow. The commit can not be done in one since it involves svn moves to/from the same location but it should only take a few mins. Andrew From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 11:07:01 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE4CE1065673 for ; Mon, 23 Feb 2009 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2888FC19 for ; Mon, 23 Feb 2009 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1NB71hD055685 for ; Mon, 23 Feb 2009 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1NB71RT055681 for freebsd-usb@FreeBSD.org; Mon, 23 Feb 2009 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Feb 2009 11:07:01 GMT Message-Id: <200902231107.n1NB71RT055681@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 11:07:02 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb Additional product identification code for Logitech Qu o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c f usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [newusb] DVD drive detects as 'da' device o usb/129964 usb [newusb] disconnection of ugen devices isn't logged o bin/129963 usb [newusb] usbconfig(8) fails with misleading error when o docs/129962 usb [newusb] usbconfig(8) refers to non-existant usb2_core o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128590 usb [patch] [newusb] Updates to NOTES for new USB stack o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] cannot enable usb keyboard and mouse support in o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c f usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [umass] [patch] Problems with connection of the umass o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/109397 usb [panic] on boot from USB flash o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/107924 usb [patch] usbd(8) does not call detach o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze s usb/106832 usb [usb] USB HP printer is not detected by kernel when AC o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] [usb] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb usbhidctl(1): [patch] [request] usbhidctl: add ability o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe f usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 303 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 18:31:49 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05CA91065686 for ; Mon, 23 Feb 2009 18:31:49 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id D250D8FC13 for ; Mon, 23 Feb 2009 18:31:48 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so2173143wfd.7 for ; Mon, 23 Feb 2009 10:31:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=4C7jyDMTdZCt1zmyKrksdWtPMMyO7T/wDP0lnZdERfA=; b=WEHGbv/+3BxeV1yubiwp+gm4KeExiGVvWXjQx93GLiC2NOO/1MSKittLL40egmPCyf PdqcZBAFTpym74OggYDvTs4LPR9fnlL2t45Oqoj0GmGy4Gw7fCAQJEEgjGW9Ajt1Z7Hg Jrk7YvGmyWjCPheZ9BH6pJUxQpsg8bktq4/10= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=LcJ6aHsRbauBio3Rf2SdSMC08sZfqY0PFgX2EGTN6NmeVw0h3RQhgKYnT7IVxOTqCc GIXZNDYXJhgd5HjKbjgRuzlLl6KtvOjQoMb4QuBec6s2aR//cXt6jZZdJj64dtbv5e/X zZwF/ijcwLWPuPkfTKBhDga+08w/kQf64gwSk= MIME-Version: 1.0 Received: by 10.142.237.20 with SMTP id k20mr2099267wfh.136.1235413908562; Mon, 23 Feb 2009 10:31:48 -0800 (PST) Date: Mon, 23 Feb 2009 13:31:48 -0500 Message-ID: <89dbfdc30902231031j4407614vdce09e8e58cdc346@mail.gmail.com> From: Kim Culhan To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: reattach 3g0 device: could not allocate new device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 18:31:49 -0000 Running 8.0-CURRENT as of 2-22-09 The 3g0 device is a Novatel U727 EVDO wireless radio. If the machine boots with the device attached, dmesg reads: u3g0: on usbus2 Remove the device and this is logged: u3g0: at ushub2, port 2, addr 2 (disconnected) Reattach the device and there is this message: uhub_reattach_port:414: could not allocate new device! kernel config has: device usb2_serial_3g Any help is greatly appreciated thanks -kim -- From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 18:52:15 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C05610656DF; Mon, 23 Feb 2009 18:52:15 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id C762E8FC19; Mon, 23 Feb 2009 18:52:14 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 0D579FF69; Tue, 24 Feb 2009 07:52:14 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MtBkXvKRvoYL; Tue, 24 Feb 2009 07:52:10 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Tue, 24 Feb 2009 07:52:10 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id CF7E61142F; Tue, 24 Feb 2009 07:52:09 +1300 (NZDT) Date: Mon, 23 Feb 2009 10:52:09 -0800 From: Andrew Thompson To: current@freebsd.org, usb@freebsd.org Message-ID: <20090223185209.GA46663@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: HEADSUP: USB2 now fully default X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 18:52:16 -0000 Hi, As per my previous emails, the USB2 stack has been moved in permanently to sys/dev/usb. The temporary kernel device (and module) naming has been reverted, all the names are back to how they have been in previous releases (usb,ehci,ohci,ums,...). This means that if you are using a custom kernel and were using the USB2 stack via 'usb2_core' and friends then you will need to change these. Please see the GENERIC kernel for a further example. The only casualty is the 'ugen' option, this is now built in by default and no longer a kernel config entry. Please remove this. Also, all usb modules now live under sys/modules/usb. Please report any problems to the mailing list. Andrew From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 20:53:48 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB2711065677 for ; Mon, 23 Feb 2009 20:53:48 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 5DC208FC0A for ; Mon, 23 Feb 2009 20:53:48 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=9CSpTaZppU4A:10 a=jlvoQYuZvwQA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=PgvQ92RrlSMdPITmN-8A:9 a=SbH0scST4pu6iZonJT0A:7 a=x9BAclcMYtWtW7gXRHk3EtszLvEA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1200116052; Mon, 23 Feb 2009 21:53:46 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 23 Feb 2009 21:56:13 +0100 User-Agent: KMail/1.9.7 References: <89dbfdc30902231031j4407614vdce09e8e58cdc346@mail.gmail.com> In-Reply-To: <89dbfdc30902231031j4407614vdce09e8e58cdc346@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902232156.14845.hselasky@c2i.net> Cc: Kim Culhan Subject: Re: reattach 3g0 device: could not allocate new device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 20:53:49 -0000 On Monday 23 February 2009, Kim Culhan wrote: > Running 8.0-CURRENT as of 2-22-09 > > The 3g0 device is a Novatel U727 EVDO wireless radio. > > If the machine boots with the device attached, dmesg reads: > > u3g0: on usbus2 > > Remove the device and this is logged: > > u3g0: at ushub2, port 2, addr 2 (disconnected) > > Reattach the device and there is this message: > > uhub_reattach_port:414: could not allocate new device! > > kernel config has: > > device usb2_serial_3g > > Any help is greatly appreciated > Hi, Can you turn on USB HUB debugging: sysctl hw.usb2.uhub.debug=15 sysctl hw.usb.uhub.debug=15 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 22:58:56 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B895E106566C for ; Mon, 23 Feb 2009 22:58:56 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE448FC19 for ; Mon, 23 Feb 2009 22:58:56 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so2208505rvb.43 for ; Mon, 23 Feb 2009 14:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xV41LawOXwTiPtKcbwjhXnvhenGI+OWsWsmW5WtE/Yo=; b=xJzH7SvPA/7BKZanORte3u6Lc1XcedajRGSI2m8L+JtcWJ9uqRxNUluK78YWPBgpsR tIkQNHBtJOGSGDhzU/YQvZ1bap+TP1z96Bq/INlD8GP0SQXkwehQOWxcszqLnM+uRNal 5WAgYcairox3UhvdZO9/RGvtS2c3FR8qzDSHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kD+fxpaV1qJR4R4pQprHuVZJPN0L8IjiFzYTiV5JTV6/vNli498AmSxyLpIBlNNj1O yXfnHjyFmoB0JPeDQYQg2+tfchKTtP1J+4mxKy77M0D5iw84LecYG9e64KNL8kkNmPv2 XOeIkB6Q/LDXAb8JcXKIkV9o4Dxf6f9nSRb70= MIME-Version: 1.0 Received: by 10.142.226.10 with SMTP id y10mr2195760wfg.3.1235429936133; Mon, 23 Feb 2009 14:58:56 -0800 (PST) In-Reply-To: <200902232156.14845.hselasky@c2i.net> References: <89dbfdc30902231031j4407614vdce09e8e58cdc346@mail.gmail.com> <200902232156.14845.hselasky@c2i.net> Date: Mon, 23 Feb 2009 17:58:56 -0500 Message-ID: <89dbfdc30902231458s2c8a1534kb2180c8cd0ddd290@mail.gmail.com> From: Kim Culhan To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: reattach 3g0 device: could not allocate new device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 22:58:57 -0000 On Mon, Feb 23, 2009 at 3:56 PM, Hans Petter Selasky wrote: > On Monday 23 February 2009, Kim Culhan wrote: >> Running 8.0-CURRENT as of 2-22-09 >> >> The 3g0 device is a Novatel U727 EVDO wireless radio. >> >> If the machine boots with the device attached, dmesg reads: >> >> u3g0: on usbus2 >> >> Remove the device and this is logged: >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) >> >> Reattach the device and there is this message: >> >> uhub_reattach_port:414: could not allocate new device! >> >> kernel config has: >> >> device usb2_serial_3g >> >> Any help is greatly appreciated >> > > Hi, > > Can you turn on USB HUB debugging: > > sysctl hw.usb2.uhub.debug=15 > sysctl hw.usb.uhub.debug=15 Sure here is dmesg with sysctl hw.usb2.uhub.debug=15 uhub_read_port_status:259: port 2, wPortStatus=0x0103, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION usb2_transfer_power_ref:1470: Adding type 0 to power state usb2_transfer_power_ref:1483: needs power u3g_huawei_init:278: usb2_alloc_device:1618: Found Huawei auto-install disk! usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] = 0xc6bc6000 ugen2.2: at usbus2 ugen2.2: at usbus2 (disconnected) usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] = 0 uhub_reattach_port:414: could not allocate new device! usb2_needs_explore:1345: usb2_bus_powerd:1516: bus=0xc670bcf0 usb2_bus_powerd:1599: Recomputing power masks uhub_explore:522: udev=0xc6a93000 addr=1 With the old usb, this was returned: Feb 22 10:38:37 smallster kernel: ugen2.2: at usbus2 Feb 22 10:38:37 smallster kernel: umass0: on usbus2 Feb 22 10:38:37 smallster kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Feb 22 10:38:38 smallster kernel: umass0:1:0:-1: Attached to scbus1 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): Medium not present Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): Unretryable error Feb 22 10:38:39 smallster kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Feb 22 10:38:39 smallster kernel: cd0: Removable CD-ROM SCSI-2 device Feb 22 10:38:39 smallster kernel: cd0: 1.000MB/s transfers Feb 22 10:38:39 smallster kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present Feb 22 10:40:27 smallster kernel: g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5 Feb 22 10:43:39 smallster kernel: umass0: at ushub2, port 1, addr 2 (disconnected) Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): lost device Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): removing device entry Feb 22 10:43:39 smallster kernel: ugen2.2: at usbus2 (disconnected) The device initially attempts to simulate the presence of a cdrom. Maybe this is creating the problem for usb2. -kim From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 23:36:56 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A42E106566C; Mon, 23 Feb 2009 23:36:56 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id BDB318FC19; Mon, 23 Feb 2009 23:36:55 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n1NNcPmk081510; Mon, 23 Feb 2009 18:38:25 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Andrew Thompson In-Reply-To: <20090220033740.GA903@citylink.fud.org.nz> References: <20090220033740.GA903@citylink.fud.org.nz> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-MViGH2MAgIAuldGzpZXS" Organization: MarcusCom, Inc. Date: Mon, 23 Feb 2009 18:37:14 -0500 Message-Id: <1235432234.91306.9.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: usb@freebsd.org, current@freebsd.org Subject: Re: CFR: usb switchover patches X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 23:36:56 -0000 --=-MViGH2MAgIAuldGzpZXS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2009-02-19 at 19:37 -0800, Andrew Thompson wrote: > Hi, >=20 >=20 > I have put together a proposed set of changes for moving USB2 to its > permanent location. The layout has some differences to how it is right > now so I am looking for feedback. >=20 > The changeover requires that the old usb stack be available until 8.0 is > branched and moves it from sys/dev/usb to sys/legacy/dev/usb. The reason > for this location is to reduce the changes in #includes (using -I > compiler hacks). The patch doesnt show userland changes required for > usbdevs and friends but they will be done. >=20 > Some ports will break. Any that exist solely for the old usb stack can > be marked broken (like udesc_dump). I dont know that the fallout will be > like for the others, maybe portmgr would be interested in doing a build > test. >=20 > The change roughly goes >=20 > svn move sys/dev/usb -> sys/legacy/dev/usb > svn move sys/dev/usb2 -> sys/dev/usb (with fixups, see below) The headers for usb are no longer installed. This rebreaks hal as I attempt to build both backends. Can you make sure the old usb headers are also installed (/usr/include/dev/legacy/usb)? Without this, I will have to redo the hal build code. Joe >=20 >=20 > The patch for the build system can be viewed here, > http://people.freebsd.org/~thompsa/usb_layout/usb_xover.diff >=20 > Now the changes... For starters the '2' will be removed from the > filenames but furthermore I want to flatten dev/usb2/core and=20 > dev/usb2/include into just dev/usb, keeping the peripheral drivers in > their subdirs. Its hard to show with a diff so simply browse the layout > here, http://people.freebsd.org/~thompsa/usb_layout/dev/ >=20 > Please send any minor/nitpick changes to me privately, keeping any list > replies to the overall changes. >=20 >=20 > regards, > Andrew > _______________________________________________ > 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= " >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-MViGH2MAgIAuldGzpZXS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkmjMycACgkQb2iPiv4Uz4fHiACfe0Q9AD1fyhdES+nLYDIeYnOa GjgAn3r/OUD2Vd7glhGYsBMAmTSS+arC =bu1f -----END PGP SIGNATURE----- --=-MViGH2MAgIAuldGzpZXS-- From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 23:43:12 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6F50106566B; Mon, 23 Feb 2009 23:43:12 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 69C778FC12; Mon, 23 Feb 2009 23:43:12 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id C2E74FF77; Tue, 24 Feb 2009 12:43:11 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lisBHs5HoX5F; Tue, 24 Feb 2009 12:43:08 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Tue, 24 Feb 2009 12:43:08 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 9551D1142F; Tue, 24 Feb 2009 12:43:07 +1300 (NZDT) Date: Mon, 23 Feb 2009 15:43:07 -0800 From: Andrew Thompson To: Joe Marcus Clarke Message-ID: <20090223234307.GA999@citylink.fud.org.nz> References: <20090220033740.GA903@citylink.fud.org.nz> <1235432234.91306.9.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1235432234.91306.9.camel@shumai.marcuscom.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org, current@freebsd.org Subject: Re: CFR: usb switchover patches X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 23:43:13 -0000 On Mon, Feb 23, 2009 at 06:37:14PM -0500, Joe Marcus Clarke wrote: > On Thu, 2009-02-19 at 19:37 -0800, Andrew Thompson wrote: > > Hi, > > > > > > I have put together a proposed set of changes for moving USB2 to its > > permanent location. The layout has some differences to how it is right > > now so I am looking for feedback. > > > > The changeover requires that the old usb stack be available until 8.0 is > > branched and moves it from sys/dev/usb to sys/legacy/dev/usb. The reason > > for this location is to reduce the changes in #includes (using -I > > compiler hacks). The patch doesnt show userland changes required for > > usbdevs and friends but they will be done. > > > > Some ports will break. Any that exist solely for the old usb stack can > > be marked broken (like udesc_dump). I dont know that the fallout will be > > like for the others, maybe portmgr would be interested in doing a build > > test. > > > > The change roughly goes > > > > svn move sys/dev/usb -> sys/legacy/dev/usb > > svn move sys/dev/usb2 -> sys/dev/usb (with fixups, see below) > > The headers for usb are no longer installed. This rebreaks hal as I > attempt to build both backends. Can you make sure the old usb headers > are also installed (/usr/include/dev/legacy/usb)? Without this, I will > have to redo the hal build code. I was hoping I wouldnt have to do this as it breaks kdump since they both define the same typedefs. kdump builds its tables from trolling /usr/include. I will have a look at this. Andrew From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 23:46:05 2009 Return-Path: Delivered-To: usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C15F1106564A; Mon, 23 Feb 2009 23:46:05 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 54D368FC08; Mon, 23 Feb 2009 23:46:05 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n1NNlZRL081595; Mon, 23 Feb 2009 18:47:35 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Andrew Thompson In-Reply-To: <20090223234307.GA999@citylink.fud.org.nz> References: <20090220033740.GA903@citylink.fud.org.nz> <1235432234.91306.9.camel@shumai.marcuscom.com> <20090223234307.GA999@citylink.fud.org.nz> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-fsQ80n4SIpmOrndzTCZK" Organization: MarcusCom, Inc. Date: Mon, 23 Feb 2009 18:46:23 -0500 Message-Id: <1235432783.91306.10.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: usb@FreeBSD.org, current@FreeBSD.org Subject: Re: CFR: usb switchover patches X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 23:46:06 -0000 --=-fsQ80n4SIpmOrndzTCZK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2009-02-23 at 15:43 -0800, Andrew Thompson wrote: > On Mon, Feb 23, 2009 at 06:37:14PM -0500, Joe Marcus Clarke wrote: > > On Thu, 2009-02-19 at 19:37 -0800, Andrew Thompson wrote: > > > Hi, > > >=20 > > >=20 > > > I have put together a proposed set of changes for moving USB2 to its > > > permanent location. The layout has some differences to how it is righ= t > > > now so I am looking for feedback. > > >=20 > > > The changeover requires that the old usb stack be available until 8.0= is > > > branched and moves it from sys/dev/usb to sys/legacy/dev/usb. The rea= son > > > for this location is to reduce the changes in #includes (using -I > > > compiler hacks). The patch doesnt show userland changes required for > > > usbdevs and friends but they will be done. > > >=20 > > > Some ports will break. Any that exist solely for the old usb stack ca= n > > > be marked broken (like udesc_dump). I dont know that the fallout will= be > > > like for the others, maybe portmgr would be interested in doing a bui= ld > > > test. > > >=20 > > > The change roughly goes > > >=20 > > > svn move sys/dev/usb -> sys/legacy/dev/usb > > > svn move sys/dev/usb2 -> sys/dev/usb (with fixups, see below) > >=20 > > The headers for usb are no longer installed. This rebreaks hal as I > > attempt to build both backends. Can you make sure the old usb headers > > are also installed (/usr/include/dev/legacy/usb)? Without this, I will > > have to redo the hal build code. >=20 > I was hoping I wouldnt have to do this as it breaks kdump since they > both define the same typedefs. kdump builds its tables from trolling > /usr/include. Can the legacy directory be ignored? >=20 > I will have a look at this. Thanks. I know I'm going to start get build error reports soon. I'd like to put this to bed. Joe >=20 > Andrew >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-fsQ80n4SIpmOrndzTCZK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkmjNU4ACgkQb2iPiv4Uz4deyACgrzPT3xNrC9FiMFeXk4p58EaZ WlAAoKAddITrv+vd5kzm/pB2OPVjLRpU =hfU7 -----END PGP SIGNATURE----- --=-fsQ80n4SIpmOrndzTCZK-- From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 01:10:02 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16862106568A for ; Tue, 24 Feb 2009 01:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E63C78FC1D for ; Tue, 24 Feb 2009 01:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1O1A1nY002091 for ; Tue, 24 Feb 2009 01:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1O1A176002090; Tue, 24 Feb 2009 01:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 24 Feb 2009 01:10:01 GMT Resent-Message-Id: <200902240110.n1O1A176002090@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Johnson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA0E7106566B for ; Tue, 24 Feb 2009 01:02:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D81208FC1D for ; Tue, 24 Feb 2009 01:02:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1O12kwt042368 for ; Tue, 24 Feb 2009 01:02:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1O12kXa042367; Tue, 24 Feb 2009 01:02:46 GMT (envelope-from nobody) Message-Id: <200902240102.n1O12kXa042367@www.freebsd.org> Date: Tue, 24 Feb 2009 01:02:46 GMT From: David Johnson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/132036: page fault when connecting Olympus C740 camera X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 01:10:02 -0000 >Number: 132036 >Category: usb >Synopsis: page fault when connecting Olympus C740 camera >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 24 01:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: David Johnson >Release: 7.1-STABLE >Organization: >Environment: FreeBSD radagast.usermode.org 7.1-STABLE FreeBSD 7.1-STABLE #1: Sun Feb 15 14:58:30 PST 2009 david@radagast.usermode.org:/usr/obj/usr/src/sys/RADAGAST i386 >Description: FreeBSD page faults and panics when connecting an Olympus C740 camera. This happens every time on two separate systems with 7.1-STABLE. I have had this camera a few years, and this is new behavior. It was definitely not doing this the last time I connected the camera in November with 7.0-RELEASE. >From log/messages: Feb 23 16:27:06 radagast root: Unknown USB device: vendor 0x07b4 product 0x0105 bus uhub4 Feb 23 16:27:06 radagast kernel: umass0: on uhub4 >From crash/info.0: Dump header from device /dev/ad8s1b Architecture: i386 Architecture Version: 2 Dump Length: 239534080B (228 MB) Blocksize: 512 Dumptime: Mon Feb 23 16:27:06 2009 Hostname: radagast.usermode.org Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.1-STABLE #1: Sun Feb 15 14:58:30 PST 2009 david@radagast.usermode.org:/usr/obj/usr/src/sys/RADAGAST Panic String: page fault Dump Parity: 2507188485 Bounds: 0 Dump Status: good I can provide a core if necessary. >How-To-Repeat: Connect camera to USB port. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 06:09:22 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B0501065673 for ; Tue, 24 Feb 2009 06:09:22 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id AD4258FC1B for ; Tue, 24 Feb 2009 06:09:21 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 24 Feb 2009 06:09:20 -0000 Received: from p54A3E245.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.226.69] by mail.gmx.net (mp005) with SMTP; 24 Feb 2009 07:09:20 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1+Ih6BpLw6IryUma7yCAHyAGQUHg516mtTNHt2klP J0FdDoPVrsxv1i Message-ID: <49A38F0F.8040008@gmx.de> Date: Tue, 24 Feb 2009 07:09:19 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Hans Petter Selasky References: <20090206045349.GQ78804@elvis.mu.org> <200902091534.12506.hselasky@c2i.net> <49904238.50505@gmx.de> <200902091608.34376.hselasky@c2i.net> In-Reply-To: <200902091608.34376.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 Cc: usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: HEADSUP usb2/usb4bsd to become default in GENERIC X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 06:09:23 -0000 Hans Petter Selasky schrieb: > On Monday 09 February 2009, Christoph Mallon wrote: >> Hans Petter Selasky schrieb: >>> On Monday 09 February 2009, Christoph Mallon wrote: >>>> Hans Petter Selasky schrieb: >>>>> On Monday 09 February 2009, Christoph Mallon wrote: >>>>>> Christoph Mallon schrieb: >>>>>>> are named "err" or "error". This should be investigated, so here's >>>>>>> the complete list: >>>>>> Sorry, my MUA seems to have damaged the list. You can get the list >>>>>> here: http://tron.homeunix.org/usb2.unread.log >>>>> I think some of these errors depend if you have USB debugging compiled >>>>> or not. At least GCC does not warn? >>>> No, it does not depend on USB debugging. >>>> GCC has no warning at all for variables which are only assigned to. >>>> It only can warn about variables, which are only initialised. >>>> >>>> { >>>> int x = 23; // GCC warns here ... >>>> int y; // ... but not here - cparser does >>>> y = 42; >>>> y++; >>>> } >>>> >>>> cparser has an analysis, which can warn about "y", too. >>>> >>>> I manually verified all 40 warnings and I cannot find any users (i.e. >>>> readers) for these variables. >>> What is the correct way to discard the return argument of a function? >>> That's basically what most of the warnings are about. >>> >>> 1) (void)my_fn() cast >>> 2) if (my_fn()) { } >>> 3) err = my_fn(); >>> 4) my_fn(); >> Just to understand this correctly: You want to discard error codes? >> >> >> Basically I see four categories: >> >> 1) Getting the softc and not using it. >> This can be removed completely. >> Example: >> sc = ATMEGA_BUS2SC(xfer->xroot->bus); >> >> 2) calling mtx_owned() and discarding the return value. >> Can be removed, too, after checking that the value is really unnecessary. >> Example: >> use_polling = mtx_owned(xfer->xroot->xfer_mtx) ? 1 : 0; >> >> 3) Getting some value and not using it. >> Can be removed, too, after checking that the value is really unnecessary. >> Example: >> ep_no = (xfer->endpoint & UE_ADDR); >> >> 4) The rest are return values of functions, which contain error codes. >> Discarding them is questionable at best. >> Example: (err is not read) >> if (udev->flags.suspended) { >> err = DEVICE_SUSPEND(iface->subdev); >> device_printf(iface->subdev, "Suspend failed\n"); >> } >> return (0); /* success */ > > Hi, > > Can you wait some days and re-run the analysis on -current, because there is a > bulk of patches going in to some of the code you have analysed, so the line > numbers are likely to not match. Then we fix those warnings! Here's the updated list: http://tron.homeunix.org/usb2.unread.20090224.log It contains 33 items. 12 of the variables are named "err" or "error". From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 08:03:14 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19231106566C for ; Tue, 24 Feb 2009 08:03:14 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.tele2.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 7903A8FC14 for ; Tue, 24 Feb 2009 08:03:13 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=9CSpTaZppU4A:10 a=jlvoQYuZvwQA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=8kQB0OdkAAAA:8 a=lbu7ikRjqXjoeziDgNAA:9 a=EX03H5kail834OzSq54A:7 a=G3ccQrzSZa0za4Lip9RAklPIzNcA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1028250322; Tue, 24 Feb 2009 09:03:11 +0100 From: Hans Petter Selasky To: Kim Culhan Date: Tue, 24 Feb 2009 09:05:41 +0100 User-Agent: KMail/1.9.7 References: <89dbfdc30902231031j4407614vdce09e8e58cdc346@mail.gmail.com> <200902232156.14845.hselasky@c2i.net> <89dbfdc30902231458s2c8a1534kb2180c8cd0ddd290@mail.gmail.com> In-Reply-To: <89dbfdc30902231458s2c8a1534kb2180c8cd0ddd290@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902240905.42406.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: reattach 3g0 device: could not allocate new device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 08:03:14 -0000 On Monday 23 February 2009, Kim Culhan wrote: > On Mon, Feb 23, 2009 at 3:56 PM, Hans Petter Selasky wrote: > > On Monday 23 February 2009, Kim Culhan wrote: > >> Running 8.0-CURRENT as of 2-22-09 > >> > >> The 3g0 device is a Novatel U727 EVDO wireless radio. > >> > >> If the machine boots with the device attached, dmesg reads: > >> > >> u3g0: on usbus2 > >> > >> Remove the device and this is logged: > >> > >> u3g0: at ushub2, port 2, addr 2 (disconnected) > >> > >> Reattach the device and there is this message: > >> > >> uhub_reattach_port:414: could not allocate new device! > >> > >> kernel config has: > >> > >> device usb2_serial_3g > >> > >> Any help is greatly appreciated > > > > Hi, > > > > Can you turn on USB HUB debugging: > > > > sysctl hw.usb2.uhub.debug=15 > > sysctl hw.usb.uhub.debug=15 > Hi Kim, In the latter case you don't have the U3G driver loaded. The U3G driver will detect the CD-ROM and send an eject or propritary command. After some while the device should show up like a u3g0 device. The error message you get is like it should be when CD-ROM detection is enabled. --HPS > Sure here is dmesg with sysctl hw.usb2.uhub.debug=15 > > uhub_read_port_status:259: port 2, wPortStatus=0x0103, > wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION > usb2_transfer_power_ref:1470: Adding type 0 to power state > usb2_transfer_power_ref:1483: needs power > u3g_huawei_init:278: > usb2_alloc_device:1618: Found Huawei auto-install disk! > usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] = 0xc6bc6000 > ugen2.2: at usbus2 > ugen2.2: at usbus2 (disconnected) > usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] = 0 > uhub_reattach_port:414: could not allocate new device! > usb2_needs_explore:1345: > usb2_bus_powerd:1516: bus=0xc670bcf0 > usb2_bus_powerd:1599: Recomputing power masks > uhub_explore:522: udev=0xc6a93000 addr=1 > > With the old usb, this was returned: > > Feb 22 10:38:37 smallster kernel: ugen2.2: at > usbus2 Feb 22 10:38:37 smallster kernel: umass0: Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 2> on usbus2 > Feb 22 10:38:37 smallster kernel: umass0: SCSI over Bulk-Only; quirks = > 0x0000 Feb 22 10:38:38 smallster kernel: umass0:1:0:-1: Attached to scbus1 > Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): TEST UNIT > READY. CDB: 0 0 0 0 0 0 > Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): CAM > Status: SCSI Status Error > Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): SCSI > Status: Check Condition > Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): NOT READY > asc:3a,0 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): > Medium not present Feb 22 10:38:39 smallster kernel: > (probe0:umass-sim0:0:0:0): Unretryable error Feb 22 10:38:39 smallster > kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Feb 22 10:38:39 smallster > kernel: cd0: Removable CD-ROM SCSI-2 device > Feb 22 10:38:39 smallster kernel: cd0: 1.000MB/s transfers > Feb 22 10:38:39 smallster kernel: cd0: Attempt to query device size > failed: NOT READY, Medium not present > Feb 22 10:40:27 smallster kernel: g_vfs_done():cd0[READ(offset=65536, > length=8192)]error = 5 > Feb 22 10:43:39 smallster kernel: umass0: at ushub2, port 1, addr 2 > (disconnected) > Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): lost device > Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): removing device > entry Feb 22 10:43:39 smallster kernel: ugen2.2: at > usbus2 (disconnected) > > The device initially attempts to simulate the presence of a cdrom. > > Maybe this is creating the problem for usb2. > > -kim From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 09:17:39 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 891C71065670 for ; Tue, 24 Feb 2009 09:17:39 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5AB1A8FC08 for ; Tue, 24 Feb 2009 09:17:39 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so2528260wfd.7 for ; Tue, 24 Feb 2009 01:17:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=oytKLr5prti1yWSB8jWh+J4VfFYX3B1UGrEL6RShY1s=; b=grRniqZ3nnD9w5gARvfaGRi5o6OVZQ7DP7KZI1M9Zw7yiva2J5oqhes/z24DpaD4z1 G35Y3Jsb7Tr/TngroxEy9nK56WbYYlFkOB+StVPYf062OJkJQbmAJ9sajgJ3A9rMqlEw Gdar4xFhAEijESRvuOWs17LCsURCSGAl9pzRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=K6LOXD+BYXxmAoKFn94pzbZwjfuYyPBK52poxfXMXZtEY1jeX91sOUv2jhiIlD0jmr zbgnFPKzaiAkuwUa13FSvmEHroIVXO1jWouz5Q+qknDPLDx054F5odpha3geFMNk5UXq keJwrO/nm8viMxj3qYPM0aVwUAKJ6Leg74ni8= MIME-Version: 1.0 Received: by 10.142.237.20 with SMTP id k20mr2438793wfh.93.1235467059055; Tue, 24 Feb 2009 01:17:39 -0800 (PST) In-Reply-To: <200902240905.42406.hselasky@c2i.net> References: <89dbfdc30902231031j4407614vdce09e8e58cdc346@mail.gmail.com> <200902232156.14845.hselasky@c2i.net> <89dbfdc30902231458s2c8a1534kb2180c8cd0ddd290@mail.gmail.com> <200902240905.42406.hselasky@c2i.net> Date: Tue, 24 Feb 2009 04:17:39 -0500 Message-ID: <89dbfdc30902240117k7368d60did8bb0e7e6230d5f8@mail.gmail.com> From: Kim Culhan To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: reattach 3g0 device: could not allocate new device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 09:17:39 -0000 On Tue, Feb 24, 2009 at 3:05 AM, Hans Petter Selasky wro= te: > On Monday 23 February 2009, Kim Culhan wrote: >> On Mon, Feb 23, 2009 at 3:56 PM, Hans Petter Selasky > wrote: >> > On Monday 23 February 2009, Kim Culhan wrote: >> >> Running 8.0-CURRENT as of 2-22-09 >> >> >> >> The 3g0 device is a Novatel U727 EVDO wireless radio. >> >> >> >> If the machine boots with the device attached, dmesg reads: >> >> >> >> u3g0: on usbus2 >> >> >> >> Remove the device and this is logged: >> >> >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) >> >> >> >> Reattach the device and there is this message: >> >> >> >> uhub_reattach_port:414: could not allocate new device! >> >> >> >> kernel config has: >> >> >> >> device =A0 usb2_serial_3g >> >> >> >> Any help is greatly appreciated >> > >> > Hi, >> > >> > Can you turn on USB HUB debugging: >> > >> > sysctl hw.usb2.uhub.debug=3D15 >> > sysctl hw.usb.uhub.debug=3D15 >> >> Sure here is dmesg with sysctl hw.usb2.uhub.debug=3D15 >> >> uhub_read_port_status:259: port 2, wPortStatus=3D0x0103, >> wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION >> usb2_transfer_power_ref:1470: Adding type 0 to power state >> usb2_transfer_power_ref:1483: needs power >> u3g_huawei_init:278: >> usb2_alloc_device:1618: Found Huawei auto-install disk! >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0xc6bc6000 >> ugen2.2: at usbus2 >> ugen2.2: at usbus2 (disconnected) >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0 >> uhub_reattach_port:414: could not allocate new device! >> usb2_needs_explore:1345: >> usb2_bus_powerd:1516: bus=3D0xc670bcf0 >> usb2_bus_powerd:1599: Recomputing power masks >> uhub_explore:522: udev=3D0xc6a93000 addr=3D1 >> >> With the old usb, this was returned: >> >> Feb 22 10:38:37 smallster kernel: ugen2.2: at >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: > Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 2> on usbus2 >> Feb 22 10:38:37 smallster kernel: umass0: =A0SCSI over Bulk-Only; quirks= =3D >> 0x0000 Feb 22 10:38:38 smallster kernel: umass0:1:0:-1: Attached to scbu= s1 >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): TEST UNIT >> READY. CDB: 0 0 0 0 0 0 >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): CAM >> Status: SCSI Status Error >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): SCSI >> Status: Check Condition >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): NOT READY >> asc:3a,0 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): >> Medium not present Feb 22 10:38:39 smallster kernel: >> (probe0:umass-sim0:0:0:0): Unretryable error Feb 22 10:38:39 smallster >> kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Feb 22 10:38:39 smallster >> kernel: cd0: Removable CD-ROM SCSI-2 device >> Feb 22 10:38:39 smallster kernel: cd0: 1.000MB/s transfers >> Feb 22 10:38:39 smallster kernel: cd0: Attempt to query device size >> failed: NOT READY, Medium not present >> Feb 22 10:40:27 smallster kernel: g_vfs_done():cd0[READ(offset=3D65536, >> length=3D8192)]error =3D 5 >> Feb 22 10:43:39 smallster kernel: umass0: at ushub2, port 1, addr 2 >> (disconnected) >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): lost device >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): removing devic= e >> entry Feb 22 10:43:39 smallster kernel: ugen2.2: = at >> usbus2 (disconnected) >> >> The device initially attempts to simulate the presence of a cdrom. >> >> Maybe this is creating the problem for usb2. >> >> -kim > Hi Kim, > > In the latter case you don't have the U3G driver loaded. The U3G driver w= ill > detect the CD-ROM and send an eject or propritary command. After some whi= le > the device should show up like a u3g0 device. The error message you get i= s > like it should be when CD-ROM detection is enabled. > > --HPS > The latter case is for the obsolete usb driver but I included it for information RE the CD-ROM eject action. How would it work in the case of the new usb2 driver? -kim From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 09:32:04 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 794001065768 for ; Tue, 24 Feb 2009 09:32:04 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id D70558FC0C for ; Tue, 24 Feb 2009 09:32:03 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=9CSpTaZppU4A:10 a=jlvoQYuZvwQA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=8kQB0OdkAAAA:8 a=RmuUiZy9GtIZGqLpx20A:9 a=AVQSH1kJ6Hr5j45RYEsA:7 a=n0cu8qZHjs0vlkWAnB5Ig8MVGGYA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1028304587; Tue, 24 Feb 2009 10:32:01 +0100 From: Hans Petter Selasky To: Kim Culhan Date: Tue, 24 Feb 2009 10:34:29 +0100 User-Agent: KMail/1.9.7 References: <89dbfdc30902231031j4407614vdce09e8e58cdc346@mail.gmail.com> <200902240905.42406.hselasky@c2i.net> <89dbfdc30902240117k7368d60did8bb0e7e6230d5f8@mail.gmail.com> In-Reply-To: <89dbfdc30902240117k7368d60did8bb0e7e6230d5f8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200902241034.31298.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: reattach 3g0 device: could not allocate new device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 09:32:05 -0000 On Tuesday 24 February 2009, Kim Culhan wrote: > On Tue, Feb 24, 2009 at 3:05 AM, Hans Petter Selasky =20 wrote: > > On Monday 23 February 2009, Kim Culhan wrote: > >> On Mon, Feb 23, 2009 at 3:56 PM, Hans Petter Selasky > > > > wrote: > >> > On Monday 23 February 2009, Kim Culhan wrote: > >> >> Running 8.0-CURRENT as of 2-22-09 > >> >> > >> >> The 3g0 device is a Novatel U727 EVDO wireless radio. > >> >> > >> >> If the machine boots with the device attached, dmesg reads: > >> >> > >> >> u3g0: on usbus2 > >> >> > >> >> Remove the device and this is logged: > >> >> > >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) > >> >> > >> >> Reattach the device and there is this message: > >> >> > >> >> uhub_reattach_port:414: could not allocate new device! > >> >> > >> >> kernel config has: > >> >> > >> >> device =A0 usb2_serial_3g > >> >> > >> >> Any help is greatly appreciated > >> > > >> > Hi, > >> > > >> > Can you turn on USB HUB debugging: > >> > > >> > sysctl hw.usb2.uhub.debug=3D15 > >> > sysctl hw.usb.uhub.debug=3D15 > >> > >> Sure here is dmesg with sysctl hw.usb2.uhub.debug=3D15 > >> > >> uhub_read_port_status:259: port 2, wPortStatus=3D0x0103, > >> wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION > >> usb2_transfer_power_ref:1470: Adding type 0 to power state > >> usb2_transfer_power_ref:1483: needs power > >> u3g_huawei_init:278: > >> usb2_alloc_device:1618: Found Huawei auto-install disk! > >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0xc6bc6000 > >> ugen2.2: at usbus2 > >> ugen2.2: at usbus2 (disconnected) > >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0 > >> uhub_reattach_port:414: could not allocate new device! > >> usb2_needs_explore:1345: > >> usb2_bus_powerd:1516: bus=3D0xc670bcf0 > >> usb2_bus_powerd:1599: Recomputing power masks > >> uhub_explore:522: udev=3D0xc6a93000 addr=3D1 > >> > >> With the old usb, this was returned: > >> > >> Feb 22 10:38:37 smallster kernel: ugen2.2: at > >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: >> Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 2> on usbus2 > >> Feb 22 10:38:37 smallster kernel: umass0: =A0SCSI over Bulk-Only; quir= ks =3D > >> 0x0000 Feb 22 10:38:38 smallster kernel: umass0:1:0:-1: Attached to > >> scbus1 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): TE= ST > >> UNIT READY. CDB: 0 0 0 0 0 0 > >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): CAM > >> Status: SCSI Status Error > >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): SCSI > >> Status: Check Condition > >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): NOT READY > >> asc:3a,0 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): > >> Medium not present Feb 22 10:38:39 smallster kernel: > >> (probe0:umass-sim0:0:0:0): Unretryable error Feb 22 10:38:39 smallster > >> kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Feb 22 10:38:39 smallst= er > >> kernel: cd0: Removable CD-ROM SCSI-2 device > >> Feb 22 10:38:39 smallster kernel: cd0: 1.000MB/s transfers > >> Feb 22 10:38:39 smallster kernel: cd0: Attempt to query device size > >> failed: NOT READY, Medium not present > >> Feb 22 10:40:27 smallster kernel: g_vfs_done():cd0[READ(offset=3D65536, > >> length=3D8192)]error =3D 5 > >> Feb 22 10:43:39 smallster kernel: umass0: at ushub2, port 1, addr 2 > >> (disconnected) > >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): lost device > >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): removing > >> device entry Feb 22 10:43:39 smallster kernel: ugen2.2: >> Wireless Inc.> at usbus2 (disconnected) > >> > >> The device initially attempts to simulate the presence of a cdrom. > >> > >> Maybe this is creating the problem for usb2. > >> > >> -kim > > > > Hi Kim, > > > > In the latter case you don't have the U3G driver loaded. The U3G driver > > will detect the CD-ROM and send an eject or propritary command. After > > some while the device should show up like a u3g0 device. The error > > message you get is like it should be when CD-ROM detection is enabled. > > > > --HPS > > The latter case is for the obsolete usb driver but I included it for > information RE > the CD-ROM eject action. > > How would it work in the case of the new usb2 driver? Hi, It works the same like in the old driver, if you unload the u3g module (whi= ch=20 takes around 16 seconds) =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 16:31:11 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 170D81065741; Tue, 24 Feb 2009 16:31:11 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E18688FC16; Tue, 24 Feb 2009 16:31:10 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1OGVATt045551; Tue, 24 Feb 2009 16:31:10 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1OGVAJK045547; Tue, 24 Feb 2009 16:31:10 GMT (envelope-from gavin) Date: Tue, 24 Feb 2009 16:31:10 GMT Message-Id: <200902241631.n1OGVAJK045547@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/132066: [ukbd] Keyboard failure USB keyboard DELL 760 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 16:31:12 -0000 Old Synopsis: Keyboard failure USB keyboard DELL 760 New Synopsis: [ukbd] Keyboard failure USB keyboard DELL 760 Responsible-Changed-From-To: freebsd-i386->freebsd-usb Responsible-Changed-By: gavin Responsible-Changed-When: Tue Feb 24 16:29:54 UTC 2009 Responsible-Changed-Why: Over to maintainer(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=132066 From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 16:34:05 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 440BB1065673; Tue, 24 Feb 2009 16:34:05 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 197718FC0A; Tue, 24 Feb 2009 16:34:05 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1OGY4mH046765; Tue, 24 Feb 2009 16:34:04 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1OGY4MO046761; Tue, 24 Feb 2009 16:34:04 GMT (envelope-from gavin) Date: Tue, 24 Feb 2009 16:34:04 GMT Message-Id: <200902241634.n1OGY4MO046761@freefall.freebsd.org> To: jlevine@boulder.nist.gov, gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/132066: [ukbd] Keyboard failure USB keyboard DELL 760 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 16:34:05 -0000 Synopsis: [ukbd] Keyboard failure USB keyboard DELL 760 State-Changed-From-To: open->feedback State-Changed-By: gavin State-Changed-When: Tue Feb 24 16:32:42 UTC 2009 State-Changed-Why: To submitter: Can you please give the output of "usbdevs -v"? Also, please reboot and select the "verbose logging" option from the menu, and supply the output of "dmesg |grep -A 2 -B 2 kbd" http://www.freebsd.org/cgi/query-pr.cgi?pr=132066 From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 21:38:21 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B37D4106564A for ; Tue, 24 Feb 2009 21:38:21 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC7B8FC15 for ; Tue, 24 Feb 2009 21:38:21 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so2809215wfd.7 for ; Tue, 24 Feb 2009 13:38:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=ERN8pbZeZLRdTY3vaVmtoKxBtWdFibwABzMTBb8SgIw=; b=r3wqBzUFAUvF7wL1EKUJ7iujcP8mI8r4yPRpLfZ7H6JjVnCkylh/WCe4Zn1ePy6NbM s5xtGMcRN0OqCiCjb7SAqiUOAdUTENNIf+nlXj8GYcQg8GYb5ijJPCbW6AX5ymwPs/aV bwumCdkkTFX9SIyq7MtRRJ8y0so7OnlLB+nsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=al/MLBq0lTuBeMfemQYJ9NpfkuGaGmWx/MJiK0R9U2ve4AAN7Yq4nSoAOaLuFtS8Lk cygGh1TrjNuMDvX9FdbP0tOqSl0+7Aex2WEKsu5UNoWoRlDZtuXWHxgc04ZTfWop/kwX Q40a06ZC0XaQQGjcnbyAIxcQexvh0++1E00+E= MIME-Version: 1.0 Received: by 10.142.126.6 with SMTP id y6mr2727942wfc.153.1235511501116; Tue, 24 Feb 2009 13:38:21 -0800 (PST) Date: Tue, 24 Feb 2009 16:38:21 -0500 Message-ID: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> From: Kim Culhan To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 21:38:22 -0000 On Tue, Feb 24, 2009 at 4:34 AM, Hans Petter Selasky wro= te: > On Tuesday 24 February 2009, Kim Culhan wrote: >> On Tue, Feb 24, 2009 at 3:05 AM, Hans Petter Selasky > wrote: >> > On Monday 23 February 2009, Kim Culhan wrote: >> >> On Mon, Feb 23, 2009 at 3:56 PM, Hans Petter Selasky >> > >> > wrote: >> >> > On Monday 23 February 2009, Kim Culhan wrote: >> >> >> Running 8.0-CURRENT as of 2-22-09 >> >> >> >> >> >> The 3g0 device is a Novatel U727 EVDO wireless radio. >> >> >> >> >> >> If the machine boots with the device attached, dmesg reads: >> >> >> >> >> >> u3g0: on usbus2 >> >> >> >> >> >> Remove the device and this is logged: >> >> >> >> >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) >> >> >> >> >> >> Reattach the device and there is this message: >> >> >> >> >> >> uhub_reattach_port:414: could not allocate new device! >> >> >> >> >> >> kernel config has: >> >> >> >> >> >> device =A0 usb2_serial_3g >> >> >> >> >> >> Any help is greatly appreciated >> >> > >> >> > Hi, >> >> > >> >> > Can you turn on USB HUB debugging: >> >> > >> >> > sysctl hw.usb2.uhub.debug=3D15 >> >> > sysctl hw.usb.uhub.debug=3D15 >> >> >> >> Sure here is dmesg with sysctl hw.usb2.uhub.debug=3D15 >> >> >> >> uhub_read_port_status:259: port 2, wPortStatus=3D0x0103, >> >> wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION >> >> usb2_transfer_power_ref:1470: Adding type 0 to power state >> >> usb2_transfer_power_ref:1483: needs power >> >> u3g_huawei_init:278: >> >> usb2_alloc_device:1618: Found Huawei auto-install disk! >> >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0xc6bc60= 00 >> >> ugen2.2: at usbus2 >> >> ugen2.2: at usbus2 (disconnected) >> >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0 >> >> uhub_reattach_port:414: could not allocate new device! >> >> usb2_needs_explore:1345: >> >> usb2_bus_powerd:1516: bus=3D0xc670bcf0 >> >> usb2_bus_powerd:1599: Recomputing power masks >> >> uhub_explore:522: udev=3D0xc6a93000 addr=3D1 >> >> >> >> With the old usb, this was returned: >> >> >> >> Feb 22 10:38:37 smallster kernel: ugen2.2: at >> >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: > >> Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 2> on usbus2 >> >> Feb 22 10:38:37 smallster kernel: umass0: =A0SCSI over Bulk-Only; qui= rks =3D >> >> 0x0000 Feb 22 10:38:38 smallster kernel: umass0:1:0:-1: Attached to >> >> scbus1 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): T= EST >> >> UNIT READY. CDB: 0 0 0 0 0 0 >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): CAM >> >> Status: SCSI Status Error >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): SCSI >> >> Status: Check Condition >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): NOT READ= Y >> >> asc:3a,0 Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): >> >> Medium not present Feb 22 10:38:39 smallster kernel: >> >> (probe0:umass-sim0:0:0:0): Unretryable error Feb 22 10:38:39 smallste= r >> >> kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Feb 22 10:38:39 smalls= ter >> >> kernel: cd0: Removable CD-ROM SCSI-2 devi= ce >> >> Feb 22 10:38:39 smallster kernel: cd0: 1.000MB/s transfers >> >> Feb 22 10:38:39 smallster kernel: cd0: Attempt to query device size >> >> failed: NOT READY, Medium not present >> >> Feb 22 10:40:27 smallster kernel: g_vfs_done():cd0[READ(offset=3D6553= 6, >> >> length=3D8192)]error =3D 5 >> >> Feb 22 10:43:39 smallster kernel: umass0: at ushub2, port 1, addr 2 >> >> (disconnected) >> >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): lost device >> >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): removing >> >> device entry Feb 22 10:43:39 smallster kernel: ugen2.2: > >> Wireless Inc.> at usbus2 (disconnected) >> >> >> >> The device initially attempts to simulate the presence of a cdrom. >> >> >> >> Maybe this is creating the problem for usb2. >> >> >> >> -kim >> > >> > Hi Kim, >> > >> > In the latter case you don't have the U3G driver loaded. The U3G drive= r >> > will detect the CD-ROM and send an eject or propritary command. After >> > some while the device should show up like a u3g0 device. The error >> > message you get is like it should be when CD-ROM detection is enabled. AFAIK there is no seperate CD-ROM detection which can be enabled/disabled. The device does not show up as a u3g0 device unless the u3g module is loade= d after the system is booted with _u3g commented out of the kernel config_ After boot: kldload u3g returns u3g0: on usbus2 u3g0: Found 4 ports. If I remove the usb device it reports: u3g0: at ushub2, port 2, addr 2 (disconnected) umass0: at ushub2, port 2, addr 2 (disconnected) (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry ugen2.2: at usbus2 (disconnected) If I reattach the device it reports: u3g_huawei_init:278: usb2_alloc_device:1618: Found Huawei auto-install disk! ugen2.2: at usbus2 ugen2.2: at usbus2 (disconnected) uhub_reattach_port:414: could not allocate new device! Any info is very greatly appreciated. -kim From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 01:20:03 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06D781065672 for ; Wed, 25 Feb 2009 01:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D5B908FC13 for ; Wed, 25 Feb 2009 01:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1P1K2F0034231 for ; Wed, 25 Feb 2009 01:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1P1K2Uo034230; Wed, 25 Feb 2009 01:20:02 GMT (envelope-from gnats) Resent-Date: Wed, 25 Feb 2009 01:20:02 GMT Resent-Message-Id: <200902250120.n1P1K2Uo034230@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Melkov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CCA71065673 for ; Wed, 25 Feb 2009 01:12:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6A4638FC19 for ; Wed, 25 Feb 2009 01:12:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1P1CQCR027475 for ; Wed, 25 Feb 2009 01:12:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1P1CQGK027474; Wed, 25 Feb 2009 01:12:26 GMT (envelope-from nobody) Message-Id: <200902250112.n1P1CQGK027474@www.freebsd.org> Date: Wed, 25 Feb 2009 01:12:26 GMT From: Alexander Melkov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/132080: [patch] [usb] Kernel panic after NOMEM caused by rum card X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 01:20:03 -0000 >Number: 132080 >Category: usb >Synopsis: [patch] [usb] Kernel panic after NOMEM caused by rum card >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 25 01:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander Melkov >Release: 7.1-STABLE >Organization: >Environment: FreeBSD melkov.ru 7.1-STABLE FreeBSD 7.1-STABLE #14: Tue Feb 24 06:28:45 MSK 2009 root_at_melkov.ru:/usr/obj/usr/src/sys/MELKOV amd64 >Description: I have device which is Cisco-Linksys Compact Wireless-G USB Adapter that runs in hostap mode (i.e. wifi access point). Sometimes it malfunctions (that may happen several times a day), at that moment I have message "rum0: could not transmit buffer: NOMEM" from kernel. Right after the message kernel crashes upon read from (nearly) null address. System log: Feb 23 19:46:22 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 23 19:46:22 melkov kernel: Feb 23 19:46:22 melkov kernel: Feb 23 19:46:22 melkov kernel: Fatal trap 12: page fault while in kernel mode Feb 23 19:46:22 melkov kernel: fault virtual address = 0x290 Feb 23 19:46:22 melkov kernel: fault code = supervisor read data, page not present Feb 23 19:46:22 melkov kernel: instruction pointer = 0x8:0xffffffff80430b0d Feb 23 19:46:22 melkov kernel: stack pointer = 0x10:0xfffffffef21caa80 Feb 23 19:46:22 melkov kernel: frame pointer = 0x10:0xffffff00430cd080 Feb 23 19:46:22 melkov kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Feb 23 19:46:22 melkov kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 Feb 23 19:46:22 melkov kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Feb 23 19:46:22 melkov kernel: current process = 20 (swi6: Giant taskq) Feb 23 19:46:22 melkov kernel: trap number = 12 Feb 23 19:46:22 melkov kernel: panic: page fault (kgdb) bt 12 #0 doadump () at pcpu.h:195 #1 0x0000000000000004 in ?? () #2 0xffffffff804c8fc4 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #3 0xffffffff804c937c in panic (fmt=0xffffffff8081f82b "%s") at /usr/src/sys/kern/kern_shutdown.c:574 #4 0xffffffff8077b48f in trap_fatal (frame=0xffffff0001514000, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:764 #5 0xffffffff8077b865 in trap_pfault (frame=0xfffffffef21ca9d0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:680 #6 0xffffffff8077c195 in trap (frame=0xfffffffef21ca9d0) at /usr/src/sys/amd64/amd64/trap.c:449 #7 0xffffffff80764fee in calltrap () at /usr/src/sys/amd64/amd64/exception.S:209 #8 0xffffffff80430b0d in usb_transfer_complete (xfer=0xffffff0004d83800) at /usr/src/sys/dev/usb/usbdi.c:949 #9 0xffffffff8043119b in usbd_transfer (xfer=0xffffff0004d83800) at /usr/src/sys/dev/usb/usbdi.c:320 #10 0xffffffff804127d1 in rum_start (ifp=0xffffff0004e12000) at /usr/src/sys/dev/usb/if_rum.c:1360 #11 0xffffffff804fdb60 in taskqueue_run (queue=0xffffff00014d6780) at /usr/src/sys/kern/subr_taskqueue.c:282 (More stack frames follow...) #8 0xffffffff80430b0d in usb_transfer_complete (xfer=0xffffff0004d83800) at /usr/src/sys/dev/usb/usbdi.c:949 949 STAILQ_REMOVE_HEAD(&pipe->queue, next); (kgdb) p pipe->queue $12 = {stqh_first = 0x0, stqh_last = 0xffffff00430cd0a0} Apparently there's an attempt to STAILQ_REMOVE_HEAD from an empty pipe->queue, within usb_transfer_complete(). The USBD_NOMEM error code that rum_txeof() complains about probably comes from unsuccessful call to bus_dmamap_create() within usbd_transfer(), which I didn't investigate. >How-To-Repeat: Insert ralink-based card into usb slot and set up WPA2 PSK access point according to The Handbook. Connect to this access point from another station, perform heavy activity, periodically conecting and disconnecting. >Fix: usbd_start_transfer() has two error-handling branches first of whose called usb_insert_transfer() that ensured the pipe->queue to be non-empty later in usb_transfer_complete(). I've added similar call to the second error-handling branch. ==> usbdi.c.patch <== --- sys/dev/usb/usbdi.c.orig 2009-02-24 06:23:54.000000000 +0300 +++ sys/dev/usb/usbdi.c 2009-02-24 07:01:27.000000000 +0300 @@ -394,6 +394,8 @@ bus_dmamap_destroy(tag, dmap->map); xfer->rqflags &= ~URQ_AUTO_DMABUF; } + /* XXX: usb_transfer_complete crashes unless we call usb_insert_transfer */ + usb_insert_transfer(xfer); xfer->status = err; usb_transfer_complete(xfer); return; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 06:57:32 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 605E2106566B for ; Wed, 25 Feb 2009 06:57:32 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swipnet.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id C02858FC0A for ; Wed, 25 Feb 2009 06:57:31 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=8kQB0OdkAAAA:8 a=C34htvSlzgNV592DyjIA:9 a=NX4WI7RQF9G7SmARJzIA:7 a=KWcRGQ4BxkrnZw6RBjtsusePa4IA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1031972633; Wed, 25 Feb 2009 07:57:30 +0100 From: Hans Petter Selasky To: Kim Culhan Date: Wed, 25 Feb 2009 07:59:59 +0100 User-Agent: KMail/1.9.7 References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> In-Reply-To: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200902250800.00365.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 06:57:32 -0000 On Tuesday 24 February 2009, Kim Culhan wrote: > On Tue, Feb 24, 2009 at 4:34 AM, Hans Petter Selasky =20 wrote: > > On Tuesday 24 February 2009, Kim Culhan wrote: > >> On Tue, Feb 24, 2009 at 3:05 AM, Hans Petter Selasky > > > > wrote: > >> > On Monday 23 February 2009, Kim Culhan wrote: > >> >> On Mon, Feb 23, 2009 at 3:56 PM, Hans Petter Selasky > >> >> > >> > > >> > wrote: > >> >> > On Monday 23 February 2009, Kim Culhan wrote: > >> >> >> Running 8.0-CURRENT as of 2-22-09 > >> >> >> > >> >> >> The 3g0 device is a Novatel U727 EVDO wireless radio. > >> >> >> > >> >> >> If the machine boots with the device attached, dmesg reads: > >> >> >> > >> >> >> u3g0: on usbus2 > >> >> >> > >> >> >> Remove the device and this is logged: > >> >> >> > >> >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) > >> >> >> > >> >> >> Reattach the device and there is this message: > >> >> >> > >> >> >> uhub_reattach_port:414: could not allocate new device! > >> >> >> > >> >> >> kernel config has: > >> >> >> > >> >> >> device =A0 usb2_serial_3g > >> >> >> > >> >> >> Any help is greatly appreciated > >> >> > > >> >> > Hi, > >> >> > > >> >> > Can you turn on USB HUB debugging: > >> >> > > >> >> > sysctl hw.usb2.uhub.debug=3D15 > >> >> > sysctl hw.usb.uhub.debug=3D15 > >> >> > >> >> Sure here is dmesg with sysctl hw.usb2.uhub.debug=3D15 > >> >> > >> >> uhub_read_port_status:259: port 2, wPortStatus=3D0x0103, > >> >> wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION > >> >> usb2_transfer_power_ref:1470: Adding type 0 to power state > >> >> usb2_transfer_power_ref:1483: needs power > >> >> u3g_huawei_init:278: > >> >> usb2_alloc_device:1618: Found Huawei auto-install disk! > >> >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0xc6bc= 6000 > >> >> ugen2.2: at usbus2 > >> >> ugen2.2: at usbus2 (disconnected) > >> >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0 > >> >> uhub_reattach_port:414: could not allocate new device! > >> >> usb2_needs_explore:1345: > >> >> usb2_bus_powerd:1516: bus=3D0xc670bcf0 > >> >> usb2_bus_powerd:1599: Recomputing power masks > >> >> uhub_explore:522: udev=3D0xc6a93000 addr=3D1 > >> >> > >> >> With the old usb, this was returned: > >> >> > >> >> Feb 22 10:38:37 smallster kernel: ugen2.2: = at > >> >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: >> >> Inc. Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 2> on > >> >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: =A0SCSI over > >> >> Bulk-Only; quirks =3D 0x0000 Feb 22 10:38:38 smallster kernel: > >> >> umass0:1:0:-1: Attached to scbus1 Feb 22 10:38:39 smallster kernel: > >> >> (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): CAM > >> >> Status: SCSI Status Error > >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): SCSI > >> >> Status: Check Condition > >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): NOT > >> >> READY asc:3a,0 Feb 22 10:38:39 smallster kernel: > >> >> (probe0:umass-sim0:0:0:0): Medium not present Feb 22 10:38:39 > >> >> smallster kernel: > >> >> (probe0:umass-sim0:0:0:0): Unretryable error Feb 22 10:38:39 > >> >> smallster kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Feb 22 > >> >> 10:38:39 smallster kernel: cd0: Removab= le > >> >> CD-ROM SCSI-2 device Feb 22 10:38:39 smallster kernel: cd0: 1.000MB= /s > >> >> transfers > >> >> Feb 22 10:38:39 smallster kernel: cd0: Attempt to query device size > >> >> failed: NOT READY, Medium not present > >> >> Feb 22 10:40:27 smallster kernel: g_vfs_done():cd0[READ(offset=3D65= 536, > >> >> length=3D8192)]error =3D 5 > >> >> Feb 22 10:43:39 smallster kernel: umass0: at ushub2, port 1, addr 2 > >> >> (disconnected) > >> >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): lost devi= ce > >> >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): removing > >> >> device entry Feb 22 10:43:39 smallster kernel: ugen2.2: >> >> Wireless Inc.> at usbus2 (disconnected) > >> >> > >> >> The device initially attempts to simulate the presence of a cdrom. > >> >> > >> >> Maybe this is creating the problem for usb2. > >> >> > >> >> -kim > >> > > >> > Hi Kim, > >> > > >> > In the latter case you don't have the U3G driver loaded. The U3G > >> > driver will detect the CD-ROM and send an eject or propritary comman= d. > >> > After some while the device should show up like a u3g0 device. The > >> > error message you get is like it should be when CD-ROM detection is > >> > enabled. > > AFAIK there is no seperate CD-ROM detection which can be enabled/disabled. > > The device does not show up as a u3g0 device unless the u3g module is > loaded after the system is booted with _u3g commented out of the kernel > config_ > > After boot: > > kldload u3g > > returns > > u3g0: on usbus2 > u3g0: Found 4 ports. > > If I remove the usb device it reports: > > u3g0: at ushub2, port 2, addr 2 (disconnected) > umass0: at ushub2, port 2, addr 2 (disconnected) > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > ugen2.2: at usbus2 (disconnected) > > If I reattach the device it reports: > > u3g_huawei_init:278: > usb2_alloc_device:1618: Found Huawei auto-install disk! > ugen2.2: at usbus2 > ugen2.2: at usbus2 (disconnected) > uhub_reattach_port:414: could not allocate new device! > If your device does not re-appear within 10 seconds, then try this: 1) Add a quirk: kldload usb_quirk kldload usb2_quirk usbconfig add_dev_quirk_vplh vid pid 0 0xFFFF UQ_CFG_INDEX_0 Replace vid and pid by the info provided by "usbconfig -u 2 -a 2=20 dump_device_desc". 2) Dump USB configuration: usbconfig -u 2 -a 2 dump_curr_config_desc =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 07:08:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58FAE106564A; Wed, 25 Feb 2009 07:08:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 5EC858FC0C; Wed, 25 Feb 2009 07:08:23 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=hbAlcvKlQP8A:10 a=2MW6OuLsUmcA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=l-qSWZbQbNMgXLtZucEA:9 a=PJ8cYhnkZNaszfwbifkA:7 a=00odyTNQNy-D10Fxkp0GhLthHSwA:4 a=50e4U0PicR4A:10 a=2S6gNbZwQW9wkUAZ:21 a=h1DbZxB0Et45STE9:21 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1200831684; Wed, 25 Feb 2009 08:08:21 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Andrew Thompson , Sam Leffler Date: Wed, 25 Feb 2009 08:10:50 +0100 User-Agent: KMail/1.9.7 References: <200902250112.n1P1CQGK027474@www.freebsd.org> In-Reply-To: <200902250112.n1P1CQGK027474@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902250810.51822.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, Alexander Melkov Subject: Re: usb/132080: [patch] [usb] Kernel panic after NOMEM caused by rum card X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 07:08:24 -0000 Hi, The RUM timeouts you are seeing I am aware about. They happen most likely because the WLAN channel is set when the device is in the running state on the RUM device due to WLAN re-keying or something like that. Maybe you can confirm that the time from start of device with heavy download until it gets the first timeout is 10minutes? This issue is actually a RUM firmware issue. If it has frames pending for TX and we set the channel, the chip will simply reset or do strange things. Possible RUM workaround: Set the same WLAN channel only once. I think Andrew Thompson is working on this. I have some patches in the USB P4 project for 8-current which fix the problem to a level where TX will dissappear for 4 seconds every 10 minutes, but there will be no device timeout! The final patch should solve the problem completely, but I need some help to figure out when we should ignore set_channel requests. --HPS On Wednesday 25 February 2009, Alexander Melkov wrote: > >Number: 132080 > >Category: usb > >Synopsis: [patch] [usb] Kernel panic after NOMEM caused by rum card > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed Feb 25 01:20:02 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Alexander Melkov > >Release: 7.1-STABLE > >Organization: > >Environment: > > FreeBSD melkov.ru 7.1-STABLE FreeBSD 7.1-STABLE #14: Tue Feb 24 06:28:45 > MSK 2009 root_at_melkov.ru:/usr/obj/usr/src/sys/MELKOV amd64 > > >Description: > > I have device which is Cisco-Linksys Compact Wireless-G USB Adapter > that runs in hostap mode (i.e. wifi access point). Sometimes it > malfunctions (that may happen several times a day), at that moment I have > message "rum0: could not transmit buffer: NOMEM" from kernel. Right after > the message kernel crashes upon read from (nearly) null address. > From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 08:10:05 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96F741065670 for ; Wed, 25 Feb 2009 08:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7ECEA8FC16 for ; Wed, 25 Feb 2009 08:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1P8A5vW077294 for ; Wed, 25 Feb 2009 08:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1P8A5Ij077287; Wed, 25 Feb 2009 08:10:05 GMT (envelope-from gnats) Date: Wed, 25 Feb 2009 08:10:05 GMT Message-Id: <200902250810.n1P8A5Ij077287@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/132080: [patch] [usb] Kernel panic after NOMEM caused by rum card X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 08:10:05 -0000 The following reply was made to PR usb/132080; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Andrew Thompson , Sam Leffler Cc: Alexander Melkov , freebsd-gnats-submit@freebsd.org Subject: Re: usb/132080: [patch] [usb] Kernel panic after NOMEM caused by rum card Date: Wed, 25 Feb 2009 08:10:50 +0100 Hi, The RUM timeouts you are seeing I am aware about. They happen most likely because the WLAN channel is set when the device is in the running state on the RUM device due to WLAN re-keying or something like that. Maybe you can confirm that the time from start of device with heavy download until it gets the first timeout is 10minutes? This issue is actually a RUM firmware issue. If it has frames pending for TX and we set the channel, the chip will simply reset or do strange things. Possible RUM workaround: Set the same WLAN channel only once. I think Andrew Thompson is working on this. I have some patches in the USB P4 project for 8-current which fix the problem to a level where TX will dissappear for 4 seconds every 10 minutes, but there will be no device timeout! The final patch should solve the problem completely, but I need some help to figure out when we should ignore set_channel requests. --HPS On Wednesday 25 February 2009, Alexander Melkov wrote: > >Number: 132080 > >Category: usb > >Synopsis: [patch] [usb] Kernel panic after NOMEM caused by rum card > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed Feb 25 01:20:02 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Alexander Melkov > >Release: 7.1-STABLE > >Organization: > >Environment: > > FreeBSD melkov.ru 7.1-STABLE FreeBSD 7.1-STABLE #14: Tue Feb 24 06:28:45 > MSK 2009 root_at_melkov.ru:/usr/obj/usr/src/sys/MELKOV amd64 > > >Description: > > I have device which is Cisco-Linksys Compact Wireless-G USB Adapter > that runs in hostap mode (i.e. wifi access point). Sometimes it > malfunctions (that may happen several times a day), at that moment I have > message "rum0: could not transmit buffer: NOMEM" from kernel. Right after > the message kernel crashes upon read from (nearly) null address. > From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 09:44:11 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF9C21065674; Wed, 25 Feb 2009 09:44:11 +0000 (UTC) (envelope-from melkov@yandex-team.ru) Received: from relanium.yandex.ru (relanium.yandex.ru [77.88.58.132]) by mx1.freebsd.org (Postfix) with ESMTP id 499A48FC14; Wed, 25 Feb 2009 09:44:10 +0000 (UTC) (envelope-from melkov@yandex-team.ru) Received: from uuuu (v6-229-228.yandex.net [87.250.229.228]) by relanium.yandex.ru (8.14.3/8.14.3) with ESMTP id n1P9PZ6U031931 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 25 Feb 2009 12:25:35 +0300 (MSK) (envelope-from melkov@yandex-team.ru) Message-ID: From: "Alexander Melkov" To: "Hans Petter Selasky" , , "Andrew Thompson" , "Sam Leffler" References: <200902250112.n1P1CQGK027474@www.freebsd.org> <200902250810.51822.hselasky@c2i.net> Date: Wed, 25 Feb 2009 12:25:34 +0300 Organization: Yandex MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Antivirus: Dr.Web (R) for Mail Servers on relanium.yandex.ru host X-Antivirus-Code: 100000 Cc: freebsd-gnats-submit@freebsd.org Subject: Re: usb/132080: [patch] [usb] Kernel panic after NOMEM caused by rum card X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 09:44:12 -0000 Hello! > Maybe you can > confirm that the time from start of device with heavy download until it gets > the first timeout is 10minutes? I've unplugged and reinserted the usb card, then restarted wifi and started network activity. There doesn't seem to be any timeout within 21 minutes. There were 3 consecutive device timeouts yesterday (since my system doesn't reboot any more). Feb 24 10:42:49 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 10:42:49 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 10:42:54 melkov kernel: rum0: device timeout Feb 24 10:57:26 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 10:57:26 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 10:57:31 melkov kernel: rum0: device timeout Feb 24 11:05:02 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 11:05:02 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 11:05:06 melkov kernel: rum0: device timeout Between the timeouts I've restarted hostapd daemon (manually) to get wifi service working again. Notably timeout #3 comes 7.5 minutes after #2. --Alexander From: "Hans Petter Selasky" , Wednesday, February 25, 2009 10:10 > Hi, > > The RUM timeouts you are seeing I am aware about. They happen most likely > because the WLAN channel is set when the device is in the running state on > the RUM device due to WLAN re-keying or something like that. Maybe you can > confirm that the time from start of device with heavy download until it gets > the first timeout is 10minutes? > > This issue is actually a RUM firmware issue. If it has frames pending for TX > and we set the channel, the chip will simply reset or do strange things. > > Possible RUM workaround: Set the same WLAN channel only once. > > I think Andrew Thompson is working on this. I have some patches in the USB P4 > project for 8-current which fix the problem to a level where TX will > dissappear for 4 seconds every 10 minutes, but there will be no device > timeout! The final patch should solve the problem completely, but I need some > help to figure out when we should ignore set_channel requests. > > --HPS > > On Wednesday 25 February 2009, Alexander Melkov wrote: >> >Number: 132080 >> >Category: usb >> >Synopsis: [patch] [usb] Kernel panic after NOMEM caused by rum card >> >Confidential: no >> >Severity: serious >> >Priority: medium >> >Responsible: freebsd-usb >> >State: open >> >Quarter: >> >Keywords: >> >Date-Required: >> >Class: sw-bug >> >Submitter-Id: current-users >> >Arrival-Date: Wed Feb 25 01:20:02 UTC 2009 >> >Closed-Date: >> >Last-Modified: >> >Originator: Alexander Melkov >> >Release: 7.1-STABLE >> >Organization: >> >Environment: >> >> FreeBSD melkov.ru 7.1-STABLE FreeBSD 7.1-STABLE #14: Tue Feb 24 06:28:45 >> MSK 2009 root_at_melkov.ru:/usr/obj/usr/src/sys/MELKOV amd64 >> >> >Description: >> >> I have device which is Cisco-Linksys Compact Wireless-G USB Adapter >> that runs in hostap mode (i.e. wifi access point). Sometimes it >> malfunctions (that may happen several times a day), at that moment I have >> message "rum0: could not transmit buffer: NOMEM" from kernel. Right after >> the message kernel crashes upon read from (nearly) null address. >> From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 09:50:04 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37C361065673 for ; Wed, 25 Feb 2009 09:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2442B8FC13 for ; Wed, 25 Feb 2009 09:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1P9o35E057909 for ; Wed, 25 Feb 2009 09:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1P9o3IN057908; Wed, 25 Feb 2009 09:50:03 GMT (envelope-from gnats) Date: Wed, 25 Feb 2009 09:50:03 GMT Message-Id: <200902250950.n1P9o3IN057908@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Alexander Melkov" Cc: Subject: Re: usb/132080: [patch] [usb] Kernel panic after NOMEM caused by rum card X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Melkov List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 09:50:05 -0000 The following reply was made to PR usb/132080; it has been noted by GNATS. From: "Alexander Melkov" To: "Hans Petter Selasky" , , "Andrew Thompson" , "Sam Leffler" Cc: Subject: Re: usb/132080: [patch] [usb] Kernel panic after NOMEM caused by rum card Date: Wed, 25 Feb 2009 12:25:34 +0300 Hello! > Maybe you can > confirm that the time from start of device with heavy download until it gets > the first timeout is 10minutes? I've unplugged and reinserted the usb card, then restarted wifi and started network activity. There doesn't seem to be any timeout within 21 minutes. There were 3 consecutive device timeouts yesterday (since my system doesn't reboot any more). Feb 24 10:42:49 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 10:42:49 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 10:42:54 melkov kernel: rum0: device timeout Feb 24 10:57:26 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 10:57:26 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 10:57:31 melkov kernel: rum0: device timeout Feb 24 11:05:02 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 11:05:02 melkov kernel: rum0: could not transmit buffer: NOMEM Feb 24 11:05:06 melkov kernel: rum0: device timeout Between the timeouts I've restarted hostapd daemon (manually) to get wifi service working again. Notably timeout #3 comes 7.5 minutes after #2. --Alexander From: "Hans Petter Selasky" , Wednesday, February 25, 2009 10:10 > Hi, > > The RUM timeouts you are seeing I am aware about. They happen most likely > because the WLAN channel is set when the device is in the running state on > the RUM device due to WLAN re-keying or something like that. Maybe you can > confirm that the time from start of device with heavy download until it gets > the first timeout is 10minutes? > > This issue is actually a RUM firmware issue. If it has frames pending for TX > and we set the channel, the chip will simply reset or do strange things. > > Possible RUM workaround: Set the same WLAN channel only once. > > I think Andrew Thompson is working on this. I have some patches in the USB P4 > project for 8-current which fix the problem to a level where TX will > dissappear for 4 seconds every 10 minutes, but there will be no device > timeout! The final patch should solve the problem completely, but I need some > help to figure out when we should ignore set_channel requests. > > --HPS > > On Wednesday 25 February 2009, Alexander Melkov wrote: >> >Number: 132080 >> >Category: usb >> >Synopsis: [patch] [usb] Kernel panic after NOMEM caused by rum card >> >Confidential: no >> >Severity: serious >> >Priority: medium >> >Responsible: freebsd-usb >> >State: open >> >Quarter: >> >Keywords: >> >Date-Required: >> >Class: sw-bug >> >Submitter-Id: current-users >> >Arrival-Date: Wed Feb 25 01:20:02 UTC 2009 >> >Closed-Date: >> >Last-Modified: >> >Originator: Alexander Melkov >> >Release: 7.1-STABLE >> >Organization: >> >Environment: >> >> FreeBSD melkov.ru 7.1-STABLE FreeBSD 7.1-STABLE #14: Tue Feb 24 06:28:45 >> MSK 2009 root_at_melkov.ru:/usr/obj/usr/src/sys/MELKOV amd64 >> >> >Description: >> >> I have device which is Cisco-Linksys Compact Wireless-G USB Adapter >> that runs in hostap mode (i.e. wifi access point). Sometimes it >> malfunctions (that may happen several times a day), at that moment I have >> message "rum0: could not transmit buffer: NOMEM" from kernel. Right after >> the message kernel crashes upon read from (nearly) null address. >> From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 10:44:05 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DE9D1065679; Wed, 25 Feb 2009 10:44:05 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 409FD8FC27; Wed, 25 Feb 2009 10:44:05 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1PAi58I002458; Wed, 25 Feb 2009 10:44:05 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1PAi5s9002454; Wed, 25 Feb 2009 10:44:05 GMT (envelope-from gavin) Date: Wed, 25 Feb 2009 10:44:05 GMT Message-Id: <200902251044.n1PAi5s9002454@freefall.freebsd.org> To: niclas.zeising@gmail.com, gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/128590: [patch] [newusb] Updates to NOTES for new USB stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 10:44:05 -0000 Synopsis: [patch] [newusb] Updates to NOTES for new USB stack State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Wed Feb 25 10:41:16 UTC 2009 State-Changed-Why: Thanks for the submission, however now that USB2 is in it's permeanant location and has been renamed to match the old naming system, I seen no need for this patch, as the existing contents of NOTES covers the new USB stack. http://www.freebsd.org/cgi/query-pr.cgi?pr=128590 From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 10:49:32 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDE2E1065673; Wed, 25 Feb 2009 10:49:32 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B30268FC23; Wed, 25 Feb 2009 10:49:32 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1PAnW6O002540; Wed, 25 Feb 2009 10:49:32 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1PAnWXo002536; Wed, 25 Feb 2009 10:49:32 GMT (envelope-from gavin) Date: Wed, 25 Feb 2009 10:49:32 GMT Message-Id: <200902251049.n1PAnWXo002536@freefall.freebsd.org> To: jlevine@boulder.nist.gov, gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/132066: [ukbd] Keyboard failure USB keyboard DELL 760 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 10:49:33 -0000 Synopsis: [ukbd] Keyboard failure USB keyboard DELL 760 State-Changed-From-To: feedback->open State-Changed-By: gavin State-Changed-When: Wed Feb 25 10:49:12 UTC 2009 State-Changed-Why: Feedback received, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=132066 From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 10:50:03 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 759841065670 for ; Wed, 25 Feb 2009 10:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0DF8FC14 for ; Wed, 25 Feb 2009 10:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1PAo3bF002603 for ; Wed, 25 Feb 2009 10:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1PAo3Vs002602; Wed, 25 Feb 2009 10:50:03 GMT (envelope-from gnats) Date: Wed, 25 Feb 2009 10:50:03 GMT Message-Id: <200902251050.n1PAo3Vs002602@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Gavin Atkinson Cc: Subject: Re: usb/132066: [ukbd] Keyboard failure USB keyboard DELL 760 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gavin Atkinson List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 10:50:03 -0000 The following reply was made to PR usb/132066; it has been noted by GNATS. From: Gavin Atkinson To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/132066: [ukbd] Keyboard failure USB keyboard DELL 760 Date: Wed, 25 Feb 2009 10:49:35 +0000 -------- Forwarded Message -------- From: Judah Levine Date: Tue, 24 Feb 2009 10:53:40 -0700 Hello, >To submitter: Can you please give the output of "usbdevs -v"? Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb3: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered Controller /dev/usb4: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: low speed, power 70 mA, config 1, Dell USB Keyboard(0x2105), Dell(0x413c), rev 3.52 port 2 addr 3: low speed, power 100 mA, config 1, Optical USB Mouse(0xc016), Logitech(0x046d), rev 3.40 Controller /dev/usb5: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb6: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb7: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered >and supply the output of "dmesg |grep -A 2 -B 2 kbd" ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard -- pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcc7ff,0xcc800-0xce7ff,0xce800-0xcffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 -- sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: Dell Dell USB Keyboard, rev 1.10/3.52, addr 2, iclass 3/1 kbd2 at ukbd0 ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. Judah Levine Time and Frequency Division NIST Boulder From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 12:20:41 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71F1D1065672 for ; Wed, 25 Feb 2009 12:20:41 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 0B4308FC13 for ; Wed, 25 Feb 2009 12:20:40 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.190.15.150]) by ns2.bafirst.com with esmtp; Wed, 25 Feb 2009 06:10:38 -0600 id 000D513D.49A5353E.00015363 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Wed, 25 Feb 2009 06:10:37 -0600 id 0004AC18.49A5353D.00012579 Received: from local69.local.net.mx (local69.local.net.mx [192.168.1.69]) by econet.encontacto.net (Horde Framework) with HTTP; Wed, 25 Feb 2009 06:10:37 -0600 Message-ID: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> Date: Wed, 25 Feb 2009 06:10:37 -0600 From: eculp To: freebsd-usb MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.0.6) Gecko/2009022203 Firefox/3.0.4, Ant.com Toolbar 1.2 X-IMP-Server: 189.190.15.150 X-Originating-IP: 192.168.1.69 X-Originating-User: eculp@encontacto.net Subject: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 12:20:43 -0000 I just rebooted my laptop that I have today's USB2 hopefully with the =20 latest USB compatibility, if I understood the GENERIC kernel =20 correctly. I'm using i386 version, up to date as of this morning. =20 Ports are completely up to date. all etc/dev* stuff is as it was with =20 USB1. From the dmesg I get: +ugen0.2: at usbus0 +ulpt0: on usbus0 +ulpt0: using bi-directional mode +Symlink: ulpt0 -> usb0.2.1.16 +Symlink: unlpt0 -> usb0.2.1.17 With localhost:631 I see Unable to open device file "/dev/ulpt0": =20 Operation not permitted. Probably because, there ain't none. Is =20 there something else that I need to do that I didn't do before? This isn't critical. I probably print only a few pages a week but I =20 do want it to work when something is critical. Thanks, ed P.S. Maybe this should be posted on another list rather than questions? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 12:38:51 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAD5E106564A for ; Wed, 25 Feb 2009 12:38:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 8260A8FC0C for ; Wed, 25 Feb 2009 12:38:51 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=beo0rMk-LXkA:10 a=1eCa3KCRIoUA:10 a=F9Ddb8ZnJZvc46m2WQEPHQ==:17 a=yibhRDVZSojo6yY9mB0A:9 a=ywfGQ9xWNIFjA-Z1ZqgA:7 a=hRnDMZ_VmaCY5Hdz4S8WuSx3EsMA:4 a=LY0hPdMaydYA:10 Received: from [85.19.79.136] (account mc467741@c2i.net HELO laptop.bitfrost.local) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1200998901; Wed, 25 Feb 2009 13:23:50 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 25 Feb 2009 13:26:18 +0100 User-Agent: KMail/1.9.7 References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> In-Reply-To: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902251326.19416.hselasky@c2i.net> Cc: Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 12:38:52 -0000 On Wednesday 25 February 2009, eculp wrote: > I just rebooted my laptop that I have today's USB2 hopefully with the > latest USB compatibility, if I understood the GENERIC kernel > correctly. I'm using i386 version, up to date as of this morning. > Ports are completely up to date. all etc/dev* stuff is as it was with > USB1. > > From the dmesg I get: > > +ugen0.2: at usbus0 > +ulpt0: on usbus0 > +ulpt0: using bi-directional mode > +Symlink: ulpt0 -> usb0.2.1.16 > +Symlink: unlpt0 -> usb0.2.1.17 > > With localhost:631 I see Unable to open device file "/dev/ulpt0": > Operation not permitted. Probably because, there ain't none. Is > there something else that I need to do that I didn't do before? > > This isn't critical. I probably print only a few pages a week but I > do want it to work when something is critical. > The devices are there, but invisible. Also check "usbconfig dump_access" that the ulpt port is reachable by cupsd. cat /dev/ulpt0 should work --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 15:24:22 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E56131065673 for ; Wed, 25 Feb 2009 15:24:22 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id AA7A28FC16 for ; Wed, 25 Feb 2009 15:24:22 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 15BA6FF63; Thu, 26 Feb 2009 04:24:22 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EOyWZ435rTVD; Thu, 26 Feb 2009 04:24:13 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 26 Feb 2009 04:24:13 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id AB07F1142F; Thu, 26 Feb 2009 04:24:12 +1300 (NZDT) Date: Wed, 25 Feb 2009 07:24:12 -0800 From: Andrew Thompson To: eculp Message-ID: <20090225152412.GA25211@citylink.fud.org.nz> References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-usb Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 15:24:23 -0000 On Wed, Feb 25, 2009 at 06:10:37AM -0600, eculp wrote: > I just rebooted my laptop that I have today's USB2 hopefully with the > latest USB compatibility, if I understood the GENERIC kernel correctly. > I'm using i386 version, up to date as of this morning. Ports are > completely up to date. all etc/dev* stuff is as it was with USB1. > > From the dmesg I get: > > +ugen0.2: at usbus0 > +ulpt0: on usbus0 > +ulpt0: using bi-directional mode > +Symlink: ulpt0 -> usb0.2.1.16 > +Symlink: unlpt0 -> usb0.2.1.17 > > With localhost:631 I see Unable to open device file "/dev/ulpt0": Operation > not permitted. Probably because, there ain't none. Is there something > else that I need to do that I didn't do before? > > This isn't critical. I probably print only a few pages a week but I do > want it to work when something is critical. Im working on a patch (from Rink) to create proper device nodes, should be ready shortly. Andrew From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 15:43:13 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F1181065672 for ; Wed, 25 Feb 2009 15:43:13 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC578FC13 for ; Wed, 25 Feb 2009 15:43:12 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.190.15.150]) by ns2.bafirst.com with esmtp; Wed, 25 Feb 2009 09:43:11 -0600 id 000D4F79.49A5670F.00015A57 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Wed, 25 Feb 2009 09:43:09 -0600 id 0004AC1B.49A5670D.000134B7 Received: from 172.16.0.42 (172.16.0.42 [172.16.0.42]) by econet.encontacto.net (Horde Framework) with HTTP; Wed, 25 Feb 2009 09:43:09 -0600 Message-ID: <20090225094309.19235ixnswzkz5kw@econet.encontacto.net> Date: Wed, 25 Feb 2009 09:43:09 -0600 From: eculp To: Andrew Thompson References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> <20090225152412.GA25211@citylink.fud.org.nz> In-Reply-To: <20090225152412.GA25211@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.0.6) Gecko/2009022203 Firefox/3.0.4, Ant.com Toolbar 1.2 X-IMP-Server: 189.190.15.150 X-Originating-IP: 201.155.7.3 X-Originating-User: eculp@encontacto.net Cc: freebsd-usb Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 15:43:13 -0000 Quoting Andrew Thompson : > On Wed, Feb 25, 2009 at 06:10:37AM -0600, eculp wrote: >> I just rebooted my laptop that I have today's USB2 hopefully with the >> latest USB compatibility, if I understood the GENERIC kernel correctly. >> I'm using i386 version, up to date as of this morning. Ports are >> completely up to date. all etc/dev* stuff is as it was with USB1. >> >> From the dmesg I get: >> >> +ugen0.2: at usbus0 >> +ulpt0: on usbus0 >> +ulpt0: using bi-directional mode >> +Symlink: ulpt0 -> usb0.2.1.16 >> +Symlink: unlpt0 -> usb0.2.1.17 >> >> With localhost:631 I see Unable to open device file "/dev/ulpt0": Operati= on >> not permitted. Probably because, there ain't none. Is there something >> else that I need to do that I didn't do before? >> >> This isn't critical. I probably print only a few pages a week but I do >> want it to work when something is critical. > > Im working on a patch (from Rink) to create proper device nodes, should > be ready shortly. Thanks, Andrew. I'm in no rush. I just wanted to see if I had missed =20 something. Thanks again, ed > > > Andrew > From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 02:03:36 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EF501065672; Thu, 26 Feb 2009 02:03:36 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id E87A98FC17; Thu, 26 Feb 2009 02:03:35 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 27FC5FF59; Thu, 26 Feb 2009 15:03:35 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9e2klJvdYmKL; Thu, 26 Feb 2009 15:03:31 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 26 Feb 2009 15:03:31 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id DFED51142F; Thu, 26 Feb 2009 15:03:30 +1300 (NZDT) Date: Wed, 25 Feb 2009 18:03:30 -0800 From: Andrew Thompson To: current@freebsd.org, usb@freebsd.org Message-ID: <20090226020330.GC25211@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: USB devfs patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 02:03:36 -0000 Hi, Below is a patch from Rink Springer to change the new USB stack to use devfs device nodes. I have tested this with a usb mouse and I am hoping people with other devices can test too, in particular scanners (sane app) and lpt ports. This also removes the custom permissions from usb and usbconfig. http://people.freebsd.org/~thompsa/usb-cdevs.diff cheers, Andrew From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 08:41:43 2009 Return-Path: Delivered-To: usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76BEC1065691; Thu, 26 Feb 2009 08:41:43 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3BC1C8FC13; Thu, 26 Feb 2009 08:41:42 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 77BC43F129; Thu, 26 Feb 2009 08:25:42 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n1Q8Pgcc012758; Thu, 26 Feb 2009 08:25:42 GMT (envelope-from phk@critter.freebsd.dk) To: Andrew Thompson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 25 Feb 2009 18:03:30 PST." <20090226020330.GC25211@citylink.fud.org.nz> Date: Thu, 26 Feb 2009 08:25:42 +0000 Message-ID: <12757.1235636742@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: usb@FreeBSD.org, current@FreeBSD.org Subject: Re: USB devfs patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 08:41:43 -0000 In message <20090226020330.GC25211@citylink.fud.org.nz>, Andrew Thompson writes : >Hi, > > >Below is a patch from Rink Springer to change the new USB stack to use >devfs device nodes. I have tested this with a usb mouse and I am hoping >people with other devices can test too, in particular scanners (sane >app) and lpt ports. > >This also removes the custom permissions from usb and usbconfig. > >http://people.freebsd.org/~thompsa/usb-cdevs.diff I really like that this patch is mostly minus-lines. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 08:45:30 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C9EF106567B; Thu, 26 Feb 2009 08:45:30 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id BE0258FC1C; Thu, 26 Feb 2009 08:45:29 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 8B1341CDE5; Thu, 26 Feb 2009 09:45:28 +0100 (CET) Date: Thu, 26 Feb 2009 09:45:28 +0100 From: Ed Schouten To: Andrew Thompson Message-ID: <20090226084528.GU19161@hoeg.nl> References: <20090226020330.GC25211@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TYoqghpzCwoKvQG2" Content-Disposition: inline In-Reply-To: <20090226020330.GC25211@citylink.fud.org.nz> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: usb@freebsd.org, current@freebsd.org Subject: Re: USB devfs patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 08:45:31 -0000 --TYoqghpzCwoKvQG2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Andrew, * Andrew Thompson wrote: > Below is a patch from Rink Springer to change the new USB stack to use > devfs device nodes. I have tested this with a usb mouse and I am hoping > people with other devices can test too, in particular scanners (sane > app) and lpt ports. I also mentioned this on IRC, but just to make sure it won't get lost. I really like the patch. I just tried it and it seems to work as advertised. What's your opinion on this patch? http://80386.nl/pub/usb-cdev.diff It turns the d_fdopen() function to a regular d_open(). I think we should only use d_fdopen() in cases where we really need access to the file descriptor (like ptmx). --=20 Ed Schouten WWW: http://80386.nl/ --TYoqghpzCwoKvQG2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkmmVqgACgkQ52SDGA2eCwXQ7ACeJHtydVjx6ylLmo4RVdz5qVHj BxIAn2jPaDObeUql6QV6wMDaGL1s1Sph =ft0H -----END PGP SIGNATURE----- --TYoqghpzCwoKvQG2-- From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 08:54:52 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E420B10656D0 for ; Thu, 26 Feb 2009 08:54:52 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id A1CBD8FC40 for ; Thu, 26 Feb 2009 08:54:52 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id CFAD96D43B; Thu, 26 Feb 2009 09:39:41 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j8tTliXJNIhn; Thu, 26 Feb 2009 09:39:38 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id 9745D6D439; Thu, 26 Feb 2009 09:39:38 +0100 (CET) Date: Thu, 26 Feb 2009 09:39:38 +0100 From: Rink Springer To: Andrew Thompson Message-ID: <20090226083938.GB14479@rink.nu> References: <20090226020330.GC25211@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090226020330.GC25211@citylink.fud.org.nz> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: usb@freebsd.org, current@freebsd.org Subject: Re: USB devfs patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 08:55:34 -0000 Hi Andrew, On Wed, Feb 25, 2009 at 06:03:30PM -0800, Andrew Thompson wrote: > > Below is a patch from Rink Springer to change the new USB stack to use > devfs device nodes. I have tested this with a usb mouse and I am hoping > people with other devices can test too, in particular scanners (sane > app) and lpt ports. > > This also removes the custom permissions from usb and usbconfig. > > http://people.freebsd.org/~thompsa/usb-cdevs.diff I've mostly browsed it, but I think your modifications are correct. Thank you for taking care of this! Regards, -- Rink P.W. Springer - http://rink.nu "Chance favours the prepared mind" - Penn From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 09:37:40 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDAAB106566C; Thu, 26 Feb 2009 09:37:40 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id BA6078FC1A; Thu, 26 Feb 2009 09:37:40 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 14EA846B0D; Thu, 26 Feb 2009 04:37:40 -0500 (EST) Date: Thu, 26 Feb 2009 09:37:39 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Andrew Thompson In-Reply-To: <20090226020330.GC25211@citylink.fud.org.nz> Message-ID: References: <20090226020330.GC25211@citylink.fud.org.nz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: usb@freebsd.org, current@freebsd.org Subject: Re: USB devfs patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 09:37:41 -0000 On Wed, 25 Feb 2009, Andrew Thompson wrote: > Below is a patch from Rink Springer to change the new USB stack to use devfs > device nodes. I have tested this with a usb mouse and I am hoping people > with other devices can test too, in particular scanners (sane app) and lpt > ports. > > This also removes the custom permissions from usb and usbconfig. > > http://people.freebsd.org/~thompsa/usb-cdevs.diff This seems to address my concerns, including eliminating the new use if PRIV_ROOT that got added. Once this is in the tree I can remove PRIV_ROOT entirely, so with any luck we can get a new fine-grained privilege model done by 8.0. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 14:39:59 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2004106566C for ; Thu, 26 Feb 2009 14:39:59 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id B5C7D8FC12 for ; Thu, 26 Feb 2009 14:39:59 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so589517wfd.7 for ; Thu, 26 Feb 2009 06:39:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OMVGFLlb62htzH4/canLC8E+IokZ3hoiGu6fvosZ4YI=; b=kF0qETpYSyIOW7W0iD50SfviCheFhjihibX0bFGFP8iW91Z3VbWwAwDbqc4JBRDa5W VLtQ9wl1NERoUiO3Bs9NzEUiL4HaB9a/lgMLxwkV0QFGmWMQQfSp/efEWf1QoubX5Ijf E2eQQ2XGePNHwLfptKs3KypPZAzlc1k4n7ebc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=UgiQEnxnWSMLCPjW+x+r+IFI1Eg8t1uRixuCzN5CgOagXsCiDJzOvMovMrDr5il87P mGY1kqhw4fx/BJdcPsol4H7G9iKAmFo4MeHktOW0qjvvj0HqqWooI44mIBmdk7+NiRwv QBwn0p3UfUD/Gwfe6vXYd+XvesJbNdNOp3fmA= MIME-Version: 1.0 Received: by 10.142.51.4 with SMTP id y4mr710453wfy.39.1235659199257; Thu, 26 Feb 2009 06:39:59 -0800 (PST) In-Reply-To: <200902250800.00365.hselasky@c2i.net> References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902250800.00365.hselasky@c2i.net> Date: Thu, 26 Feb 2009 09:39:59 -0500 Message-ID: <89dbfdc30902260639q44372d37xf702b3e023ebb8a5@mail.gmail.com> From: Kim Culhan To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 14:40:00 -0000 On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky wro= te: > On Tuesday 24 February 2009, Kim Culhan wrote: >> On Tue, Feb 24, 2009 at 4:34 AM, Hans Petter Selasky > wrote: >> > On Tuesday 24 February 2009, Kim Culhan wrote: >> >> On Tue, Feb 24, 2009 at 3:05 AM, Hans Petter Selasky >> > >> > wrote: >> >> > On Monday 23 February 2009, Kim Culhan wrote: >> >> >> On Mon, Feb 23, 2009 at 3:56 PM, Hans Petter Selasky >> >> >> >> >> > >> >> > wrote: >> >> >> > On Monday 23 February 2009, Kim Culhan wrote: >> >> >> >> Running 8.0-CURRENT as of 2-22-09 >> >> >> >> >> >> >> >> The 3g0 device is a Novatel U727 EVDO wireless radio. >> >> >> >> >> >> >> >> If the machine boots with the device attached, dmesg reads: >> >> >> >> >> >> >> >> u3g0: on usbus2 >> >> >> >> >> >> >> >> Remove the device and this is logged: >> >> >> >> >> >> >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) >> >> >> >> >> >> >> >> Reattach the device and there is this message: >> >> >> >> >> >> >> >> uhub_reattach_port:414: could not allocate new device! >> >> >> >> >> >> >> >> kernel config has: >> >> >> >> >> >> >> >> device =A0 usb2_serial_3g >> >> >> >> >> >> >> >> Any help is greatly appreciated >> >> >> > >> >> >> > Hi, >> >> >> > >> >> >> > Can you turn on USB HUB debugging: >> >> >> > >> >> >> > sysctl hw.usb2.uhub.debug=3D15 >> >> >> > sysctl hw.usb.uhub.debug=3D15 >> >> >> >> >> >> Sure here is dmesg with sysctl hw.usb2.uhub.debug=3D15 >> >> >> >> >> >> uhub_read_port_status:259: port 2, wPortStatus=3D0x0103, >> >> >> wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION >> >> >> usb2_transfer_power_ref:1470: Adding type 0 to power state >> >> >> usb2_transfer_power_ref:1483: needs power >> >> >> u3g_huawei_init:278: >> >> >> usb2_alloc_device:1618: Found Huawei auto-install disk! >> >> >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0xc6b= c6000 >> >> >> ugen2.2: at usbus2 >> >> >> ugen2.2: at usbus2 (disconnected) >> >> >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0 >> >> >> uhub_reattach_port:414: could not allocate new device! >> >> >> usb2_needs_explore:1345: >> >> >> usb2_bus_powerd:1516: bus=3D0xc670bcf0 >> >> >> usb2_bus_powerd:1599: Recomputing power masks >> >> >> uhub_explore:522: udev=3D0xc6a93000 addr=3D1 >> >> >> >> >> >> With the old usb, this was returned: >> >> >> >> >> >> Feb 22 10:38:37 smallster kernel: ugen2.2: = at >> >> >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: > >> >> Inc. Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 2> on >> >> >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: =A0SCSI over >> >> >> Bulk-Only; quirks =3D 0x0000 Feb 22 10:38:38 smallster kernel: >> >> >> umass0:1:0:-1: Attached to scbus1 Feb 22 10:38:39 smallster kernel= : >> >> >> (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 >> >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): CAM >> >> >> Status: SCSI Status Error >> >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): SCSI >> >> >> Status: Check Condition >> >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): NOT >> >> >> READY asc:3a,0 Feb 22 10:38:39 smallster kernel: >> >> >> (probe0:umass-sim0:0:0:0): Medium not present Feb 22 10:38:39 >> >> >> smallster kernel: >> >> >> (probe0:umass-sim0:0:0:0): Unretryable error Feb 22 10:38:39 >> >> >> smallster kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Feb 22 >> >> >> 10:38:39 smallster kernel: cd0: Remova= ble >> >> >> CD-ROM SCSI-2 device Feb 22 10:38:39 smallster kernel: cd0: 1.000M= B/s >> >> >> transfers >> >> >> Feb 22 10:38:39 smallster kernel: cd0: Attempt to query device siz= e >> >> >> failed: NOT READY, Medium not present >> >> >> Feb 22 10:40:27 smallster kernel: g_vfs_done():cd0[READ(offset=3D6= 5536, >> >> >> length=3D8192)]error =3D 5 >> >> >> Feb 22 10:43:39 smallster kernel: umass0: at ushub2, port 1, addr = 2 >> >> >> (disconnected) >> >> >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): lost dev= ice >> >> >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): removing >> >> >> device entry Feb 22 10:43:39 smallster kernel: ugen2.2: > >> >> Wireless Inc.> at usbus2 (disconnected) >> >> >> >> >> >> The device initially attempts to simulate the presence of a cdrom. >> >> >> >> >> >> Maybe this is creating the problem for usb2. >> >> >> >> >> >> -kim >> >> > >> >> > Hi Kim, >> >> > >> >> > In the latter case you don't have the U3G driver loaded. The U3G >> >> > driver will detect the CD-ROM and send an eject or propritary comma= nd. >> >> > After some while the device should show up like a u3g0 device. The >> >> > error message you get is like it should be when CD-ROM detection is >> >> > enabled. >> >> AFAIK there is no seperate CD-ROM detection which can be enabled/disable= d. >> >> The device does not show up as a u3g0 device unless the u3g module is >> loaded after the system is booted with _u3g commented out of the kernel >> config_ >> >> After boot: >> >> kldload u3g >> >> returns >> >> u3g0: on usbus2 >> u3g0: Found 4 ports. >> >> If I remove the usb device it reports: >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) >> umass0: at ushub2, port 2, addr 2 (disconnected) >> (da0:umass-sim0:0:0:0): lost device >> (da0:umass-sim0:0:0:0): removing device entry >> ugen2.2: at usbus2 (disconnected) >> >> If I reattach the device it reports: >> >> u3g_huawei_init:278: >> usb2_alloc_device:1618: Found Huawei auto-install disk! >> ugen2.2: at usbus2 >> ugen2.2: at usbus2 (disconnected) >> uhub_reattach_port:414: could not allocate new device! >> > > If your device does not re-appear within 10 seconds, then try this: > > 1) Add a quirk: > > kldload usb_quirk > kldload usb2_quirk > > usbconfig add_dev_quirk_vplh vid pid 0 0xFFFF UQ_CFG_INDEX_0 > > Replace vid and pid by the info provided by "usbconfig -u 2 -a 2 > dump_device_desc". > > 2) Dump USB configuration: > > usbconfig -u 2 -a 2 dump_curr_config_desc running this on 8-CURRENT of Feb 25 2008 ~ 2100 UTC # usbconfig -u 2 -a 2 dump_device_desc returns No device match or lack of permissions. # usbconfig -u 2 -a 2 dump_curr_config_desc returns the same Also, at this point booting without u3g in the kernel then inserting the Novatel U727 device returns the usual output relating to the cd0 device: ugen2.2: at usbus2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 umass0:1:0:-1: Attached to scbus1 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 [deleted] Then on loading the u3g module: kldload u3g Now returns nothing, no output to dmesg kldunload u3g returns a LOR and backtrace: lock order reversal: 1st 0xc0d66da0 kernel linker (kernel linker) @ kern/kern_linker.c:1059 2nd 0xc0d68804 sysctl lock (sysctl lock) @ kern/kern_sysctl.c:250 KDB: stack backtrace: db_trace_self_wrapper(c0c1af34,e9595ac8,c0891525,4,c0c16550,...) at db_trace_self_wrapper+0x26 kdb_backtrace(4,c0c16550,c6523740,c6521ad0,e9595b24,...) at kdb_backtrace+0= x29 _witness_debugger(c0c1dc29,c0d68804,c0c18a34,c6521ad0,c0c18953,...) at _witness_debugger+0x25 witness_checkorder(c0d68804,9,c0c1894a,fa,0,...) at witness_checkorder+0x83= 9 _sx_xlock(c0d68804,0,c0c1894a,fa,c7164b80,...) at _sx_xlock+0x85 sysctl_ctx_free(c7164bcc,c7164b80,e9595bac,c0879d35,c7164b80,...) at sysctl_ctx_free+0x30 device_sysctl_fini(c7164b80,0,c0c1d176,c6b23ac0,c6ae9800,...) at device_sysctl_fini+0x1a device_detach(c7164b80,40088,c70ebb80,1,c717215c,...) at device_detach+0x1f= 5 devclass_delete_driver(c66398c0,c7172170,c0c16366,109,0,...) at devclass_delete_driver+0x91 driver_module_handler(c70ebbc0,1,c717215c,109,0,...) at driver_module_handler+0xd5 module_unload(c70ebbc0,c0c148cf,273,270,c0837376,...) at module_unload+0x43 linker_file_unload(c716c800,0,c0c148cf,423,c716f000,...) at linker_file_unload+0x15e kern_kldunload(c6b7d6c0,3,0,e9595d2c,c0b55ca3,...) at kern_kldunload+0xd5 kldunloadf(c6b7d6c0,e9595cf8,8,c0c1ec53,c0cfc720,...) at kldunloadf+0x2b syscall(e9595d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (444, FreeBSD ELF32, kldunloadf), eip =3D 0x280ce6ab, esp =3D 0xbfbfe48c, ebp =3D 0xbfbfecd8 --- Hope this helps regards -kim From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 14:47:42 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B857106566B for ; Thu, 26 Feb 2009 14:47:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1065C8FC1E for ; Thu, 26 Feb 2009 14:47:41 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=B9FXG8P8jJaBe-n9mM0A:9 a=-QtHJexbuyAeGnkHwcZdj1G0wsAA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1205155467; Thu, 26 Feb 2009 15:47:40 +0100 From: Hans Petter Selasky To: Kim Culhan Date: Thu, 26 Feb 2009 15:50:09 +0100 User-Agent: KMail/1.9.7 References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902250800.00365.hselasky@c2i.net> <89dbfdc30902260639q44372d37xf702b3e023ebb8a5@mail.gmail.com> In-Reply-To: <89dbfdc30902260639q44372d37xf702b3e023ebb8a5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902261550.10055.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 14:47:47 -0000 On Thursday 26 February 2009, Kim Culhan wrote: Hi, You need to plug your device before running the commands below. And the -u and -a numbers must match those after ugen :-) --HPS > > 2) Dump USB configuration: > > > > usbconfig -u 2 -a 2 dump_curr_config_desc > > running this on 8-CURRENT of Feb 25 2008 ~ 2100 UTC > > # usbconfig -u 2 -a 2 dump_device_desc > > returns > > No device match or lack of permissions. > > # usbconfig -u 2 -a 2 dump_curr_config_desc > > returns the same > From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 15:07:57 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED568106564A for ; Thu, 26 Feb 2009 15:07:56 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id C15C58FC1E for ; Thu, 26 Feb 2009 15:07:56 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so600179wfd.7 for ; Thu, 26 Feb 2009 07:07:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=eK0Qn48dcZ3EpxAplgVKhUk3pQPfjW7qePVYzQZqs3c=; b=GLEb+VlhO6EhltNxxvhCDRHARXYCHYI+qgYp9kFwUMlJRGBx7FIGgXh1CWhym6Qvyw qvIHPa8ZSlZZq6rU0VXNasl/G3KdNBpM9O7gtFnTCsV+Qho5BjHbrEoJLcxJIj0FBYVg 0LovZ7bo7FXGWMdKtJKop33qhLLTr/K08wuSU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XYt13wVQac500XAGF8xpD/zVXrNjfLxbPIFWZZb1tedJ1nx7YK6vtjiMOOBxzUkzPK NJdO6ArETz/USVh3m+eledAxan3t4zENocRTbUpoIZYoklPgP2vGXMq9Js2o2FSo0vNN mzA7Ae8NZET8Lt1yIvmrJr7iIJiFmIUhl+P+Y= MIME-Version: 1.0 Received: by 10.142.77.7 with SMTP id z7mr724106wfa.18.1235660876068; Thu, 26 Feb 2009 07:07:56 -0800 (PST) In-Reply-To: <200902250800.00365.hselasky@c2i.net> References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902250800.00365.hselasky@c2i.net> Date: Thu, 26 Feb 2009 10:07:56 -0500 Message-ID: <89dbfdc30902260707h36d4c7d4u988d1c490aae2243@mail.gmail.com> From: Kim Culhan To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 15:07:57 -0000 On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky wro= te: > On Tuesday 24 February 2009, Kim Culhan wrote: >> On Tue, Feb 24, 2009 at 4:34 AM, Hans Petter Selasky > wrote: >> > On Tuesday 24 February 2009, Kim Culhan wrote: >> >> On Tue, Feb 24, 2009 at 3:05 AM, Hans Petter Selasky >> > >> > wrote: >> >> > On Monday 23 February 2009, Kim Culhan wrote: >> >> >> On Mon, Feb 23, 2009 at 3:56 PM, Hans Petter Selasky >> >> >> >> >> > >> >> > wrote: >> >> >> > On Monday 23 February 2009, Kim Culhan wrote: >> >> >> >> Running 8.0-CURRENT as of 2-22-09 >> >> >> >> >> >> >> >> The 3g0 device is a Novatel U727 EVDO wireless radio. >> >> >> >> >> >> >> >> If the machine boots with the device attached, dmesg reads: >> >> >> >> >> >> >> >> u3g0: on usbus2 >> >> >> >> >> >> >> >> Remove the device and this is logged: >> >> >> >> >> >> >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) >> >> >> >> >> >> >> >> Reattach the device and there is this message: >> >> >> >> >> >> >> >> uhub_reattach_port:414: could not allocate new device! >> >> >> >> >> >> >> >> kernel config has: >> >> >> >> >> >> >> >> device =A0 usb2_serial_3g >> >> >> >> >> >> >> >> Any help is greatly appreciated >> >> >> > >> >> >> > Hi, >> >> >> > >> >> >> > Can you turn on USB HUB debugging: >> >> >> > >> >> >> > sysctl hw.usb2.uhub.debug=3D15 >> >> >> > sysctl hw.usb.uhub.debug=3D15 >> >> >> >> >> >> Sure here is dmesg with sysctl hw.usb2.uhub.debug=3D15 >> >> >> >> >> >> uhub_read_port_status:259: port 2, wPortStatus=3D0x0103, >> >> >> wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION >> >> >> usb2_transfer_power_ref:1470: Adding type 0 to power state >> >> >> usb2_transfer_power_ref:1483: needs power >> >> >> u3g_huawei_init:278: >> >> >> usb2_alloc_device:1618: Found Huawei auto-install disk! >> >> >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0xc6b= c6000 >> >> >> ugen2.2: at usbus2 >> >> >> ugen2.2: at usbus2 (disconnected) >> >> >> usb2_bus_port_set_device:1334: bus 0xc6733cf0 devices[2] =3D 0 >> >> >> uhub_reattach_port:414: could not allocate new device! >> >> >> usb2_needs_explore:1345: >> >> >> usb2_bus_powerd:1516: bus=3D0xc670bcf0 >> >> >> usb2_bus_powerd:1599: Recomputing power masks >> >> >> uhub_explore:522: udev=3D0xc6a93000 addr=3D1 >> >> >> >> >> >> With the old usb, this was returned: >> >> >> >> >> >> Feb 22 10:38:37 smallster kernel: ugen2.2: = at >> >> >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: > >> >> Inc. Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, addr 2> on >> >> >> usbus2 Feb 22 10:38:37 smallster kernel: umass0: =A0SCSI over >> >> >> Bulk-Only; quirks =3D 0x0000 Feb 22 10:38:38 smallster kernel: >> >> >> umass0:1:0:-1: Attached to scbus1 Feb 22 10:38:39 smallster kernel= : >> >> >> (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 >> >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): CAM >> >> >> Status: SCSI Status Error >> >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): SCSI >> >> >> Status: Check Condition >> >> >> Feb 22 10:38:39 smallster kernel: (probe0:umass-sim0:0:0:0): NOT >> >> >> READY asc:3a,0 Feb 22 10:38:39 smallster kernel: >> >> >> (probe0:umass-sim0:0:0:0): Medium not present Feb 22 10:38:39 >> >> >> smallster kernel: >> >> >> (probe0:umass-sim0:0:0:0): Unretryable error Feb 22 10:38:39 >> >> >> smallster kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Feb 22 >> >> >> 10:38:39 smallster kernel: cd0: Remova= ble >> >> >> CD-ROM SCSI-2 device Feb 22 10:38:39 smallster kernel: cd0: 1.000M= B/s >> >> >> transfers >> >> >> Feb 22 10:38:39 smallster kernel: cd0: Attempt to query device siz= e >> >> >> failed: NOT READY, Medium not present >> >> >> Feb 22 10:40:27 smallster kernel: g_vfs_done():cd0[READ(offset=3D6= 5536, >> >> >> length=3D8192)]error =3D 5 >> >> >> Feb 22 10:43:39 smallster kernel: umass0: at ushub2, port 1, addr = 2 >> >> >> (disconnected) >> >> >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): lost dev= ice >> >> >> Feb 22 10:43:39 smallster kernel: (cd0:umass-sim0:0:0:0): removing >> >> >> device entry Feb 22 10:43:39 smallster kernel: ugen2.2: > >> >> Wireless Inc.> at usbus2 (disconnected) >> >> >> >> >> >> The device initially attempts to simulate the presence of a cdrom. >> >> >> >> >> >> Maybe this is creating the problem for usb2. >> >> >> >> >> >> -kim >> >> > >> >> > Hi Kim, >> >> > >> >> > In the latter case you don't have the U3G driver loaded. The U3G >> >> > driver will detect the CD-ROM and send an eject or propritary comma= nd. >> >> > After some while the device should show up like a u3g0 device. The >> >> > error message you get is like it should be when CD-ROM detection is >> >> > enabled. >> >> AFAIK there is no seperate CD-ROM detection which can be enabled/disable= d. >> >> The device does not show up as a u3g0 device unless the u3g module is >> loaded after the system is booted with _u3g commented out of the kernel >> config_ >> >> After boot: >> >> kldload u3g >> >> returns >> >> u3g0: on usbus2 >> u3g0: Found 4 ports. >> >> If I remove the usb device it reports: >> >> u3g0: at ushub2, port 2, addr 2 (disconnected) >> umass0: at ushub2, port 2, addr 2 (disconnected) >> (da0:umass-sim0:0:0:0): lost device >> (da0:umass-sim0:0:0:0): removing device entry >> ugen2.2: at usbus2 (disconnected) >> >> If I reattach the device it reports: >> >> u3g_huawei_init:278: >> usb2_alloc_device:1618: Found Huawei auto-install disk! >> ugen2.2: at usbus2 >> ugen2.2: at usbus2 (disconnected) >> uhub_reattach_port:414: could not allocate new device! >> > > If your device does not re-appear within 10 seconds, then try this: > > 1) Add a quirk: > > kldload usb_quirk > kldload usb2_quirk > > usbconfig add_dev_quirk_vplh vid pid 0 0xFFFF UQ_CFG_INDEX_0 > > Replace vid and pid by the info provided by "usbconfig -u 2 -a 2 > dump_device_desc". > > 2) Dump USB configuration: > > usbconfig -u 2 -a 2 dump_curr_config_desc Taking another pass at this, loading u3g after waiting a minute: # usbconfig -u 2 -a 2 dump_device_desc returns: ugen2.2: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0110 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0040 idVendor =3D 0x1410 idProduct =3D 0x5010 bcdDevice =3D 0x0000 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0004 <091050639170000> bNumConfigurations =3D 0x0001 Then we say: usbconfig add_dev_quirk_vplh 0x1410 0x5010 0 0xFFFF UQ_CFG_INDEX_0 and it returns: # usbconfig -u 2 -a 2 dump_curr_config_desc ugen2.2: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON Configuration index 0 bLength =3D 0x0009 bDescriptorType =3D 0x0002 wTotalLength =3D 0x0083 bNumInterfaces =3D 0x0005 bConfigurationValue =3D 0x0001 iConfiguration =3D 0x0000 bmAttributes =3D 0x00a0 bMaxPower =3D 0x00fa Interface 0 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0000 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0003 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x00ff bInterfaceProtocol =3D 0x00ff iInterface =3D 0x0003 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0010 bInterval =3D 0x0080 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0082 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 2 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0002 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 1 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0001 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x00ff bInterfaceProtocol =3D 0x00ff iInterface =3D 0x0003 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0084 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0004 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 2 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0002 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x00ff bInterfaceProtocol =3D 0x00ff iInterface =3D 0x0003 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0089 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0009 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 3 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0003 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x00ff bInterfaceProtocol =3D 0x00ff iInterface =3D 0x0003 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x008a bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x000a bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 4 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0004 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x0008 bInterfaceSubClass =3D 0x0006 bInterfaceProtocol =3D 0x0050 iInterface =3D 0x0000 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0085 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0006 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Hope _this_ helps :) -kim From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 15:19:49 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9221E1065670 for ; Thu, 26 Feb 2009 15:19:49 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 28D2C8FC14 for ; Thu, 26 Feb 2009 15:19:48 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=8kQB0OdkAAAA:8 a=F_nw6jxZMewQPcugL6MA:9 a=iiJ8lzkzKxBd8uHJlOEABoBWSUgA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1201690896; Thu, 26 Feb 2009 16:19:47 +0100 From: Hans Petter Selasky To: Kim Culhan Date: Thu, 26 Feb 2009 16:22:16 +0100 User-Agent: KMail/1.9.7 References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902250800.00365.hselasky@c2i.net> <89dbfdc30902260707h36d4c7d4u988d1c490aae2243@mail.gmail.com> In-Reply-To: <89dbfdc30902260707h36d4c7d4u988d1c490aae2243@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902261622.17677.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 15:19:49 -0000 On Thursday 26 February 2009, Kim Culhan wrote: > On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky Hi, I've checked the device tables and your device is listed in the U3G driver. Try: sysctl hw.usb2.u3g.debug=15 sysctl hw.usb.u3g.debug=15 kldload usb2_serial_3g kldload u3g Then re-plug your device, wait up to 30 seconds having it plugged and send dmesg. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 20:28:07 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47FF81065672 for ; Thu, 26 Feb 2009 20:28:07 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id 19D128FC12 for ; Thu, 26 Feb 2009 20:28:06 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so693308rvb.43 for ; Thu, 26 Feb 2009 12:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1DKiXoJt2uy7AoFU/E3CyVzDIgMC12s520UNTv3FFto=; b=hJTklqA4r1TAZo+lLsBm8BvJtB/h8aL96BreDpmuoHNg7jOONfJklfuuEK5bvRxkuj QNW77JAvsQLTIj5jge3oQICu4HxMGoz4Qr4YHcDty7ZWE6156YjX9T1ShxUYPht1bu9U C1DRYHhSn/FLnJYuzutq30LBkUvtWz6ih8Nzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AhySi4gZQcFFpneALYBEiWQxF7X7bbTQ85uC/Dhh8jzIdbybh5n43SBajDW6W9BCAJ OZ3peFMhx4VG3qpbJdQ0rjSij8zVNjTwMpR84J7dNRg6gOq8rWvHWpb7T1Eq8UxFyNyb UsunQJ2afd3kDRB7v25UsHbMkAoEutle8MfUI= MIME-Version: 1.0 Received: by 10.143.163.10 with SMTP id q10mr821005wfo.324.1235680086601; Thu, 26 Feb 2009 12:28:06 -0800 (PST) In-Reply-To: <200902261622.17677.hselasky@c2i.net> References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902250800.00365.hselasky@c2i.net> <89dbfdc30902260707h36d4c7d4u988d1c490aae2243@mail.gmail.com> <200902261622.17677.hselasky@c2i.net> Date: Thu, 26 Feb 2009 15:28:06 -0500 Message-ID: <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> From: Kim Culhan To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 20:28:07 -0000 On Thu, Feb 26, 2009 at 10:22 AM, Hans Petter Selasky wrote: > On Thursday 26 February 2009, Kim Culhan wrote: >> On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky > > Hi, > > I've checked the device tables and your device is listed in the U3G driver. > > Try: > > sysctl hw.usb2.u3g.debug=15 > sysctl hw.usb.u3g.debug=15 > > kldload usb2_serial_3g > kldload u3g > > Then re-plug your device, wait up to 30 seconds having it plugged and send > dmesg. Ok, in this order after a fresh reboot: # kldload usb2_serial_3g kldload: can't load usb2_serial_3g: No such file or directory # kldload u3g # sysctl hw.usb2.u3g.debug=15 hw.usb2.u3g.debug: 0 -> 15 [plug in the device and wait 1 minute] # dmesg Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #1: Wed Feb 25 17:25:14 EST 2009 kimc@smallster:/usr/src/sys/i386/compile/smallster_no3g WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (2400.10-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant Cores per package: 2 real memory = 3184525312 (3037 MB) avail memory = 3106189312 (2962 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xf1c0-0xf1c7 mem 0xff000000-0xff3fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 32764k stolen memory agp0: aperture size is 256M vgapci1: mem 0xff400000-0xff4fffff at device 2.1 on pci0 pci0: at device 3.0 (no driver attached) em0: port 0xf100-0xf11f mem 0xff600000-0xff61ffff,0xff624000-0xff624fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:1c:c0:7d:91:f5 uhci0: port 0xf0e0-0xf0ff irq 16 at device 26.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x1f30 usbus0: on uhci0 uhci1: port 0xf0c0-0xf0df irq 21 at device 26.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x0f30 usbus1: on uhci1 uhci2: port 0xf0a0-0xf0bf irq 18 at device 26.2 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x0f30 usbus2: on uhci2 ehci0: mem 0xff625c00-0xff625fff irq 18 at device 26.7 on pci0 ehci0: [ITHREAD] usbus3: waiting for BIOS to give up control usbus3: timed out waiting for BIOS usbus3: EHCI version 1.0 usbus3: on ehci0 pci0: at device 27.0 (no driver attached) uhci3: port 0xf080-0xf09f irq 23 at device 29.0 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x0f30 usbus4: on uhci3 uhci4: port 0xf060-0xf07f irq 19 at device 29.1 on pci0 uhci4: [ITHREAD] uhci4: LegSup = 0x0f30 usbus5: on uhci4 uhci5: port 0xf040-0xf05f irq 18 at device 29.2 on pci0 uhci5: [ITHREAD] uhci5: LegSup = 0x0f30 usbus6: on uhci5 ehci1: mem 0xff625800-0xff625bff irq 23 at device 29.7 on pci0 ehci1: [ITHREAD] usbus7: waiting for BIOS to give up control usbus7: timed out waiting for BIOS usbus7: EHCI version 1.0 usbus7: on ehci1 pcib1: at device 30.0 on pci0 pci1: on pcib1 fwohci0: mem 0xff500000-0xff500fff,0xff501000-0xff5010ff irq 22 at device 1.0 on pci1 fwohci0: [ITHREAD] fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:90:27:00:02:29:cb:25 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0xbdcd8000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:90:27:29:cb:25 fwe0: Ethernet address: 02:90:27:29:cb:25 fwip0: on firewire0 fwip0: Firewire address: 00:90:27:00:02:29:cb:25 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf1b0-0xf1b7,0xf1a0-0xf1a3,0xf190-0xf197,0xf180-0xf183,0xf020-0xf03f mem 0xff625000-0xff6257ff irq 19 at device 31.2 on pci0 atapci0: [ITHREAD] atapci0: AHCI Version 01.20 controller with 6 ports PM not supported ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] ata6: on atapci0 ata6: [ITHREAD] ata7: on atapci0 ata7: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci1: port 0xf170-0xf177,0xf160-0xf163,0xf150-0xf157,0xf140-0xf143,0xf130-0xf13f,0xf120-0xf12f irq 19 at device 31.5 on pci0 atapci1: [ITHREAD] ata8: on atapci1 ata8: [ITHREAD] ata9: on atapci1 ata9: [ITHREAD] acpi_button0: on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] atrtc0: port 0x70-0x71 irq 8 on acpi0 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 92a092a0600092a device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 92a092a0600092a device_attach: est1 attach returned 6 p4tcc1: on cpu1 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata0: [ITHREAD] ata1 at port 0x170-0x177,0x376 irq 15 on isa0 ata1: [ITHREAD] atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppc0: [ITHREAD] ppbus0: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ad4: 476940MB at ata2-master SATA300 ugen0.1: at usbus0 ushub0: on usbus0 ugen1.1: at usbus1 ushub1: on usbus1 ugen2.1: at usbus2 ushub2: on usbus2 ugen3.1: at usbus3 ushub3: on usbus3 ugen4.1: at usbus4 ushub4: on usbus4 ugen5.1: at usbus5 ushub5: on usbus5 ugen6.1: at usbus6 ushub6: on usbus6 ugen7.1: at usbus7 ushub7: on usbus7 GEOM: ad4: partition 3 does not start on a track boundary. GEOM: ad4: partition 3 does not end on a track boundary. GEOM: ad4: partition 2 does not start on a track boundary. GEOM: ad4: partition 2 does not end on a track boundary. GEOM: ad4: partition 1 does not start on a track boundary. GEOM: ad4: partition 1 does not end on a track boundary. acd0: DVDR at ata3-master SATA150 GEOM: ad4s3: geometry does not match label (255h,63s != 16h,63s). ushub0: 2 ports with 2 removable, self powered ushub1: 2 ports with 2 removable, self powered ushub2: 2 ports with 2 removable, self powered ushub4: 2 ports with 2 removable, self powered ushub5: 2 ports with 2 removable, self powered ushub6: 2 ports with 2 removable, self powered ushub3: 6 ports with 6 removable, self powered ushub7: 6 ports with 6 removable, self powered ugen0.2: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 ugen1.2: at usbus1 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates Symlink: ums0 -> usb1.2.0.16 SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ad4s3a module_register: module ushub/ums already exists! Module ushub/ums failed to register: 17 em0: link state changed to UP usb2_test_autoinstall:559: Eject CD command status: USB_ERR_NORMAL_COMPLETION usb2_alloc_device:1662: Found Huawei auto-install disk! ugen2.2: at usbus2 ugen2.2: at usbus2 (disconnected) uhub_reattach_port:414: could not allocate new device! -kim From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 20:38:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C2D510656F9 for ; Thu, 26 Feb 2009 20:38:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 960A58FC08 for ; Thu, 26 Feb 2009 20:38:23 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=8kQB0OdkAAAA:8 a=vJmEWfdOY10UnThSefwA:9 a=bpXMiItGbRzA9ZqgnRYA:7 a=IiP6OYk7j1SQJkNGiX1j8w9g8aQA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1206582315; Thu, 26 Feb 2009 21:38:21 +0100 From: Hans Petter Selasky To: Kim Culhan Date: Thu, 26 Feb 2009 21:40:52 +0100 User-Agent: KMail/1.9.7 References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902261622.17677.hselasky@c2i.net> <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> In-Reply-To: <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902262140.52560.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 20:38:24 -0000 On Thursday 26 February 2009, Kim Culhan wrote: > On Thu, Feb 26, 2009 at 10:22 AM, Hans Petter Selasky wrote: > > On Thursday 26 February 2009, Kim Culhan wrote: > >> On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky > usb2_test_autoinstall:559: Eject CD command status: > USB_ERR_NORMAL_COMPLETION usb2_alloc_device:1662: Found Huawei auto-install > disk! > ugen2.2: at usbus2 > ugen2.2: at usbus2 (disconnected) > uhub_reattach_port:414: could not allocate new device! And if you do like this: boot kernel without u3g loaded. When kernel is booted, and card is plugged in, load u3g. What does it output then? I think that there might be a USB port race. Could you try editing: /sys/dev/usb/usb_device.c Lookup: } else if (usb2_test_huawei_autoinst_p(udev, &uaa) == 0) { DPRINTFN(0, "Found Huawei auto-install disk!\n"); err = USB_ERR_STALLED; /* fake an error */ } Change it into: } else if (usb2_test_huawei_autoinst_p(udev, &uaa) == 0) { DPRINTFN(0, "Found Huawei auto-install disk!\n"); err = usb2_set_config_index(udev, USB_UNCONFIG_INDEX); err = 0; /* force success */ } And recompile kernel or only usb_core module. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 22:25:47 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B228106566B for ; Thu, 26 Feb 2009 22:25:47 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 2DE458FC1A for ; Thu, 26 Feb 2009 22:25:46 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so769202wfd.7 for ; Thu, 26 Feb 2009 14:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=EuQk/1sn1YUY5BAM2yCVJ8M4x5p25jVofOs5SrD5GfY=; b=rX0rRqXuXkejREmJzpBVjYvz3DIoZBtHemfODP4eg9meeV31pj8u/PpqMxy8guYt1i U++jQJ4Ss3eirtpgROk11ZG2Uu3wORUcZ7Wva2e70QCWH/BahlJUC2c5dUYyhzcWwcT8 pc2aZGFmS6HLCBXg55WQcgGZOFw4kxY0cNqXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QHCjPPLnpzU5liVG50eITuRKEPIg6kMhX6h1k4VJ6qsXoLyVh0TlXR1E2LkfWlyf23 3A7T+lWUowtJkzVNf6/kpu8NH0Vcz04GKBKsdLqzKFx4NK7uDpzDO6Omu7g2PqddynfE oObKwpq3GVKw0NijP2BAawcxld3hjFmkGat8M= MIME-Version: 1.0 Received: by 10.143.8.17 with SMTP id l17mr882772wfi.173.1235687146679; Thu, 26 Feb 2009 14:25:46 -0800 (PST) In-Reply-To: <200902262140.52560.hselasky@c2i.net> References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902261622.17677.hselasky@c2i.net> <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> <200902262140.52560.hselasky@c2i.net> Date: Thu, 26 Feb 2009 17:25:46 -0500 Message-ID: <89dbfdc30902261425p7f933721sfdf47099fae2ef0a@mail.gmail.com> From: Kim Culhan To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 22:25:47 -0000 On Thu, Feb 26, 2009 at 3:40 PM, Hans Petter Selasky wro= te: > On Thursday 26 February 2009, Kim Culhan wrote: >> On Thu, Feb 26, 2009 at 10:22 AM, Hans Petter Selasky > wrote: >> > On Thursday 26 February 2009, Kim Culhan wrote: >> >> On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky > >> usb2_test_autoinstall:559: Eject CD command status: >> USB_ERR_NORMAL_COMPLETION usb2_alloc_device:1662: Found Huawei auto-inst= all >> disk! >> ugen2.2: at usbus2 >> ugen2.2: at usbus2 (disconnected) >> uhub_reattach_port:414: could not allocate new device! > > And if you do like this: > > boot kernel without u3g loaded. > > When kernel is booted, and card is plugged in, load u3g. What does it out= put > then? There is no change now when loading the u3g module. u3g.c here is now svn commit: r188989 $FreeBSD: src/sys/dev/usb/serial/u3g.c,v 1.2 2009/02/24 05:35:48 thompsa Ex= p $ > I think that there might be a USB port race. Could you try editing: > > /sys/dev/usb/usb_device.c > > Lookup: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} else if (usb2_test_huawei_autoinst_p(ude= v, &uaa) =3D=3D 0) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0DPRINTFN(0, "Found Huawei = auto-install disk!\n"); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0err =3D USB_ERR_STALLED; = =A0/* fake an error */ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > > Change it into: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} else if (usb2_test_huawei_autoinst_p(ude= v, &uaa) =3D=3D 0) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0DPRINTFN(0, "Found Huawei = auto-install disk!\n"); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0err =3D usb2_set_config_index(udev, USB_UN= CONFIG_INDEX); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0err =3D 0; /* force success */ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > > And recompile kernel or only usb_core module. Changed as above, dmesg after attachment of device then loading u3g follows. ugen2.2: at usbus2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 umass0:1:0:-1: Attached to scbus1 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 1.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 e0 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 e0 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 e0 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 e0 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 e0 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retries Exhausted (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 fc 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 fc 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 fc 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 fc 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 9 fc 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:0,0 (cd0:umass-sim0:0:0:0): No additional sense information (cd0:umass-sim0:0:0:0): Retries Exhausted (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back -kim From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 22:36:52 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26CBC106566C for ; Thu, 26 Feb 2009 22:36:52 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id EC8A78FC17 for ; Thu, 26 Feb 2009 22:36:51 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so773403wfd.7 for ; Thu, 26 Feb 2009 14:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4q6ShhYlwcPg60BTLtcd0j0embBt3qTdKok0Z54vVnQ=; b=pWyhxUuW4R3MHPTKUw8FZkaQzxsG2+Jqy1RtN9lOBY2BsBeyYXoIrZLAVlWEKRH2V0 VZwA8XFnlFMU9drlH0Ag7Ej+KcGiqB3G+hL3uD6N4x6JcdzSm+La+6nTPHM7qETuY0d0 nSLmFhcTGnS5dkOIjOTtlDXNVMZ+J/7kruSVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lnz0sJMWXXxLI7UlQad9vUPbAdxDFkXEXtf7JCT3R7b2p+sUnChcGpCGNPPwlHoubz YegSuFVX2By76Zoo09pD0OvU2G4r1AVS4qDPD6Xr3J4HbE676GXA9OgF9fGrcU6BJc8e WmdcGdIFKhHotKZV3Z6oaDKzaRW97FuSHIQrY= MIME-Version: 1.0 Received: by 10.143.19.16 with SMTP id w16mr872581wfi.343.1235687811525; Thu, 26 Feb 2009 14:36:51 -0800 (PST) In-Reply-To: <89dbfdc30902261425p7f933721sfdf47099fae2ef0a@mail.gmail.com> References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902261622.17677.hselasky@c2i.net> <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> <200902262140.52560.hselasky@c2i.net> <89dbfdc30902261425p7f933721sfdf47099fae2ef0a@mail.gmail.com> Date: Thu, 26 Feb 2009 17:36:51 -0500 Message-ID: <89dbfdc30902261436o4ed73ab1l6877245c33c1cd7e@mail.gmail.com> From: Kim Culhan To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 22:36:52 -0000 On Thu, Feb 26, 2009 at 5:25 PM, Kim Culhan wrote: > On Thu, Feb 26, 2009 at 3:40 PM, Hans Petter Selasky wrote: >> On Thursday 26 February 2009, Kim Culhan wrote: >>> On Thu, Feb 26, 2009 at 10:22 AM, Hans Petter Selasky >> wrote: >>> > On Thursday 26 February 2009, Kim Culhan wrote: >>> >> On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky >> >>> usb2_test_autoinstall:559: Eject CD command status: >>> USB_ERR_NORMAL_COMPLETION usb2_alloc_device:1662: Found Huawei auto-install >>> disk! >>> ugen2.2: at usbus2 >>> ugen2.2: at usbus2 (disconnected) >>> uhub_reattach_port:414: could not allocate new device! >> >> And if you do like this: >> >> boot kernel without u3g loaded. >> >> When kernel is booted, and card is plugged in, load u3g. What does it output >> then? > > There is no change now when loading the u3g module. > > u3g.c here is now svn commit: r188989 > > $FreeBSD: src/sys/dev/usb/serial/u3g.c,v 1.2 2009/02/24 05:35:48 thompsa Exp $ This info just in, the u3g0 device appeared several minutes after loading the u3g module. dmesg now has added: u3g0: on usbus2 u3g0: Found 4 ports. umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:1:0:-1: Attached to scbus1 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present -kim From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 22:40:13 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56888106566C for ; Thu, 26 Feb 2009 22:40:13 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id F32738FC1A for ; Thu, 26 Feb 2009 22:40:12 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QMe9FE008076; Thu, 26 Feb 2009 17:40:09 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id n1QMe9Vn006048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Feb 2009 17:40:09 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200902262240.n1QMe9Vn006048@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 26 Feb 2009 17:40:10 -0500 To: Kim Culhan , Hans Petter Selasky From: Mike Tancsa In-Reply-To: <89dbfdc30902261436o4ed73ab1l6877245c33c1cd7e@mail.gmail.co m> References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902261622.17677.hselasky@c2i.net> <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> <200902262140.52560.hselasky@c2i.net> <89dbfdc30902261425p7f933721sfdf47099fae2ef0a@mail.gmail.com> <89dbfdc30902261436o4ed73ab1l6877245c33c1cd7e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 22:40:13 -0000 At 05:36 PM 2/26/2009, Kim Culhan wrote: >u3g0: on usbus2 >u3g0: Found 4 ports. >umass0: 1.10/0.00, addr 2> on usbus2 >umass0: SCSI over Bulk-Only; quirks = 0x0000 >umass0:1:0:-1: Attached to scbus1 >(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 >(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition >(probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 >(probe0:umass-sim0:0:0:0): Medium not present >(probe0:umass-sim0:0:0:0): Unretryable error >da0 at umass-sim0 bus 0 target 0 lun 0 >da0: Removable Direct Access SCSI-2 device >da0: 1.000MB/s transfers >da0: Attempt to query device size failed: NOT READY, Medium not present If you do a camcontrol eject pass0 does /dev/cuaU* now show up ? I have a different Novatel unit where I have to do that to get it to work. umass0: on uhub0 vr0: vr_stop: Rx shutdown error vr0: Using force reset command. umass0: at uhub0 port 1 (addr 2) disconnected umass0: detached ucom0: on uhub0 ucom0: configured 2 serial ports (U0.%d) ---Mike >-kim >_______________________________________________ >freebsd-usb@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-usb >To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Fri Feb 27 00:46:23 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29EA2106566B for ; Fri, 27 Feb 2009 00:46:23 +0000 (UTC) (envelope-from jlevine@boulder.nist.gov) Received: from ridley.nist.gov (ridley.nist.gov [129.6.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id E63BB8FC0A for ; Fri, 27 Feb 2009 00:46:22 +0000 (UTC) (envelope-from jlevine@boulder.nist.gov) Received: from tide.boulder.nist.gov (tide.colorado.edu [128.138.140.135]) (authenticated bits=0) by ridley.nist.gov (8.13.7/8.13.7) with ESMTP id n1R0GEuE014853; Thu, 26 Feb 2009 19:16:15 -0500 (EST) Message-Id: <7.0.0.16.2.20090226170327.023e68c0@boulder.nist.gov> X-Mailer: QUALCOMM Windows Eudora Version 7.0.0.16 Date: Thu, 26 Feb 2009 17:16:20 -0700 To: gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: Judah Levine In-Reply-To: <200902251049.n1PAnWXo002536@freefall.freebsd.org> References: <200902251049.n1PAnWXo002536@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-From: jlevine@boulder.nist.gov Cc: Subject: Re: usb/132066: [ukbd] Keyboard failure USB keyboard DELL 760 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 00:46:23 -0000 Hello, I have done some additional playing around and I am writing to tell you my results: 1. All keys except for Caps lock and num lock seem to work properly. The combination Control-Z is recognized correctly. Also Shift + key gives the correct shift to upper case on both the letters and the numbers. 2. Holding down a letter key causes the letter to repeat as expected. 3. The numeric keypad and the arrow keys work as expected. 4. When you push caps lock, the corresponding light on the keyboard goes on for about 1 second, goes off, goes on again, goes off again and stays off. The num lock light does the same thing. 5. The system boots up with num lock on. If you push the num lock key, the corresponding light goes off and stays off. In both cases 4 and 5, the keyboard is disabled -- I cannot find any key combination that does anything. This includes control-alt-delete. The only fix is to push the power button. The same system works ok with Win XP. (The system is dual-boot). I have upgraded the BIOS firmware from A01 to A02. No change. Finally, it looks like Debian Linux has some problems with the same hardware. Are these troubles related? ------------------------------------------------------------------- At 03:49 AM 2/25/2009, gavin@FreeBSD.org wrote: >Synopsis: [ukbd] Keyboard failure USB keyboard DELL 760 > >State-Changed-From-To: feedback->open >State-Changed-By: gavin >State-Changed-When: Wed Feb 25 10:49:12 UTC 2009 >State-Changed-Why: >Feedback received, thanks! > >http://www.freebsd.org/cgi/query-pr.cgi?pr=132066 Judah Levine Time and Frequency Division NIST Boulder From owner-freebsd-usb@FreeBSD.ORG Fri Feb 27 01:14:40 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4018C106566C; Fri, 27 Feb 2009 01:14:40 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 03DB88FC0C; Fri, 27 Feb 2009 01:14:39 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 31E0AFF7F; Fri, 27 Feb 2009 14:14:39 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vZjrsnfFr1t9; Fri, 27 Feb 2009 14:14:35 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Fri, 27 Feb 2009 14:14:35 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id C2D4E1142F; Fri, 27 Feb 2009 14:14:34 +1300 (NZDT) Date: Thu, 26 Feb 2009 17:14:34 -0800 From: Andrew Thompson To: current@freebsd.org, usb@freebsd.org Message-ID: <20090227011434.GA52500@citylink.fud.org.nz> References: <20090226020330.GC25211@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090226020330.GC25211@citylink.fud.org.nz> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: USB devfs patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 01:14:40 -0000 On Wed, Feb 25, 2009 at 06:03:30PM -0800, Andrew Thompson wrote: > Hi, > > > Below is a patch from Rink Springer to change the new USB stack to use > devfs device nodes. I have tested this with a usb mouse and I am hoping > people with other devices can test too, in particular scanners (sane > app) and lpt ports. The patch has been updated thanks to feedback http://people.freebsd.org/~thompsa/usb-cdevs2.diff It now uses d_open instead of d_fdopen, uses an updated /dev layout, and of course bugfixes. I plan to commit tomorrow. Andrew From owner-freebsd-usb@FreeBSD.ORG Fri Feb 27 01:59:15 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 288221065672 for ; Fri, 27 Feb 2009 01:59:15 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id 09FC18FC08 for ; Fri, 27 Feb 2009 01:59:14 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 6F8528C068; Thu, 26 Feb 2009 19:44:00 -0600 (CST) Date: Thu, 26 Feb 2009 19:44:00 -0600 From: Mark Linimon To: freebsd-ports@FreeBSD.org, freebsd-usb@FreeBSD.org Message-ID: <20090227014400.GA27047@lonesome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: list of ports broken by USB switchover? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 01:59:15 -0000 Does anyone have a list of these ports handy? I am trying to come up with a list of ports that have recently become broken in -CURRENT and I don't have any notes on these yet. mcl From owner-freebsd-usb@FreeBSD.ORG Fri Feb 27 07:40:44 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA55E106566C; Fri, 27 Feb 2009 07:40:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 9D7D28FC13; Fri, 27 Feb 2009 07:40:43 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=TlA4_y2CDb8Qyn456SkA:9 a=qnPqSe5-Y_wnBFxdVUIA:7 a=VM80V26yEHaAzQETO9mb64v8umcA:4 a=50e4U0PicR4A:10 a=TzSWSkNLWup2uXUU:21 a=ssvq-XIW68zNtQYh:21 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 151537210; Fri, 27 Feb 2009 08:40:41 +0100 From: Hans Petter Selasky To: Andrew Thompson Date: Fri, 27 Feb 2009 08:43:11 +0100 User-Agent: KMail/1.9.7 References: <20090226020330.GC25211@citylink.fud.org.nz> <20090227011434.GA52500@citylink.fud.org.nz> In-Reply-To: <20090227011434.GA52500@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200902270843.12291.hselasky@c2i.net> Cc: usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB devfs patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 07:40:45 -0000 Hi Andrew, > The patch has been updated thanks to feedback > http://people.freebsd.org/~thompsa/usb-cdevs2.diff I cannot see that you have looked at the 11 issues I repored on the last=20 patch. Can you have a look at the following issues again: Here is a list of comments and bugs. The comments follow the diff from top to bottom. 1) There is a redundant setting of "is_uref =3D 1" ? =2D =A0 =A0 =A0 if (ploc->is_uref) { + =A0 =A0 =A0 if (cpd->is_uref) { =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0* We are about to alter the bus-state. A= pply the =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0* required locks. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0*/ =2D =A0 =A0 =A0 =A0 =A0 =A0 =A0 sx_xlock(ploc->udev->default_sx + 1); + =A0 =A0 =A0 =A0 =A0 =A0 =A0 sx_xlock(cpd->udev->default_sx + 1); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 mtx_lock(&Giant); =A0 =A0 =A0 /* XXX */ + =A0 =A0 =A0 =A0 =A0 =A0 =A0 cpd->is_uref =3D 1; =A0 =A0 =A0 =A0 } 2) Should gid_t uid_t and mode_t be used? + =A0 =A0uint8_t iface_index, uint32_t uid, uint32_t gid, uint16_t mode) 3) This comment should be: /* Now, create the device itself and an alias */ /* Now, create the device */ Because the alias is not needed - right. 4) Probably you can just remove the src_path stuff: + =A0 =A0 =A0 /* XXX no longer needed */ + =A0 =A0 =A0 strlcpy(ps->src_path, target, sizeof(ps->src_path)); + =A0 =A0 =A0 ps->src_len =3D strlen(ps->src_path); 5) There is no reason to use 32-bit int, except for fflags? uint16_t bus_index; uint8_t dev_index; uint8_t iface_index; uint8_t ep_addr; #define=A0EP_NO_ADDR 0xff /* instead of ep_addr =3D -1 */ =A0/* + * Private per-device information. + */ +struct usb2_cdev_privdata { + =A0 =A0 =A0 struct usb2_bus =A0 =A0 =A0 =A0 *bus; + =A0 =A0 =A0 struct usb2_device =A0 =A0 =A0*udev; + =A0 =A0 =A0 struct usb2_interface =A0 *iface; + =A0 =A0 =A0 struct usb2_fifo =A0 =A0 =A0 =A0*rxfifo; + =A0 =A0 =A0 struct usb2_fifo =A0 =A0 =A0 =A0*txfifo; + =A0 =A0 =A0 int =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 bus_index; =A0 = =A0 =A0/* bus index */ + =A0 =A0 =A0 int =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 dev_index; =A0 = =A0 =A0/* device index */ + =A0 =A0 =A0 int =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 iface_index; =A0 = =A0/* interface index */ + =A0 =A0 =A0 int =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ep_addr; =A0 =A0 = =A0 =A0/* endpoint address */ + =A0 =A0 =A0 uint8_t =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fifo_index; =A0 =A0 /= * FIFO index */ + =A0 =A0 =A0 uint8_t =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is_read; =A0 =A0 =A0 = =A0/* location has read access */ + =A0 =A0 =A0 uint8_t =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is_write; =A0 =A0 =A0= /* location has write access=20 */ + =A0 =A0 =A0 uint8_t =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is_uref; =A0 =A0 =A0 = =A0/* USB refcount decr. needed=20 */ + =A0 =A0 =A0 uint8_t =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 is_usbfs; =A0 =A0 =A0= /* USB-FS is active */ + =A0 =A0 =A0 int =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fflags; +}; =46or usb2_fs_privdata probably you are justified. I would have used=20 "unsigned int" for the fields that are unsigned. It has something to do with range checks in the code not checking for values less than zero. Like: if (fifo_index < max) ok; else failure; With int's we have to think more: if (fifo_index >=3D 0 && fifo_index < max) ok; else failure; 6) Some non-gcc compilers will complain unless you do 0-1 when the destination variable is unsigned. =2D =A0 =A0 =A0 usb2_free_pipe_data(udev, iface_index, 0 - 1); + =A0 =A0 =A0 usb2_free_pipe_data(udev, iface_index, -1); 7) Watch out!! Maybe using the word "in" and "out" is bad idea. If this means "read" and "write", then use "rd" and "wr", because in USB device mode the endpoint direction is exactly the opposide like in USB host mode: + =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Fill in the endpoint bitmasks */ + =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (ed->bEndpointAddress & UE_DIR_IN) + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 iface->ep_in_mask |=3D + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1 << UE_GET_ADDR(ed->= bEndpointAddress); + =A0 =A0 =A0 =A0 =A0 =A0 =A0 else + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 iface->ep_out_mask |=3D + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1 << UE_GET_ADDR(ed->= bEndpointAddress); Use the the following macro for reference when computing if an endpoint is read or write! #define USB_GET_DATA_ISREAD(xfer) (((xfer)->flags_int.usb2_mode =3D=3D \ =A0 =A0 =A0 =A0 USB_MODE_DEVICE) ? ((xfer->endpoint & UE_DIR_IN) ? 0 : 1) := \ =A0 =A0 =A0 =A0 ((xfer->endpoint & UE_DIR_IN) ? 1 : 0)) Change: + =A0 =A0 =A0 uint16_t ep_in_mask; =A0 =A0 =A0 =A0 =A0 =A0/* bitmask of IN = endpoints */ + =A0 =A0 =A0 uint16_t ep_out_mask; =A0 =A0 =A0 =A0 =A0 /* bitmask of OUT e= ndpoints */ Into: + =A0 =A0 =A0 uint16_t ep_rx_mask; =A0 =A0 =A0 =A0 =A0 =A0/* bitmask of RX = endpoints */ + =A0 =A0 =A0 uint16_t ep_tx_mask; =A0 =A0 =A0 =A0 =A0 /* bitmask of TX end= points */ 8) The following won't work?? Freeing the cdevs have to be done in multiple steps. Please keep the semantics of the "usb2_fifo_free_wrap" function. When setting the configuration we have a cdev handle on EP0. If that is closed during set_config we are recursivly killing our own handle! Therefore there are some extra checks so that at some points we only free non-EP0 handles, at some point only a specific interface and so on. + =A0 =A0 =A0 usb2_cdev_free(udev); =A0 =A0 =A0 =A0 usb2_fifo_free_wrap(udev, iface_index, 0); 9) Regarding the device nodes, how about organising into sub-folders? Before: + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Now, create the device its= elf */ + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 snprintf(devname, sizeof(devn= ame), USB_DEVICE_NAME + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "%u.%u.%u.%u", pd->bu= s_index, pd->dev_index, + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 pd->iface_index, pd->= ep_addr); + After: + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Now, create the device its= elf */ + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 snprintf(devname, sizeof(devn= ame), USB_DEVICE_NAME + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "%u/%u/%u/%u", pd->bu= s_index, pd->dev_index, + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 pd->iface_index, pd->= ep_addr); + You would also have to update libusb20. 10) Can you show me the implementation of the following function: + =A0 =A0 =A0 devfs_set_cdevpriv(cpd, usb2_close); =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Fri Feb 27 12:32:33 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0C88106564A for ; Fri, 27 Feb 2009 12:32:32 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id C0A0A8FC08 for ; Fri, 27 Feb 2009 12:32:32 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so1067789rvb.43 for ; Fri, 27 Feb 2009 04:32:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HaBQyU819/hQwLp+nebASvF3kCux0rBoEWX3gyIy/lc=; b=UQj6/O5bXqQmM+VIQKZD38kZIuAP5FZiu41lFt7U4IG/a419fcaOdg/CsVZ5/lHwnC C7CpSx3dhhOljTbt0cLayM+PkD3MoiWojZhtTiUKw8Ll9WlAxaMBeiqHv57bEFpMmRRA ezdcVPb+A5TiXsQLkB2cuxFV5FUByx2rGCEVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ePvAdTLBak1ZnHoIzLvYXd6fXq2fhadVS5t80Zx5RNt24LdVnpdNE/bOZFn2w3J6uL VPLKjJtp1fSI5Y7DWJJP0/AN3HoYHqfrN/sugHZu9xNiXv6xVLxZPFWMEGCHcubYKJxo zuZ77BlHpbZv0NpEWO9zdMc5PL5zeBR5tA9EU= MIME-Version: 1.0 Received: by 10.143.42.6 with SMTP id u6mr1255410wfj.144.1235737952439; Fri, 27 Feb 2009 04:32:32 -0800 (PST) In-Reply-To: <200902262240.n1QMe9Vn006048@lava.sentex.ca> References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902261622.17677.hselasky@c2i.net> <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> <200902262140.52560.hselasky@c2i.net> <89dbfdc30902261425p7f933721sfdf47099fae2ef0a@mail.gmail.com> <89dbfdc30902261436o4ed73ab1l6877245c33c1cd7e@mail.gmail.com> <200902262240.n1QMe9Vn006048@lava.sentex.ca> Date: Fri, 27 Feb 2009 07:32:32 -0500 Message-ID: <89dbfdc30902270432x24487790p7b0f8ffe99d2bb@mail.gmail.com> From: Kim Culhan To: Mike Tancsa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 12:32:33 -0000 On Thu, Feb 26, 2009 at 5:40 PM, Mike Tancsa wrote: > At 05:36 PM 2/26/2009, Kim Culhan wrote: > >> u3g0: on usbus2 >> u3g0: Found 4 ports. >> umass0: > 1.10/0.00, addr 2> on usbus2 >> umass0: =A0SCSI over Bulk-Only; quirks =3D 0x0000 >> umass0:1:0:-1: Attached to scbus1 >> (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 >> (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >> (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition >> (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 >> (probe0:umass-sim0:0:0:0): Medium not present >> (probe0:umass-sim0:0:0:0): Unretryable error >> da0 at umass-sim0 bus 0 target 0 lun 0 >> da0: Removable Direct Access SCSI-2 device >> da0: 1.000MB/s transfers >> da0: Attempt to query device size failed: NOT READY, Medium not present > > If you do a > camcontrol eject pass0 > > does /dev/cuaU* now show up ? > > I have a different Novatel unit where I have to do that to get it to work= . > > umass0: 1.10/0.00, addr 2> on uhub0 > vr0: vr_stop: Rx shutdown error > vr0: Using force reset command. > umass0: at uhub0 port 1 (addr 2) disconnected > umass0: detached > ucom0: 1.10/0.00, addr 2> on uhub0 > ucom0: configured 2 serial ports (U0.%d) Yes, ejecting the 'cd0' appears to 'solve the problem' The order of events was: Boot the machine without u3g in the kernel Insert the device Issue the eject command: camcontrol eject pass0 the following appears in /dev cuaU0.0 cuaU0.0.init cuaU0.0.lock cuaU0.1 cuaU0.1.init cuaU0.1.lock cuaU0.2 cuaU0.2.init cuaU0.2.lock cuaU0.3 cuaU0.3.init cuaU0.3.lock Removing the device produces: u3g0: at ushub2, port 2, addr 2 (disconnected) umass0: at ushub2, port 2, addr 2 (disconnected) (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry ugen2.2: at usbus2 (disconnected) Reinserting the device produces: ugen2.2: at usbus2 u3g0: on usbus2 u3g0: Found 4 ports. umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 umass0:1:0:-1: Attached to scbus1 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present remove it: u3g0: at ushub2, port 2, addr 2 (disconnected) umass0: at ushub2, port 2, addr 2 (disconnected) (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry ugen2.2: at usbus2 (disconnected) re-reattach it: ugen2.2: at usbus2 u3g0: on usbus2 u3g0: Found 4 ports. umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 umass0:1:0:-1: Attached to scbus1 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present The U727 has a 'MicroSD' memory card slot which in this case has a 4gb card installed. If the SD card never worked i wouldn't mind a bit :) -kim From owner-freebsd-usb@FreeBSD.ORG Fri Feb 27 12:38:28 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94C03106566C for ; Fri, 27 Feb 2009 12:38:28 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA078FC18 for ; Fri, 27 Feb 2009 12:38:28 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so1101453wfd.7 for ; Fri, 27 Feb 2009 04:38:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=PNT9TcJ+CvpnJrb5NQajvgCtxD86RwltqLicJ0dYcPI=; b=YEs07wCd+1WZRT0mki9ZvfLuk1GDi9KivgdKbAw2yMkd5nlpkAuRVfc/mce3rfdZmf st/yqRGprLJtQ8LE+lmEiTbSlAmpXNhBDG0a63K3KCvBXt+6qs4hpj4uImVKpcL2p9Ed knlKW+Mc2JS6ixPP2oHxJ+0W9XuPqH5nNUsis= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=mnx40gMcoVFafqoUTv+LeGlzVisR03LHIfWpiNK6pvJd3c4R47kQrTNc5QjJ06BdBU JmubRs/HmGML6NlnsTe5yn59RDGeXn0GpedD8iC2fa7hk8o2avclAYHLvn7tm6UZR/ik 0uU7KEaACYuXIvp9qeUr+WxaRC8LCsxsBslsQ= MIME-Version: 1.0 Received: by 10.142.157.6 with SMTP id f6mr1251919wfe.248.1235738307760; Fri, 27 Feb 2009 04:38:27 -0800 (PST) Date: Fri, 27 Feb 2009 07:38:27 -0500 Message-ID: <89dbfdc30902270438y793998c3yac87adb849c4f462@mail.gmail.com> From: Kim Culhan To: Mike Tancsa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized -breakthrough and a correction X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 12:38:28 -0000 On Fri, Feb 27, 2009 at 7:32 AM, Kim Culhan wrote: > On Thu, Feb 26, 2009 at 5:40 PM, Mike Tancsa wrote: >> At 05:36 PM 2/26/2009, Kim Culhan wrote: >> >>> u3g0: on usbus2 >>> u3g0: Found 4 ports. >>> umass0: >> 1.10/0.00, addr 2> on usbus2 >>> umass0: =A0SCSI over Bulk-Only; quirks =3D 0x0000 >>> umass0:1:0:-1: Attached to scbus1 >>> (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 >>> (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error >>> (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition >>> (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 >>> (probe0:umass-sim0:0:0:0): Medium not present >>> (probe0:umass-sim0:0:0:0): Unretryable error >>> da0 at umass-sim0 bus 0 target 0 lun 0 >>> da0: Removable Direct Access SCSI-2 device >>> da0: 1.000MB/s transfers >>> da0: Attempt to query device size failed: NOT READY, Medium not present >> >> If you do a >> camcontrol eject pass0 >> >> does /dev/cuaU* now show up ? >> >> I have a different Novatel unit where I have to do that to get it to wor= k. >> >> umass0: > 1.10/0.00, addr 2> on uhub0 >> vr0: vr_stop: Rx shutdown error >> vr0: Using force reset command. >> umass0: at uhub0 port 1 (addr 2) disconnected >> umass0: detached >> ucom0: > 1.10/0.00, addr 2> on uhub0 >> ucom0: configured 2 serial ports (U0.%d) > > Yes, ejecting the 'cd0' appears to 'solve the problem' > > The order of events was: > > Boot the machine without u3g in the kernel > Insert the device > Issue the eject command: camcontrol eject pass0 Correction: Left this out the first time: kldload u3g > the following appears in /dev > > cuaU0.0 > cuaU0.0.init > cuaU0.0.lock > cuaU0.1 > cuaU0.1.init > cuaU0.1.lock > cuaU0.2 > cuaU0.2.init > cuaU0.2.lock > cuaU0.3 > cuaU0.3.init > cuaU0.3.lock > > Removing the device produces: > > u3g0: at ushub2, port 2, addr 2 (disconnected) > umass0: at ushub2, port 2, addr 2 (disconnected) > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > ugen2.2: at usbus2 (disconnected) > > Reinserting the device produces: > > ugen2.2: at usbus2 > u3g0: on usbus2 > u3g0: Found 4 ports. > umass0: 1.10/0.00, addr 2> on usbus2 > umass0: =A0SCSI over Bulk-Only; quirks =3D 0x0000 > umass0:1:0:-1: Attached to scbus1 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (probe0:umass-sim0:0:0:0): Medium not present > (probe0:umass-sim0:0:0:0): Unretryable error > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 1.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > > remove it: > > u3g0: at ushub2, port 2, addr 2 (disconnected) > umass0: at ushub2, port 2, addr 2 (disconnected) > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > ugen2.2: at usbus2 (disconnected) > > re-reattach it: > > ugen2.2: at usbus2 > u3g0: on usbus2 > u3g0: Found 4 ports. > umass0: 1.10/0.00, addr 2> on usbus2 > umass0: =A0SCSI over Bulk-Only; quirks =3D 0x0000 > umass0:1:0:-1: Attached to scbus1 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (probe0:umass-sim0:0:0:0): Medium not present > (probe0:umass-sim0:0:0:0): Unretryable error > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 1.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > > The U727 has a 'MicroSD' memory card slot which in this case > has a 4gb card installed. > > If the SD card never worked i wouldn't mind a bit :) > > -kim > From owner-freebsd-usb@FreeBSD.ORG Fri Feb 27 13:43:13 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F2CD1065672; Fri, 27 Feb 2009 13:43:13 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id C94548FC1B; Fri, 27 Feb 2009 13:43:12 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 1DF1FFEF4; Sat, 28 Feb 2009 02:43:11 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Q9t8TyO91dG; Sat, 28 Feb 2009 02:43:06 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Sat, 28 Feb 2009 02:43:06 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 82C071142F; Sat, 28 Feb 2009 02:43:05 +1300 (NZDT) Date: Fri, 27 Feb 2009 05:43:05 -0800 From: Andrew Thompson To: Hans Petter Selasky Message-ID: <20090227134305.GA53460@citylink.fud.org.nz> References: <20090226020330.GC25211@citylink.fud.org.nz> <20090227011434.GA52500@citylink.fud.org.nz> <200902270843.12291.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902270843.12291.hselasky@c2i.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB devfs patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 13:43:13 -0000 On Fri, Feb 27, 2009 at 08:43:11AM +0100, Hans Petter Selasky wrote: > Hi Andrew, > > > The patch has been updated thanks to feedback > > http://people.freebsd.org/~thompsa/usb-cdevs2.diff > > I cannot see that you have looked at the 11 issues I repored on the last > patch. Can you have a look at the following issues again: Yes I have, 1, 2, 3, 6, 7 & 8 have all been fixed. For #10 use http://fxr.watson.org Andrew > Here is a list of comments and bugs. > The comments follow the diff from top to bottom. > > 1) There is a redundant setting of "is_uref = 1" ? > > - ? ? ? if (ploc->is_uref) { > + ? ? ? if (cpd->is_uref) { > ? ? ? ? ? ? ? ? /* > ? ? ? ? ? ? ? ? ?* We are about to alter the bus-state. Apply the > ? ? ? ? ? ? ? ? ?* required locks. > ? ? ? ? ? ? ? ? ?*/ > - ? ? ? ? ? ? ? sx_xlock(ploc->udev->default_sx + 1); > + ? ? ? ? ? ? ? sx_xlock(cpd->udev->default_sx + 1); > ? ? ? ? ? ? ? ? mtx_lock(&Giant); ? ? ? /* XXX */ > + ? ? ? ? ? ? ? cpd->is_uref = 1; > ? ? ? ? } > > > 2) Should gid_t uid_t and mode_t be used? > > + ? ?uint8_t iface_index, uint32_t uid, uint32_t gid, uint16_t mode) > > > 3) This comment should be: > > /* Now, create the device itself and an alias */ > > /* Now, create the device */ > > Because the alias is not needed - right. > > > 4) Probably you can just remove the src_path stuff: > > + ? ? ? /* XXX no longer needed */ > + ? ? ? strlcpy(ps->src_path, target, sizeof(ps->src_path)); > + ? ? ? ps->src_len = strlen(ps->src_path); > > 5) There is no reason to use 32-bit int, except for fflags? > > uint16_t bus_index; > uint8_t dev_index; > uint8_t iface_index; > uint8_t ep_addr; > #define?EP_NO_ADDR 0xff /* instead of ep_addr = -1 */ > > ?/* > + * Private per-device information. > + */ > +struct usb2_cdev_privdata { > + ? ? ? struct usb2_bus ? ? ? ? *bus; > + ? ? ? struct usb2_device ? ? ?*udev; > + ? ? ? struct usb2_interface ? *iface; > + ? ? ? struct usb2_fifo ? ? ? ?*rxfifo; > + ? ? ? struct usb2_fifo ? ? ? ?*txfifo; > + ? ? ? int ? ? ? ? ? ? ? ? ? ? bus_index; ? ? ?/* bus index */ > + ? ? ? int ? ? ? ? ? ? ? ? ? ? dev_index; ? ? ?/* device index */ > + ? ? ? int ? ? ? ? ? ? ? ? ? ? iface_index; ? ?/* interface index */ > + ? ? ? int ? ? ? ? ? ? ? ? ? ? ep_addr; ? ? ? ?/* endpoint address */ > + ? ? ? uint8_t ? ? ? ? ? ? ? ? fifo_index; ? ? /* FIFO index */ > + ? ? ? uint8_t ? ? ? ? ? ? ? ? is_read; ? ? ? ?/* location has read access */ > + ? ? ? uint8_t ? ? ? ? ? ? ? ? is_write; ? ? ? /* location has write access > */ > + ? ? ? uint8_t ? ? ? ? ? ? ? ? is_uref; ? ? ? ?/* USB refcount decr. needed > */ > + ? ? ? uint8_t ? ? ? ? ? ? ? ? is_usbfs; ? ? ? /* USB-FS is active */ > + ? ? ? int ? ? ? ? ? ? ? ? ? ? fflags; > +}; > > For usb2_fs_privdata probably you are justified. I would have used > "unsigned int" for the fields that are unsigned. It has something to do with > range checks in the code not checking for values less than zero. Like: > > if (fifo_index < max) > ok; > else > failure; > > With int's we have to think more: > > if (fifo_index >= 0 && fifo_index < max) > ok; > else > failure; > > 6) Some non-gcc compilers will complain unless you do 0-1 when the > destination variable is unsigned. > > - ? ? ? usb2_free_pipe_data(udev, iface_index, 0 - 1); > + ? ? ? usb2_free_pipe_data(udev, iface_index, -1); > > > 7) Watch out!! Maybe using the word "in" and "out" is bad idea. If > this means "read" and "write", then use "rd" and "wr", because in USB > device mode the endpoint direction is exactly the opposide like in USB > host mode: > > + ? ? ? ? ? ? ? /* Fill in the endpoint bitmasks */ > + ? ? ? ? ? ? ? if (ed->bEndpointAddress & UE_DIR_IN) > + ? ? ? ? ? ? ? ? ? ? ? iface->ep_in_mask |= > + ? ? ? ? ? ? ? ? ? ? ? ? ? 1 << UE_GET_ADDR(ed->bEndpointAddress); > + ? ? ? ? ? ? ? else > + ? ? ? ? ? ? ? ? ? ? ? iface->ep_out_mask |= > + ? ? ? ? ? ? ? ? ? ? ? ? ? 1 << UE_GET_ADDR(ed->bEndpointAddress); > > Use the the following macro for reference when computing if an > endpoint is read or write! > > #define USB_GET_DATA_ISREAD(xfer) (((xfer)->flags_int.usb2_mode == \ > ? ? ? ? USB_MODE_DEVICE) ? ((xfer->endpoint & UE_DIR_IN) ? 0 : 1) : \ > ? ? ? ? ((xfer->endpoint & UE_DIR_IN) ? 1 : 0)) > > Change: > > + ? ? ? uint16_t ep_in_mask; ? ? ? ? ? ?/* bitmask of IN endpoints */ > + ? ? ? uint16_t ep_out_mask; ? ? ? ? ? /* bitmask of OUT endpoints */ > > Into: > > + ? ? ? uint16_t ep_rx_mask; ? ? ? ? ? ?/* bitmask of RX endpoints */ > + ? ? ? uint16_t ep_tx_mask; ? ? ? ? ? /* bitmask of TX endpoints */ > > > 8) The following won't work?? Freeing the cdevs have to be done in multiple > steps. Please keep the semantics of the "usb2_fifo_free_wrap" function. > > When setting the configuration we have a cdev handle on EP0. If that > is closed during set_config we are recursivly killing our own handle! > Therefore there are some extra checks so that at some points we only > free non-EP0 handles, at some point only a specific interface and so > on. > > + ? ? ? usb2_cdev_free(udev); > ? ? ? ? usb2_fifo_free_wrap(udev, iface_index, 0); > > 9) Regarding the device nodes, how about organising into sub-folders? > > Before: > > + ? ? ? ? ? ? ? ? ? ? ? /* Now, create the device itself */ > + ? ? ? ? ? ? ? ? ? ? ? snprintf(devname, sizeof(devname), USB_DEVICE_NAME > + ? ? ? ? ? ? ? ? ? ? ? ? ? "%u.%u.%u.%u", pd->bus_index, pd->dev_index, > + ? ? ? ? ? ? ? ? ? ? ? ? ? pd->iface_index, pd->ep_addr); > + > > After: > > + ? ? ? ? ? ? ? ? ? ? ? /* Now, create the device itself */ > + ? ? ? ? ? ? ? ? ? ? ? snprintf(devname, sizeof(devname), USB_DEVICE_NAME > + ? ? ? ? ? ? ? ? ? ? ? ? ? "%u/%u/%u/%u", pd->bus_index, pd->dev_index, > + ? ? ? ? ? ? ? ? ? ? ? ? ? pd->iface_index, pd->ep_addr); > + > > You would also have to update libusb20. > > 10) Can you show me the implementation of the following function: > > + ? ? ? devfs_set_cdevpriv(cpd, usb2_close); > > --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 28 17:55:12 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A97A1065687 for ; Sat, 28 Feb 2009 17:55:12 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 5077B8FC20 for ; Sat, 28 Feb 2009 17:55:11 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.190.15.150]) by ns2.bafirst.com with esmtp; Sat, 28 Feb 2009 11:55:09 -0600 id 000D5174.49A97A7E.00011B8B Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Sat, 28 Feb 2009 11:55:08 -0600 id 0004AC15.49A97A7C.00005C24 Received: from local69.local.net.mx (local69.local.net.mx [192.168.1.69]) by econet.encontacto.net (Horde Framework) with HTTP; Sat, 28 Feb 2009 11:55:08 -0600 Message-ID: <20090228115508.81775n96b4f851gk@econet.encontacto.net> Date: Sat, 28 Feb 2009 11:55:08 -0600 From: eculp To: Hans Petter Selasky References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> <200902251326.19416.hselasky@c2i.net> In-Reply-To: <200902251326.19416.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.0.6) Gecko/2009022203 Firefox/3.0.4, Ant.com Toolbar 1.2 X-IMP-Server: 189.190.15.150 X-Originating-IP: 192.168.1.69 X-Originating-User: eculp@encontacto.net Cc: freebsd-usb@freebsd.org Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 17:55:12 -0000 Quoting Hans Petter Selasky : > On Wednesday 25 February 2009, eculp wrote: >> I just rebooted my laptop that I have today's USB2 hopefully with the >> latest USB compatibility, if I understood the GENERIC kernel >> correctly. I'm using i386 version, up to date as of this morning. >> Ports are completely up to date. all etc/dev* stuff is as it was with >> USB1. >> >> From the dmesg I get: >> >> +ugen0.2: at usbus0 >> +ulpt0: on usbus0 >> +ulpt0: using bi-directional mode >> +Symlink: ulpt0 -> usb0.2.1.16 >> +Symlink: unlpt0 -> usb0.2.1.17 >> >> With localhost:631 I see Unable to open device file "/dev/ulpt0": >> Operation not permitted. Probably because, there ain't none. Is >> there something else that I need to do that I didn't do before? >> >> This isn't critical. I probably print only a few pages a week but I >> do want it to work when something is critical. >> > The devices are there, but invisible. > > Also check "usbconfig dump_access" that the ulpt port is reachable by cups= d. > I think not. # usbconfig dump_access Global Access: root:operator 0660 ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL =20 (12Mbps) pwr=3DON Device Access: Interface 0 Access: ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH =20 (480Mbps) pwr=3DON Device Access: Interface 0 Access: ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL =20 (12Mbps) pwr=3DON Device Access: Interface 0 Access: ugen3.1: at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH =20 (480Mbps) pwr=3DON Device Access: Interface 0 Access: ugen0.2: at usbus0, cfg=3D0 md=3DHOST =20 spd=3DFULL (12Mbps) pwr=3DON Device Access: Interface 0 Access: Interface 1 Access: root:operator 0644 ugen1.2: at usbus1, cfg=3D0 md=3DHOST =20 spd=3DHIGH (480Mbps) pwr=3DON Device Access: Interface 0 Access: Interface 1 Access: > cat /dev/ulpt0 # cat /dev/ulpt0 ed.local.net.mx > > should work What confuses me is that with dmesg or disconnecting and reconnecting I see: Feb 28 11:50:35 ed kernel: ulpt0: at ushub0, port 2, addr 2 (disconnected) Feb 28 11:50:35 ed kernel: ugen0.2: at usbus0 (disconnected) Feb 28 11:50:39 ed kernel: ugen0.2: at usbus0 Feb 28 11:50:39 ed kernel: ulpt0: on usbus0 Feb 28 11:50:39 ed kernel: ulpt0: using bi-directional mode Feb 28 11:50:39 ed kernel: Symlink: ulpt0 -> usb0.2.1.16 Feb 28 11:50:39 ed kernel: Symlink: unlpt0 -> usb0.2.1.17 But cups still says: Unable to open device file "/dev/ulpt0": Operation not permitted" and there are no lpt devices in /dev or subdirectories. Any additional suggestins apreciated. ed > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Sat Feb 28 17:57:35 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADC0910656BC; Sat, 28 Feb 2009 17:57:35 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 5E36C8FC08; Sat, 28 Feb 2009 17:57:35 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.190.15.150]) by ns2.bafirst.com with esmtp; Sat, 28 Feb 2009 11:57:33 -0600 id 000D5174.49A97B0E.00011BA1 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Sat, 28 Feb 2009 11:57:33 -0600 id 0004AC15.49A97B0D.00005C76 Received: from local69.local.net.mx (local69.local.net.mx [192.168.1.69]) by econet.encontacto.net (Horde Framework) with HTTP; Sat, 28 Feb 2009 11:57:33 -0600 Message-ID: <20090228115733.1493146fclj807pc@econet.encontacto.net> Date: Sat, 28 Feb 2009 11:57:33 -0600 From: eculp To: Andrew Thompson References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> <20090225152412.GA25211@citylink.fud.org.nz> In-Reply-To: <20090225152412.GA25211@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.0.6) Gecko/2009022203 Firefox/3.0.4, Ant.com Toolbar 1.2 X-IMP-Server: 189.190.15.150 X-Originating-IP: 192.168.1.69 X-Originating-User: eculp@encontacto.net Cc: freebsd-usb Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 17:57:36 -0000 Quoting Andrew Thompson : > On Wed, Feb 25, 2009 at 06:10:37AM -0600, eculp wrote: >> I just rebooted my laptop that I have today's USB2 hopefully with the >> latest USB compatibility, if I understood the GENERIC kernel correctly. >> I'm using i386 version, up to date as of this morning. Ports are >> completely up to date. all etc/dev* stuff is as it was with USB1. >> >> From the dmesg I get: >> >> +ugen0.2: at usbus0 >> +ulpt0: on usbus0 >> +ulpt0: using bi-directional mode >> +Symlink: ulpt0 -> usb0.2.1.16 >> +Symlink: unlpt0 -> usb0.2.1.17 >> >> With localhost:631 I see Unable to open device file "/dev/ulpt0": Operati= on >> not permitted. Probably because, there ain't none. Is there something >> else that I need to do that I didn't do before? >> >> This isn't critical. I probably print only a few pages a week but I do >> want it to work when something is critical. > > Im working on a patch (from Rink) to create proper device nodes, should > be ready shortly. I'm just curious. Has this patch been committed yet? Thanks, ed > > > Andrew > From owner-freebsd-usb@FreeBSD.ORG Sat Feb 28 17:58:59 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31A0D1065673 for ; Sat, 28 Feb 2009 17:58:59 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 881AE8FC15 for ; Sat, 28 Feb 2009 17:58:57 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=beo0rMk-LXkA:10 a=1eCa3KCRIoUA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=8kQB0OdkAAAA:8 a=y26AOypDAAAA:8 a=NGNng6gqRg4ESMy0aZUA:9 a=brroWvczontaoWHXR1oA:7 a=6RPGzb9xK7a1rM82qwPgs9DBgYUA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1201137566; Sat, 28 Feb 2009 18:58:56 +0100 From: Hans Petter Selasky To: eculp Date: Sat, 28 Feb 2009 19:01:24 +0100 User-Agent: KMail/1.9.7 References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> <200902251326.19416.hselasky@c2i.net> <20090228115508.81775n96b4f851gk@econet.encontacto.net> In-Reply-To: <20090228115508.81775n96b4f851gk@econet.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902281901.25043.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 17:59:00 -0000 On Saturday 28 February 2009, eculp wrote: > Quoting Hans Petter Selasky : > > On Wednesday 25 February 2009, eculp wrote: > >> I just rebooted my laptop that I have today's USB2 hopefully with the > >> latest USB compatibility, if I understood the GENERIC kernel > >> correctly. I'm using i386 version, up to date as of this morning. > >> Ports are completely up to date. all etc/dev* stuff is as it was with > >> USB1. > >> > >> From the dmesg I get: > >> > >> +ugen0.2: at usbus0 > >> +ulpt0: on usbus0 > >> +ulpt0: using bi-directional mode > >> +Symlink: ulpt0 -> usb0.2.1.16 > >> +Symlink: unlpt0 -> usb0.2.1.17 > >> > >> With localhost:631 I see Unable to open device file "/dev/ulpt0": > >> Operation not permitted. Probably because, there ain't none. Is > >> there something else that I need to do that I didn't do before? > >> > >> This isn't critical. I probably print only a few pages a week but I > >> do want it to work when something is critical. > > > > The devices are there, but invisible. > > > > Also check "usbconfig dump_access" that the ulpt port is reachable by > > cupsd. > > I think not. > > # usbconfig dump_access > Global Access: root:operator 0660 > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > > Device Access: > Interface 0 Access: > > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON > > Device Access: > Interface 0 Access: > > ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > > Device Access: > Interface 0 Access: > > ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON > > Device Access: > Interface 0 Access: > > ugen0.2: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > > Device Access: > Interface 0 Access: > Interface 1 Access: root:operator 0644 > > ugen1.2: at usbus1, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON > > Device Access: > Interface 0 Access: > Interface 1 Access: > > > cat /dev/ulpt0 > > # cat /dev/ulpt0 > ed.local.net.mx > > > should work > > What confuses me is that with dmesg or disconnecting and reconnecting I > see: > > Feb 28 11:50:35 ed kernel: ulpt0: at ushub0, port 2, addr 2 (disconnected) > Feb 28 11:50:35 ed kernel: ugen0.2: at usbus0 (disconnected) > Feb 28 11:50:39 ed kernel: ugen0.2: at usbus0 > Feb 28 11:50:39 ed kernel: ulpt0: on usbus0 > Feb 28 11:50:39 ed kernel: ulpt0: using bi-directional mode > Feb 28 11:50:39 ed kernel: Symlink: ulpt0 -> usb0.2.1.16 > Feb 28 11:50:39 ed kernel: Symlink: unlpt0 -> usb0.2.1.17 > > But cups still says: > > Unable to open device file "/dev/ulpt0": Operation not permitted" > > and there are no lpt devices in /dev or subdirectories. > > Any additional suggestins apreciated. > Try to cvsup. Then you will get a device which you can chmod . --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 28 18:01:00 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8B93106564A for ; Sat, 28 Feb 2009 18:01:00 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 9B5128FC0A for ; Sat, 28 Feb 2009 18:01:00 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 4AF07FFA4; Sun, 1 Mar 2009 07:00:59 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AtHFoBaH8OtJ; Sun, 1 Mar 2009 07:00:55 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Sun, 1 Mar 2009 07:00:55 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 107D51142F; Sun, 1 Mar 2009 07:00:55 +1300 (NZDT) Date: Sat, 28 Feb 2009 10:00:54 -0800 From: Andrew Thompson To: eculp Message-ID: <20090228180054.GA86623@citylink.fud.org.nz> References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> <20090225152412.GA25211@citylink.fud.org.nz> <20090228115733.1493146fclj807pc@econet.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090228115733.1493146fclj807pc@econet.encontacto.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-usb Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 18:01:01 -0000 On Sat, Feb 28, 2009 at 11:57:33AM -0600, eculp wrote: > Quoting Andrew Thompson : > >> On Wed, Feb 25, 2009 at 06:10:37AM -0600, eculp wrote: >>> I just rebooted my laptop that I have today's USB2 hopefully with the >>> latest USB compatibility, if I understood the GENERIC kernel correctly. >>> I'm using i386 version, up to date as of this morning. Ports are >>> completely up to date. all etc/dev* stuff is as it was with USB1. >>> >>> From the dmesg I get: >>> >>> +ugen0.2: at usbus0 >>> +ulpt0: on usbus0 >>> +ulpt0: using bi-directional mode >>> +Symlink: ulpt0 -> usb0.2.1.16 >>> +Symlink: unlpt0 -> usb0.2.1.17 >>> >>> With localhost:631 I see Unable to open device file "/dev/ulpt0": Operation >>> not permitted. Probably because, there ain't none. Is there something >>> else that I need to do that I didn't do before? >>> >>> This isn't critical. I probably print only a few pages a week but I do >>> want it to work when something is critical. >> >> Im working on a patch (from Rink) to create proper device nodes, should >> be ready shortly. > > I'm just curious. Has this patch been committed yet? Yes, it was yesterday. From owner-freebsd-usb@FreeBSD.ORG Sat Feb 28 18:56:20 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 861F81065670; Sat, 28 Feb 2009 18:56:20 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 33F798FC13; Sat, 28 Feb 2009 18:56:20 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.190.15.150]) by ns2.bafirst.com with esmtp; Sat, 28 Feb 2009 12:56:18 -0600 id 000D5187.49A988D2.00011D12 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Sat, 28 Feb 2009 12:56:17 -0600 id 0004AC15.49A988D1.0000D11A Received: from local69.local.net.mx (local69.local.net.mx [192.168.1.69]) by econet.encontacto.net (Horde Framework) with HTTP; Sat, 28 Feb 2009 12:56:17 -0600 Message-ID: <20090228125617.1392434c7vmomp4w@econet.encontacto.net> Date: Sat, 28 Feb 2009 12:56:17 -0600 From: eculp To: Andrew Thompson References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> <20090225152412.GA25211@citylink.fud.org.nz> <20090228115733.1493146fclj807pc@econet.encontacto.net> <20090228180054.GA86623@citylink.fud.org.nz> In-Reply-To: <20090228180054.GA86623@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.0.6) Gecko/2009022203 Firefox/3.0.4, Ant.com Toolbar 1.2 X-IMP-Server: 189.190.15.150 X-Originating-IP: 192.168.1.69 X-Originating-User: eculp@encontacto.net Cc: freebsd-usb Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 18:56:20 -0000 Quoting Andrew Thompson : > On Sat, Feb 28, 2009 at 11:57:33AM -0600, eculp wrote: >> Quoting Andrew Thompson : >> >>> On Wed, Feb 25, 2009 at 06:10:37AM -0600, eculp wrote: >>>> I just rebooted my laptop that I have today's USB2 hopefully with the >>>> latest USB compatibility, if I understood the GENERIC kernel correctly. >>>> I'm using i386 version, up to date as of this morning. Ports are >>>> completely up to date. all etc/dev* stuff is as it was with USB1. >>>> >>>> From the dmesg I get: >>>> >>>> +ugen0.2: at usbus0 >>>> +ulpt0: on usbus0 >>>> +ulpt0: using bi-directional mode >>>> +Symlink: ulpt0 -> usb0.2.1.16 >>>> +Symlink: unlpt0 -> usb0.2.1.17 >>>> >>>> With localhost:631 I see Unable to open device file "/dev/ulpt0": =20 >>>> Operation >>>> not permitted. Probably because, there ain't none. Is there something >>>> else that I need to do that I didn't do before? >>>> >>>> This isn't critical. I probably print only a few pages a week but I do >>>> want it to work when something is critical. >>> >>> Im working on a patch (from Rink) to create proper device nodes, should >>> be ready shortly. >> >> I'm just curious. Has this patch been committed yet? > > Yes, it was yesterday. I rebooted last night and then rebuilt all so I probably just need to reboot= . Thanks, ed > From owner-freebsd-usb@FreeBSD.ORG Sat Feb 28 22:57:18 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6474D1065674 for ; Sat, 28 Feb 2009 22:57:18 +0000 (UTC) (envelope-from man@email.com.ua) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.freebsd.org (Postfix) with ESMTP id 137E08FC49 for ; Sat, 28 Feb 2009 22:57:16 +0000 (UTC) (envelope-from man@email.com.ua) Received: from [92.113.36.235] (account man@email.com.ua HELO home.alkar.net) by mail.alkar.net (CommuniGate Pro SMTP 5.2.12) with ESMTPA id 1881277413 for freebsd-usb@freebsd.org; Sun, 01 Mar 2009 00:42:13 +0200 From: Artyom Mirgorodsky Organization: Vega To: "freebsd-usb" Date: Sun, 1 Mar 2009 00:45:44 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; svn-915845; 2009-01-20) MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Y6bqJl5EvIe1svC" Message-Id: <200903010045.44904.man@email.com.ua> Subject: Low perfomance when read from usb flash drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 22:57:19 -0000 --Boundary-00=_Y6bqJl5EvIe1svC Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Read speed when copy from usb flash drive decreased from 20MB/s (old usb stack) to 12MB/s. (on windows above 22Mb/s). kernel config "Work" (see attachment) kldstat Id Refs Address Size Name 1 145 0xc0400000 3c0d5c kernel 2 2 0xc07c1000 a44c cd9660.ko 3 2 0xc07cc000 11f78 msdosfs.ko 4 1 0xc07de000 d39c if_nfe.ko 5 2 0xc07ec000 267d0 miibus.ko 6 1 0xc0813000 1b5c8 snd_hda.ko 7 2 0xc082f000 4a558 sound.ko 8 1 0xc087a000 44dc uhid.ko 9 6 0xc087f000 3f2ac usb.ko 10 1 0xc08bf000 4c48 ums.ko 11 1 0xc08c4000 b388 umass.ko 12 3 0xc08d0000 4a45c cam.ko 13 1 0xc091b000 4eac atapicam.ko 14 1 0xc0920000 75c824 nvidia.ko 15 2 0xc107d000 2b188 linux.ko 16 1 0xc10a9000 7acc udf.ko 17 1 0xc10b1000 1e94 cd9660_iconv.ko 18 3 0xc10b3000 5230 libiconv.ko 19 1 0xc10b9000 1ea8 msdosfs_iconv.ko 20 1 0xc10bb000 bebc ohci.ko 21 1 0xc10c7000 e63c ehci.ko 22 1 0xc10d6000 6c990 acpi.ko 23 1 0xc52fb000 d000 ipfw.ko 24 1 0xc540d000 4000 ng_socket.ko 25 7 0xc5411000 b000 netgraph.ko 26 1 0xc54fb000 4000 ng_mppc.ko 27 1 0xc54ff000 2000 rc4.ko 28 1 0xc5502000 3000 ng_iface.ko 29 1 0xc5506000 7000 ng_ppp.ko 30 1 0xc5516000 3000 ng_tee.ko 31 1 0xc551b000 4000 ng_ether.ko 32 1 0xc5525000 6000 ng_pppoe.ko --Boundary-00=_Y6bqJl5EvIe1svC Content-Type: text/plain; charset="KOI8-R"; name="dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg" Feb 28 20:16:30 home syslogd: kernel boot file is /boot/kernel/kernel Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x0240, revid=0xa2 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=5, func=0 Feb 28 20:16:30 home kernel: class=03-00-00, hdrtype=0x00, mfdev=0 Feb 28 20:16:30 home kernel: cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) Feb 28 20:16:30 home kernel: intpin=a, irq=11 Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D3 current D0 Feb 28 20:16:30 home kernel: MSI supports 1 message, 64 bit Feb 28 20:16:30 home kernel: map[10]: type Memory, range 32, base 0xfd000000, size 24, enabled Feb 28 20:16:30 home kernel: map[14]: type Prefetchable Memory, range 64, base 0xd0000000, size 28, enabled Feb 28 20:16:30 home kernel: map[1c]: type Memory, range 64, base 0xfc000000, size 24, enabled Feb 28 20:16:30 home kernel: pcib0: matched entry for 0.5.INTA (src \_SB_.LNEC:0) Feb 28 20:16:30 home kernel: pci_link6: Picked IRQ 16 with weight 0 Feb 28 20:16:30 home kernel: pcib0: slot 5 INTA routed to irq 16 via \_SB_.LNEC Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x0270, revid=0xa2 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=9, func=0 Feb 28 20:16:30 home kernel: class=05-00-00, hdrtype=0x00, mfdev=0 Feb 28 20:16:30 home kernel: cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x0260, revid=0xa2 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=10, func=0 Feb 28 20:16:30 home kernel: class=06-01-00, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x000f, statreg=0x00a0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x0264, revid=0xa2 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=10, func=1 Feb 28 20:16:30 home kernel: class=0c-05-00, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0001, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) Feb 28 20:16:30 home kernel: intpin=a, irq=5 Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D3 current D0 Feb 28 20:16:30 home kernel: map[20]: type I/O Port, range 32, base 0x600, size 6, enabled Feb 28 20:16:30 home kernel: map[24]: type I/O Port, range 32, base 0x700, size 6, enabled Feb 28 20:16:30 home kernel: pcib0: matched entry for 0.10.INTA (src \_SB_.LSMB:0) Feb 28 20:16:30 home kernel: pci_link14: Picked IRQ 20 with weight 0 Feb 28 20:16:30 home kernel: pcib0: slot 10 INTA routed to irq 20 via \_SB_.LSMB Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x026d, revid=0xa2 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=11, func=0 Feb 28 20:16:30 home kernel: class=0c-03-10, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) Feb 28 20:16:30 home kernel: intpin=a, irq=5 Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D1 D2 D3 current D0 Feb 28 20:16:30 home kernel: map[10]: type Memory, range 32, base 0xfebde000, size 12, enabled Feb 28 20:16:30 home kernel: pcib0: matched entry for 0.11.INTA (src \_SB_.LUB0:0) Feb 28 20:16:30 home kernel: pci_link8: Picked IRQ 21 with weight 0 Feb 28 20:16:30 home kernel: pcib0: slot 11 INTA routed to irq 21 via \_SB_.LUB0 Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x026e, revid=0xa2 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=11, func=1 Feb 28 20:16:30 home kernel: class=0c-03-20, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) Feb 28 20:16:30 home kernel: intpin=b, irq=7 Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D1 D2 D3 current D0 Feb 28 20:16:30 home kernel: map[10]: type Memory, range 32, base 0xfebdfc00, size 8, enabled Feb 28 20:16:30 home kernel: pcib0: matched entry for 0.11.INTB (src \_SB_.LUB2:0) Feb 28 20:16:30 home kernel: pci_link9: Picked IRQ 22 with weight 0 Feb 28 20:16:30 home kernel: pcib0: slot 11 INTB routed to irq 22 via \_SB_.LUB2 Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x0265, revid=0xa1 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=13, func=0 Feb 28 20:16:30 home kernel: class=01-01-8a, hdrtype=0x00, mfdev=0 Feb 28 20:16:30 home kernel: cmdreg=0x0005, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D3 current D0 Feb 28 20:16:30 home kernel: map[20]: type I/O Port, range 32, base 0xffa0, size 4, enabled Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x0266, revid=0xa1 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=14, func=0 Feb 28 20:16:30 home kernel: class=01-01-85, hdrtype=0x00, mfdev=0 Feb 28 20:16:30 home kernel: cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) Feb 28 20:16:30 home kernel: intpin=a, irq=11 Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D3 current D0 Feb 28 20:16:30 home kernel: MSI supports 4 messages, 64 bit Feb 28 20:16:30 home kernel: map[10]: type I/O Port, range 32, base 0xe800, size 3, enabled Feb 28 20:16:30 home kernel: map[14]: type I/O Port, range 32, base 0xe480, size 2, enabled Feb 28 20:16:30 home kernel: map[18]: type I/O Port, range 32, base 0xe400, size 3, enabled Feb 28 20:16:30 home kernel: map[1c]: type I/O Port, range 32, base 0xe080, size 2, enabled Feb 28 20:16:30 home kernel: map[20]: type I/O Port, range 32, base 0xe000, size 4, enabled Feb 28 20:16:30 home kernel: map[24]: type Memory, range 32, base 0xfebdd000, size 12, enabled Feb 28 20:16:30 home kernel: pcib0: matched entry for 0.14.INTA (src \_SB_.LSA0:0) Feb 28 20:16:30 home kernel: pci_link16: Picked IRQ 23 with weight 0 Feb 28 20:16:30 home kernel: pcib0: slot 14 INTA routed to irq 23 via \_SB_.LSA0 Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x0267, revid=0xa1 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=15, func=0 Feb 28 20:16:30 home kernel: class=01-01-85, hdrtype=0x00, mfdev=0 Feb 28 20:16:30 home kernel: cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) Feb 28 20:16:30 home kernel: intpin=a, irq=10 Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D3 current D0 Feb 28 20:16:30 home kernel: MSI supports 4 messages, 64 bit Feb 28 20:16:30 home kernel: map[10]: type I/O Port, range 32, base 0xdc00, size 3, enabled Feb 28 20:16:30 home kernel: map[14]: type I/O Port, range 32, base 0xd880, size 2, enabled Feb 28 20:16:30 home kernel: map[18]: type I/O Port, range 32, base 0xd800, size 3, enabled Feb 28 20:16:30 home kernel: map[1c]: type I/O Port, range 32, base 0xd480, size 2, enabled Feb 28 20:16:30 home kernel: map[20]: type I/O Port, range 32, base 0xd400, size 4, enabled Feb 28 20:16:30 home kernel: map[24]: type Memory, range 32, base 0xfebdc000, size 12, enabled Feb 28 20:16:30 home kernel: pcib0: matched entry for 0.15.INTA (src \_SB_.LSA1:0) Feb 28 20:16:30 home kernel: pci_link17: Picked IRQ 20 with weight 1 Feb 28 20:16:30 home kernel: pcib0: slot 15 INTA routed to irq 20 via \_SB_.LSA1 Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x026f, revid=0xa2 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=16, func=0 Feb 28 20:16:30 home kernel: class=06-04-01, hdrtype=0x01, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0004, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x02 (500 ns) Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x026c, revid=0xa2 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=16, func=1 Feb 28 20:16:30 home kernel: class=04-03-00, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x05 (1250 ns) Feb 28 20:16:30 home kernel: intpin=b, irq=5 Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D3 current D0 Feb 28 20:16:30 home kernel: MSI supports 1 message, 64 bit, vector masks Feb 28 20:16:30 home kernel: map[10]: type Memory, range 32, base 0xfebd8000, size 14, enabled Feb 28 20:16:30 home kernel: pcib0: matched entry for 0.16.INTB (src \_SB_.LAZA:0) Feb 28 20:16:30 home kernel: pci_link11: Picked IRQ 21 with weight 1 Feb 28 20:16:30 home kernel: pcib0: slot 16 INTB routed to irq 21 via \_SB_.LAZA Feb 28 20:16:30 home kernel: found-> vendor=0x10de, dev=0x0269, revid=0xa1 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=20, func=0 Feb 28 20:16:30 home kernel: class=06-80-00, hdrtype=0x00, mfdev=0 Feb 28 20:16:30 home kernel: cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x01 (250 ns), maxlat=0x14 (5000 ns) Feb 28 20:16:30 home kernel: intpin=a, irq=7 Feb 28 20:16:30 home kernel: powerspec 2 supports D0 D1 D2 D3 current D0 Feb 28 20:16:30 home kernel: map[10]: type Memory, range 32, base 0xfebd7000, size 12, enabled Feb 28 20:16:30 home kernel: map[14]: type I/O Port, range 32, base 0xd080, size 3, enabled Feb 28 20:16:30 home kernel: pcib0: matched entry for 0.20.INTA (src \_SB_.LMAC:0) Feb 28 20:16:30 home kernel: pci_link10: Picked IRQ 22 with weight 1 Feb 28 20:16:30 home kernel: pcib0: slot 20 INTA routed to irq 22 via \_SB_.LMAC Feb 28 20:16:30 home kernel: found-> vendor=0x1022, dev=0x1100, revid=0x00 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=24, func=0 Feb 28 20:16:30 home kernel: class=06-00-00, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) Feb 28 20:16:30 home kernel: found-> vendor=0x1022, dev=0x1101, revid=0x00 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=24, func=1 Feb 28 20:16:30 home kernel: class=06-00-00, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) Feb 28 20:16:30 home kernel: found-> vendor=0x1022, dev=0x1102, revid=0x00 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=24, func=2 Feb 28 20:16:30 home kernel: class=06-00-00, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) Feb 28 20:16:30 home kernel: found-> vendor=0x1022, dev=0x1103, revid=0x00 Feb 28 20:16:30 home kernel: domain=0, bus=0, slot=24, func=3 Feb 28 20:16:30 home kernel: class=06-00-00, hdrtype=0x00, mfdev=1 Feb 28 20:16:30 home kernel: cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) Feb 28 20:16:30 home kernel: lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) Feb 28 20:16:30 home kernel: pci0: at device 0.0 (no driver attached) Feb 28 20:16:30 home kernel: pci0: at device 0.1 (no driver attached) Feb 28 20:16:30 home kernel: pci0: at device 0.2 (no driver attached) Feb 28 20:16:30 home kernel: pci0: at device 0.3 (no driver attached) Feb 28 20:16:30 home kernel: pci0: at device 0.4 (no driver attached) Feb 28 20:16:30 home kernel: pci0: at device 0.5 (no driver attached) Feb 28 20:16:30 home kernel: pci0: at device 0.6 (no driver attached) Feb 28 20:16:30 home kernel: pci0: at device 0.7 (no driver attached) Feb 28 20:16:30 home kernel: pcib1: at device 2.0 on pci0 Feb 28 20:16:30 home kernel: pcib1: domain 0 Feb 28 20:16:30 home kernel: pcib1: secondary bus 1 Feb 28 20:16:30 home kernel: pcib1: subordinate bus 1 Feb 28 20:16:30 home kernel: pcib1: I/O decode 0x0-0x0 Feb 28 20:16:30 home kernel: pcib1: no prefetched decode Feb 28 20:16:30 home kernel: pci1: on pcib1 Feb 28 20:16:30 home kernel: pci1: domain=0, physical bus=1 Feb 28 20:16:30 home kernel: pcib2: at device 3.0 on pci0 Feb 28 20:16:30 home kernel: pcib2: domain 0 Feb 28 20:16:30 home kernel: pcib2: secondary bus 2 Feb 28 20:16:30 home kernel: pcib2: subordinate bus 2 Feb 28 20:16:30 home kernel: pcib2: I/O decode 0x0-0x0 Feb 28 20:16:30 home kernel: pcib2: no prefetched decode Feb 28 20:16:30 home kernel: pci2: on pcib2 Feb 28 20:16:30 home kernel: pci2: domain=0, physical bus=2 Feb 28 20:16:30 home kernel: pcib3: at device 4.0 on pci0 Feb 28 20:16:30 home kernel: pcib3: domain 0 Feb 28 20:16:30 home kernel: pcib3: secondary bus 3 Feb 28 20:16:30 home kernel: pcib3: subordinate bus 3 Feb 28 20:16:30 home kernel: pcib3: I/O decode 0x0-0x0 Feb 28 20:16:30 home kernel: pcib3: no prefetched decode Feb 28 20:16:30 home kernel: pci3: on pcib3 Feb 28 20:16:30 home kernel: pci3: domain=0, physical bus=3 Feb 28 20:16:30 home kernel: vgapci0: mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 16 at device 5.0 on pci0 Feb 28 20:16:30 home kernel: nvidia0: on vgapci0 Feb 28 20:16:30 home kernel: vgapci0: child nvidia0 requested pci_enable_busmaster Feb 28 20:16:30 home kernel: vgapci0: child nvidia0 requested pci_enable_io Feb 28 20:16:30 home kernel: vgapci0: Reserved 0x1000000 bytes for rid 0x10 type 3 at 0xfd000000 Feb 28 20:16:30 home kernel: vgapci0: Reserved 0x10000000 bytes for rid 0x14 type 3 at 0xd0000000 Feb 28 20:16:30 home kernel: vgapci0: Reserved 0x1000000 bytes for rid 0x1c type 3 at 0xfc000000 Feb 28 20:16:30 home kernel: vgapci0: child nvidia0 requested pci_enable_io Feb 28 20:16:30 home kernel: ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 49 Feb 28 20:16:30 home kernel: nvidia0: [GIANT-LOCKED] Feb 28 20:16:30 home kernel: nvidia0: [ITHREAD] Feb 28 20:16:30 home kernel: pci0: at device 9.0 (no driver attached) Feb 28 20:16:30 home kernel: isab0: at device 10.0 on pci0 Feb 28 20:16:30 home kernel: isa0: on isab0 Feb 28 20:16:30 home kernel: pci0: at device 10.1 (no driver attached) Feb 28 20:16:30 home kernel: ohci0: mem 0xfebde000-0xfebdefff irq 21 at device 11.0 on pci0 Feb 28 20:16:30 home kernel: ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfebde000 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 21 (PCI IRQ 21) to lapic 0 vector 50 Feb 28 20:16:30 home kernel: ohci0: [MPSAFE] Feb 28 20:16:30 home kernel: ohci0: [ITHREAD] Feb 28 20:16:30 home kernel: usbus0: on ohci0 Feb 28 20:16:30 home kernel: ehci0: mem 0xfebdfc00-0xfebdfcff irq 22 at device 11.1 on pci0 Feb 28 20:16:30 home kernel: ehci0: Reserved 0x100 bytes for rid 0x10 type 3 at 0xfebdfc00 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 22 (PCI IRQ 22) to lapic 0 vector 51 Feb 28 20:16:30 home kernel: ehci0: [MPSAFE] Feb 28 20:16:30 home kernel: ehci0: [ITHREAD] Feb 28 20:16:30 home kernel: usbus1: waiting for BIOS to give up control Feb 28 20:16:30 home kernel: usbus1: timed out waiting for BIOS Feb 28 20:16:30 home kernel: usbus1: EHCI version 1.0 Feb 28 20:16:30 home kernel: usbus1: on ehci0 Feb 28 20:16:30 home kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 13.0 on pci0 Feb 28 20:16:30 home kernel: atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0 Feb 28 20:16:30 home kernel: ata0: on atapci0 Feb 28 20:16:30 home kernel: atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 Feb 28 20:16:30 home kernel: atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 Feb 28 20:16:30 home kernel: ata0: reset tp1 mask=03 ostat0=50 ostat1=00 Feb 28 20:16:30 home kernel: ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb Feb 28 20:16:30 home kernel: ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 Feb 28 20:16:30 home kernel: ata0: reset tp2 stat0=00 stat1=00 devices=0x10000 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 52 Feb 28 20:16:30 home kernel: ata0: [MPSAFE] Feb 28 20:16:30 home kernel: ata0: [ITHREAD] Feb 28 20:16:30 home kernel: ata1: on atapci0 Feb 28 20:16:30 home kernel: atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 Feb 28 20:16:30 home kernel: atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 Feb 28 20:16:30 home kernel: ata1: reset tp1 mask=03 ostat0=60 ostat1=70 Feb 28 20:16:30 home kernel: ata1: stat0=0x20 err=0x20 lsb=0x20 msb=0x20 Feb 28 20:16:30 home kernel: ata1: stat1=0x30 err=0x30 lsb=0x30 msb=0x30 Feb 28 20:16:30 home kernel: ata1: reset tp2 stat0=20 stat1=30 devices=0x0 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 15 (ISA IRQ 15) to lapic 0 vector 53 Feb 28 20:16:30 home kernel: ata1: [MPSAFE] Feb 28 20:16:30 home kernel: ata1: [ITHREAD] Feb 28 20:16:30 home kernel: atapci1: port 0xe800-0xe807,0xe480-0xe483,0xe400-0xe407,0xe080-0xe083,0xe000-0xe00f mem 0xfebdd000-0xfebddfff irq 23 at device 14.0 on pci0 Feb 28 20:16:30 home kernel: atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xe000 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 54 Feb 28 20:16:30 home kernel: atapci1: [MPSAFE] Feb 28 20:16:30 home kernel: atapci1: [ITHREAD] Feb 28 20:16:30 home kernel: atapci1: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xfebdd000 Feb 28 20:16:30 home kernel: ata2: on atapci1 Feb 28 20:16:30 home kernel: atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xe800 Feb 28 20:16:30 home kernel: atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xe480 Feb 28 20:16:30 home kernel: ata2: SATA connect time=0ms Feb 28 20:16:30 home kernel: ata2: reset tp1 mask=01 ostat0=50 ostat1=00 Feb 28 20:16:30 home kernel: ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 Feb 28 20:16:30 home kernel: ata2: reset tp2 stat0=50 stat1=00 devices=0x1 Feb 28 20:16:30 home kernel: ata2: [MPSAFE] Feb 28 20:16:30 home kernel: ata2: [ITHREAD] Feb 28 20:16:30 home kernel: ata3: on atapci1 Feb 28 20:16:30 home kernel: atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xe400 Feb 28 20:16:30 home kernel: atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at 0xe080 Feb 28 20:16:30 home kernel: ata3: SATA connect time=0ms Feb 28 20:16:30 home kernel: ata3: reset tp1 mask=01 ostat0=50 ostat1=00 Feb 28 20:16:30 home kernel: ata3: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 Feb 28 20:16:30 home kernel: ata3: reset tp2 stat0=50 stat1=00 devices=0x1 Feb 28 20:16:30 home kernel: ata3: [MPSAFE] Feb 28 20:16:30 home kernel: ata3: [ITHREAD] Feb 28 20:16:30 home kernel: atapci2: port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem 0xfebdc000-0xfebdcfff irq 20 at device 15.0 on pci0 Feb 28 20:16:30 home kernel: atapci2: Reserved 0x10 bytes for rid 0x20 type 4 at 0xd400 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 55 Feb 28 20:16:30 home kernel: atapci2: [MPSAFE] Feb 28 20:16:30 home kernel: atapci2: [ITHREAD] Feb 28 20:16:30 home kernel: atapci2: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xfebdc000 Feb 28 20:16:30 home kernel: ata4: on atapci2 Feb 28 20:16:30 home kernel: atapci2: Reserved 0x8 bytes for rid 0x10 type 4 at 0xdc00 Feb 28 20:16:30 home kernel: atapci2: Reserved 0x4 bytes for rid 0x14 type 4 at 0xd880 Feb 28 20:16:30 home kernel: ata4: SATA connect status=00000000 Feb 28 20:16:30 home kernel: ata4: [MPSAFE] Feb 28 20:16:30 home kernel: ata4: [ITHREAD] Feb 28 20:16:30 home kernel: ata5: on atapci2 Feb 28 20:16:30 home kernel: atapci2: Reserved 0x8 bytes for rid 0x18 type 4 at 0xd800 Feb 28 20:16:30 home kernel: atapci2: Reserved 0x4 bytes for rid 0x1c type 4 at 0xd480 Feb 28 20:16:30 home kernel: ata5: SATA connect status=00000000 Feb 28 20:16:30 home kernel: ata5: [MPSAFE] Feb 28 20:16:30 home kernel: ata5: [ITHREAD] Feb 28 20:16:30 home kernel: pcib4: at device 16.0 on pci0 Feb 28 20:16:30 home kernel: pcib4: domain 0 Feb 28 20:16:30 home kernel: pcib4: secondary bus 4 Feb 28 20:16:30 home kernel: pcib4: subordinate bus 4 Feb 28 20:16:30 home kernel: pcib4: I/O decode 0x0-0x0 Feb 28 20:16:30 home kernel: pcib4: no prefetched decode Feb 28 20:16:30 home kernel: pcib4: Subtractively decoded bridge. Feb 28 20:16:30 home kernel: pci4: on pcib4 Feb 28 20:16:30 home kernel: pci4: domain=0, physical bus=4 Feb 28 20:16:30 home kernel: hdac0: mem 0xfebd8000-0xfebdbfff irq 21 at device 16.1 on pci0 Feb 28 20:16:30 home kernel: hdac0: HDA Driver Revision: 20090226_0129 Feb 28 20:16:30 home kernel: hdac0: DMA Coherency: Uncacheable / vendor=0x10de Feb 28 20:16:30 home kernel: hdac0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfebd8000 Feb 28 20:16:30 home kernel: hdac0: [MPSAFE] Feb 28 20:16:30 home kernel: hdac0: [ITHREAD] Feb 28 20:16:30 home kernel: hdac0: CORB size: 256 Feb 28 20:16:30 home kernel: hdac0: RIRB size: 256 Feb 28 20:16:30 home kernel: hdac0: Streams: ISS=4 OSS=4 BSS=0 Feb 28 20:16:30 home kernel: hdac0: hdac_dma_alloc: size=1024 -> roundsz=1024 Feb 28 20:16:30 home kernel: hdac0: hdac_dma_alloc: size=2048 -> roundsz=2048 Feb 28 20:16:30 home kernel: hdac0: Reset controller... Feb 28 20:16:30 home kernel: nfe0: port 0xd080-0xd087 mem 0xfebd7000-0xfebd7fff irq 22 at device 20.0 on pci0 Feb 28 20:16:30 home kernel: nfe0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfebd7000 Feb 28 20:16:30 home kernel: miibus0: on nfe0 Feb 28 20:16:30 home kernel: e1000phy0: PHY 1 on miibus0 Feb 28 20:16:30 home kernel: e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto Feb 28 20:16:30 home kernel: nfe0: bpf attached Feb 28 20:16:30 home kernel: nfe0: Ethernet address: 00:15:f2:5b:84:1a Feb 28 20:16:30 home kernel: nfe0: [MPSAFE] Feb 28 20:16:30 home kernel: nfe0: [FILTER] Feb 28 20:16:30 home kernel: acpi_button0: on acpi0 Feb 28 20:16:30 home kernel: atrtc0: port 0x70-0x71 irq 8 on acpi0 Feb 28 20:16:30 home kernel: atrtc0: registered as a time-of-day clock (resolution 1000000us) Feb 28 20:16:30 home kernel: atkbdc0: port 0x60,0x64 irq 1 on acpi0 Feb 28 20:16:30 home kernel: atkbd0: irq 1 on atkbdc0 Feb 28 20:16:30 home kernel: atkbd: the current kbd controller command byte 0065 Feb 28 20:16:30 home kernel: atkbd: keyboard ID 0x41ab (2) Feb 28 20:16:30 home kernel: kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 0 vector 56 Feb 28 20:16:30 home kernel: atkbd0: [GIANT-LOCKED] Feb 28 20:16:30 home kernel: atkbd0: [ITHREAD] Feb 28 20:16:30 home kernel: psm0: unable to allocate IRQ Feb 28 20:16:30 home kernel: cpu0: on acpi0 Feb 28 20:16:30 home kernel: cpu0: switching to generic Cx mode Feb 28 20:16:30 home kernel: powernow0: on cpu0 Feb 28 20:16:30 home kernel: cpu1: on acpi0 Feb 28 20:16:30 home kernel: powernow1: on cpu1 Feb 28 20:16:30 home kernel: pnp_identify: Trying Read_Port at 203 Feb 28 20:16:30 home kernel: pnp_identify: Trying Read_Port at 243 Feb 28 20:16:30 home kernel: pnp_identify: Trying Read_Port at 283 Feb 28 20:16:30 home kernel: pnp_identify: Trying Read_Port at 2c3 Feb 28 20:16:30 home kernel: pnp_identify: Trying Read_Port at 303 Feb 28 20:16:30 home kernel: pnp_identify: Trying Read_Port at 343 Feb 28 20:16:30 home kernel: pnp_identify: Trying Read_Port at 383 Feb 28 20:16:30 home kernel: pnp_identify: Trying Read_Port at 3c3 Feb 28 20:16:30 home kernel: PNP Identify complete Feb 28 20:16:30 home kernel: isa_probe_children: disabling PnP devices Feb 28 20:16:30 home kernel: pmtimer0 on isa0 Feb 28 20:16:30 home kernel: ata: ata0 already exists; skipping it Feb 28 20:16:30 home kernel: ata: ata1 already exists; skipping it Feb 28 20:16:30 home kernel: atkbdc: atkbdc0 already exists; skipping it Feb 28 20:16:30 home kernel: atrtc: atrtc0 already exists; skipping it Feb 28 20:16:30 home kernel: sc: sc0 already exists; skipping it Feb 28 20:16:30 home kernel: vga: vga0 already exists; skipping it Feb 28 20:16:30 home kernel: isa_probe_children: probing non-PnP devices Feb 28 20:16:30 home kernel: sc0: at flags 0x100 on isa0 Feb 28 20:16:30 home kernel: sc0: VGA <16 virtual consoles, flags=0x300> Feb 28 20:16:30 home kernel: sc0: fb0, kbd0, terminal emulator: scteken (teken terminal) Feb 28 20:16:30 home kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Feb 28 20:16:30 home kernel: adv0: not probed (disabled) Feb 28 20:16:30 home kernel: aha0: not probed (disabled) Feb 28 20:16:30 home kernel: aic0: not probed (disabled) Feb 28 20:16:30 home kernel: bt0: not probed (disabled) Feb 28 20:16:30 home kernel: cs0: not probed (disabled) Feb 28 20:16:30 home kernel: ed0: not probed (disabled) Feb 28 20:16:30 home kernel: fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 Feb 28 20:16:30 home kernel: fe0: not probed (disabled) Feb 28 20:16:30 home kernel: ie0: not probed (disabled) Feb 28 20:16:30 home kernel: le0: not probed (disabled) Feb 28 20:16:30 home kernel: ppc0 failed to probe at irq 7 on isa0 Feb 28 20:16:30 home kernel: sn0: not probed (disabled) Feb 28 20:16:30 home kernel: uart0 failed to probe at port 0x3f8 irq 4 on isa0 Feb 28 20:16:30 home kernel: uart1 failed to probe at port 0x2f8 irq 3 on isa0 Feb 28 20:16:30 home kernel: uart2: not probed (disabled) Feb 28 20:16:30 home kernel: uart3: not probed (disabled) Feb 28 20:16:30 home kernel: isa_probe_children: probing PnP devices Feb 28 20:16:30 home kernel: Device configuration finished. Feb 28 20:16:30 home kernel: lapic: Divisor 2, Frequency 100558264 hz Feb 28 20:16:30 home kernel: Timecounter "TSC" frequency 2011164995 Hz quality -100 Feb 28 20:16:30 home kernel: Timecounters tick every 1.000 msec Feb 28 20:16:30 home kernel: Linux ELF exec handler installed Feb 28 20:16:30 home kernel: lo0: bpf attached Feb 28 20:16:30 home kernel: ata0: Identifying devices: 00010000 Feb 28 20:16:30 home kernel: ata0: New devices: 00010000 Feb 28 20:16:30 home kernel: usbus0: 12Mbps Full Speed USB v1.0 Feb 28 20:16:30 home kernel: usbus1: 480Mbps High Speed USB v2.0 Feb 28 20:16:30 home kernel: ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA66 cable=80 wire Feb 28 20:16:30 home kernel: acd0: setting PIO4 on nForce MCP51 chip Feb 28 20:16:30 home kernel: acd0: setting UDMA66 on nForce MCP51 chip Feb 28 20:16:30 home kernel: ugen0.1: at usbus0 Feb 28 20:16:30 home kernel: ushub0: on usbus0 Feb 28 20:16:30 home kernel: ugen1.1: at usbus1 Feb 28 20:16:30 home kernel: ushub1: on usbus1 Feb 28 20:16:30 home kernel: acd0: DVDR drive at ata0 as master Feb 28 20:16:30 home kernel: acd0: read 8268KB/s (8268KB/s) write 8268KB/s (8268KB/s), 2048KB buffer, UDMA66 Feb 28 20:16:30 home kernel: acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet Feb 28 20:16:30 home kernel: acd0: Writes: CDR, CDRW, DVDR, DVDRAM, test write, burnproof Feb 28 20:16:30 home kernel: acd0: Audio: play, 256 volume levels Feb 28 20:16:30 home kernel: acd0: Mechanism: ejectable tray, unlocked Feb 28 20:16:30 home kernel: acd0: Medium: no/blank disc Feb 28 20:16:30 home kernel: ata1: Identifying devices: 00000000 Feb 28 20:16:30 home kernel: ata1: New devices: 00000000 Feb 28 20:16:30 home kernel: ata2: Identifying devices: 00000001 Feb 28 20:16:30 home kernel: ata2: New devices: 00000001 Feb 28 20:16:30 home kernel: ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire Feb 28 20:16:30 home kernel: ad4: 194481MB at ata2-master SATA300 Feb 28 20:16:30 home kernel: ad4: 398297088 sectors [395136C/16H/63S] 16 sectors/interrupt 1 depth queue Feb 28 20:16:30 home kernel: ata3: Identifying devices: 00000001 Feb 28 20:16:30 home kernel: ata3: New devices: 00000001 Feb 28 20:16:30 home kernel: ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire Feb 28 20:16:30 home kernel: ad6: 381554MB at ata3-master SATA300 Feb 28 20:16:30 home kernel: ad6: 781422768 sectors [775221C/16H/63S] 16 sectors/interrupt 1 depth queue Feb 28 20:16:30 home kernel: ata4: Identifying devices: 00000000 Feb 28 20:16:30 home kernel: ata4: New devices: 00000000 Feb 28 20:16:30 home kernel: ata5: Identifying devices: 00000000 Feb 28 20:16:30 home kernel: ata5: New devices: 00000000 Feb 28 20:16:30 home kernel: hdac0: HDA Config: on=0x00000000 off=0x00000000 Feb 28 20:16:30 home kernel: hdac0: Starting CORB Engine... Feb 28 20:16:30 home kernel: hdac0: Starting RIRB Engine... Feb 28 20:16:30 home kernel: hdac0: Enabling controller interrupt... Feb 28 20:16:30 home kernel: hdac0: Scanning HDA codecs ... Feb 28 20:16:30 home kernel: hdac0: Probing codec #0... Feb 28 20:16:30 home kernel: hdac0: HDA Codec #0: Analog Devices AD1986A Feb 28 20:16:30 home kernel: hdac0: HDA Codec ID: 0x11d41986 Feb 28 20:16:30 home kernel: hdac0: Vendor: 0x11d4 Feb 28 20:16:30 home kernel: hdac0: Device: 0x1986 Feb 28 20:16:30 home kernel: hdac0: Revision: 0x05 Feb 28 20:16:30 home kernel: hdac0: Stepping: 0x00 Feb 28 20:16:30 home kernel: hdac0: PCI Subvendor: 0xcb8410de Feb 28 20:16:30 home kernel: hdac0: startnode=1 endnode=2 Feb 28 20:16:30 home kernel: hdac0: Found audio FG nid=1 startnode=2 endnode=44 total=42 Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: Processing audio FG cad=0 nid=1... Feb 28 20:16:30 home kernel: hdac0: Powering up... Feb 28 20:16:30 home kernel: hdac0: Parsing audio FG... Feb 28 20:16:30 home kernel: hdac0: GPIO: 0x00000100 NumGPIO=0 NumGPO=1 NumGPI=0 GPIWake=0 GPIUnsol=0 Feb 28 20:16:30 home kernel: hdac0: GHOST: nid=2 j=0 entnum=4 index=0 res=0x00000601 Feb 28 20:16:30 home kernel: hdac0: hdac_widget_connection_parse: nid=18 WARNING: zero cnid entnum=4 j=2 index=0 entries=8 found=2 res=0x21002211 Feb 28 20:16:30 home kernel: hdac0: GHOST: nid=18 j=2 entnum=4 index=0 res=0x21002211 Feb 28 20:16:30 home kernel: hdac0: nid 26 0x02214021 as 2 seq 1 Headphones Jack jack 1 loc 2 color Green misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 27 0x01014011 as 1 seq 1 Line-out Jack jack 1 loc 1 color Green misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 28 0x01013012 as 1 seq 2 Line-out Jack jack 1 loc 1 color Blue misc 0 Feb 28 20:16:30 home kernel: hdac0: Patching pin config nid=28 0x01013012 -> 0x01813081 Feb 28 20:16:30 home kernel: hdac0: nid 29 0x01019015 as 1 seq 5 Line-out Jack jack 1 loc 1 color Pink misc 0 Feb 28 20:16:30 home kernel: hdac0: Patching pin config nid=29 0x01019015 -> 0x01a19082 Feb 28 20:16:30 home kernel: hdac0: nid 30 0x501700f0 as 15 seq 0 Speaker None jack 7 loc 16 color Unknown misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 31 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 Feb 28 20:16:30 home kernel: hdac0: Patching pin config nid=31 0x02a190f0 -> 0x02a19083 Feb 28 20:16:30 home kernel: hdac0: nid 32 0x018130f0 as 15 seq 0 Line-in Jack jack 1 loc 1 color Blue misc 0 Feb 28 20:16:30 home kernel: hdac0: Patching pin config nid=32 0x018130f0 -> 0x01813084 Feb 28 20:16:30 home kernel: hdac0: nid 33 0x509700f0 as 15 seq 0 AUX None jack 7 loc 16 color Unknown misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 34 0x993310f0 as 15 seq 0 CD Fixed jack 3 loc 25 color Black misc 0 Feb 28 20:16:30 home kernel: hdac0: Patching pin config nid=34 0x993310f0 -> 0x99331085 Feb 28 20:16:30 home kernel: hdac0: nid 35 0x50b700f0 as 15 seq 0 Telephony None jack 7 loc 16 color Unknown misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 36 0x50f700f0 as 15 seq 0 Other None jack 7 loc 16 color Unknown misc 0 Feb 28 20:16:30 home kernel: hdac0: Patching pin config nid=36 0x50f700f0 -> 0x50f70086 Feb 28 20:16:30 home kernel: hdac0: nid 37 0x0145f0f0 as 15 seq 0 SPDIF-out Jack jack 5 loc 1 color Other misc 0 Feb 28 20:16:30 home kernel: hdac0: Parsing Ctls... Feb 28 20:16:30 home kernel: hdac0: Parsing vendor patch... Feb 28 20:16:30 home kernel: hdac0: Disabling nonaudio... Feb 28 20:16:30 home kernel: hdac0: Disabling nid 38 due to it's non-audio type. Feb 28 20:16:30 home kernel: hdac0: Disabling useless... Feb 28 20:16:30 home kernel: hdac0: Disabling pin nid 30 due to None connectivity. Feb 28 20:16:30 home kernel: hdac0: Disabling pin nid 33 due to None connectivity. Feb 28 20:16:30 home kernel: hdac0: Disabling pin nid 35 due to None connectivity. Feb 28 20:16:30 home kernel: hdac0: Disabling pin nid 36 due to None connectivity. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 19 nid 30 cnid -1 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 2 connection 0 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 14 due to all it's consumers disabled. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 15 connection 4 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 15 connection 5 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 15 connection 6 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 15 connection 7 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 17 connection 1 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 18 connection 2 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 18 connection 3 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 18 connection 7 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 20 connection 0 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 20 due to all it's inputs disabled. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 22 connection 0 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 22 due to all it's inputs disabled. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 24 connection 1 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 10 nid 20 cnid -1 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 12 nid 22 cnid -1 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 7 connection 3 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 7 connection 5 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Patched pins configuration: Feb 28 20:16:30 home kernel: hdac0: nid 26 0x02214021 as 2 seq 1 Headphones Jack jack 1 loc 2 color Green misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 27 0x01014011 as 1 seq 1 Line-out Jack jack 1 loc 1 color Green misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 28 0x01813081 as 8 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 29 0x01a19082 as 8 seq 2 Mic Jack jack 1 loc 1 color Pink misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 30 0x501700f0 as 15 seq 0 Speaker None jack 7 loc 16 color Unknown misc 0 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: nid 31 0x02a19083 as 8 seq 3 Mic Jack jack 1 loc 2 color Pink misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 32 0x01813084 as 8 seq 4 Line-in Jack jack 1 loc 1 color Blue misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 33 0x509700f0 as 15 seq 0 AUX None jack 7 loc 16 color Unknown misc 0 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: nid 34 0x99331085 as 8 seq 5 CD Fixed jack 3 loc 25 color Black misc 0 Feb 28 20:16:30 home kernel: hdac0: nid 35 0x50b700f0 as 15 seq 0 Telephony None jack 7 loc 16 color Unknown misc 0 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: nid 36 0x50f70086 as 8 seq 6 Other None jack 7 loc 16 color Unknown misc 0 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: nid 37 0x0145f0f0 as 15 seq 0 SPDIF-out Jack jack 5 loc 1 color Other misc 0 Feb 28 20:16:30 home kernel: hdac0: Parsing pin associations... Feb 28 20:16:30 home kernel: hdac0: 4 associations found: Feb 28 20:16:30 home kernel: hdac0: Association 0 (1) out: Feb 28 20:16:30 home kernel: hdac0: Pin nid=27 seq=1 Feb 28 20:16:30 home kernel: hdac0: Association 1 (2) out: Feb 28 20:16:30 home kernel: hdac0: Pin nid=26 seq=1 Feb 28 20:16:30 home kernel: hdac0: Association 2 (8) in: Feb 28 20:16:30 home kernel: hdac0: Pin nid=28 seq=1 Feb 28 20:16:30 home kernel: hdac0: Pin nid=29 seq=2 Feb 28 20:16:30 home kernel: hdac0: Pin nid=31 seq=3 Feb 28 20:16:30 home kernel: hdac0: Pin nid=32 seq=4 Feb 28 20:16:30 home kernel: hdac0: Pin nid=34 seq=5 Feb 28 20:16:30 home kernel: hdac0: Association 3 (15) out: Feb 28 20:16:30 home kernel: hdac0: Pin nid=37 seq=0 Feb 28 20:16:30 home kernel: hdac0: Building AFG tree... Feb 28 20:16:30 home kernel: hdac0: Tracing association 0 (1) Feb 28 20:16:30 home kernel: hdac0: Tracing pin 27 with min nid 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 27 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 11 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 3 Feb 28 20:16:30 home kernel: hdac0: nid 3 returned 3 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 9 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 4 Feb 28 20:16:30 home kernel: hdac0: nid 4 returned 4 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 5 Feb 28 20:16:30 home kernel: hdac0: nid 5 returned 5 Feb 28 20:16:30 home kernel: hdac0: nid 9 returned 4 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 19 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 17 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 15 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 31 Feb 28 20:16:30 home kernel: hdac0: nid 31 returned 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 32 Feb 28 20:16:30 home kernel: hdac0: nid 32 returned 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 29 Feb 28 20:16:30 home kernel: hdac0: nid 29 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 15 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 17 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 19 returned 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 21 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 34 Feb 28 20:16:30 home kernel: hdac0: nid 34 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 21 returned 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 23 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 16 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 32 Feb 28 20:16:30 home kernel: hdac0: nid 32 returned 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 28 Feb 28 20:16:30 home kernel: hdac0: nid 28 returned 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 31 Feb 28 20:16:30 home kernel: hdac0: nid 31 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 16 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 23 returned 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 24 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 25 Feb 28 20:16:30 home kernel: hdac0: nid 25 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 24 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 7 returned 3 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 4 Feb 28 20:16:30 home kernel: hdac0: nid 4 returned 4 Feb 28 20:16:30 home kernel: hdac0: nid 11 returned 3 Feb 28 20:16:30 home kernel: hdac0: nid 27 returned 3 Feb 28 20:16:30 home kernel: hdac0: Pin 27 traced to DAC 3 Feb 28 20:16:30 home kernel: hdac0: Association 0 (1) trace succeeded Feb 28 20:16:30 home kernel: hdac0: Tracing association 1 (2) Feb 28 20:16:30 home kernel: hdac0: Tracing pin 26 with min nid 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 26 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 10 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 busy by association 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 4 Feb 28 20:16:30 home kernel: hdac0: nid 4 returned 4 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 5 Feb 28 20:16:30 home kernel: hdac0: nid 5 returned 5 Feb 28 20:16:30 home kernel: hdac0: nid 10 returned 4 Feb 28 20:16:30 home kernel: hdac0: nid 26 returned 4 Feb 28 20:16:30 home kernel: hdac0: Pin 26 traced to DAC 4 Feb 28 20:16:30 home kernel: hdac0: Association 1 (2) trace succeeded Feb 28 20:16:30 home kernel: hdac0: Tracing association 2 (8) Feb 28 20:16:30 home kernel: hdac0: Tracing pin 28 to ADC 6 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 28 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 16 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 18 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 6 Feb 28 20:16:30 home kernel: hdac0: nid 6 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 18 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 23 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 busy by association 0 Feb 28 20:16:30 home kernel: hdac0: nid 23 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 16 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 28 returned 1 Feb 28 20:16:30 home kernel: hdac0: Pin 28 traced to ADC 6 Feb 28 20:16:30 home kernel: hdac0: Tracing pin 29 to ADC 6 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 29 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 15 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 17 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 18 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 6 Feb 28 20:16:30 home kernel: hdac0: nid 6 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 18 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 19 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 busy by association 0 Feb 28 20:16:30 home kernel: hdac0: nid 19 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 17 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 15 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 29 returned 1 Feb 28 20:16:30 home kernel: hdac0: Pin 29 traced to ADC 6 Feb 28 20:16:30 home kernel: hdac0: Tracing pin 31 to ADC 6 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 31 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 15 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 17 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 18 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 6 Feb 28 20:16:30 home kernel: hdac0: nid 6 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 18 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 19 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 busy by association 0 Feb 28 20:16:30 home kernel: hdac0: nid 19 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 17 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 15 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 16 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 18 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 6 Feb 28 20:16:30 home kernel: hdac0: nid 6 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 18 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 23 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 busy by association 0 Feb 28 20:16:30 home kernel: hdac0: nid 23 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 16 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 31 returned 1 Feb 28 20:16:30 home kernel: hdac0: Pin 31 traced to ADC 6 Feb 28 20:16:30 home kernel: hdac0: Tracing pin 32 to ADC 6 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 32 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 15 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 17 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 18 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 6 Feb 28 20:16:30 home kernel: hdac0: nid 6 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 18 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 19 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 busy by association 0 Feb 28 20:16:30 home kernel: hdac0: nid 19 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 17 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 15 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 16 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 18 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 6 Feb 28 20:16:30 home kernel: hdac0: nid 6 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 18 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 23 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 busy by association 0 Feb 28 20:16:30 home kernel: hdac0: nid 23 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 16 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 32 returned 1 Feb 28 20:16:30 home kernel: hdac0: Pin 32 traced to ADC 6 Feb 28 20:16:30 home kernel: hdac0: Tracing pin 34 to ADC 6 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 34 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 18 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 6 Feb 28 20:16:30 home kernel: hdac0: nid 6 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 18 returned 1 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 21 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 busy by association 0 Feb 28 20:16:30 home kernel: hdac0: nid 21 returned 0 Feb 28 20:16:30 home kernel: hdac0: nid 34 returned 1 Feb 28 20:16:30 home kernel: hdac0: Pin 34 traced to ADC 6 Feb 28 20:16:30 home kernel: hdac0: Association 2 (8) trace succeeded Feb 28 20:16:30 home kernel: hdac0: Tracing association 3 (15) Feb 28 20:16:30 home kernel: hdac0: Tracing pin 37 with min nid 0 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 37 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 2 Feb 28 20:16:30 home kernel: hdac0: nid 2 returned 2 Feb 28 20:16:30 home kernel: hdac0: nid 37 returned 2 Feb 28 20:16:30 home kernel: hdac0: Pin 37 traced to DAC 2 Feb 28 20:16:30 home kernel: hdac0: Association 3 (15) trace succeeded Feb 28 20:16:30 home kernel: hdac0: Tracing input monitor Feb 28 20:16:30 home kernel: hdac0: Tracing beeper Feb 28 20:16:30 home kernel: hdac0: Tracing nid 25 to out Feb 28 20:16:30 home kernel: hdac0: tracing via nid 25 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 24 Feb 28 20:16:30 home kernel: hdac0: tracing via nid 7 Feb 28 20:16:30 home kernel: hdac0: nid 7 found output association 0 Feb 28 20:16:30 home kernel: hdac0: nid 24 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 25 returned 1 Feb 28 20:16:30 home kernel: hdac0: nid 25 traced to out Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated widgets... Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated nid 5. Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated nid 8. Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated nid 9. Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated nid 12. Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated nid 13. Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated nid 19. Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated nid 21. Feb 28 20:16:30 home kernel: hdac0: Disabling unassociated nid 23. Feb 28 20:16:30 home kernel: hdac0: Disabling connection to input pin nid 28 conn 0. Feb 28 20:16:30 home kernel: hdac0: Disabling connection to input pin nid 29 conn 0. Feb 28 20:16:30 home kernel: hdac0: Disabling nonselected inputs... Feb 28 20:16:30 home kernel: hdac0: Disabling unselected connection nid 10 conn 0. Feb 28 20:16:30 home kernel: hdac0: Disabling unselected connection nid 10 conn 2. Feb 28 20:16:30 home kernel: hdac0: Disabling unselected connection nid 11 conn 1. Feb 28 20:16:30 home kernel: hdac0: Disabling useless... Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 3 nid 5 cnid -1 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 4 nid 9 cnid -1 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 5 nid 9 cnid 4 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 6 nid 9 cnid 5 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 9 nid 19 cnid -1 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 11 nid 21 cnid -1 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling ctl 13 nid 23 cnid -1 due to disabled widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 7 connection 1 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 7 connection 2 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 7 connection 4 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 7 connection 6 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling nid 18 connection 6 due to disabled child widget. Feb 28 20:16:30 home kernel: hdac0: Disabling crossassociatement connections... Feb 28 20:16:30 home kernel: hdac0: Disabling crossassociatement connection nid 2 conn 1 cnid 6. Feb 28 20:16:30 home kernel: hdac0: Disabling crossassociatement connection nid 18 conn 5 cnid 7. Feb 28 20:16:30 home kernel: hdac0: Disabling useless... Feb 28 20:16:30 home kernel: hdac0: Binding associations to channels... Feb 28 20:16:30 home kernel: hdac0: Assigning names to signal sources... Feb 28 20:16:30 home kernel: hdac0: Assigning mixers to the tree... Feb 28 20:16:30 home kernel: hdac0: Preparing pin controls... Feb 28 20:16:30 home kernel: hdac0: AFG commit... Feb 28 20:16:30 home kernel: hdac0: HP switch init... Feb 28 20:16:30 home kernel: hdac0: Creating PCM devices... Feb 28 20:16:30 home kernel: hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: +-------------------+ Feb 28 20:16:30 home kernel: hdac0: | DUMPING HDA NODES | Feb 28 20:16:30 home kernel: hdac0: +-------------------+ Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: Default Parameter Feb 28 20:16:30 home kernel: hdac0: ----------------- Feb 28 20:16:30 home kernel: hdac0: Stream cap: 0x00000001 Feb 28 20:16:30 home kernel: hdac0: PCM Feb 28 20:16:30 home kernel: hdac0: PCM cap: 0x000e007f Feb 28 20:16:30 home kernel: hdac0: 16 20 24 bits, 8 11 16 22 32 44 48 KHz Feb 28 20:16:30 home kernel: hdac0: IN amp: 0x80000000 Feb 28 20:16:30 home kernel: hdac0: OUT amp: 0x80051f1f Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 2 Feb 28 20:16:30 home kernel: hdac0: Name: audio output Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00030311 Feb 28 20:16:30 home kernel: hdac0: DIGITAL STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 3 (0x00000001) Feb 28 20:16:30 home kernel: hdac0: OSS: pcm (pcm) Feb 28 20:16:30 home kernel: hdac0: Stream cap: 0x00000005 Feb 28 20:16:30 home kernel: hdac0: AC3 PCM Feb 28 20:16:30 home kernel: hdac0: PCM cap: 0x00020060 Feb 28 20:16:30 home kernel: hdac0: 16 bits, 44 48 KHz Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=1 [GHOST!] [UNKNOWN] (selected) Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=6 [audio input] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 3 Feb 28 20:16:30 home kernel: hdac0: Name: audio output Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0000044d Feb 28 20:16:30 home kernel: hdac0: PWR PROC STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 0 (0x00000002) Feb 28 20:16:30 home kernel: hdac0: OSS: pcm (pcm) Feb 28 20:16:30 home kernel: hdac0: Stream cap: 0x00000001 Feb 28 20:16:30 home kernel: hdac0: PCM Feb 28 20:16:30 home kernel: hdac0: PCM cap: 0x000e007f Feb 28 20:16:30 home kernel: hdac0: 16 20 24 bits, 8 11 16 22 32 44 48 KHz Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f17 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=23 Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 4 Feb 28 20:16:30 home kernel: hdac0: Name: audio output Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0000040d Feb 28 20:16:30 home kernel: hdac0: PWR STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 1 (0x00000002) Feb 28 20:16:30 home kernel: hdac0: OSS: pcm (pcm) Feb 28 20:16:30 home kernel: hdac0: Stream cap: 0x00000001 Feb 28 20:16:30 home kernel: hdac0: PCM Feb 28 20:16:30 home kernel: hdac0: PCM cap: 0x000e007f Feb 28 20:16:30 home kernel: hdac0: 16 20 24 bits, 8 11 16 22 32 44 48 KHz Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f17 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=23 Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 5 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio output Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0000040d Feb 28 20:16:30 home kernel: hdac0: PWR STEREO Feb 28 20:16:30 home kernel: hdac0: Stream cap: 0x00000001 Feb 28 20:16:30 home kernel: hdac0: PCM Feb 28 20:16:30 home kernel: hdac0: PCM cap: 0x000e007f Feb 28 20:16:30 home kernel: hdac0: 16 20 24 bits, 8 11 16 22 32 44 48 KHz Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f17 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=23 Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 6 Feb 28 20:16:30 home kernel: hdac0: Name: audio input Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00100511 Feb 28 20:16:30 home kernel: hdac0: PWR STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x0000003e) Feb 28 20:16:30 home kernel: hdac0: Stream cap: 0x00000001 Feb 28 20:16:30 home kernel: hdac0: PCM Feb 28 20:16:30 home kernel: hdac0: PCM cap: 0x0006007f Feb 28 20:16:30 home kernel: hdac0: 16 20 bits, 8 11 16 22 32 44 48 KHz Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=18 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 7 Feb 28 20:16:30 home kernel: hdac0: Name: audio mixer Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00200101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 0 (0x00000002) Feb 28 20:16:30 home kernel: hdac0: OSS: pcm, speaker Feb 28 20:16:30 home kernel: hdac0: connections: 8 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=3 [audio output] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=9 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=19 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=20 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=21 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=22 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=23 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + <- nid=24 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 8 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio mixer Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00200100 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=7 [audio mixer] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 9 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio mixer Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0020010e Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80000000 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=0 size=0 offset=0 Feb 28 20:16:30 home kernel: hdac0: Input amp: 0x80000000 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=0 size=0 offset=0 Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=4 [audio output] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=5 [audio output] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 10 Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00300101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 1 (0x00000002) Feb 28 20:16:30 home kernel: hdac0: OSS: pcm Feb 28 20:16:30 home kernel: hdac0: connections: 3 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=7 [audio mixer] Feb 28 20:16:30 home kernel: hdac0: + <- nid=4 [audio output] (selected) Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=5 [audio output] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 11 Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00300101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 0 (0x00000002) Feb 28 20:16:30 home kernel: hdac0: OSS: pcm, speaker Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=7 [audio mixer] (selected) Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=4 [audio output] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 12 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00300101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=4 [audio output] (selected) Feb 28 20:16:30 home kernel: hdac0: + <- nid=7 [audio mixer] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 13 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00300101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=5 [audio output] [DISABLED] (selected) Feb 28 20:16:30 home kernel: hdac0: + <- nid=8 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 14 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00300100 Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=8 [audio mixer] [DISABLED] (selected) Feb 28 20:16:30 home kernel: hdac0: + <- nid=17 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 15 Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0030010d Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x0000001c) Feb 28 20:16:30 home kernel: hdac0: OSS: mic, line1, monitor Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x00270300 Feb 28 20:16:30 home kernel: hdac0: mute=0 step=3 size=39 offset=0 Feb 28 20:16:30 home kernel: hdac0: connections: 8 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=31 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: + <- nid=32 [pin: Line-in (Blue Jack)] Feb 28 20:16:30 home kernel: hdac0: + <- nid=29 [pin: Mic (Pink Jack)] (selected) Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=29 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=39 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=40 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=41 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=42 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 16 Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00300101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x0000001a) Feb 28 20:16:30 home kernel: hdac0: OSS: line, line1, monitor Feb 28 20:16:30 home kernel: hdac0: connections: 3 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=32 [pin: Line-in (Blue Jack)] Feb 28 20:16:30 home kernel: hdac0: + <- nid=28 [pin: Line-in (Blue Jack)] (selected) Feb 28 20:16:30 home kernel: hdac0: + <- nid=31 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 17 Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00300941 Feb 28 20:16:30 home kernel: hdac0: LRSWAP PROC STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x0000001c) Feb 28 20:16:30 home kernel: hdac0: OSS: mic, line1, monitor Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=15 [audio selector] (selected) Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=43 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 18 Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0030010d Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x0000003e) Feb 28 20:16:30 home kernel: hdac0: OSS: line, mic, cd, line1, monitor Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80050f00 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=15 size=5 offset=0 Feb 28 20:16:30 home kernel: hdac0: connections: 8 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=17 [audio selector] Feb 28 20:16:30 home kernel: hdac0: + <- nid=34 [pin: CD (Fixed)] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=0 [GHOST!] [UNKNOWN] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=33 [pin: AUX (None)] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + <- nid=16 [audio selector] (selected) Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=7 [audio mixer] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=8 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=35 [pin: Telephony (None)] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 19 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0030010d Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f17 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=23 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=17 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 20 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0030010c Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f17 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=23 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=35 [pin: Telephony (None)] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 21 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0030010d Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f17 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=23 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=34 [pin: CD (Fixed)] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 22 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0030010d Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f17 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=23 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=33 [pin: AUX (None)] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 23 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0030010d Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f17 Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=23 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=16 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 24 Feb 28 20:16:30 home kernel: hdac0: Name: audio selector Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x0030010c Feb 28 20:16:30 home kernel: hdac0: Association: -2 (0x00000000) Feb 28 20:16:30 home kernel: hdac0: OSS: speaker Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x800b0f0f Feb 28 20:16:30 home kernel: hdac0: mute=1 step=15 size=11 offset=15 Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=25 [beep widget] (selected) Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=36 [pin: Other (None)] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 25 Feb 28 20:16:30 home kernel: hdac0: Name: beep widget Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00700000 Feb 28 20:16:30 home kernel: hdac0: Association: -2 (0x00000000) Feb 28 20:16:30 home kernel: hdac0: OSS: speaker (speaker) Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 26 Feb 28 20:16:30 home kernel: hdac0: Name: pin: Headphones (Green Jack) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400185 Feb 28 20:16:30 home kernel: hdac0: UNSOL STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 1 (0x00000002) Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x0000001f Feb 28 20:16:30 home kernel: hdac0: ISC TRQD PDC HP OUT Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x02214021 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x000000c0 HP OUT Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f1f Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=31 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=10 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 27 Feb 28 20:16:30 home kernel: hdac0: Name: pin: Line-out (Green Jack) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400185 Feb 28 20:16:30 home kernel: hdac0: UNSOL STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 0 (0x00000002) Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x0001001f Feb 28 20:16:30 home kernel: hdac0: ISC TRQD PDC HP OUT EAPD Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x01014011 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000040 OUT Feb 28 20:16:30 home kernel: hdac0: EAPD: 0x00000002 Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f1f Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=31 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=11 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 28 Feb 28 20:16:30 home kernel: hdac0: Name: pin: Line-in (Blue Jack) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400185 Feb 28 20:16:30 home kernel: hdac0: UNSOL STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x00000002) Feb 28 20:16:30 home kernel: hdac0: OSS: line (line) Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00000037 Feb 28 20:16:30 home kernel: hdac0: ISC TRQD PDC OUT IN Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x01813081 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000020 IN Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f1f Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=31 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=12 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 29 Feb 28 20:16:30 home kernel: hdac0: Name: pin: Mic (Pink Jack) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400985 Feb 28 20:16:30 home kernel: hdac0: LRSWAP UNSOL STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x00000004) Feb 28 20:16:30 home kernel: hdac0: OSS: mic (mic) Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00001737 Feb 28 20:16:30 home kernel: hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x01a19082 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000024 IN VREFs Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f1f Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=31 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=13 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 30 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: pin: Speaker (None) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400104 Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00000010 Feb 28 20:16:30 home kernel: hdac0: OUT Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x501700f0 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000000 Feb 28 20:16:30 home kernel: hdac0: Output amp: 0x80051f1f Feb 28 20:16:30 home kernel: hdac0: mute=1 step=31 size=5 offset=31 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + [DISABLED] <- nid=14 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 31 Feb 28 20:16:30 home kernel: hdac0: Name: pin: Mic (Pink Jack) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400081 Feb 28 20:16:30 home kernel: hdac0: UNSOL STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x00000008) Feb 28 20:16:30 home kernel: hdac0: OSS: monitor (monitor) Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00001727 Feb 28 20:16:30 home kernel: hdac0: ISC TRQD PDC IN VREF[ 50 80 GROUND HIZ ] Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x02a19083 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000024 IN VREFs Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 32 Feb 28 20:16:30 home kernel: hdac0: Name: pin: Line-in (Blue Jack) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400081 Feb 28 20:16:30 home kernel: hdac0: UNSOL STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x00000010) Feb 28 20:16:30 home kernel: hdac0: OSS: line1 (line1) Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00001727 Feb 28 20:16:30 home kernel: hdac0: ISC TRQD PDC IN VREF[ 50 80 GROUND HIZ ] Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x01813084 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000024 IN VREFs Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 33 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: pin: AUX (None) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400081 Feb 28 20:16:30 home kernel: hdac0: UNSOL STEREO Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00000027 Feb 28 20:16:30 home kernel: hdac0: ISC TRQD PDC IN Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x509700f0 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000000 Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 34 Feb 28 20:16:30 home kernel: hdac0: Name: pin: CD (Fixed) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400001 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 2 (0x00000020) Feb 28 20:16:30 home kernel: hdac0: OSS: cd (cd) Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00000020 Feb 28 20:16:30 home kernel: hdac0: IN Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x99331085 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000020 IN Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 35 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: pin: Telephony (None) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400000 Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00000020 Feb 28 20:16:30 home kernel: hdac0: IN Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x50b700f0 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000000 Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 36 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: pin: Other (None) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400000 Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00000020 Feb 28 20:16:30 home kernel: hdac0: IN Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x50f70086 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000000 Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 37 Feb 28 20:16:30 home kernel: hdac0: Name: pin: SPDIF-out (Jack) Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00400301 Feb 28 20:16:30 home kernel: hdac0: DIGITAL STEREO Feb 28 20:16:30 home kernel: hdac0: Association: 3 (0x00000001) Feb 28 20:16:30 home kernel: hdac0: Pin cap: 0x00000010 Feb 28 20:16:30 home kernel: hdac0: OUT Feb 28 20:16:30 home kernel: hdac0: Pin config: 0x0145f0f0 Feb 28 20:16:30 home kernel: hdac0: Pin control: 0x00000040 OUT Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=2 [audio output] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 38 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: power widget Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00500500 Feb 28 20:16:30 home kernel: hdac0: PWR Feb 28 20:16:30 home kernel: hdac0: connections: 8 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=7 [audio mixer] (selected) Feb 28 20:16:30 home kernel: hdac0: + <- nid=8 [audio mixer] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + <- nid=19 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + <- nid=20 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + <- nid=21 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + <- nid=22 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + <- nid=23 [audio selector] [DISABLED] Feb 28 20:16:30 home kernel: hdac0: + <- nid=24 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 39 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio mixer Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00200101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=31 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: + <- nid=29 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 40 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio mixer Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00200101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=31 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: + <- nid=32 [pin: Line-in (Blue Jack)] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 41 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio mixer Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00200101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: connections: 2 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=29 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: + <- nid=32 [pin: Line-in (Blue Jack)] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 42 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio mixer Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00200101 Feb 28 20:16:30 home kernel: hdac0: STEREO Feb 28 20:16:30 home kernel: hdac0: connections: 3 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=31 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: + <- nid=29 [pin: Mic (Pink Jack)] Feb 28 20:16:30 home kernel: hdac0: + <- nid=32 [pin: Line-in (Blue Jack)] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: nid: 43 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Name: audio mixer Feb 28 20:16:30 home kernel: hdac0: Widget cap: 0x00200100 Feb 28 20:16:30 home kernel: hdac0: connections: 1 Feb 28 20:16:30 home kernel: hdac0: | Feb 28 20:16:30 home kernel: hdac0: + <- nid=15 [audio selector] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: +------------------------+ Feb 28 20:16:30 home kernel: hdac0: | DUMPING HDA AMPLIFIERS | Feb 28 20:16:30 home kernel: hdac0: +------------------------+ Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: hdac0: 1: nid 3 out (out) index 0 ossmask=0x00000010 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 23 Feb 28 20:16:30 home kernel: hdac0: 2: nid 4 out (out) index 0 ossmask=0x00000010 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 23 Feb 28 20:16:30 home kernel: hdac0: 3: nid 5 out (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 23 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 4: nid 9 out (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 0 size: 0 off: 0 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 5: nid 9 in (in ) index 0 cnid 4 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 0 size: 0 off: 0 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 6: nid 9 in (in ) index 1 cnid 5 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 0 size: 0 off: 0 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 7: nid 15 out (out) index 0 ossmask=0x00000800 Feb 28 20:16:30 home kernel: hdac0: mute: 0 step: 3 size: 39 off: 0 Feb 28 20:16:30 home kernel: hdac0: 8: nid 18 out (out) index 0 ossmask=0x00000800 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 15 size: 5 off: 0 Feb 28 20:16:30 home kernel: hdac0: 9: nid 19 out (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 23 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 10: nid 20 out (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 23 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 11: nid 21 out (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 23 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 12: nid 22 out (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 23 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 13: nid 23 out (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 23 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 14: nid 24 out (out) index 0 ossmask=0x00000020 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 15 size: 11 off: 15 Feb 28 20:16:30 home kernel: hdac0: 15: nid 26 in (out) index 0 ossmask=0x00000001 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 31 Feb 28 20:16:30 home kernel: hdac0: 16: nid 27 in (out) index 0 ossmask=0x00000001 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 31 Feb 28 20:16:30 home kernel: hdac0: 17: nid 28 in (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 31 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 18: nid 29 in (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 31 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: 19: nid 30 in (out) index 0 ossmask=0x00000000 Feb 28 20:16:30 home kernel: hdac0: mute: 1 step: 31 size: 5 off: 31 [DISABLED] Feb 28 20:16:30 home kernel: hdac0: Feb 28 20:16:30 home kernel: pcm0: at cad 0 nid 1 on hdac0 Feb 28 20:16:30 home kernel: pcm0: +--------------------------------------+ Feb 28 20:16:30 home kernel: pcm0: | DUMPING PCM Playback/Record Channels | Feb 28 20:16:30 home kernel: pcm0: +--------------------------------------+ Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Playback: Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Stream cap: 0x00000001 Feb 28 20:16:30 home kernel: pcm0: PCM Feb 28 20:16:30 home kernel: pcm0: PCM cap: 0x000e007f Feb 28 20:16:30 home kernel: pcm0: 16 20 24 bits, 8 11 16 22 32 44 48 KHz Feb 28 20:16:30 home kernel: pcm0: DAC: 3 Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Record: Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Stream cap: 0x00000001 Feb 28 20:16:30 home kernel: pcm0: PCM Feb 28 20:16:30 home kernel: pcm0: PCM cap: 0x0006007f Feb 28 20:16:30 home kernel: pcm0: 16 20 bits, 8 11 16 22 32 44 48 KHz Feb 28 20:16:30 home kernel: pcm0: ADC: 6 Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: +--------------------------------+ Feb 28 20:16:30 home kernel: pcm0: | DUMPING Playback/Record Pathes | Feb 28 20:16:30 home kernel: pcm0: +--------------------------------+ Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Playback: Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: nid=27 [pin: Line-out (Green Jack)] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=11 [audio selector] [src: pcm, speaker] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=7 [audio mixer] [src: pcm, speaker] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=3 [audio output] [src: pcm] Feb 28 20:16:30 home kernel: pcm0: + <- nid=24 [audio selector] [src: speaker] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=25 [beep widget] [src: speaker] Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Record: Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: nid=6 [audio input] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=18 [audio selector] [src: line, mic, cd, line1, monitor] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=17 [audio selector] [src: mic, line1, monitor] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=15 [audio selector] [src: mic, line1, monitor] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=31 [pin: Mic (Pink Jack)] [src: monitor] Feb 28 20:16:30 home kernel: pcm0: + <- nid=32 [pin: Line-in (Blue Jack)] [src: line1] Feb 28 20:16:30 home kernel: pcm0: + <- nid=29 [pin: Mic (Pink Jack)] [src: mic] Feb 28 20:16:30 home kernel: pcm0: + <- nid=34 [pin: CD (Fixed)] [src: cd] Feb 28 20:16:30 home kernel: pcm0: + <- nid=16 [audio selector] [src: line, line1, monitor] Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: + <- nid=32 [pin: Line-in (Blue Jack)] [src: line1] Feb 28 20:16:30 home kernel: pcm0: + <- nid=28 [pin: Line-in (Blue Jack)] [src: line] Feb 28 20:16:30 home kernel: pcm0: + <- nid=31 [pin: Mic (Pink Jack)] [src: monitor] Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: +-------------------------+ Feb 28 20:16:30 home kernel: pcm0: | DUMPING Volume Controls | Feb 28 20:16:30 home kernel: pcm0: +-------------------------+ Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Master Volume (OSS: vol) Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: +- ctl 16 (nid 27 in ): -46/0dB (32 steps) + mute Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: PCM Volume (OSS: pcm) Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: +- ctl 1 (nid 3 out): -34/12dB (32 steps) + mute Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Speaker/Beep Volume (OSS: speaker) Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: +- ctl 14 (nid 24 out): -45/0dB (16 steps) + mute Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: Recording Level (OSS: rec) Feb 28 20:16:30 home kernel: pcm0: | Feb 28 20:16:30 home kernel: pcm0: +- ctl 7 (nid 15 out): 0/30dB (4 steps) Feb 28 20:16:30 home kernel: pcm0: +- ctl 8 (nid 18 out): 0/22dB (16 steps) + mute Feb 28 20:16:30 home kernel: pcm0: Feb 28 20:16:30 home kernel: pcm0: OSS mixer initialization... Feb 28 20:16:30 home kernel: pcm0: Recsel (mic): nid 15 source 2 select Feb 28 20:16:30 home kernel: pcm0: Recsel (mic): nid 17 source 0 select Feb 28 20:16:30 home kernel: pcm0: Recsel (mic): nid 18 source 0 select Feb 28 20:16:30 home kernel: pcm0: Mixer "vol": Feb 28 20:16:30 home kernel: pcm0: Mixer "pcm": Feb 28 20:16:30 home kernel: pcm0: Mixer "speaker": Feb 28 20:16:30 home kernel: pcm0: Mixer "rec": Feb 28 20:16:30 home kernel: pcm0: Mixer "ogain": Feb 28 20:16:30 home kernel: pcm0: Registering PCM channels... Feb 28 20:16:30 home kernel: pcm0: clone manager: deadline=750ms flags=0x8000001e Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c6b00 0 -> 0xc5074000 [0 -> 4096 : 4096] Feb 28 20:16:30 home kernel: hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096 Feb 28 20:16:30 home kernel: pcm0: sndbuf_setmap 2250000, 4000; 0xe5137000 -> 2250000 Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c6800 0 -> 0xc50e0000 [0 -> 16384 : 16384] Feb 28 20:16:30 home kernel: hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096 Feb 28 20:16:30 home kernel: pcm0: sndbuf_setmap 2260000, 4000; 0xe5147000 -> 2260000 Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c6500 0 -> 0xc50e4000 [0 -> 16384 : 16384] Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c6800 16384 [16384] NOCHANGE Feb 28 20:16:30 home kernel: sndbuf_remalloc(): b=0xc50c6700 0 -> 4096 [1024] Feb 28 20:16:30 home kernel: chn_resizebuf: PCMDIR_PLAY (hardware) timeout=32 b[1024/512/2] bs[1024/512/2] limit=0 Feb 28 20:16:30 home last message repeated 2 times Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c6800 16384 [1024] NOCHANGE Feb 28 20:16:30 home kernel: sndbuf_remalloc(): b=0xc50c6700 4096 [1024] NOCHANGE Feb 28 20:16:30 home kernel: chn_resizebuf: PCMDIR_PLAY (hardware) timeout=21 b[4096/2048/2] bs[4096/2048/2] limit=0 Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c6500 16384 [16384] NOCHANGE Feb 28 20:16:30 home kernel: sndbuf_remalloc(): b=0xc50c6400 0 -> 4096 [1024] Feb 28 20:16:30 home kernel: chn_resizebuf: PCMDIR_REC (hardware) timeout=32 b[1024/512/2] bs[1024/512/2] limit=0 Feb 28 20:16:30 home last message repeated 2 times Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c6500 16384 [1024] NOCHANGE Feb 28 20:16:30 home kernel: sndbuf_remalloc(): b=0xc50c6400 4096 [1024] NOCHANGE Feb 28 20:16:30 home kernel: chn_resizebuf: PCMDIR_REC (hardware) timeout=21 b[4096/2048/2] bs[4096/2048/2] limit=0 Feb 28 20:16:30 home kernel: pcm1: at cad 0 nid 1 on hdac0 Feb 28 20:16:30 home kernel: pcm1: +--------------------------------------+ Feb 28 20:16:30 home kernel: pcm1: | DUMPING PCM Playback/Record Channels | Feb 28 20:16:30 home kernel: pcm1: +--------------------------------------+ Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: Playback: Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: Stream cap: 0x00000001 Feb 28 20:16:30 home kernel: pcm1: PCM Feb 28 20:16:30 home kernel: pcm1: PCM cap: 0x000e007f Feb 28 20:16:30 home kernel: pcm1: 16 20 24 bits, 8 11 16 22 32 44 48 KHz Feb 28 20:16:30 home kernel: pcm1: DAC: 4 Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: +--------------------------------+ Feb 28 20:16:30 home kernel: pcm1: | DUMPING Playback/Record Pathes | Feb 28 20:16:30 home kernel: pcm1: +--------------------------------+ Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: Playback: Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: nid=26 [pin: Headphones (Green Jack)] Feb 28 20:16:30 home kernel: pcm1: | Feb 28 20:16:30 home kernel: pcm1: + <- nid=10 [audio selector] [src: pcm] Feb 28 20:16:30 home kernel: pcm1: | Feb 28 20:16:30 home kernel: pcm1: + <- nid=4 [audio output] [src: pcm] Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: +-------------------------+ Feb 28 20:16:30 home kernel: pcm1: | DUMPING Volume Controls | Feb 28 20:16:30 home kernel: pcm1: +-------------------------+ Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: Master Volume (OSS: vol) Feb 28 20:16:30 home kernel: pcm1: | Feb 28 20:16:30 home kernel: pcm1: +- ctl 15 (nid 26 in ): -46/0dB (32 steps) + mute Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: PCM Volume (OSS: pcm) Feb 28 20:16:30 home kernel: pcm1: | Feb 28 20:16:30 home kernel: pcm1: +- ctl 2 (nid 4 out): -34/12dB (32 steps) + mute Feb 28 20:16:30 home kernel: pcm1: Feb 28 20:16:30 home kernel: pcm1: OSS mixer initialization... Feb 28 20:16:30 home kernel: pcm1: Mixer "vol": Feb 28 20:16:30 home kernel: pcm1: Mixer "pcm": Feb 28 20:16:30 home kernel: pcm1: Registering PCM channels... Feb 28 20:16:30 home kernel: pcm1: clone manager: deadline=750ms flags=0x8000001e Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c5a00 0 -> 0xc5104000 [0 -> 4096 : 4096] Feb 28 20:16:30 home kernel: hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096 Feb 28 20:16:30 home kernel: pcm1: sndbuf_setmap 2270000, 4000; 0xe5157000 -> 2270000 Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c5700 0 -> 0xc510b000 [0 -> 16384 : 16384] Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c5700 16384 [16384] NOCHANGE Feb 28 20:16:30 home kernel: sndbuf_remalloc(): b=0xc50c5600 0 -> 4096 [1024] Feb 28 20:16:30 home kernel: chn_resizebuf: PCMDIR_PLAY (hardware) timeout=32 b[1024/512/2] bs[1024/512/2] limit=0 Feb 28 20:16:30 home last message repeated 2 times Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c5700 16384 [1024] NOCHANGE Feb 28 20:16:30 home kernel: sndbuf_remalloc(): b=0xc50c5600 4096 [1024] NOCHANGE Feb 28 20:16:30 home kernel: chn_resizebuf: PCMDIR_PLAY (hardware) timeout=21 b[4096/2048/2] bs[4096/2048/2] limit=0 Feb 28 20:16:30 home kernel: pcm2: at cad 0 nid 1 on hdac0 Feb 28 20:16:30 home kernel: pcm2: +--------------------------------------+ Feb 28 20:16:30 home kernel: pcm2: | DUMPING PCM Playback/Record Channels | Feb 28 20:16:30 home kernel: pcm2: +--------------------------------------+ Feb 28 20:16:30 home kernel: pcm2: Feb 28 20:16:30 home kernel: pcm2: Playback: Feb 28 20:16:30 home kernel: pcm2: Feb 28 20:16:30 home kernel: pcm2: Stream cap: 0x00000005 Feb 28 20:16:30 home kernel: pcm2: AC3 PCM Feb 28 20:16:30 home kernel: pcm2: PCM cap: 0x00020060 Feb 28 20:16:30 home kernel: pcm2: 16 bits, 44 48 KHz Feb 28 20:16:30 home kernel: pcm2: DAC: 2 Feb 28 20:16:30 home kernel: pcm2: Feb 28 20:16:30 home kernel: pcm2: +--------------------------------+ Feb 28 20:16:30 home kernel: pcm2: | DUMPING Playback/Record Pathes | Feb 28 20:16:30 home kernel: pcm2: +--------------------------------+ Feb 28 20:16:30 home kernel: pcm2: Feb 28 20:16:30 home kernel: pcm2: Playback: Feb 28 20:16:30 home kernel: pcm2: Feb 28 20:16:30 home kernel: pcm2: nid=37 [pin: SPDIF-out (Jack)] Feb 28 20:16:30 home kernel: pcm2: | Feb 28 20:16:30 home kernel: pcm2: + <- nid=2 [audio output] [src: pcm] Feb 28 20:16:30 home kernel: pcm2: Feb 28 20:16:30 home kernel: pcm2: +-------------------------+ Feb 28 20:16:30 home kernel: pcm2: | DUMPING Volume Controls | Feb 28 20:16:30 home kernel: pcm2: +-------------------------+ Feb 28 20:16:30 home kernel: pcm2: Feb 28 20:16:30 home kernel: pcm2: OSS mixer initialization... Feb 28 20:16:30 home kernel: pcm2: Registering PCM channels... Feb 28 20:16:30 home kernel: pcm2: clone manager: deadline=750ms flags=0x8000001e Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc50c5000 0 -> 0xc50fe000 [0 -> 4096 : 4096] Feb 28 20:16:30 home kernel: hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096 Feb 28 20:16:30 home kernel: pcm2: sndbuf_setmap 2280000, 4000; 0xe5167000 -> 2280000 Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc4f09c00 0 -> 0xc5113000 [0 -> 16384 : 16384] Feb 28 20:16:30 home kernel: sndbuf_resize(): b=0xc4f09c00 16384 [16384] NOCHANGE Feb 28 20:16:30 home kernel: sndbuf_remalloc(): b=0xc5112300 0 -> 4096 [4096] Feb 28 20:16:30 home kernel: chn_resizebuf: PCMDIR_PLAY (hardware) timeout=23 b[4096/2048/2] bs[4096/2048/2] limit=0 Feb 28 20:16:30 home last message repeated 2 times Feb 28 20:16:30 home kernel: chn_resizebuf: PCMDIR_PLAY (hardware) timeout=21 b[4096/2048/2] bs[4096/2048/2] limit=0 Feb 28 20:16:30 home kernel: GEOM: new disk ad4 Feb 28 20:16:30 home kernel: GEOM: new disk ad6 Feb 28 20:16:30 home kernel: GEOM_JOURNAL: Journal 2324325294: ad4d contains data. Feb 28 20:16:30 home kernel: GEOM_JOURNAL: Journal 2324325294: ad4d contains journal. Feb 28 20:16:30 home kernel: GEOM_JOURNAL: Journal ad4d clean. Feb 28 20:16:30 home kernel: ushub0: 8 ports with 8 removable, self powered Feb 28 20:16:30 home kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): error 22 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): Unretryable Error Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): Down reving Protocol Version from 2 to 0? Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): CAM Status: SCSI Status Error Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): SCSI Status: Check Condition Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): Medium not present Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): (probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): Medium not present Feb 28 20:16:30 home kernel: Unretryable error Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): error 6 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): Unretryable Error Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): error 6 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): Unretryable Error Feb 28 20:16:30 home kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): error 22 Feb 28 20:16:30 home kernel: (probe0:ata0:0:0:0): Unretryable Error Feb 28 20:16:30 home kernel: GEOM: new disk cd0 Feb 28 20:16:30 home kernel: pass0 at ata0 bus 0 target 0 lun 0 Feb 28 20:16:30 home kernel: pass0: Removable CD-ROM SCSI-0 device Feb 28 20:16:30 home kernel: pass0: 66.000MB/s transfers Feb 28 20:16:30 home kernel: sg0 at ata0 bus 0 target 0 lun 0 Feb 28 20:16:30 home kernel: sg0: Removable CD-ROM SCSI-0 device Feb 28 20:16:30 home kernel: sg0: 66.000MB/s transfers Feb 28 20:16:30 home kernel: (cd0:ata0:0:0:0): error 6 Feb 28 20:16:30 home kernel: (cd0:ata0:0:0:0): Unretryable Error Feb 28 20:16:30 home kernel: cd0 at ata0 bus 0 target 0 lun 0 Feb 28 20:16:30 home kernel: cd0: Removable CD-ROM SCSI-0 device Feb 28 20:16:30 home kernel: cd0: 66.000MB/s transfers Feb 28 20:16:30 home kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present Feb 28 20:16:30 home kernel: SMP: AP CPU #1 Launched! Feb 28 20:16:30 home kernel: cpu1 AP: Feb 28 20:16:30 home kernel: ID: 0x01000000 VER: 0x00040010 LDR: 0x00000000 DFR: 0xffffffff Feb 28 20:16:30 home kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Feb 28 20:16:30 home kernel: timer: 0x000200ef therm: 0x00000000 err: 0x00010000 pcm: 0x00010000 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 1 vector 48 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 15 (ISA IRQ 15) to lapic 1 vector 49 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 1 vector 50 Feb 28 20:16:30 home kernel: ioapic0: routing intpin 22 (PCI IRQ 22) to lapic 1 vector 51 Feb 28 20:16:30 home kernel: (cd0:ata0:0:0:0): error 6 Feb 28 20:16:30 home kernel: (cd0:ata0:0:0:0): Unretryable Error Feb 28 20:16:30 home kernel: (cd0:ata0:0:0:0): error 6 Feb 28 20:16:30 home kernel: (cd0:ata0:0:0:0): Unretryable Error Feb 28 20:16:30 home kernel: (cd0:ata0:0:0:0): error 6 Feb 28 20:16:30 home kernel: (cd0:ata0:0:0:0): Unretryable Error Feb 28 20:16:30 home kernel: scsi_cd.c::ioctl cmd=4400648b error=25 Feb 28 20:16:30 home kernel: Root mount waiting for: usbus1 Feb 28 20:16:30 home last message repeated 2 times Feb 28 20:16:30 home kernel: ushub1: 8 ports with 8 removable, self powered Feb 28 20:16:30 home kernel: Root mount waiting for: usbus1 Feb 28 20:16:30 home kernel: ugen0.2: at usbus0 Feb 28 20:16:30 home kernel: ums0: on usbus0 Feb 28 20:16:30 home kernel: ums0: 16 buttons and [XYZ] coordinates Feb 28 20:16:30 home kernel: uhid0: on usbus0 Feb 28 20:16:30 home kernel: ugen1.2: at usbus1 Feb 28 20:16:30 home kernel: umass0: on usbus1 Feb 28 20:16:30 home kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Feb 28 20:16:30 home kernel: Root mount waiting for: usbus1 Feb 28 20:16:30 home kernel: umass0:3:0:-1: Attached to scbus3 Feb 28 20:16:30 home kernel: Trying to mount root from ufs:/dev/ad4a Feb 28 20:16:30 home kernel: ct_to_ts([2009-02-28 18:16:26]) = 1235844986.000000000 Feb 28 20:16:30 home kernel: sg1 at umass-sim0 bus 0 target 0 lun 0 Feb 28 20:16:30 home kernel: sg1: Removable Direct Access SCSI-2 device Feb 28 20:16:30 home kernel: sg1: 40.000MB/s transfers Feb 28 20:16:30 home kernel: pass1 at umass-sim0 bus 0 target 0 lun 0 Feb 28 20:16:30 home kernel: pass1: Removable Direct Access SCSI-2 device Feb 28 20:16:30 home kernel: pass1: 40.000MB/s transfers Feb 28 20:16:30 home kernel: GEOM: new disk da0 Feb 28 20:16:30 home kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Feb 28 20:16:30 home kernel: da0: Removable Direct Access SCSI-2 device Feb 28 20:16:30 home kernel: da0: 40.000MB/s transfers Feb 28 20:16:30 home kernel: da0: 3935MB (8060927 512 byte sectors: 255H 63S/T 501C) Feb 28 20:16:30 home kernel: start_init: trying /sbin/init Feb 28 20:16:30 home kernel: WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD. Feb 28 20:16:30 home kernel: ipfw2 initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging disabled Feb 28 20:16:31 home kernel: nfe0: link state changed to UP Feb 28 20:16:31 home kernel: WARNING: attempt to net_add_domain(netgraph) after domainfinalize() Feb 28 20:16:31 home kernel: ng0: bpf attached --Boundary-00=_Y6bqJl5EvIe1svC Content-Type: text/plain; charset="KOI8-R"; name="Work" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Work" cpu I686_CPU ident Work # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_ULE # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling #options GEOM_PART_GPT # GUID Partition Tables. options GEOM_JOURNAL options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions #options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing options PSEUDOFS options TMPFS # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC # CPU frequency control device cpufreq # Bus support. device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc # Add suspend/resume support for the i8254. device pmtimer # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter --Boundary-00=_Y6bqJl5EvIe1svC-- From owner-freebsd-usb@FreeBSD.ORG Sat Feb 28 23:36:01 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DCF11065670 for ; Sat, 28 Feb 2009 23:36:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 066058FC08 for ; Sat, 28 Feb 2009 23:36:00 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Ma5krZdYoiIA:10 a=-DXRHlJb_54A:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=w0sMN5FdUZJCwABS6woA:9 a=XcmE8TydKZfNHkRIwiYA:7 a=LwkYBQZGU6BbwbuS15XKWWHasIIA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1202789428; Sun, 01 Mar 2009 00:35:59 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 1 Mar 2009 00:38:29 +0100 User-Agent: KMail/1.9.7 References: <200903010045.44904.man@email.com.ua> In-Reply-To: <200903010045.44904.man@email.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903010038.29534.hselasky@c2i.net> Cc: Subject: Re: Low perfomance when read from usb flash drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 23:36:01 -0000 On Saturday 28 February 2009, Artyom Mirgorodsky wrote: > Read speed when copy from usb flash drive decreased from 20MB/s (old usb > stack) to 12MB/s. (on windows above 22Mb/s). > Hi please explain what kind of test you have done. It's most likely not related to USB, but rather the file system. Maybe you can run the following test on Windows and FreeBSD to compare: dd if=/dev/da0 of=/dev/null bs=65536 --HPS