From owner-freebsd-usb@FreeBSD.ORG Sun Dec 7 02:17:59 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 508C920E for ; Sun, 7 Dec 2014 02:17:59 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38C7BECB for ; Sun, 7 Dec 2014 02:17:59 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB72HxGa049701 for ; Sun, 7 Dec 2014 02:17:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195745] usb to ps2 dongle USB_ERR_TIMEOUT Date: Sun, 07 Dec 2014 02:17:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rdunkle@smallcatbrain.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2014 02:17:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195745 --- Comment #2 from rdunkle@smallcatbrain.com --- I compiled ehci and xhci as modules. I was able to duplicate the usb disconnect after 6h:52m uptime. Dec 6 17:25:21 smp5 kernel: ukbd0: at uhub4, port 8, addr 3 (disconnected) Dec 6 17:25:21 smp5 kernel: ums0: at uhub4, port 8, addr 3 (disconnected) Dec 6 17:25:21 smp5 devd: Executing '/etc/rc.d/syscons setkeyboard /dev/kbd0' Dec 6 17:25:21 smp5 devd: Executing '/etc/rc.d/moused stop ums0' Dec 6 17:25:24 smp5 kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) Dec 6 17:25:30 smp5 kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT Dec 6 17:25:32 smp5 kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) Dec 6 17:25:38 smp5 kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT I did kldunload and kldload on ehci.ko The keyboard and mouse were then functioning again. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Sun Dec 7 03:50:34 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58A648E8 for ; Sun, 7 Dec 2014 03:50:34 +0000 (UTC) Received: from mail-vc0-x236.google.com (mail-vc0-x236.google.com [IPv6:2607:f8b0:400c:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E46FA1C for ; Sun, 7 Dec 2014 03:50:34 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id hq12so1318850vcb.41 for ; Sat, 06 Dec 2014 19:50:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2tS1aHcx9f2DFR/Vmcllm64mpHCr+zmf7ENUct8Db/U=; b=wyvjT8KMotYCQBIJjKy3nnWnJzq7xSTtDmspgr9UxjI8rkTFIGWI6lMmKTgsyk1IvK 6uFU3Y44HT+Cr38TwqM5Zss8An4NXBorP3ckRxDQSuEF0+9d9d1KgxDm+mRpXkFVlrxZ ziXM46rS7AxeepoVdHnj6ad18IWUgL3U1mK+fb6Q8TR5e+dJcrGJSU3FCGYQova/MYVg 7/KPoIC9YJFIBEL2RVsRxLDmQneUR6ZLGZwX/11FqTZel+yQPkHxccgapj5pkD7qAUeq Q4Vc3g28G+XhESsi3uFrAPnTs4+iYVGhAG/Dh/m9WZacJnyqaVEROIItKqZ2wGnnRL+m XTUQ== MIME-Version: 1.0 X-Received: by 10.52.166.102 with SMTP id zf6mr15340310vdb.25.1417924233066; Sat, 06 Dec 2014 19:50:33 -0800 (PST) Received: by 10.52.152.234 with HTTP; Sat, 6 Dec 2014 19:50:31 -0800 (PST) Date: Sun, 7 Dec 2014 10:50:31 +0700 Message-ID: Subject: u3g USB ID update From: Benediktus Anindito To: freebsd-usb@freebsd.org Content-Type: multipart/mixed; boundary=001a11c361dc3b125a05099836c8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2014 03:50:34 -0000 --001a11c361dc3b125a05099836c8 Content-Type: text/plain; charset=UTF-8 add more usb device support for some cheap flip-flop modems. i've tried it in 8-STABLE, 9-STABLE, 10-STABLE. it should be worked on CURRENT. --001a11c361dc3b125a05099836c8 Content-Type: text/x-patch; charset=US-ASCII; name="u3g.patch" Content-Disposition: attachment; filename="u3g.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i3dve0940 SW5kZXg6IHN5cy9kZXYvdXNiL3NlcmlhbC91M2cuYwo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvZGV2L3Vz Yi9zZXJpYWwvdTNnLmMJKHJldmlzaW9uIDI3NTU3NCkKKysrIHN5cy9kZXYvdXNiL3NlcmlhbC91 M2cuYwkod29ya2luZyBjb3B5KQpAQCAtMzk5LDcgKzM5OSwxMSBAQAogCVUzR19ERVYoUVVBTENP TU0yLCBWVzExMEwsIFUzR0lOSVRfU0NTSUVKRUNUKSwKIAlVM0dfREVWKFFVQUxDT01NMiwgR09C STIwMDBfUURMLCAwKSwKIAlVM0dfREVWKFFVQUxDT01NMiwgR09CSTIwMDAsIDApLAorCVUzR19E RVYoUVVBTENPTU0yLCBWVDgwTiwgMCksCisJVTNHX0RFVihRVUFMQ09NTTMsIFZGQVNUMiwgMCks CiAJVTNHX0RFVihRVUFMQ09NTUlOQywgQUMyNzI2LCAwKSwKKwlVM0dfREVWKFFVQUxDT01NSU5D LCBBQzY4Ml9JTklULCBVM0dJTklUX1NDU0lFSkVDVCksCisJVTNHX0RFVihRVUFMQ09NTUlOQywg QUM2ODIsIDApLAogCVUzR19ERVYoUVVBTENPTU1JTkMsIEFDODcwMCwgMCksCiAJVTNHX0RFVihR VUFMQ09NTUlOQywgQUM4NzEwLCAwKSwKIAlVM0dfREVWKFFVQUxDT01NSU5DLCBDRE1BX01TTSwg VTNHSU5JVF9TQ1NJRUpFQ1QpLApJbmRleDogc3lzL2Rldi91c2IvdXNiZGV2cwo9PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 Ci0tLSBzeXMvZGV2L3VzYi91c2JkZXZzCShyZXZpc2lvbiAyNzU1NzQpCisrKyBzeXMvZGV2L3Vz Yi91c2JkZXZzCSh3b3JraW5nIGNvcHkpCkBAIC02OTUsNiArNjk1LDcgQEAKIHZlbmRvciBFTFYJ CTB4MThlZglFTFYKIHZlbmRvciBMSU5LU1lTMwkJMHgxOTE1CUxpbmtzeXMKIHZlbmRvciBRVUFM Q09NTUlOQwkweDE5ZDIJUXVhbGNvbW0sIEluY29ycG9yYXRlZAordmVuZG9yIFFVQUxDT01NMwkw eDE5ZjUJUXVhbGNvbW0sIEluYy4KIHZlbmRvciBCQVlFUgkJMHgxYTc5CUJheWVyCiB2ZW5kb3Ig V0NIMgkJMHgxYTg2CVFpbkhlbmcgRWxlY3Ryb25pY3MKIHZlbmRvciBTVEVMRVJBCQkweDFhOGQJ U3RlbGVyYSBXaXJlbGVzcwpAQCAtMzU3Miw2ICszNTczLDggQEAKIHByb2R1Y3QgUVVBTENPTU0y IFNJTTUyMTgJMHg5MDAwCVNJTTUyMTgKIHByb2R1Y3QgUVVBTENPTU0yIEdPQkkyMDAwX1FETAkw eDkyMDQJUXVhbGNvbW0gR29iaSAyMDAwIFFETAogcHJvZHVjdCBRVUFMQ09NTTIgR09CSTIwMDAJ MHg5MjA1CVF1YWxjb21tIEdvYmkgMjAwMCBtb2RlbQorcHJvZHVjdCBRVUFMQ09NTTIgVlQ4ME4J CTB4NjUwMAlWZW51cyBWVDgwTgorcHJvZHVjdCBRVUFMQ09NTTMgVkZBU1QyCTB4OTkwOQlWZW51 cyBGYXN0MiBtb2RlbQogcHJvZHVjdCBRVUFMQ09NTUlOQyBDRE1BX01TTQkweDAwMDEJQ0RNQSBU ZWNobm9sb2dpZXMgTVNNIG1vZGVtCiBwcm9kdWN0IFFVQUxDT01NSU5DIEUwMDAyCTB4MDAwMgkz RyBtb2RlbQogcHJvZHVjdCBRVUFMQ09NTUlOQyBFMDAwMwkweDAwMDMJM0cgbW9kZW0KQEAgLTM2 NDYsNiArMzY0OSw4IEBACiBwcm9kdWN0IFFVQUxDT01NSU5DIFpURV9TVE9SCTB4MjAwMAlVU0Ig WlRFIFN0b3JhZ2UKIHByb2R1Y3QgUVVBTENPTU1JTkMgRTIwMDIJMHgyMDAyCTNHIG1vZGVtCiBw cm9kdWN0IFFVQUxDT01NSU5DIEUyMDAzCTB4MjAwMwkzRyBtb2RlbQorcHJvZHVjdCBRVUFMQ09N TUlOQyBBQzY4MgkweGZmZGQJQ0RNQSAxeEVWRE8gVVNCIG1vZGVtCitwcm9kdWN0IFFVQUxDT01N SU5DIEFDNjgyX0lOSVQJMHhmZmRlCUNETUEgMXhFVkRPIFVTQiBtb2RlbSAoaW5pdGlhbCkKIHBy b2R1Y3QgUVVBTENPTU1JTkMgQUM4NzEwCTB4ZmZmMQkzRyBtb2RlbQogcHJvZHVjdCBRVUFMQ09N TUlOQyBBQzI3MjYJMHhmZmY1CTNHIG1vZGVtCiBwcm9kdWN0IFFVQUxDT01NSU5DIEFDODcwMAkw eGZmZmUJQ0RNQSAxeEVWRE8gVVNCIG1vZGVtCg== --001a11c361dc3b125a05099836c8-- From owner-freebsd-usb@FreeBSD.ORG Sun Dec 7 22:59:10 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DBAC97A for ; Sun, 7 Dec 2014 22:59:10 +0000 (UTC) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id 50F82F09 for ; Sun, 7 Dec 2014 22:59:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id C60885EB23 for ; Sun, 7 Dec 2014 23:52:19 +0100 (CET) Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cIsa-LmqUInq for ; Sun, 7 Dec 2014 23:52:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 35F7F5EB20 for ; Sun, 7 Dec 2014 23:52:16 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 galore.getmail.no 35F7F5EB20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1417992736; bh=sAPTNsfsDeEf1hbQCvl4vvXZhdETMSDQJzhsDMFwKMw=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=wkwbF7F19eOMgZ0Icnffo10ZV+KkAAj/f4uuG2GemujopaHzi1JBpTu4Vzw2jlfV0 qKUzuJHx4BzSRgWbKgWdD95C3Zs+FfDHMjXIYhH7H2Yv5bWVuDByn6D34GfCCzfY5A 7I5/bdJ+9TcxQEruPEwQTokC2nuFyfe6tE+ipb+M= X-Virus-Scanned: amavisd-new at galore.get.c.bitbit.net Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vTron-LBejlU for ; Sun, 7 Dec 2014 23:52:16 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by galore.getmail.no (Postfix) with ESMTPSA id 155A45EB1E for ; Sun, 7 Dec 2014 23:52:16 +0100 (CET) Date: Sun, 7 Dec 2014 23:52:13 +0100 From: Torfinn Ingolfsen To: freebsd-usb@FreeBSD.org Subject: Is writing usb devices as files (via /dev/ugen*) supported in FreeBSD? Message-Id: <20141207235213.059d82613b8ca0fa0f14b78e@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2014 22:59:10 -0000 Hello, Question: is writing to the device file (/dev/ugenX) with normal file calls supposed to work in FreeBSD? (as in "everything is a file" in unix-like operating systems) Background: I recently got a usb label printer for cheap: a Dymo LabelManager PnP[1]. I found the dymoprint[2] Python script, which works fairly well on Linux. It works (AFAICT) by reading / writing the usb device as a regular file, via the device file. You have to use usb_modeswitch[3] on the printer first, of course. Since we have all tools available on FreeBSD, I tried the setup on my FreeBSD workstation, which currently runs FreeBSD 9.3-stable: tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 The detection code in the dymoprint script doesn't work on FreeBSD, but setting the correct device via DEV_NODE in the script works: tingo@kg-core1$ grep ^DEV_NODE dymoprint2 DEV_NODE = "/dev/ugen3.4" But when I run the script I just get an IO error: root@kg-core1# python dymoprint2 test Traceback (most recent call last): File "dymoprint2", line 313, in main() File "dymoprint2", line 309, in main lm.printLabel(labelmatrix, dottab) File "dymoprint2", line 183, in printLabel response = self.sendCommand() File "dymoprint2", line 80, in sendCommand responseBin = self.dev.read(8) IOError: [Errno 5] Input/output error References: 1) http://global.dymo.com/ieIE/Products/LabelManager_PnP.html 2) http://sbronner.com/dymoprint/ 3) http://www.draisberghof.de/usb_modeswitch/ -- Torfinn Ingolfsen From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 01:28:03 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A0A9E9A for ; Mon, 8 Dec 2014 01:28:03 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0545E57 for ; Mon, 8 Dec 2014 01:28:02 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB81S2N5061382 for ; Mon, 8 Dec 2014 01:28:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] New: USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 01:28:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: quaker66@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 01:28:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 Bug ID: 195793 Summary: USB 3.0 support on Intel H97 chipset Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: quaker66@gmail.com It seems that the xhci drive is missing PCI IDs for the H97 chipset (haswell refresh), limiting the USB 3.0 ports to USB 2.0 speed (ehci is used as a fallback). This is my output from usbconfig: q66@butts: /home/q66$ usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.3: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.4: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA) ugen2.5: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) ugen2.6: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.7: at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen2.8: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (30mA) The last item is an USB 3.0 external hard drive, being limited to 480 Mbps (yes, it's plugged into an USB 3.0 port) Here's my output from pciconf -l -v: q66@butts: /home/q66$ pciconf -l -v hostb0@pci0:0:0:0: class=0x060000 card=0x85341043 chip=0x0c008086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' device = 'Haswell DRAM Controller' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x85341043 chip=0x0c018086 rev=0x06 hdr=0x01 vendor = 'Intel Corporation' device = 'Haswell PCI Express x16 Controller' class = bridge subclass = PCI-PCI xhci0@pci0:0:20:0: class=0x0c0330 card=0x85341043 chip=0x8cb18086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB none0@pci0:0:22:0: class=0x078000 card=0x85341043 chip=0x8cba8086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = simple comms em0@pci0:0:25:0: class=0x020000 card=0x85c41043 chip=0x15a18086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet ehci0@pci0:0:26:0: class=0x0c0320 card=0x85341043 chip=0x8cad8086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB hdac1@pci0:0:27:0: class=0x040300 card=0x863f1043 chip=0x8ca08086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = multimedia subclass = HDA ehci1@pci0:0:29:0: class=0x0c0320 card=0x85341043 chip=0x8ca68086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB isab0@pci0:0:31:0: class=0x060100 card=0x85341043 chip=0x8cc68086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = PCI-ISA ahci0@pci0:0:31:2: class=0x010601 card=0x85341043 chip=0x8c828086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = mass storage subclass = SATA none1@pci0:0:31:3: class=0x0c0500 card=0x85341043 chip=0x8ca28086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = SMBus vgapci0@pci0:1:0:0: class=0x030000 card=0x13c21569 chip=0x13c210de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = display subclass = VGA hdac0@pci0:1:0:1: class=0x040300 card=0x13c21569 chip=0x0fbb10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = multimedia subclass = HDA Let me know if any more information is needed. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 01:28:47 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ECA1AED0 for ; Mon, 8 Dec 2014 01:28:47 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D57C4E5C for ; Mon, 8 Dec 2014 01:28:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB81SlZd061763 for ; Mon, 8 Dec 2014 01:28:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 01:28:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: quaker66@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: rep_platform Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 01:28:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 Daniel Kolesa changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|Any |amd64 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 06:50:17 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 502A1522 for ; Mon, 8 Dec 2014 06:50:17 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10B7CF78 for ; Mon, 8 Dec 2014 06:50:16 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id EC07A1FE023; Mon, 8 Dec 2014 07:50:07 +0100 (CET) Message-ID: <54854A3F.1090807@selasky.org> Date: Mon, 08 Dec 2014 07:50:39 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Torfinn Ingolfsen , freebsd-usb@FreeBSD.org Subject: Re: Is writing usb devices as files (via /dev/ugen*) supported in FreeBSD? References: <20141207235213.059d82613b8ca0fa0f14b78e@getmail.no> In-Reply-To: <20141207235213.059d82613b8ca0fa0f14b78e@getmail.no> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 06:50:17 -0000 On 12/07/14 23:52, Torfinn Ingolfsen wrote: > Hello, > Question: is writing to the device file (/dev/ugenX) with normal file calls supposed to work in FreeBSD? > (as in "everything is a file" in unix-like operating systems) > > Background: I recently got a usb label printer for cheap: a Dymo LabelManager PnP[1]. I found the dymoprint[2] Python script, which works fairly well on Linux. > It works (AFAICT) by reading / writing the usb device as a regular file, via the device file. > You have to use usb_modeswitch[3] on the printer first, of course. Hi, /dev/ugenX is not a stream. You should either consider using libusb or /dev/ulptX . If it is supposed to work with those devices, you should postfix the endpoint number: /dev/usb/3.4.z --HPS > > Since we have all tools available on FreeBSD, I tried the setup on my FreeBSD workstation, which currently runs FreeBSD 9.3-stable: > tingo@kg-core1$ uname -a > FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > > The detection code in the dymoprint script doesn't work on FreeBSD, but setting the correct device via DEV_NODE in the script works: > tingo@kg-core1$ grep ^DEV_NODE dymoprint2 > DEV_NODE = "/dev/ugen3.4" > > But when I run the script I just get an IO error: > root@kg-core1# python dymoprint2 test > Traceback (most recent call last): > File "dymoprint2", line 313, in > main() > File "dymoprint2", line 309, in main > lm.printLabel(labelmatrix, dottab) > File "dymoprint2", line 183, in printLabel > response = self.sendCommand() > File "dymoprint2", line 80, in sendCommand > responseBin = self.dev.read(8) > IOError: [Errno 5] Input/output error > > > References: > 1) http://global.dymo.com/ieIE/Products/LabelManager_PnP.html > 2) http://sbronner.com/dymoprint/ > 3) http://www.draisberghof.de/usb_modeswitch/ > From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 10:41:55 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69B36254 for ; Mon, 8 Dec 2014 10:41:55 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51B35E2C for ; Mon, 8 Dec 2014 10:41:55 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8AftB0080732 for ; Mon, 8 Dec 2014 10:41:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 178771] [usbdevs] [patch] Western Digital My Passport HD Date: Mon, 08 Dec 2014 10:41:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 10:41:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178771 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed CC| |hselasky@FreeBSD.org Resolution|--- |DUPLICATE --- Comment #6 from Hans Petter Selasky --- *** This bug has been marked as a duplicate of bug 180617 *** -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 10:41:56 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D37FE257 for ; Mon, 8 Dec 2014 10:41:56 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB306E2F for ; Mon, 8 Dec 2014 10:41:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8Afun7080752 for ; Mon, 8 Dec 2014 10:41:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Mon, 08 Dec 2014 10:41:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 10:41:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tim.matthews7@gmail.com --- Comment #1 from Hans Petter Selasky --- *** Bug 178771 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 10:42:35 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD3472B9 for ; Mon, 8 Dec 2014 10:42:35 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4D79E3C for ; Mon, 8 Dec 2014 10:42:35 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8AgZMS082600 for ; Mon, 8 Dec 2014 10:42:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Mon, 08 Dec 2014 10:42:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 10:42:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Mon Dec 8 10:41:35 UTC 2014 New revision: 275605 URL: https://svnweb.freebsd.org/changeset/base/275605 Log: Add more USB quirks for Western Digital external USB HDD enclosures. Rename an incorrectly named device. Increase limit for maximum number of quirks. PR: 178771, 180617 MFC after: 2 weeks Changes: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 10:42:37 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 699602BB for ; Mon, 8 Dec 2014 10:42:37 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5206CE3E for ; Mon, 8 Dec 2014 10:42:37 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8AgbcV082622 for ; Mon, 8 Dec 2014 10:42:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 178771] [usbdevs] [patch] Western Digital My Passport HD Date: Mon, 08 Dec 2014 10:42:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 10:42:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178771 --- Comment #7 from Hans Petter Selasky --- Quirk has been added to 11-current. Please let me know if it doesn't work still. --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 10:50:20 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27B445BF for ; Mon, 8 Dec 2014 10:50:20 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0008E8D for ; Mon, 8 Dec 2014 10:50:19 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E7A5C1FE023; Mon, 8 Dec 2014 11:50:17 +0100 (CET) Message-ID: <54858289.2040606@selasky.org> Date: Mon, 08 Dec 2014 11:50:49 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Benediktus Anindito , freebsd-usb@freebsd.org Subject: Re: u3g USB ID update References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 10:50:20 -0000 On 12/07/14 04:50, Benediktus Anindito wrote: > add more usb device support for some cheap flip-flop modems. i've tried it > in 8-STABLE, 9-STABLE, 10-STABLE. it should be worked on CURRENT. > Hi, Thank you for supporting FreeBSD: https://svnweb.freebsd.org/changeset/base/275606 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 10:51:27 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A75560F for ; Mon, 8 Dec 2014 10:51:27 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 52201F29 for ; Mon, 8 Dec 2014 10:51:27 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8ApRh4096353 for ; Mon, 8 Dec 2014 10:51:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Mon, 08 Dec 2014 10:51:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 10:51:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #3 from Hans Petter Selasky --- Can you test and verify the submitted patch? --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 10:55:02 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18CB9685 for ; Mon, 8 Dec 2014 10:55:02 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00BC2F51 for ; Mon, 8 Dec 2014 10:55:02 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8At1bW023181 for ; Mon, 8 Dec 2014 10:55:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 10:55:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 10:55:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |hselasky@FreeBSD.org --- Comment #1 from Hans Petter Selasky --- Hi, I'm not sure about Haswell, but Panther point chipsets has a propritary USB extension to switch on/off USB 3.0 support. Look for: /* On Intel chipsets reroute ports from EHCI to XHCI controller. */ switch (pci_get_devid(self)) { case 0x0f358086: /* BayTrail */ case 0x9c318086: /* Panther Point */ case 0x1e318086: /* Panther Point */ case 0x8c318086: /* Lynx Point */ sc->sc_port_route = &xhci_pci_port_route; sc->sc_imod_default = XHCI_IMOD_DEFAULT_LP; break; default: break; } In: sys/dev/usb/controller/xhci_pci.c Maybe you need to add your HASWELL XHCI ID's there! --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 11:16:57 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11E76CE4 for ; Mon, 8 Dec 2014 11:16:57 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEEA01EE for ; Mon, 8 Dec 2014 11:16:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8BGumI007816 for ; Mon, 8 Dec 2014 11:16:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 11:16:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: quaker66@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 11:16:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 --- Comment #2 from Daniel Kolesa --- I will try, thanks for the hint. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 17:25:42 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBFA650A for ; Mon, 8 Dec 2014 17:25:41 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C3F2422E for ; Mon, 8 Dec 2014 17:25:41 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8HPfhH025793 for ; Mon, 8 Dec 2014 17:25:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195811] New: Problem with axge driver for AX88179 Date: Mon, 08 Dec 2014 17:25:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jseidel@unixsystem.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 17:25:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195811 Bug ID: 195811 Summary: Problem with axge driver for AX88179 Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: jseidel@unixsystem.org All, I am having an issue with the axge driver on 10.1-RELEASE, it was working perfectly fine with 10.0-STABLE and since the upgrade it will work fine for awhile then its like the device just turns off. The only way to fix it is to either reboot of unplug the usb ethernet adapter and plug it back in. I've tried it both as a module and building the driver into the kernel as well. Same results. This is from the messages log. Dec 8 03:06:48 nuc kernel: <6<6>newnfs>n server ewnfs server 192.11692ne.w168.1 n0n.2f:s se/rMuvletri m1e9d2i.a16:8 .10n.o2t: /rMesupolndtiinmged Dec 8 03:06:48 nuc kernel: i8e Dec 8 03:06:48 nuc kernel: Dec 8 03:06:48 nuc kernel: <<66>>wn.1fs0 .se2r:v/eMurlt im1e9d2.i1a6:8 .no1t0 . 2:/reMsultim Dec 8 03:06:48 nuc kernel: epdionad:i ngnot r Dec 8 03:06:48 nuc kernel: e Dec 8 03:06:48 nuc kernel: sp<6>a: not respondoinng Dec 8 03:06:48 nuc kernel: d Dec 8 03:06:48 nuc kernel: ing Dec 8 03:07:22 nuc kernel: ue0: link state changed to DOWN Dec 8 03:13:39 nuc kernel: ugen0.2: at usbus0 (disconnected) Dec 8 03:13:40 nuc kernel: axge0: at uhub0, port 12, addr 2 (disconnected) Dec 8 03:13:40 nuc kernel: rgephy0: detached Dec 8 03:13:40 nuc kernel: miibus0: detached Dec 8 03:13:43 nuc kernel: ugen0.2: at usbus0 Dec 8 03:13:43 nuc kernel: axge0: on usbus0 Dec 8 03:13:43 nuc kernel: axge0: on usbus0 Dec 8 03:13:44 nuc kernel: miibus0: on axge0 Dec 8 03:13:44 nuc kernel: rgephy0: PHY 3 on miibus0 Dec 8 03:13:44 nuc kernel: rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow Dec 8 03:13:44 nuc kernel: ue0: on axge0 Dec 8 03:13:44 nuc kernel: ue0: Ethernet address: 8c:ae:4c:fd:2b:25 Dec 8 03:13:44 nuc devd: Executing '/etc/pccard_ether ue0 start' Dec 8 03:13:44 nuc kernel: ue0: link state changed to DOWN Dec 8 03:13:49 nuc kernel: ue0: link state changed to UP Dec 8 03:13:49 nuc devd: Executing '/etc/rc.d/dhclient quietstart ue0' Dec 8 03:13:52 nuc kernel: ue0: link state changed to DOWN Dec 8 03:13:56 nuc kernel: ue0: link state changed to UP Dec 8 03:13:56 nuc devd: Executing '/etc/rc.d/dhclient quietstart ue0' Dec 8 03:14:02 nuc kernel: newnfs server 192.168.10.2:/Multimedia: is alive again Here is the usbconfig: ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (124mA) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 17:27:00 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30F4A587 for ; Mon, 8 Dec 2014 17:27:00 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19A7B253 for ; Mon, 8 Dec 2014 17:27:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8HQxEp027485 for ; Mon, 8 Dec 2014 17:26:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195811] Problem with axge driver for AX88179 Date: Mon, 08 Dec 2014 17:27:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jseidel@unixsystem.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 17:27:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195811 --- Comment #1 from jseidel@unixsystem.org --- at Dec 8 03:13:39 is when I unplug the device to get it working again. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 18:31:42 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A75D1E0E for ; Mon, 8 Dec 2014 18:31:42 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7507CCFF for ; Mon, 8 Dec 2014 18:31:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8IVgln036247 for ; Mon, 8 Dec 2014 18:31:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 18:31:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: quaker66@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 18:31:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 --- Comment #3 from Daniel Kolesa --- Thank you, that did it :) Output from usbconfig now: q66@butts: /home/q66$ usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA) ugen0.4: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) ugen0.5: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.6: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen0.7: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.8: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.9: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA) Tested the transfer speed to the external HDD and it's USB 3.0 level. Here is the patch: q66@butts: /usr/src$ svn diff Index: sys/dev/usb/controller/xhci_pci.c =================================================================== --- sys/dev/usb/controller/xhci_pci.c (revision 275587) +++ sys/dev/usb/controller/xhci_pci.c (working copy) @@ -252,6 +252,7 @@ case 0x9c318086: /* Panther Point */ case 0x1e318086: /* Panther Point */ case 0x8c318086: /* Lynx Point */ + case 0x8cb18086: /* Wildcat Point */ sc->sc_port_route = &xhci_pci_port_route; sc->sc_imod_default = XHCI_IMOD_DEFAULT_LP; break; Apparently the Wildcat Point PCI IDs were already added in r275101, but the rerouting wasn't; so I only had to add that one line. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 18:50:37 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87622270 for ; Mon, 8 Dec 2014 18:50:37 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FA6AEEC for ; Mon, 8 Dec 2014 18:50:37 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8IobFj075420 for ; Mon, 8 Dec 2014 18:50:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 179376] xhci ehci irq storm Date: Mon, 08 Dec 2014 18:50:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: never@nevermind.kiev.ua X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 18:50:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179376 never@nevermind.kiev.ua changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |never@nevermind.kiev.ua --- Comment #8 from never@nevermind.kiev.ua --- Same thing with ehci on 9.3-STABLE r268744 amd64... -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 18:53:12 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6FE92D5 for ; Mon, 8 Dec 2014 18:53:12 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F34AF9B for ; Mon, 8 Dec 2014 18:53:12 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8IrC52004125 for ; Mon, 8 Dec 2014 18:53:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 179376] xhci ehci irq storm Date: Mon, 08 Dec 2014 18:53:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: never@nevermind.kiev.ua X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 18:53:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179376 --- Comment #9 from never@nevermind.kiev.ua --- $ vmstat -i interrupt total rate irq1: atkbd0 96 0 irq16: ehci0 9991659232 137244 irq19: fwohci0 2 0 irq23: ehci1 199764 2 cpu0:timer 19646164 269 irq265: em0 4769531 65 irq266: hdac0 89 0 irq267: ahci0 26887191 369 irq268: ahci1 14763358 202 cpu1:timer 19904264 273 cpu4:timer 20021623 275 cpu2:timer 13360164 183 cpu7:timer 18135949 249 cpu3:timer 50290351 690 cpu5:timer 19567099 268 cpu6:timer 20678535 284 Total 10219883412 140379 Dec 8 20:52:37 bafik kernel: ehci_timeout: xfer=0xffffff80053af148 Dec 8 20:52:37 bafik kernel: ehci_start_dma_delay: Dec 8 20:52:37 bafik kernel: ehci_start_dma_delay_second: Dec 8 20:52:37 bafik kernel: ehci_set_hw_power: Dec 8 20:52:37 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:37 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:40 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:44 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:48 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Periodic is active Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Async is active Dec 8 20:52:52 bafik kernel: ehci_set_hw_power: Periodic is active -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 21:14:26 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD44F71A for ; Mon, 8 Dec 2014 21:14:26 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C4F89BE for ; Mon, 8 Dec 2014 21:14:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8LEQN6059386 for ; Mon, 8 Dec 2014 21:14:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 21:14:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 21:14:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 21:14:36 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EDACA749 for ; Mon, 8 Dec 2014 21:14:36 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5686C5 for ; Mon, 8 Dec 2014 21:14:36 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8LEaWh059532 for ; Mon, 8 Dec 2014 21:14:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 21:14:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 21:14:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Mon Dec 8 21:14:14 UTC 2014 New revision: 275624 URL: https://svnweb.freebsd.org/changeset/base/275624 Log: Add port routing support for Wildcat Point. PR: 195793 MFC after: 1 week Changes: head/sys/dev/usb/controller/xhci_pci.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 21:15:18 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3AC0793 for ; Mon, 8 Dec 2014 21:15:18 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB9C9CF for ; Mon, 8 Dec 2014 21:15:18 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8LFI1N060328 for ; Mon, 8 Dec 2014 21:15:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 21:15:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 21:15:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 --- Comment #5 from Hans Petter Selasky --- Can you verify the commit above? BTW: What USB3.0 speeds are you seeing with your disk? --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 21:19:36 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C9BB9D6 for ; Mon, 8 Dec 2014 21:19:36 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24B4210E for ; Mon, 8 Dec 2014 21:19:36 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8LJaWX064057 for ; Mon, 8 Dec 2014 21:19:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 179376] xhci ehci irq storm Date: Mon, 08 Dec 2014 21:19:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 21:19:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179376 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #10 from Hans Petter Selasky --- Hi, If you set hw.usb.ehci.debug=16 and it doesn't print a real interrupt has occurred, then it is most likely not the EHCI which is generating those interrupts. I guess something is broken in the PCI/ACPI IRQ interaction with the kernel, like how the interrupt is configured. --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 8 21:37:07 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 695B028A for ; Mon, 8 Dec 2014 21:37:07 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51033346 for ; Mon, 8 Dec 2014 21:37:07 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8Lb7RJ015156 for ; Mon, 8 Dec 2014 21:37:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195793] USB 3.0 support on Intel H97 chipset Date: Mon, 08 Dec 2014 21:37:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: quaker66@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 21:37:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195793 --- Comment #6 from Daniel Kolesa --- Well, the commit is identical to my patch, so there's nothing to confirm... I'm running a kernel with that applied right now. As for the speeds, I'm seeing around 35-40MB/s write (that is with NTFS-3G). When reading a file, it's around 230MB/s on average. That kind of speed would obviously not be reachable over USB 2.0. This is on a 5400RPM 2.5" drive (as you can see from the usbconfig output, Samsung M3 Portable). -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Dec 9 20:07:56 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF8A08DA for ; Tue, 9 Dec 2014 20:07:56 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id A1B41CEB for ; Tue, 9 Dec 2014 20:07:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 33FE8C502C for ; Tue, 9 Dec 2014 21:00:49 +0100 (CET) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ATCgLKhDrNPu for ; Tue, 9 Dec 2014 21:00:45 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 4810EC4FB3 for ; Tue, 9 Dec 2014 21:00:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no 4810EC4FB3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1418155245; bh=46pSVNzfzudtkvYaDwo7UgzySYk3A+tElYg4Z3LKIrM=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=DBxqkRFERRSryk71HY1p9hUXzPyRQ2N9zwoCuiPFWULDC9ljFPoYfeiX4CWMj69Lc lkIkpC75yFDBuwuZBOKOUcysMXiVkyici59HAQRxsVpAjO7irkmW7MZgWPxLsa79gW ccoSVM9O8P4Kuxu2m1hUdY7AW3vz1ktSFyi+RFrM= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id C98-WTVEXBrB for ; Tue, 9 Dec 2014 21:00:45 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by lamora.getmail.no (Postfix) with ESMTPSA id 1648FC502B for ; Tue, 9 Dec 2014 21:00:45 +0100 (CET) Date: Tue, 9 Dec 2014 21:00:42 +0100 From: Torfinn Ingolfsen To: freebsd-usb@FreeBSD.org Subject: Re: Is writing usb devices as files (via /dev/ugen*) supported in FreeBSD? Message-Id: <20141209210042.42b8cc4ad0673cab484345b9@getmail.no> In-Reply-To: <54854A3F.1090807@selasky.org> References: <20141207235213.059d82613b8ca0fa0f14b78e@getmail.no> <54854A3F.1090807@selasky.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 20:07:57 -0000 On Mon, 08 Dec 2014 07:50:39 +0100 Hans Petter Selasky wrote: > > /dev/ugenX is not a stream. You should either consider using libusb or > /dev/ulptX . > You are right (of course). Sorry about the brainfart. I changed the device in the script: root@kg-core1# grep ^DEV_NODE dymoprint2 DEV_NODE = "/dev/ulpt0" and now it works: root@kg-core1# python dymoprint2 "4port USB2.0 hub" "38-5663" [96, 0, 18, 100, 13, 220, 0, 0] (Tes, I get the printout too) Thanks for the hint! -- Torfinn Ingolfsen From owner-freebsd-usb@FreeBSD.ORG Sat Dec 13 06:06:16 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CD126550 for ; Sat, 13 Dec 2014 06:06:16 +0000 (UTC) Received: from mail.united-ware.com (mail.united-ware.com [66.11.3.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.united-ware.com", Issuer "*.united-ware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 76BA5CAA for ; Sat, 13 Dec 2014 06:06:16 +0000 (UTC) Received: from bigguy.am-productions.biz (75-23-197-233.lightspeed.wotnoh.sbcglobal.net [75.23.197.233]) (authenticated bits=0) by mail.united-ware.com (8.14.7/8.14.7) with ESMTP id sBD5hbi6035747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 13 Dec 2014 00:43:38 -0500 (EST) (envelope-from amistry@am-productions.biz) From: Anish Mistry To: freebsd-usb@freebsd.org Subject: urndis and umodem device collision for ue device Date: Sat, 13 Dec 2014 00:43:41 -0500 Message-ID: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RELEASE; KDE/4.14.2; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 06:06:16 -0000 I have a HP Pre3 (webos) which when switched into USB tethering mode with freetether exposes a RNDIS Ethernet Device. This should simply appear as ue0 and off to the races. Unfortunately it attached via umodem due to the usb.conf/devd usb_autoconf scripts and a device class overlap with if_urndis. After commenting out those manual attach lines for umodem and kldload if_urndis the device still didn't attach. After going into if_rndis.c and enabling the "umodem" conflict section on line ifrndis.c:173 (I'm running 10.1) and recompling the kernel module the device appears and functions, I'm using it to post this. How to I make this permenant (create a quirk?) so I don't have to hack usb.conf and if_rndis.c each time I upgrade? Thanks, ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0830 idProduct = 0x8056 bcdDevice = 0x0326 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <0123456789ABCDEF> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0079 bNumInterfaces = 0x0004 bConfigurationValue = 0x0005 iConfiguration = 0x0004 bmAttributes = 0x00c0 bMaxPower = 0x00fa Additional Descriptor bLength = 0x08 bDescriptorType = 0x0b bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x08, 0x0b, 0x00, 0x02, 0x02, 0x06, 0x00, 0x07 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0002 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x00ff iInterface = 0x0005 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x05, 0x24, 0x00, 0x10, 0x01 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x05, 0x24, 0x01, 0x00, 0x01 Additional Descriptor bLength = 0x04 bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x04, 0x24, 0x02, 0x00 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x05, 0x24, 0x06, 0x00, 0x01 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0009 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0006 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 2 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 3 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0003 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x0047 bInterfaceProtocol = 0x0011 iInterface = 0x0008 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0003 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 -- Anish Mistry From owner-freebsd-usb@FreeBSD.ORG Sat Dec 13 10:22:03 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B688A22A for ; Sat, 13 Dec 2014 10:22:03 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7559D6F1 for ; Sat, 13 Dec 2014 10:22:02 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id BD4051FE022; Sat, 13 Dec 2014 11:21:52 +0100 (CET) Message-ID: <548C1361.6050304@selasky.org> Date: Sat, 13 Dec 2014 11:22:25 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Anish Mistry , freebsd-usb@freebsd.org Subject: Re: urndis and umodem device collision for ue device References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> In-Reply-To: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 10:22:03 -0000 On 12/13/14 06:43, Anish Mistry wrote: > I have a HP Pre3 (webos) which when switched into USB tethering mode with > freetether exposes a RNDIS Ethernet Device. This should simply appear as ue0 > and off to the races. Unfortunately it attached via umodem due to the > usb.conf/devd usb_autoconf scripts and a device class overlap with if_urndis. > After commenting out those manual attach lines for umodem and kldload > if_urndis the device still didn't attach. After going into if_rndis.c and > enabling the "umodem" conflict section on line ifrndis.c:173 (I'm running > 10.1) and recompling the kernel module the device appears and > functions, I'm using it to post this. > How to I make this permenant (create a quirk?) so I don't have to hack > usb.conf and if_rndis.c each time I upgrade? > > Thanks, > Could you send the complete patch you are using? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Dec 13 15:54:57 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C6B17A9 for ; Sat, 13 Dec 2014 15:54:57 +0000 (UTC) Received: from mail.united-ware.com (mail.united-ware.com [66.11.3.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.united-ware.com", Issuer "*.united-ware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C310D7B3 for ; Sat, 13 Dec 2014 15:54:56 +0000 (UTC) Received: from bigguy.am-productions.biz (75-23-197-233.lightspeed.wotnoh.sbcglobal.net [75.23.197.233]) (authenticated bits=0) by mail.united-ware.com (8.14.7/8.14.7) with ESMTP id sBDFsijw058720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 Dec 2014 10:54:45 -0500 (EST) (envelope-from amistry@am-productions.biz) From: Anish Mistry To: Hans Petter Selasky Subject: Re: urndis and umodem device collision for ue device Date: Sat, 13 Dec 2014 10:54:48 -0500 Message-ID: <1993304.2n7h1o4Guv@bigguy.am-productions.biz> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RELEASE; KDE/4.14.2; amd64; ; ) In-Reply-To: <548C1361.6050304@selasky.org> References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <548C1361.6050304@selasky.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart3625215.xXHlxubTSN" Content-Transfer-Encoding: 7Bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 15:54:57 -0000 This is a multi-part message in MIME format. --nextPart3625215.xXHlxubTSN Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Patches attached. This only work if umodem is not already loaded, otherwise it will grab the device. On Saturday, December 13, 2014 11:22:25 AM you wrote: > On 12/13/14 06:43, Anish Mistry wrote: > > I have a HP Pre3 (webos) which when switched into USB tethering mode with > > > > freetether exposes a RNDIS Ethernet Device. This should simply appear as > > ue0 and off to the races. Unfortunately it attached via umodem due to > > the usb.conf/devd usb_autoconf scripts and a device class overlap with > > if_urndis. After commenting out those manual attach lines for umodem and > > kldload if_urndis the device still didn't attach. After going into > > if_rndis.c and enabling the "umodem" conflict section on line > > ifrndis.c:173 (I'm running 10.1) and recompling the kernel module the > > device appears and > > functions, I'm using it to post this. > > > > How to I make this permenant (create a quirk?) so I don't have to hack > > > > usb.conf and if_rndis.c each time I upgrade? > > > > Thanks, > > Could you send the complete patch you are using? > > --HPS -- Anish Mistry --nextPart3625215.xXHlxubTSN Content-Disposition: attachment; filename="if_urndis.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="ISO-8859-1"; name="if_urndis.patch" --- sys/dev/usb/net/if_urndis.c.orig 2014-12-13 10:20:50.000000000 -0500 +++ sys/dev/usb/net/if_urndis.c 2014-12-13 10:21:19.000000000 -0500 @@ -170,7 +170,7 @@ }; static const STRUCT_USB_HOST_ID urndis_host_devs[] = { -#if 0 +#if 1 /* XXX this entry has a conflict an entry the umodem driver XXX */ {USB_IFACE_CLASS(UICLASS_CDC), USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL), USB_IFACE_PROTOCOL(0xff)}, --nextPart3625215.xXHlxubTSN Content-Disposition: attachment; filename="usb.conf-pre3.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="ISO-8859-1"; name="usb.conf-pre3.patch" --- usb.conf.orig 2014-12-13 10:29:19.000000000 -0500 +++ usb.conf 2014-12-13 10:33:54.000000000 -0500 @@ -14,6 +14,14 @@ }; nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; + match "vendor" "0x0830"; + match "product" "0x8056"; + action "kldload -n if_urndis"; +}; + +nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x0123"; --nextPart3625215.xXHlxubTSN--