From owner-freebsd-usb@FreeBSD.ORG Sun Apr 11 06:48:08 2010 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 1CC7A1065676 for ; Sun, 11 Apr 2010 06:48:08 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 766FC8FC13 for ; Sun, 11 Apr 2010 06:48:06 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=91wuAuClbxwA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=pGLkceISAAAA:8 a=8kQB0OdkAAAA:8 a=6I5d2MoRAAAA:8 a=NHykHXzaPQtnku299PIA:9 a=CRzh7W0ybTVTigOVSM6LLDxocNcA:4 a=PUjeQqilurYA:10 a=MSl-tDqOz04A:10 a=9aOQ2cSd83gA:10 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1181425607; Sun, 11 Apr 2010 08:48:05 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Mikle Krutov Date: Sun, 11 Apr 2010 08:45:55 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201004102310.o3ANA2ZB096079@freefall.freebsd.org> In-Reply-To: <201004102310.o3ANA2ZB096079@freefall.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201004110845.55740.hselasky@c2i.net> Cc: Subject: Re: usb/145513: New USB stack: no new devices after forced usb flash detach 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, 11 Apr 2010 06:48:08 -0000 On Sunday 11 April 2010 01:10:03 Mikle Krutov wrote: > The following reply was made to PR usb/145513; it has been noted by GNATS. > > From: Mikle Krutov > To: Hans Petter Selasky > Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org > Subject: Re: usb/145513: New USB stack: no new devices after forced usb > flash detach > Date: Sun, 11 Apr 2010 03:03:09 +0400 > > On Thu, Apr 08, 2010 at 07:29:43PM +0200, Hans Petter Selasky wrote: > > On Thursday 08 April 2010 19:14:03 Mikle Krutov wrote: > > > On Thu, Apr 08, 2010 at 01:52:50PM +0200, Hans Petter Selasky wrote: > > > > Hi, > > > > > > > > That's because the UMASS detach is hanging, most likely. > > > > > > > > Try to break into the kernel and get a backtrace. > > > > > > > > --HPS > > > > > > Hi, > > > I unfortunately could not find any info about how do i do this. Could > > > you provide me some link? > > > > Add: > > > > options KDB # Enable kernel debugger > > support. options DDB # Support DDB. > > options GDB # Support remote GDB. > > > > When it hangs, enter this from the console: > > > > sysctl debug.kdb.panic=1 > > > > Type > > > > alltrace > > > > bt > > > > bt all > > > > or something similar. > > > > Type "continue" when you are finished. > > > > You can also use CTRL+ALT+ESC key combination. > > > > --HPS > > Sorry for no-response for such a long time, that was because after the > kernel-update (i've fetched the latest sources before rebuilding with > debug support) i could not reproduce that bug. Before kernel-update it > has happened not every time, so i wanted to see what happends for a > couple of days. > Will you close this PR then if you cannot reproduce during the coming week? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Apr 12 11:07:12 2010 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 F37A71065670 for ; Mon, 12 Apr 2010 11:07:11 +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 E090D8FC22 for ; Mon, 12 Apr 2010 11:07:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3CB7Bji042596 for ; Mon, 12 Apr 2010 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3CB7Bs0042594 for freebsd-usb@FreeBSD.org; Mon, 12 Apr 2010 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Apr 2010 11:07:11 GMT Message-Id: <201004121107.o3CB7Bs0042594@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, 12 Apr 2010 11:07:12 -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/145513 usb [usb8] New USB stack: no new devices after forced usb o usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] USB card reader does not create slices nodes o usb/145265 usb [patch] Freecom USB-IDE bridge o usb/145237 usb [usbdevs] [patch] Add support for Matrix Orbital MOU d o usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] ukbd_set_leds_callback: error=USB_ERR_STALL f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144751 usb [ukbd] [usb8] kernel without keyboard support won't co o usb/144423 usb [usb8] [patch] if_run panic with USB-N13 o usb/144414 usb [keyboard] [patch] Apple "Fn" key doesn't work properl o usb/144387 usb [run] [panic] if_run panic f usb/144332 usb [build] Kernel compile fails when aue is enabled but n o usb/144043 usb [umass] USB DLT tape drive throws random errors o usb/143790 usb [boot] can not boot from usb hdd f usb/143634 usb [umass] [usb8] Jetflash USB flash stick fails to mount f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op o usb/143448 usb [usbdevs] [usb8] [patch] QUIRK: JMicron JM20336 USB/SA f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system f usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P o usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR a usb/141467 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb] Encrypted root, geli password at boot; enter key o usb/140928 usb [u3g] [usb8] [patch] ZTE CDMA2000 1X EV-DO (MG478/AC87 o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b f usb/140883 usb [axe] [usb8] USB gigabit ethernet hangs after short pe o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o kern/140614 usb [uplcom] [patch] adding support for Radio Shack Gigwar o usb/140590 usb [bluetooth] [usb8] ng_ubt(4) ng_l2cap_process_cmd_rej o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140259 usb [libusb] [patch] [usb8] libusb-1.0 portability/compati o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor o usb/138915 usb [patch] [usb8] [usb67] add support for SheevaPlug seri a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t a usb/138879 usb [uftdi] [patch] Patch to add support for CTI USB-Mini o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138570 usb [usb] [panic] USB mass device panics current 7.2-STABL o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138172 usb [u3g] [patch] [usb67] Additional dev id for u3g (Optio o usb/138138 usb [u3g] [patch] [usb67] Novatel U760 for u3g (Verizon an o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is o usb/137872 usb [usb67] [boot] slow booting on usb flash drive o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137616 usb [usb67][usb8][usbdevs] [patch]: usbdevs update: Please o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors f bin/137180 usb [build] [patch] building world for 8.0-BETA2 fails on o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis o usb/135575 usb [usbdevs] [patch] [usb67] Add HTC Wizard phone vid/pid o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb [hang] Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] Kernel panic after NOMEM caused by o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co 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 o 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/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 [usb8] DVD drive detects as 'da' device o usb/129945 usb [usb67] [usbdevs] [patch] add u3g support for Longchee 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] [usb67] [patch] add support for ZTE AC8700 mode 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] [usb67] [patch] Liebert UPS being assigned u 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 [usb67] [patch] uaudio is not full duplex p usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o 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 p usb/127549 usb [umass] [usb67] [patch] Meizu MiniPlayer M6 (SL) requi f usb/127543 usb [patch] [ubsa] Support Option Globetrotter HSDPA modem s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should p docs/127406 usb [patch] update umodem man page: Sony Ericsson W810i o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o 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/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U 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 kern/124130 usb [usb] gmirror fails to start usb devices that were pre 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 [new driver] [patch] New driver for Sierra Wireless 3G 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] [panic] FreeBSD fails to boot with usb legacy s 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/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/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 [snd_uaudio] [patch] Not possible to record with Plant 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/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 [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar 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 kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth 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/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work 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/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 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 [sound] [hang] Use of sound mixer causes system freeze 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] [regression] 5.3-STABLE(2005 1/4) detect USB h 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 351 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Apr 12 23:44:04 2010 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 98820106566C for ; Mon, 12 Apr 2010 23:44:04 +0000 (UTC) (envelope-from julianwissmann@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 25A088FC0A for ; Mon, 12 Apr 2010 23:44:03 +0000 (UTC) Received: by bwz8 with SMTP id 8so3645202bwz.3 for ; Mon, 12 Apr 2010 16:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=VWkFYKI6uMGpMdi59tcJvpjOZttU34HSZdR4UeUsGbw=; b=hvPMVshIOuBnJjb3Xeixs3ci/eVB/WDjxmr496PFmyKJrBHbTma6aerpmZDYNdpczz sB/ROV/I/gX4+Nludhe34cBPQJv7ILmOo/EEZHoyXe5iwb6EStoFnlSUJ3rPLKbpF7Eh A8zUVu7Tp+tNdMH6QVDS6SDDcNVS9GSlBkuWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=QH11q3sK9ehUzk53rHw1YM6rO95q6wnU3OuDv20Y+hATn0Yv5ibsdI5toeYW+q/+gH hxiaBajYFXCA/8WD6DLjLeQStryx71wWm2mB+sRuKhcoL+oy7byGtnc2bOqG0FDo+pK8 MHx6GrD2bdf0GwlgnTIwe1KkiQ5tNhoGU2r/4= Received: by 10.204.3.137 with SMTP id 9mr5714817bkn.6.1271114365353; Mon, 12 Apr 2010 16:19:25 -0700 (PDT) Received: from erde.homeunix.net (p5DDA9840.dip.t-dialin.net [93.218.152.64]) by mx.google.com with ESMTPS id 15sm2016846bwz.0.2010.04.12.16.19.24 (version=SSLv3 cipher=RC4-MD5); Mon, 12 Apr 2010 16:19:24 -0700 (PDT) Message-ID: <4BC3ABA0.7000204@gmail.com> Date: Tue, 13 Apr 2010 01:24:16 +0200 From: Julian Wissmann User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100224 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: FreeBSD 8 and HPLIP 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, 12 Apr 2010 23:44:04 -0000 Hi, I have FreeBSD 8-p2 with CUPS1.4.2 and HPLIP 3.9.8 running. My problem is that I can't get hplip running for normal users. It detects my printer (HP OJ-Pro 7480) when I run hp-check as root. But it won't work for my regular user account. I've read another thread about it on the list and tried what was supplied there but it doesn't work for me. Basically what happens is that the hp gui tool shows a configuration error and CUPS's hp-backend shows this: ➜ ~ /usr/local/libexec/cups/backend/hp direct hp "Unknown" "HP Printer (HPLIP)" While it probably should show: ➜ ~ sudo /usr/local/libexec/cups/backend/hp direct hp:/usb/Officejet_Pro_L7400?serial=MY82S1519Z "HP Officejet Pro L7400" "HP Officejet Pro L7400 USB MY82S1519Z HPLIP" "MFG:HP;MDL:Officejet Pro L7400;CLS:PRINTER;DES:Officejet Pro L7400;SN:MY82S1519Z;" This is from my devfs.rules: [system=10] add path 'usb*' mode 0660 add path 'usb/3.2*' mode 0660 group cups add path 'ugen3.2*' mode 0660 group cups This is from my rc.conf: cupsd_enable="YES" hpiod_enable="YES" hpssd_enable="YES" Relevant stuff from /dev: ➜ ~ ls -la /dev/ugen* lrw-rw-rw- 1 root operator 9 13 Apr 00:32 /dev/ugen3.1 -> usb/3.1.0 lrw-rw-rw- 1 cups operator 9 13 Apr 00:32 /dev/ugen3.2 -> usb/3.2.0 /dev/usb: ls: .: Permission denied ls: ..: Permission denied ls: 3.1.0: Permission denied ls: 3.1.1: Permission denied ls: 3.2.0: Permission denied ls: 3.2.1: Permission denied ls: 3.2.10: Permission denied ls: 3.2.11: Permission denied ... ➜ ~ sudo ls -la /dev/usb* Password: crw-rw-rw- 1 root operator 0, 73 13 Apr 00:32 /dev/usbctl /dev/usb: total 2 drw-rw-rw- 2 root operator 512 13 Apr 00:32 . dr-xr-xr-x 7 root wheel 512 13 Apr 00:32 .. crw-rw-rw- 1 root operator 0, 82 13 Apr 00:32 3.1.0 crw-rw-rw- 1 root operator 0, 95 13 Apr 00:32 3.1.1 crw-rw-rw- 1 cups operator 0, 116 13 Apr 00:32 3.2.0 crw-rw-rw- 1 cups operator 0, 121 13 Apr 00:32 3.2.1 crw-rw-rw- 1 cups operator 0, 126 13 Apr 00:32 3.2.10 crw-rw-rw- 1 cups operator 0, 127 13 Apr 00:32 3.2.11 crw-rw-rw- 1 cups operator 0, 122 13 Apr 00:32 3.2.2 crw-rw-rw- 1 cups operator 0, 123 13 Apr 00:32 3.2.3 crw-rw-rw- 1 cups operator 0, 124 13 Apr 00:32 3.2.7 crw-rw-rw- 1 cups operator 0, 125 13 Apr 00:32 3.2.8 ... ➜ ~ dmesg | grep ugen ugen0.1: at usbus0 ugen1.1: at usbus1 ugen2.1: at usbus2 ugen3.1: at usbus3 ugen4.1: at usbus4 ugen5.1: at usbus5 ugen6.1: at usbus6 ugen7.1: at usbus7 ugen7.2: at usbus7 ugen3.2: at usbus3 ugen7.3: at usbus7 ugen2.2: at usbus2 ugen7.4: at usbus7 What am I missing here? I've been messing around with this for quite a while now and I don't see whats wrong here. Regards, Julian Wissmann From owner-freebsd-usb@FreeBSD.ORG Tue Apr 13 00:53:00 2010 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 96C951065670 for ; Tue, 13 Apr 2010 00:53:00 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.221.175]) by mx1.freebsd.org (Postfix) with ESMTP id 45F7B8FC0A for ; Tue, 13 Apr 2010 00:52:59 +0000 (UTC) Received: by qyk5 with SMTP id 5so7137059qyk.3 for ; Mon, 12 Apr 2010 17:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=hXKoFUek+rxMs3I03A8KNW1nZ0URo5ZczXQ+98d4CSU=; b=FWF5HgrpZfFPcqhngboMPNj11C9xPE7TI3rloY2IremPjTQoaG7s/Z/dmr8T89C5xX v6FzHgJfxb5YHP810AmvgEL8gFf6R/yYZ/hJWvfRgz02VUbkHywQrQVCXMfRTb/F1a0+ /nWFd5FPMh06BH9eXuOGFm781YtmvDtPJyjX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=LJ4WQ+nVNChDKrxronXq3oFf7QJaxhJEBosq2L7qUNFiZMhnIe6TQr1szmf0nylcXD OVUdUjj0DJuYSv5dwBcjTAnzvaI8CnBRo5y1fciqv7eVK6uiqT9gHPmD6WkKGCDJykcL MqA/irH/zSDjblH2wzLpE18NNDm10WeFctcW4= Received: by 10.229.212.9 with SMTP id gq9mr4779802qcb.84.1271119979520; Mon, 12 Apr 2010 17:52:59 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id v37sm6803819qce.12.2010.04.12.17.52.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Apr 2010 17:52:55 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 12 Apr 2010 17:52:55 -0700 From: Pyun YongHyeon Date: Mon, 12 Apr 2010 17:52:55 -0700 To: Nenhum_de_Nos Message-ID: <20100413005255.GJ1444@michelle.cdnetworks.com> References: <20100326003150.GI1278@michelle.cdnetworks.com> <20100326195012.GS1278@michelle.cdnetworks.com> <6672a5444e755931f93f58f7b2df28c4.squirrel@cygnus.homeunix.com> <20100327021954.GY1278@michelle.cdnetworks.com> <4f4516c4a748aacfbd62cad9691afb90.squirrel@cygnus.homeunix.com> <20100331190631.GQ1473@michelle.cdnetworks.com> <20100403214659.fb4a19ea.matheus@eternamente.info> <20100405011256.GC1225@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100405011256.GC1225@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-usb@freebsd.org Subject: Re: 10Mbps+ throughput usb based ethernet recommendation X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 00:53:00 -0000 On Sun, Apr 04, 2010 at 06:12:56PM -0700, Pyun YongHyeon wrote: > On Sat, Apr 03, 2010 at 09:46:59PM -0300, Nenhum_de_Nos wrote: > > On Wed, 31 Mar 2010 12:06:31 -0700 > > Pyun YongHyeon wrote: > > > > > On Fri, Mar 26, 2010 at 11:31:50PM -0300, Nenhum_de_Nos wrote: > > > > > > [...] > > > > > > > >> I changed and got this: > > > > >> > > > > >> miibus1: on axe0 > > > > >> ukphy0: PHY 1 on miibus1 > > > > >> ukphy0: XXX ID1 = 0x0282, ID2 = 0xf012 > > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > > > > > This is *NOT* bogus value. It's Agere Systems' ET1011 gigabit PHY. > > > > > FreeBSD has truephy(4) for Agere Systems' PHY but it does not have > > > > > support code for the model yet. > > > > > > > > so I can think that's the issue, right ? > > > > > > Probably. But this does not explain sometimes why you get some > > > bogus value form PHY id registers. > > > > > > > > >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > > > > >> 1000baseT-FDX, auto > > > > >> ue0: on axe0 > > > > >> ue0: Ethernet address: xxxxxxxxxxxxxx > > > > >> ue0: link state changed to DOWN > > > > >> > > > > >> so it didn't now. other thing is that not every time it works: > > > > >> > > > > > > > > > > Yeah, that is real issue here. I guess there should be some magic > > > > > to wakeup the PHY from deep sleep state. I'll see what can be done. > > > > > > > > ok, great it was found :) > > > > > > > > let me know if I can help in anything :) > > > > > > > > > > Would you try attached patch and let me know how it goes? > > > > axe0: PHYADDR 0xe0:0x01 > > miibus1: on axe0 > > ukphy0: PHY 1 on miibus1 > > ukphy0: XXX ID1 = 0x7949, ID2 = 0x7949 > > Due to other issues previous patch didn't have chance to make it > work. This time, PHY id started to reporting garbage again which > means all MII register access may return garbage too. Don't know > this could be related with USB subsystem though. > > > ukphy0: 10baseT-FDX > > ue0: on axe0 > > ue0: Ethernet address: 00:11:50:e7:39:e9 > > ue0: link state changed to DOWN > > [...] > > > and I can't ping the other host :( > > > > ue0: flags=8843 metric 0 mtu 1500 > > options=80000 > > ether 00:11:50:e7:39:e9 > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > media: Ethernet none > > arroway# ifconfig ue0 > > ue0: flags=8843 metric 0 mtu 1500 > > options=80000 > > ether 00:11:50:e7:39:e9 > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > media: Ethernet none (none ) > > status: active > > arroway# ifconfig ue0 > > ue0: flags=8843 metric 0 mtu 1500 > > options=80000 > > ether 00:11:50:e7:39:e9 > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > media: Ethernet none > > > > and it is still crazy media changing. > > > > Because your PHY is not recognized it's expected result. :-( Today I got ordered Belkin F5D5055 USB controller. And I believe this controller is the same one as you have. With the previous patch it worked as expected on my box. axe0: on usbus7 axe0: PHYADDR 0xe0:0x01 miibus0: on axe0 truephy0: PHY 1 on miibus0 truephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto ue0: on axe0 ue0: Ethernet address: 00:22:75:d6:ab:88 ue0: link state changed to DOWN ue0: link state changed to UP And the performance number for the controller is also similar to other AX88178 gigabit controllers. So I guess axe(4) has no issue in handling Belkin F5D5055 USB controller but underlying ehci(4) could be behaving incorrectly. I believe this part could be explained/debugged by Hans. Mine is the following. ehci1 pnpinfo vendor=0x8086 device=0x3a6a subvendor=0x1028 subdevice=0x027f class=0x0c0320 at slot=29 function=7 Interrupt request lines: 23 I/O memory addresses: 0xff980000-0xff9803ff usbus7 uhub7 axe0 pnpinfo vendor=0x050d product=0x5055 devclass=0xff devsubclass=0xff sernum="" release=0x0001 intclass=0xff intsubclass=0xff at port=5 interface=0 miibus0 truephy0 pnpinfo oui=0xa0bc model=0x1 rev=0x4 at phyno=1 Hope this helps. From owner-freebsd-usb@FreeBSD.ORG Tue Apr 13 01:35:05 2010 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 22E45106566C for ; Tue, 13 Apr 2010 01:35:05 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id A196D8FC14 for ; Tue, 13 Apr 2010 01:35:04 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O1V1r-0003bj-0T for freebsd-usb@freebsd.org; Tue, 13 Apr 2010 03:35:03 +0200 Received: from static-78-8-147-77.ssp.dialog.net.pl ([78.8.147.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Apr 2010 03:35:02 +0200 Received: from mwisnicki+freebsd by static-78-8-147-77.ssp.dialog.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Apr 2010 03:35:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: Marcin Wisnicki Date: Tue, 13 Apr 2010 01:32:22 +0000 (UTC) Lines: 144 Message-ID: References: <4BC3ABA0.7000204@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: static-78-8-147-77.ssp.dialog.net.pl User-Agent: Pan/0.132 (Waxed in Black) Subject: Re: FreeBSD 8 and HPLIP 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, 13 Apr 2010 01:35:05 -0000 On Tue, 13 Apr 2010 01:24:16 +0200, Julian Wissmann wrote: > Hi, > I have FreeBSD 8-p2 with CUPS1.4.2 and HPLIP 3.9.8 running. My problem > is that I can't get hplip running for normal users. It detects my > printer (HP OJ-Pro 7480) when I run hp-check as root. But it won't work > for my regular user account. I've read another thread about it on the > list and tried what was supplied there but it doesn't work for me. > Basically what happens is that the hp gui tool shows a configuration > error and CUPS's hp-backend shows this: > ➜ ~ /usr/local/libexec/cups/backend/hp direct hp "Unknown" "HP Printer > (HPLIP)" While it probably should show: > ➜ ~ sudo /usr/local/libexec/cups/backend/hp direct > hp:/usb/Officejet_Pro_L7400?serial=MY82S1519Z "HP Officejet Pro L7400" > "HP Officejet Pro L7400 USB MY82S1519Z HPLIP" "MFG:HP;MDL:Officejet Pro > L7400;CLS:PRINTER;DES:Officejet Pro L7400;SN:MY82S1519Z;" > > This is from my devfs.rules: > [system=10] > add path 'usb*' mode 0660 ^^^ This is your problem. You are denying access to /dev/usb directory for 'others', as evidenced few paragraphs below where you can't ls /dev/usb. Default mode is 555. Just remove this rule. > add path 'usb/3.2*' mode 0660 group cups add path 'ugen3.2*' mode 0660 group cups > > This is from my rc.conf: > cupsd_enable="YES" > hpiod_enable="YES" > hpssd_enable="YES" > There is no hpiod anymore. Also hpssd shouldn't have a start script as it is not designed to work as system daemon - you should see some warnings/errors that it cannot start. It is safe to remove both. Just cups_enable=yes is fine. My complete working setup for Deskjet Ink Advantage K209a is below: > rc.conf: cups_enable="YES" > /etc/devd/hplip.conf # HP All-in-one device attach 100 { match "vendor" "0x03f0"; match "product" "0x..11"; action "chown cups:cups /dev/usb/`echo $device-name | tr -d ugen`.*; \ chmod 660 /dev/usb/`echo $device-name | tr -d ugen`.*"; End of example. Where $device-name might have a value like "ugen3.2". This is better approach than devfs.rules where you need to hardcode device names that can easily change. Just adjust product id. You can get them with `usbconfig -d ugen3.2 dump_device_desc | grep id` Format of this file is documented in devd.conf(5). In my case it results in this: dr-xr-xr-x 2 root wheel 512 Apr 3 18:26:31 2010 /dev/usb crw-r--r-- 1 root operator 0,61 Apr 3 18:26:24 2010 /dev/usbctl crw-rw---- 1 cups cups 0,161 Apr 3 18:26:31 2010 /dev/usb/3.5.0 crw-rw---- 1 cups cups 0,163 Apr 3 18:26:31 2010 /dev/usb/3.5.1 crw-rw---- 1 cups cups 0,164 Apr 3 18:26:31 2010 /dev/usb/3.5.2 crw-rw---- 1 cups cups 0,165 Apr 3 18:26:31 2010 /dev/usb/3.5.6 crw-rw---- 1 cups cups 0,166 Apr 3 18:26:31 2010 /dev/usb/3.5.7 crw-rw---- 1 cups cups 0,167 Apr 3 18:26:31 2010 /dev/usb/3.5.8 crw-rw---- 1 cups cups 0,168 Apr 3 18:26:31 2010 /dev/usb/3.5.9 Only access to usb/3.5.* is needed. BTW group does not matter to cupsd since it does not run with it's primary group :( Group access is handy if your device also has a scanner. Then local scanning will be possible if your user can access devices, by membership in this group. I should probably create 'scanner' group and use group:scanner, then add every user to scanner group instead of adding them to cups to get scanner access. Also for network scanning: # cat /etc/inetd.conf | grep sane # TODO use saned:scanner instead of cups:cups sane-port stream tcp nowait cups:cups /usr/local/sbin/saned saned Then set authorization and/or authentication in /usr/local/etc/sane.d/saned.conf > Relevant stuff from /dev: > ➜ ~ ls -la /dev/ugen* > lrw-rw-rw- 1 root operator 9 13 Apr 00:32 /dev/ugen3.1 -> usb/3.1.0 > lrw-rw-rw- 1 cups operator 9 13 Apr 00:32 /dev/ugen3.2 -> usb/3.2.0 > > /dev/usb: > ls: .: Permission denied > ls: ..: Permission denied > ls: 3.1.0: Permission denied > ls: 3.1.1: Permission denied > ls: 3.2.0: Permission denied > ls: 3.2.1: Permission denied > ls: 3.2.10: Permission denied > ls: 3.2.11: Permission denied > ... > > ➜ ~ sudo ls -la /dev/usb* > Password: > crw-rw-rw- 1 root operator 0, 73 13 Apr 00:32 /dev/usbctl > > /dev/usb: > total 2 > drw-rw-rw- 2 root operator 512 13 Apr 00:32 . > dr-xr-xr-x 7 root wheel 512 13 Apr 00:32 .. > crw-rw-rw- 1 root operator 0, 82 13 Apr 00:32 3.1.0 > crw-rw-rw- 1 root operator 0, 95 13 Apr 00:32 3.1.1 > crw-rw-rw- 1 cups operator 0, 116 13 Apr 00:32 3.2.0 > crw-rw-rw- 1 cups operator 0, 121 13 Apr 00:32 3.2.1 > crw-rw-rw- 1 cups operator 0, 126 13 Apr 00:32 3.2.10 > crw-rw-rw- 1 cups operator 0, 127 13 Apr 00:32 3.2.11 > crw-rw-rw- 1 cups operator 0, 122 13 Apr 00:32 3.2.2 > crw-rw-rw- 1 cups operator 0, 123 13 Apr 00:32 3.2.3 > crw-rw-rw- 1 cups operator 0, 124 13 Apr 00:32 3.2.7 > crw-rw-rw- 1 cups operator 0, 125 13 Apr 00:32 3.2.8 ... > > ➜ ~ dmesg | grep ugen > ugen0.1: at usbus0 > ugen1.1: at usbus1 > ugen2.1: at usbus2 > ugen3.1: at usbus3 > ugen4.1: at usbus4 > ugen5.1: at usbus5 > ugen6.1: at usbus6 > ugen7.1: at usbus7 > ugen7.2: at usbus7 > ugen3.2: at usbus3 > ugen7.3: at usbus7 > ugen2.2: at usbus2 > ugen7.4: at usbus7 > > What am I missing here? I've been messing around with this for quite a > while now and I don't see whats wrong here. > > Regards, > Julian Wissmann From owner-freebsd-usb@FreeBSD.ORG Tue Apr 13 06:52:37 2010 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 15F6E106566C for ; Tue, 13 Apr 2010 06:52:37 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 6ACEB8FC08 for ; Tue, 13 Apr 2010 06:52:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=8JYm3rmnu3MA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=pGLkceISAAAA:8 a=muwRGhBjV5_1QVj9cCIA:9 a=sn8olJgvphKtClvql0oA:7 a=oueiU2savXaxVnIcocY_p7iFujgA:4 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 a=cJ7ytZJ4EQYNnmRu:21 a=05bgqzFPmYD7Sl9S:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 615007055; Tue, 13 Apr 2010 08:52:33 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, pyunyh@gmail.com Date: Tue, 13 Apr 2010 08:50:13 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20100405011256.GC1225@michelle.cdnetworks.com> <20100413005255.GJ1444@michelle.cdnetworks.com> In-Reply-To: <20100413005255.GJ1444@michelle.cdnetworks.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004130850.13572.hselasky@c2i.net> Cc: Subject: Re: 10Mbps+ throughput usb based ethernet recommendation 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, 13 Apr 2010 06:52:37 -0000 On Tuesday 13 April 2010 02:52:55 Pyun YongHyeon wrote: > On Sun, Apr 04, 2010 at 06:12:56PM -0700, Pyun YongHyeon wrote: > > On Sat, Apr 03, 2010 at 09:46:59PM -0300, Nenhum_de_Nos wrote: > > > On Wed, 31 Mar 2010 12:06:31 -0700 > > > > > > Pyun YongHyeon wrote: > > > > On Fri, Mar 26, 2010 at 11:31:50PM -0300, Nenhum_de_Nos wrote: > > > > > > > > [...] > > > > > > > > > >> I changed and got this: > > > > > >> > > > > > >> miibus1: on axe0 > > > > > >> ukphy0: PHY 1 on miibus1 > > > > > >> ukphy0: XXX ID1 = 0x0282, ID2 = 0xf012 > > > > > > > > > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > > > > > > > This is *NOT* bogus value. It's Agere Systems' ET1011 gigabit > > > > > > PHY. FreeBSD has truephy(4) for Agere Systems' PHY but it does > > > > > > not have support code for the model yet. > > > > > > > > > > so I can think that's the issue, right ? > > > > > > > > Probably. But this does not explain sometimes why you get some > > > > bogus value form PHY id registers. > > > > > > > > > >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > > > > > >> 1000baseT, 1000baseT-FDX, auto > > > > > >> ue0: on axe0 > > > > > >> ue0: Ethernet address: xxxxxxxxxxxxxx > > > > > >> ue0: link state changed to DOWN > > > > > >> > > > > > >> so it didn't now. other thing is that not every time it works: > > > > > > > > > > > > Yeah, that is real issue here. I guess there should be some magic > > > > > > to wakeup the PHY from deep sleep state. I'll see what can be > > > > > > done. > > > > > > > > > > ok, great it was found :) > > > > > > > > > > let me know if I can help in anything :) > > > > > > > > Would you try attached patch and let me know how it goes? > > > > > > axe0: PHYADDR 0xe0:0x01 > > > miibus1: on axe0 > > > ukphy0: PHY 1 on miibus1 > > > ukphy0: XXX ID1 = 0x7949, ID2 = 0x7949 > > > > Due to other issues previous patch didn't have chance to make it > > work. This time, PHY id started to reporting garbage again which > > means all MII register access may return garbage too. Don't know > > this could be related with USB subsystem though. > > > > > ukphy0: 10baseT-FDX > > > ue0: on axe0 > > > ue0: Ethernet address: 00:11:50:e7:39:e9 > > > ue0: link state changed to DOWN > > > > [...] > > > > > and I can't ping the other host :( > > > > > > ue0: flags=8843 metric 0 mtu > > > 1500 options=80000 > > > ether 00:11:50:e7:39:e9 > > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > > media: Ethernet none > > > arroway# ifconfig ue0 > > > ue0: flags=8843 metric 0 mtu > > > 1500 options=80000 > > > ether 00:11:50:e7:39:e9 > > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > > media: Ethernet none (none ) > > > status: active > > > arroway# ifconfig ue0 > > > ue0: flags=8843 metric 0 mtu > > > 1500 options=80000 > > > ether 00:11:50:e7:39:e9 > > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > > media: Ethernet none > > > > > > and it is still crazy media changing. > > > > Because your PHY is not recognized it's expected result. :-( > > Today I got ordered Belkin F5D5055 USB controller. And I believe > this controller is the same one as you have. With the previous patch > it worked as expected on my box. > > axe0: on > usbus7 > axe0: PHYADDR 0xe0:0x01 > miibus0: on axe0 > truephy0: PHY 1 on miibus0 > truephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, > auto ue0: on axe0 > ue0: Ethernet address: 00:22:75:d6:ab:88 > ue0: link state changed to DOWN > ue0: link state changed to UP > > And the performance number for the controller is also similar to > other AX88178 gigabit controllers. So I guess axe(4) has no issue > in handling Belkin F5D5055 USB controller but underlying ehci(4) > could be behaving incorrectly. I believe this part could be > explained/debugged by Hans. > Mine is the following. > > ehci1 pnpinfo vendor=0x8086 device=0x3a6a subvendor=0x1028 > subdevice=0x027f class=0x0c0320 at slot=29 function=7 Interrupt request > lines: > 23 > I/O memory addresses: > 0xff980000-0xff9803ff > usbus7 > uhub7 > axe0 pnpinfo vendor=0x050d product=0x5055 devclass=0xff > devsubclass=0xff sernum="" release=0x0001 intclass=0xff intsubclass=0xff > at port=5 interface=0 miibus0 > truephy0 pnpinfo oui=0xa0bc model=0x1 rev=0x4 at phyno=1 > > Hope this helps. Hi, Try to re-test with 8-stable or 9-current (kernel+kernel modules only). We had some EHCI fixes go in for certain chipsets, due to what appears to be hardware bugs. So far there has been very few bugs in the EHCI driver. Try to compare verbose output, and see that the pnpinfo is identical! --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Apr 13 20:09:44 2010 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 9C109106566C for ; Tue, 13 Apr 2010 20:09:44 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 26B228FC0A for ; Tue, 13 Apr 2010 20:09:43 +0000 (UTC) Received: by wwa36 with SMTP id 36so810900wwa.13 for ; Tue, 13 Apr 2010 13:09:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=5ji8ckCBSS6TjeXWUV3uYKPsexDxQOwM3MeOcTPig/o=; b=GO858P1PFACvti0jcF0/FMwGSHr18gKtHhjvG1aCfoufqH/KvKNfgghBkmKdgxinO1 5QxPXQBVzx4cl8Fjgmvg/CXe/vhbShNnHlJlRXgF562ozLdsAtcrpwSGxe8wQEjswf9l je33nzA6wyc+eCsfbR7N1v7c5gRUngbnCSDls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=sRDZWa7s6ChSw5jLm30kQtR2O3cUlNHB2aTQmGWGcyCYbgCr/fpADliWre2eWrhIh5 oWiUIq4Gd21Fzo633A1vbFwzAXp5A24mTQS1JUPZzrSQhqwKsyGyXZTknNQt/8SB8HkW Q3MqJXm5U3V79zHJJtTwu3XCojgV29JSgcZIc= Received: by 10.216.90.201 with SMTP id e51mr3898931wef.59.1271189383030; Tue, 13 Apr 2010 13:09:43 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id z3sm3171117wbs.16.2010.04.13.13.09.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Apr 2010 13:09:40 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 13 Apr 2010 13:09:37 -0700 From: Pyun YongHyeon Date: Tue, 13 Apr 2010 13:09:37 -0700 To: Nenhum_de_Nos Message-ID: <20100413200937.GC5805@michelle.cdnetworks.com> References: <20100326003150.GI1278@michelle.cdnetworks.com> <20100326195012.GS1278@michelle.cdnetworks.com> <6672a5444e755931f93f58f7b2df28c4.squirrel@cygnus.homeunix.com> <20100327021954.GY1278@michelle.cdnetworks.com> <4f4516c4a748aacfbd62cad9691afb90.squirrel@cygnus.homeunix.com> <20100331190631.GQ1473@michelle.cdnetworks.com> <20100403214659.fb4a19ea.matheus@eternamente.info> <20100405011256.GC1225@michelle.cdnetworks.com> <20100413005255.GJ1444@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100413005255.GJ1444@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-usb@freebsd.org Subject: Re: 10Mbps+ throughput usb based ethernet recommendation X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 20:09:44 -0000 On Mon, Apr 12, 2010 at 05:52:55PM -0700, Pyun YongHyeon wrote: > On Sun, Apr 04, 2010 at 06:12:56PM -0700, Pyun YongHyeon wrote: > > On Sat, Apr 03, 2010 at 09:46:59PM -0300, Nenhum_de_Nos wrote: > > > On Wed, 31 Mar 2010 12:06:31 -0700 > > > Pyun YongHyeon wrote: > > > > > > > On Fri, Mar 26, 2010 at 11:31:50PM -0300, Nenhum_de_Nos wrote: > > > > > > > > [...] > > > > > > > > > >> I changed and got this: > > > > > >> > > > > > >> miibus1: on axe0 > > > > > >> ukphy0: PHY 1 on miibus1 > > > > > >> ukphy0: XXX ID1 = 0x0282, ID2 = 0xf012 > > > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > > > > > > > This is *NOT* bogus value. It's Agere Systems' ET1011 gigabit PHY. > > > > > > FreeBSD has truephy(4) for Agere Systems' PHY but it does not have > > > > > > support code for the model yet. > > > > > > > > > > so I can think that's the issue, right ? > > > > > > > > Probably. But this does not explain sometimes why you get some > > > > bogus value form PHY id registers. > > > > > > > > > > >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > > > > > >> 1000baseT-FDX, auto > > > > > >> ue0: on axe0 > > > > > >> ue0: Ethernet address: xxxxxxxxxxxxxx > > > > > >> ue0: link state changed to DOWN > > > > > >> > > > > > >> so it didn't now. other thing is that not every time it works: > > > > > >> > > > > > > > > > > > > Yeah, that is real issue here. I guess there should be some magic > > > > > > to wakeup the PHY from deep sleep state. I'll see what can be done. > > > > > > > > > > ok, great it was found :) > > > > > > > > > > let me know if I can help in anything :) > > > > > > > > > > > > > Would you try attached patch and let me know how it goes? > > > > > > axe0: PHYADDR 0xe0:0x01 > > > miibus1: on axe0 > > > ukphy0: PHY 1 on miibus1 > > > ukphy0: XXX ID1 = 0x7949, ID2 = 0x7949 > > > > Due to other issues previous patch didn't have chance to make it > > work. This time, PHY id started to reporting garbage again which > > means all MII register access may return garbage too. Don't know > > this could be related with USB subsystem though. > > > > > ukphy0: 10baseT-FDX > > > ue0: on axe0 > > > ue0: Ethernet address: 00:11:50:e7:39:e9 > > > ue0: link state changed to DOWN > > > > [...] > > > > > and I can't ping the other host :( > > > > > > ue0: flags=8843 metric 0 mtu 1500 > > > options=80000 > > > ether 00:11:50:e7:39:e9 > > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > > media: Ethernet none > > > arroway# ifconfig ue0 > > > ue0: flags=8843 metric 0 mtu 1500 > > > options=80000 > > > ether 00:11:50:e7:39:e9 > > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > > media: Ethernet none (none ) > > > status: active > > > arroway# ifconfig ue0 > > > ue0: flags=8843 metric 0 mtu 1500 > > > options=80000 > > > ether 00:11:50:e7:39:e9 > > > inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255 > > > media: Ethernet none > > > > > > and it is still crazy media changing. > > > > > > > Because your PHY is not recognized it's expected result. :-( > > Today I got ordered Belkin F5D5055 USB controller. And I believe > this controller is the same one as you have. With the previous patch > it worked as expected on my box. > > axe0: on > usbus7 > axe0: PHYADDR 0xe0:0x01 > miibus0: on axe0 > truephy0: PHY 1 on miibus0 > truephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto > ue0: on axe0 > ue0: Ethernet address: 00:22:75:d6:ab:88 > ue0: link state changed to DOWN > ue0: link state changed to UP > > And the performance number for the controller is also similar to > other AX88178 gigabit controllers. So I guess axe(4) has no issue > in handling Belkin F5D5055 USB controller but underlying ehci(4) > could be behaving incorrectly. I believe this part could be > explained/debugged by Hans. > Mine is the following. > > ehci1 pnpinfo vendor=0x8086 device=0x3a6a subvendor=0x1028 subdevice=0x027f class=0x0c0320 at slot=29 function=7 > Interrupt request lines: > 23 > I/O memory addresses: > 0xff980000-0xff9803ff > usbus7 > uhub7 > axe0 pnpinfo vendor=0x050d product=0x5055 devclass=0xff devsubclass=0xff sernum="" release=0x0001 intclass=0xff intsubclass=0xff at port=5 interface=0 > miibus0 > truephy0 pnpinfo oui=0xa0bc model=0x1 rev=0x4 at phyno=1 > > Hope this helps. FYI: Patch committed to HEAD(r206563). From owner-freebsd-usb@FreeBSD.ORG Fri Apr 16 00:05:28 2010 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 F35DD106566C for ; Fri, 16 Apr 2010 00:05:28 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id B2A138FC18 for ; Fri, 16 Apr 2010 00:05:28 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71) (envelope-from ) id 1O2Z3m-0003bx-H1 for freebsd-usb@FreeBSD.org; Fri, 16 Apr 2010 04:05:26 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 0CEBBB860 for ; Fri, 16 Apr 2010 04:05:26 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id E6737B829; Fri, 16 Apr 2010 04:05:25 +0400 (MSD) Date: Fri, 16 Apr 2010 04:05:25 +0400 From: Dmitry Marakasov To: freebsd-usb@FreeBSD.org Message-ID: <20100416000525.GD62449@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: usb camera attach failure 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, 16 Apr 2010 00:05:29 -0000 Hi! I have ASUS VK246H monitor with built-in webcam. This device, however, fails to attach: Apr 16 04:02:54 hades kernel: usb_alloc_device:1624: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT! Apr 16 04:02:56 hades kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT! Apr 16 04:02:58 hades kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT! Apr 16 04:02:58 hades kernel: ugen3.2: <(null)> at usbus3 (disconnected) Apr 16 04:02:58 hades kernel: uhub_reattach_port:435: could not allocate new device! Here's the verbose log: http://people.freebsd.org/~amdmi3/usb-attach.log The device attaches fine to linux though, and works fine there. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-usb@FreeBSD.ORG Fri Apr 16 06:52:54 2010 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 C3D961065675 for ; Fri, 16 Apr 2010 06:52:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 5724D8FC0C for ; Fri, 16 Apr 2010 06:52:53 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=IkcTkHD0fZMA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=Maao4AodKSYSdKzu4eYA:9 a=ECQQBSNEA8pGiDJJpXW3Jy6UUJkA:4 a=QEXdDO2ut3YA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1354321095; Fri, 16 Apr 2010 08:52:51 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 16 Apr 2010 08:50:33 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20100416000525.GD62449@hades.panopticon> In-Reply-To: <20100416000525.GD62449@hades.panopticon> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201004160850.33402.hselasky@c2i.net> Cc: Subject: Re: usb camera attach failure 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, 16 Apr 2010 06:52:54 -0000 On Friday 16 April 2010 02:05:25 Dmitry Marakasov wrote: > Hi! > > I have ASUS VK246H monitor with built-in webcam. This device, however, > fails to attach: > > Apr 16 04:02:54 hades kernel: usb_alloc_device:1624: getting device > descriptor at addr 2 failed, USB_ERR_TIMEOUT! Apr 16 04:02:56 hades > kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 > failed, USB_ERR_TIMEOUT! Apr 16 04:02:58 hades kernel: > usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, > USB_ERR_TIMEOUT! Apr 16 04:02:58 hades kernel: ugen3.2: <(null)> at usbus3 > (disconnected) Apr 16 04:02:58 hades kernel: uhub_reattach_port:435: could > not allocate new device! > > Here's the verbose log: > http://people.freebsd.org/~amdmi3/usb-attach.log > > The device attaches fine to linux though, and works fine there. > Hi, What version of FreeBSD are you running. You can try: sysctl hw.usb.ehci.no_hs=1 before attaching. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Apr 16 11:12:41 2010 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 EB1F3106564A for ; Fri, 16 Apr 2010 11:12:41 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id 67EF98FC0A for ; Fri, 16 Apr 2010 11:12:40 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71) (envelope-from ) id 1O2jTR-0007XB-RE; Fri, 16 Apr 2010 15:12:38 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 92106B860; Fri, 16 Apr 2010 15:12:36 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 7B572B829; Fri, 16 Apr 2010 15:12:36 +0400 (MSD) Date: Fri, 16 Apr 2010 15:12:36 +0400 From: Dmitry Marakasov To: Hans Petter Selasky Message-ID: <20100416111236.GF62449@hades.panopticon> References: <20100416000525.GD62449@hades.panopticon> <201004160850.33402.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201004160850.33402.hselasky@c2i.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-usb@freebsd.org Subject: Re: usb camera attach failure 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, 16 Apr 2010 11:12:42 -0000 * Hans Petter Selasky (hselasky@c2i.net) wrote: > What version of FreeBSD are you running. Sorry, 8-RELEASE. > You can try: > > sysctl hw.usb.ehci.no_hs=1 Doesn't help. In fact, the device doesn't attach to uhci either, and I've tried on 3 different machines. On Intel 82801BA/BAM (ICH2) USB controller USB-A as opposing to more newer ICHes, it says USB_ERR_STALLED instead of USB_ERR_TIMEOUT. On linux it attaches as Apr 16 15:03:46 nomad kernel: [ 194.224070] usb 1-2: new high speed USB device using ehci_hcd and address 4 Apr 16 15:03:46 nomad kernel: [ 194.421807] usb 1-2: New USB device found, idVendor=0c45, idProduct=6300 Apr 16 15:03:46 nomad kernel: [ 194.421815] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0 Apr 16 15:03:46 nomad kernel: [ 194.421821] usb 1-2: Product: ASUS USB2.0 Webcam Apr 16 15:03:46 nomad kernel: [ 194.421826] usb 1-2: Manufacturer: ASUSTeK Computer Inc. Apr 16 15:03:46 nomad kernel: [ 194.423687] usb 1-2: configuration #1 chosen from 1 choice Apr 16 15:03:46 nomad kernel: [ 194.425286] uvcvideo: Found UVC 1.00 device ASUS USB2.0 Webcam (0c45:6300) Apr 16 15:03:46 nomad kernel: [ 194.433875] input: ASUS USB2.0 Webcam as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/input/input10 -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-usb@FreeBSD.ORG Sat Apr 17 21:30:05 2010 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 6036A1065670 for ; Sat, 17 Apr 2010 21:30:04 +0000 (UTC) (envelope-from nekoexmachina@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id D55248FC08 for ; Sat, 17 Apr 2010 21:30:03 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so400601fge.13 for ; Sat, 17 Apr 2010 14:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=WyZXstuAHzGMyy5dAKcmlkMVniTyXwAu5TEwmmIEFtc=; b=A9o8nLdZOxJMvNjC2Lho+ivelwmv7nSYTxkDkJOW3wfv916R9/kCi1juJlIw9q35eP SnkHjU4aFDzAlDnDkgfLFw05ogFUMWUPabQ+CrV0emObRk3SH/w564vzkX7FfbHU8H0C h5cfu8CgJZk7+Ph33+MzDDN8f9jezDM82J0Ho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=DRurMDoKSTpNqycxSSEWQqy94gQxQKXHLiCK8bejA3olSvvv3Hukh7oPCjSMllwOSh 8++Kj1Wx/HSj7rjM7ANoKVY9vJII18RqpYb4tzvpaZnGostJxo9MnOn2I51zTzR/9vnr sPFnL/ReOlxlpQ+My4ZqI5gSzDUzvUyVi5qr0= Received: by 10.223.50.193 with SMTP id a1mr1617426fag.34.1271539801995; Sat, 17 Apr 2010 14:30:01 -0700 (PDT) Received: from localhost ([188.134.12.208]) by mx.google.com with ESMTPS id 22sm7013416fkr.59.2010.04.17.14.29.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Apr 2010 14:30:00 -0700 (PDT) Date: Sun, 18 Apr 2010 01:29:58 +0400 From: Mikle Krutov To: Hans Petter Selasky Message-ID: <20100417212958.GA1366@takino.homeftp.org> References: <201004102310.o3ANA2ZB096079@freefall.freebsd.org> <201004110845.55740.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201004110845.55740.hselasky@c2i.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-usb@freebsd.org Subject: Re: usb/145513: New USB stack: no new devices after forced usb flash detach 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, 17 Apr 2010 21:30:05 -0000 On Sun, Apr 11, 2010 at 08:45:55AM +0200, Hans Petter Selasky wrote: > On Sunday 11 April 2010 01:10:03 Mikle Krutov wrote: > > The following reply was made to PR usb/145513; it has been noted by GNATS. > > > > From: Mikle Krutov > > To: Hans Petter Selasky > > Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org > > Subject: Re: usb/145513: New USB stack: no new devices after forced usb > > flash detach > > Date: Sun, 11 Apr 2010 03:03:09 +0400 > > > > On Thu, Apr 08, 2010 at 07:29:43PM +0200, Hans Petter Selasky wrote: > > > On Thursday 08 April 2010 19:14:03 Mikle Krutov wrote: > > > > On Thu, Apr 08, 2010 at 01:52:50PM +0200, Hans Petter Selasky wrote: > > > > > Hi, > > > > > > > > > > That's because the UMASS detach is hanging, most likely. > > > > > > > > > > Try to break into the kernel and get a backtrace. > > > > > > > > > > --HPS > > > > > > > > Hi, > > > > I unfortunately could not find any info about how do i do this. Could > > > > you provide me some link? > > > > > > Add: > > > > > > options KDB # Enable kernel debugger > > > support. options DDB # Support DDB. > > > options GDB # Support remote GDB. > > > > > > When it hangs, enter this from the console: > > > > > > sysctl debug.kdb.panic=1 > > > > > > Type > > > > > > alltrace > > > > > > bt > > > > > > bt all > > > > > > or something similar. > > > > > > Type "continue" when you are finished. > > > > > > You can also use CTRL+ALT+ESC key combination. > > > > > > --HPS > > > > Sorry for no-response for such a long time, that was because after the > > kernel-update (i've fetched the latest sources before rebuilding with > > debug support) i could not reproduce that bug. Before kernel-update it > > has happened not every time, so i wanted to see what happends for a > > couple of days. > > > > Will you close this PR then if you cannot reproduce during the coming week? > > --HPS So, this can be marked as 'closed'. I've tried it a couple of times with different load, uptime, usb devices count, etc, no changes - it was fixed. As i understand, i can not close the bug, only the dev of fbsd can. Sorry for wasting your time. -- Wbr, Krutov Mikle