From owner-freebsd-usb@FreeBSD.ORG Mon Oct 13 22:44:44 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 6A908C07 for ; Mon, 13 Oct 2014 22:44:44 +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 523A0B86 for ; Mon, 13 Oct 2014 22:44:44 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9DMiiLg005626 for ; Mon, 13 Oct 2014 22:44:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 194340] New: Can't boot USB memstick 10.1-RC2 on HP EliteBook 8460p Date: Mon, 13 Oct 2014 22:44:44 +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-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: olivier@cochard.me X-Bugzilla-Status: Needs Triage 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, 13 Oct 2014 22:44:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194340 Bug ID: 194340 Summary: Can't boot USB memstick 10.1-RC2 on HP EliteBook 8460p Product: Base System Version: 10.1-BETA3 Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: olivier@cochard.me My Elitbook can't boot the USB memstick 10.1-RC2: "BTX Halted" error message. This problem should be on the USB memstick image format, because this laptop can boot and run 10.1-RC1 (an old 10.0 upgraded) without problem from its hard drive. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Oct 14 02:52:05 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 6AD4B456 for ; Tue, 14 Oct 2014 02:52:05 +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 52D5E869 for ; Tue, 14 Oct 2014 02:52:05 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9E2q52W063765 for ; Tue, 14 Oct 2014 02:52:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 194340] Can't boot USB memstick 10.1-RC2 on HP EliteBook 8460p Date: Tue, 14 Oct 2014 02:52:05 +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-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cederom@tlen.pl X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- 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: Tue, 14 Oct 2014 02:52:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194340 Tomek CEDRO changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cederom@tlen.pl --- Comment #1 from Tomek CEDRO --- The same here with HP EliteBook 2740p that can only boot from USB (no OpticalDrive). Load hangs at random times in bootloader and/or kernel load. I had to do a PXE Boot Install to get system running. In other situation I have noticed USB HUB problems. My USB Ethernet adapter does not work here when connected directly to a port, but works when connected via USB HUB. Maybe that would be a hint :-) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Oct 14 19:43: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 C4B9FE15 for ; Tue, 14 Oct 2014 19:43:47 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (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 4C0C4C75 for ; Tue, 14 Oct 2014 19:43:47 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id 10so8915172lbg.18 for ; Tue, 14 Oct 2014 12:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=6hrhdUMX8NydTGATjARe2AuCM7iumdOvItdXhvJl/WA=; b=d1dE0NMviaAJlNplgSDaJdcZbXPbmyFPbgAP4UliDl7BMRz6NTNT69+fDlrG1YLeSI 7Ce5nACinSgRSeLgAtbLDLxn/CrIDvGXBHqQd9lMTgqASaLrFI4994w9PQxK3STXH3BF w3uka+T+tCIpQNMe1TRfU2qbD2/fU06Ihp6rGHSFGw9/W5vBUPjlSeY7LyK+nl9QuTzA Ge57SwxtIJ3Ml+uclkNpSZu1ZqVhyyGn9dk9dfVelYTijQ60ZQGWbsl5cEptqpPd2GXV p1FfFfSh7+2FbgNmmJLHw37+NgBzOSPAVdoVswTC36+XDphmHh5MQ9AG4hLgkIgb15K6 YXzg== MIME-Version: 1.0 X-Received: by 10.112.135.42 with SMTP id pp10mr7600302lbb.43.1413315825091; Tue, 14 Oct 2014 12:43:45 -0700 (PDT) Sender: uspoerlein@gmail.com Received: by 10.152.170.133 with HTTP; Tue, 14 Oct 2014 12:43:45 -0700 (PDT) In-Reply-To: <5431AE55.4030006@selasky.org> References: <20140929174904.GA15642@coyote.spoerlein.net> <54308CA8.5020304@selasky.org> <5431AE55.4030006@selasky.org> Date: Tue, 14 Oct 2014 21:43:45 +0200 X-Google-Sender-Auth: s-KVxGG867EH7NrXXAPnN8rWZYU Message-ID: Subject: Re: CEC device not attaching to xHCI port From: =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Tue, 14 Oct 2014 19:43:48 -0000 2014-10-05 22:47 GMT+02:00 Hans Petter Selasky : > > On 10/05/14 16:05, Ulrich Sp=C3=B6rlein wrote: >> >> 2014-10-05 2:11 GMT+02:00 Hans Petter Selasky : >>> >>> On 10/04/14 15:53, Ulrich Sp=C3=B6rlein wrote: >>>> >>>> >>>> 2014-09-29 19:49 GMT+02:00 Ulrich Sp=C3=B6rlein : >>>>> >>>>> >>>>> Hi, >>>>> >>>>> I got a CEC adapter using libCEC to bridge the gap between my XBMC an= d >>>>> TV. The device works fine *if* I plug it into the front ports (which = is >>>>> a bit ugly, so I was wondering why this is not working on the other U= SB >>>>> hub). >>>>> >>> >>> Hi, >>> >>> How many ports have your XHCI got? See dmesg. >>> >>> --HPS >> >> >> Hey >> >> physically I count 4 in the back and 4 in the front (which is an >> expansion plate). Two ports in the back will happily serve umass(4) >> devices (not shown in the dmesg below, I only connect them every once >> in a while). >> > > Maybe you need this patch: > > https://svnweb.freebsd.org/changeset/base/272479 I saw that this was merged to 10.1 recently and gave that new kernel a go, alas no luck usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT ugen0.2: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device From owner-freebsd-usb@FreeBSD.ORG Wed Oct 15 18:30: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 4BAD3DFC for ; Wed, 15 Oct 2014 18:30:02 +0000 (UTC) Received: from mail-pa0-x243.google.com (mail-pa0-x243.google.com [IPv6:2607:f8b0:400e:c03::243]) (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 22D4ACA7 for ; Wed, 15 Oct 2014 18:30:02 +0000 (UTC) Received: by mail-pa0-f67.google.com with SMTP id et14so742665pad.10 for ; Wed, 15 Oct 2014 11:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:mime-version:from:to:reply-to:subject:content-type :content-transfer-encoding; bh=9agDyBVxaUz7HZXjUzgiGemeqaeiXxy1WOQI6iFDenM=; b=HMQmWV0WrZqSTJXubmopfnRZtZWjoAoMET8iGxPP0qFJm5TIFfncVkJgZCMELSmSbo vjya+3EzsvG4wsloJkSeiu4TE17V+zZUZ16Wb0L/R6pkB3fs6fWyxLUmedjhCh9DiVMR CjMvuVraW3fGVfrVmmoF5iPuzlKEwMqSTkqjoBjGX8P6tNuC9EgYqQD6KXfgz4jDEi2q I0PQ/7mG9tzk2JCeJh/yig6v5zvoRC22Br0Z1p5c7QezWuLZRhY+nIl7XPaYFNl6sf7Y jzvnIbtC3zLyv87h7uvRNv+pWHz5m7Qw0QJZePq6+Q9FnTD9tniKJ/Bv0/rVdWKgxwzR Gw0Q== X-Received: by 10.66.193.193 with SMTP id hq1mr14752005pac.20.1413397801739; Wed, 15 Oct 2014 11:30:01 -0700 (PDT) Received: from Inder-PC ([27.255.188.64]) by mx.google.com with ESMTPSA id v4sm16841540pdh.57.2014.10.15.11.30.00 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Oct 2014 11:30:01 -0700 (PDT) Message-ID: <543ebd29.e41e460a.6dbd.ffffe3da@mx.google.com> Date: Wed, 15 Oct 2014 11:30:01 -0700 (PDT) X-Google-Original-Date: 16 Oct 2014 00:00:03 +0530 From: happier42165@gmail.com To: freebsd-usb@freebsd.org Reply-To: limpid75154@gmail.com Subject: Has your website : mail-archive.com been penalized by Google ? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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: Wed, 15 Oct 2014 18:30:02 -0000 Good Morning Bussiness Owner Has your website lost traffic or rankings in last few weeks ? If yes, then your website is a VICTIM to these NEW google algorithm updates. To correct this you need to hire a professioanl Search Engine Optimization company who understands these changes better than what you can. More with these new updates coming each month you need your online web presence to be taken care by a group of SEO Experts who are dedicated to learn all these new changes coming their way. We are presently offering a 15 days FREE Trial for our S.E.O Service, so that you can experience our expert S.E.O skills and then decided to sign up with us. Our S.E.O Plans start from just 199$ and go to 399$ / month making sure your website is optimized for all possible keywords and not just 10-20 keywords like other companies offer. Google has recently launched 3 Big updates and refreshes keep coming every month 1) Google Panda Update : Targeting Websites with Bad ONSITE 2) Google Penguin : Targeting Websites with Bad backlinks 3) Google Pigeon : Targeting Websites with bad local presence We have helped our clients pass all these algorithms pass these updates in last 3 years and we are one of those few ONLY SEO companies who have not been affected MUCH by these updates. What makes our company different : 1) We optimize website not keywords : ( We optimize your website for as many keywords possible ) 2) We assure results in first 15 days itself 3) We have the best possible pricing on the web 4) We abide by all google rules 5) Every link built is shared with for your future use 6) We Offer complete SEO Service not just LINK BUILDING Email us back with your website and your phone number so we can study your website and email you back with our Customized proposal. Looking forward working with you. Regards Vince G SEO Manager ( TOB ) Skype ________________________________________ NO CLICK in the subject to STOP EMAILS From owner-freebsd-usb@FreeBSD.ORG Wed Oct 15 20:49:15 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 54E7B679 for ; Wed, 15 Oct 2014 20:49:15 +0000 (UTC) Received: from smtp-5-out.integrity.hu (smtp-5-out.integrity.hu [212.52.165.215]) by mx1.freebsd.org (Postfix) with ESMTP id 12C90E87 for ; Wed, 15 Oct 2014 20:49:14 +0000 (UTC) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id 88DBC40CDC for ; Wed, 15 Oct 2014 22:33:08 +0200 (CEST) Received: from 1cAPkyJnioQRY4FGs6bqzTqnBFNP8fV8f8UvvIC9V9PR9AkQK6Mu0Q== (L4K29zRbuos6UNLCvWb1UY189iGi+1Y3) by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Wed, 15 Oct 2014 22:33:08 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 15 Oct 2014 22:33:08 +0200 From: gabor@zahemszky.hu To: Subject: u3g and Vodafone k3772 (not k3772z) Message-ID: X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 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: Wed, 15 Oct 2014 20:49:15 -0000 Hi! I borrowed a Vodafone - Huawei K3772 Mobile stick for some days. It's a bit disappointing, that I could not use it under FreeBSD. This 3g modem is made by Huawei (the K3772z is made by ZTE) with vendorID: 0x12d1 and productID: 0x1526. # usbconfig -d 4.3 dump_device_desc ugen4.3: at usbus4, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x1526 bcdDevice = 0x0102 iManufacturer = 0x0002 iProduct = 0x0001 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 I tried to switch it to USB-modem mode, but none of the usb_quirks worked. And with EJECT_HUAWEI, I got an error, too. # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. # Under Linux, with usb_modeswitch, I could switch it to modem, with the MessageContent="55534243123456780000000000000011062000000100000000000000000000" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 Is it possible, to use this modem under FreeBSD? And if yes, how? Thanks, Zahemszky, Gabor < Gabor at Zahemszky dot HU > From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 06:31:44 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 AEA23115 for ; Thu, 16 Oct 2014 06:31:44 +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 719A8EE7 for ; Thu, 16 Oct 2014 06:31:44 +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 927F31FE022; Thu, 16 Oct 2014 08:31:41 +0200 (CEST) Message-ID: <543F664F.4010003@selasky.org> Date: Thu, 16 Oct 2014 08:31:43 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gabor@zahemszky.hu, freebsd-usb@freebsd.org Subject: Re: u3g and Vodafone k3772 (not k3772z) 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: Thu, 16 Oct 2014 06:31:44 -0000 Hi, On 10/15/14 22:33, gabor@zahemszky.hu wrote: > Hi! > > I borrowed a Vodafone - Huawei K3772 Mobile stick for some days. It's a > bit disappointing, that I could not use it under FreeBSD. > This 3g modem is made by Huawei (the K3772z is made by ZTE) with > vendorID: 0x12d1 and productID: 0x1526. > > # usbconfig -d 4.3 dump_device_desc > ugen4.3: at usbus4, > cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x12d1 > idProduct = 0x1526 > bcdDevice = 0x0102 > iManufacturer = 0x0002 > iProduct = 0x0001 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > I tried to switch it to USB-modem mode, but none of the usb_quirks > worked. And with EJECT_HUAWEI, I got an error, too. > > # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI > Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. > # Did you load the u3g and usb_quirk modules first? > > Under Linux, with usb_modeswitch, I could switch it to modem, with the > MessageContent="55534243123456780000000000000011062000000100000000000000000000" > > string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some > interesting information about this modem in this forum thread: > > http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 > > Is it possible, to use this modem under FreeBSD? And if yes, how? > Modeswitch is available under FreeBSD too. Check the ports collection. Although we prefer putting the quirks into the kernel. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 06:48:12 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 C94EF531 for ; Thu, 16 Oct 2014 06:48:12 +0000 (UTC) Received: from smtp-5-out.integrity.hu (smtp-5-out.integrity.hu [212.52.165.215]) by mx1.freebsd.org (Postfix) with ESMTP id 8595EFD1 for ; Thu, 16 Oct 2014 06:48:11 +0000 (UTC) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id 95EE440AD4; Thu, 16 Oct 2014 08:48:07 +0200 (CEST) Received: from hFaJYlDdQj/4llZH0uNhb0PtLmp1UZuG by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Thu, 16 Oct 2014 08:48:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 16 Oct 2014 08:48:07 +0200 From: gabor@zahemszky.hu To: Hans Petter Selasky Subject: Re: u3g and Vodafone k3772 (not k3772z) In-Reply-To: <543F662E.2010801@bitfrost.no> References: <543F662E.2010801@bitfrost.no> Message-ID: X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 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: Thu, 16 Oct 2014 06:48:12 -0000 >> I tried to switch it to USB-modem mode, but none of the usb_quirks >> worked. And with EJECT_HUAWEI, I got an error, too. >> >> # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI >> Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. >> # > > Did you load the u3g and usb_quirk modules first? Yes. My method was: - first I plugged in the stick. - Found, that nothing know about it. - Pulled out # kldload u3g - plugged it second time - nothing - pulled out # kldload usb_quirk # man usb_quirk - plugged the stick - tried all of the u3g quirks, found in the manual and in the usbconfig dump_quirk_names list with the command: usbconfig -d useg4.3 add_quirk UQ_MSC_EJECT_* one after the other. Actually I've just found, that there is a remove_quirk subcommand, too. Maybe I need to remove a quirk if it's not the correct one? >> Under Linux, with usb_modeswitch, I could switch it to modem, with >> the >> >> MessageContent="55534243123456780000000000000011062000000100000000000000000000" >> >> string, and after it, it will be Vendor=12d1 ProdID=14cf. There are >> some >> interesting information about this modem in this forum thread: >> >> >> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 >> >> Is it possible, to use this modem under FreeBSD? And if yes, how? >> > > Modeswitch is available under FreeBSD too. Check the ports Hm, I didn't know about it, At the evening, I'll try it. > collection. Although we prefer putting the quirks into the kernel. Isn't it a good idea to make it possible to add new quirks from userspace? Thanks, Gabor < Gabor at Zahemszky dot HU > From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 06:49:09 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 67F93560 for ; Thu, 16 Oct 2014 06:49:09 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1E357FD6 for ; Thu, 16 Oct 2014 06:49:08 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 64F0F17F860; Thu, 16 Oct 2014 08:31:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id D51F0201A7F; Thu, 16 Oct 2014 08:31:50 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rVQTRYQdVb2F; Thu, 16 Oct 2014 08:31:49 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id DDD34201A7E; Thu, 16 Oct 2014 08:31:48 +0200 (CEST) Message-ID: <543F662E.2010801@bitfrost.no> Date: Thu, 16 Oct 2014 08:31:10 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gabor@zahemszky.hu, freebsd-usb@freebsd.org Subject: Re: u3g and Vodafone k3772 (not k3772z) 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: Thu, 16 Oct 2014 06:49:09 -0000 Hi, On 10/15/14 22:33, gabor@zahemszky.hu wrote: > Hi! > > I borrowed a Vodafone - Huawei K3772 Mobile stick for some days. It's a > bit disappointing, that I could not use it under FreeBSD. > This 3g modem is made by Huawei (the K3772z is made by ZTE) with > vendorID: 0x12d1 and productID: 0x1526. > > # usbconfig -d 4.3 dump_device_desc > ugen4.3: at usbus4, > cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x12d1 > idProduct = 0x1526 > bcdDevice = 0x0102 > iManufacturer = 0x0002 > iProduct = 0x0001 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > I tried to switch it to USB-modem mode, but none of the usb_quirks > worked. And with EJECT_HUAWEI, I got an error, too. > > # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI > Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. > # Did you load the u3g and usb_quirk modules first? > > Under Linux, with usb_modeswitch, I could switch it to modem, with the > MessageContent="55534243123456780000000000000011062000000100000000000000000000" > > string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some > interesting information about this modem in this forum thread: > > http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 > > Is it possible, to use this modem under FreeBSD? And if yes, how? > Modeswitch is available under FreeBSD too. Check the ports collection. Although we prefer putting the quirks into the kernel. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 07:36:30 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 D2F37FDD for ; Thu, 16 Oct 2014 07:36:30 +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 9361169C for ; Thu, 16 Oct 2014 07:36:30 +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 A56EB1FE022; Thu, 16 Oct 2014 09:36:28 +0200 (CEST) Message-ID: <543F757F.3080008@selasky.org> Date: Thu, 16 Oct 2014 09:36:31 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gabor@zahemszky.hu Subject: Re: u3g and Vodafone k3772 (not k3772z) References: <543F662E.2010801@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed 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: Thu, 16 Oct 2014 07:36:30 -0000 On 10/16/14 08:48, gabor@zahemszky.hu wrote: >>> I tried to switch it to USB-modem mode, but none of the usb_quirks >>> worked. And with EJECT_HUAWEI, I got an error, too. >>> >>> # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI >>> Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. >>> # >> >> Did you load the u3g and usb_quirk modules first? > > > Yes. My method was: > > - first I plugged in the stick. > - Found, that nothing know about it. > - Pulled out > # kldload u3g > - plugged it second time > - nothing > - pulled out > # kldload usb_quirk > # man usb_quirk > - plugged the stick > - tried all of the u3g quirks, found in the manual and in the usbconfig > dump_quirk_names list > with the command: > > usbconfig -d useg4.3 add_quirk UQ_MSC_EJECT_* > > one after the other. Actually I've just found, that there is a > remove_quirk subcommand, too. > Maybe I need to remove a quirk if it's not the correct one? > >>> Under Linux, with usb_modeswitch, I could switch it to modem, with the >>> >>> MessageContent="55534243123456780000000000000011062000000100000000000000000000" >>> >>> >>> string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some >>> interesting information about this modem in this forum thread: >>> >>> >>> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 >>> >>> Is it possible, to use this modem under FreeBSD? And if yes, how? >>> >> >> Modeswitch is available under FreeBSD too. Check the ports > > > Hm, I didn't know about it, At the evening, I'll try it. > > >> collection. Although we prefer putting the quirks into the kernel. > > Isn't it a good idea to make it possible to add new quirks from userspace? Not always, because then the dummy CD-ROMs will enumerate first. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 07:51:17 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 2AF5C3B2 for ; Thu, 16 Oct 2014 07:51:17 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (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 B53777E0 for ; Thu, 16 Oct 2014 07:51:16 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id d1so3914835wiv.12 for ; Thu, 16 Oct 2014 00:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=FEw5uJDErCBVZLgv9TKIQ/eI1+rRHip6/U/BTXPtqes=; b=a2DNcU4nVqgjbrfXFRwteezZnt01fUOwBHcD4ppz4Lky58ywIOmMRk+z0oo8w6pI6R aqZJhP0OUcYO/WLw7csi1fQDvtElS3erxj1/WDzuuLo+C8SpkfKTHfczFnjXGvzX+Im6 zvGNh8euvlx3kQBVy3xZZA/XxbpV6ToPC1ev9je11glSrKJjn17KVhujS7vICuQzQlQ8 nBCXnYxRocPpSFCfCXGKVUl5D9rYFQrQRbrek07Cyzv36/ud3GG1hwxCmtHOs6Y1o5Td E8EWaS2IjR3id12JS689IZgqFXknIsS57nh34rgP4c0FDmcJKisWPkkGVsYz+cBXtWpL SvNQ== X-Received: by 10.180.85.102 with SMTP id g6mr18532404wiz.54.1413445874880; Thu, 16 Oct 2014 00:51:14 -0700 (PDT) Received: from ernst.home (p578E1326.dip0.t-ipconnect.de. [87.142.19.38]) by mx.google.com with ESMTPSA id k10sm26430105wjb.28.2014.10.16.00.51.13 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 16 Oct 2014 00:51:14 -0700 (PDT) Date: Thu, 16 Oct 2014 09:51:11 +0200 From: Gary Jennejohn To: Hans Petter Selasky Subject: Re: u3g and Vodafone k3772 (not k3772z) Message-ID: <20141016095111.6201afaf@ernst.home> In-Reply-To: <543F757F.3080008@selasky.org> References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.17; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gabor@zahemszky.hu, 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: Thu, 16 Oct 2014 07:51:17 -0000 On Thu, 16 Oct 2014 09:36:31 +0200 Hans Petter Selasky wrote: > On 10/16/14 08:48, gabor@zahemszky.hu wrote: > >>> I tried to switch it to USB-modem mode, but none of the usb_quirks > >>> worked. And with EJECT_HUAWEI, I got an error, too. > >>> > >>> # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI > >>> Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. > >>> # > >> > >> Did you load the u3g and usb_quirk modules first? > > > > > > Yes. My method was: > > > > - first I plugged in the stick. > > - Found, that nothing know about it. > > - Pulled out > > # kldload u3g > > - plugged it second time > > - nothing > > - pulled out > > # kldload usb_quirk > > # man usb_quirk > > - plugged the stick > > - tried all of the u3g quirks, found in the manual and in the usbconfig > > dump_quirk_names list > > with the command: > > > > usbconfig -d useg4.3 add_quirk UQ_MSC_EJECT_* > > > > one after the other. Actually I've just found, that there is a > > remove_quirk subcommand, too. > > Maybe I need to remove a quirk if it's not the correct one? > > > >>> Under Linux, with usb_modeswitch, I could switch it to modem, with the > >>> > >>> MessageContent="55534243123456780000000000000011062000000100000000000000000000" > >>> > >>> > >>> string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some > >>> interesting information about this modem in this forum thread: > >>> > >>> > >>> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 > >>> > >>> Is it possible, to use this modem under FreeBSD? And if yes, how? > >>> > >> > >> Modeswitch is available under FreeBSD too. Check the ports > > > > > > Hm, I didn't know about it, At the evening, I'll try it. > > > > > >> collection. Although we prefer putting the quirks into the kernel. > > > > Isn't it a good idea to make it possible to add new quirks from userspace? > > Not always, because then the dummy CD-ROMs will enumerate first. > Yeah, but according to usb_quirk(4) that's exactly what that module is supposed to make possible. -- Gary Jennejohn From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 08:09:16 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 6B2BC98B for ; Thu, 16 Oct 2014 08:09:16 +0000 (UTC) Received: from smtp-1-out.integrity.hu (smtp-1-out.integrity.hu [212.52.165.211]) by mx1.freebsd.org (Postfix) with ESMTP id 26EDCA3A for ; Thu, 16 Oct 2014 08:09:15 +0000 (UTC) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id D050F40C62 for ; Thu, 16 Oct 2014 09:50:41 +0200 (CEST) Received: from 4fFCZ00tjab+PXnGGbpYufsNQcQC9qzG by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Thu, 16 Oct 2014 09:50:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 16 Oct 2014 09:50:41 +0200 From: gabor@zahemszky.hu To: Subject: Re: u3g and Vodafone k3772 (not k3772z) In-Reply-To: <543F757F.3080008@selasky.org> References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> Message-ID: <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 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: Thu, 16 Oct 2014 08:09:16 -0000 2014-10-16 09:36 időpontban Hans Petter Selasky ezt írta: > On 10/16/14 08:48, gabor@zahemszky.hu wrote: >>>> I tried to switch it to USB-modem mode, but none of the usb_quirks >>>> worked. And with EJECT_HUAWEI, I got an error, too. >>>> >>>> # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI >>>> Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. >>>> # >>> >>> Did you load the u3g and usb_quirk modules first? >> >> >> Yes. My method was: >> >> - first I plugged in the stick. >> - Found, that nothing know about it. >> - Pulled out >> # kldload u3g >> - plugged it second time >> - nothing >> - pulled out >> # kldload usb_quirk >> # man usb_quirk >> - plugged the stick >> - tried all of the u3g quirks, found in the manual and in the >> usbconfig >> dump_quirk_names list >> with the command: >> >> usbconfig -d useg4.3 add_quirk UQ_MSC_EJECT_* >> >> one after the other. Actually I've just found, that there is a >> remove_quirk subcommand, too. >> Maybe I need to remove a quirk if it's not the correct one? >> >>>> Under Linux, with usb_modeswitch, I could switch it to modem, with >>>> the >>>> >>>> >>>> MessageContent="55534243123456780000000000000011062000000100000000000000000000" >>>> >>>> >>>> string, and after it, it will be Vendor=12d1 ProdID=14cf. There >>>> are some >>>> interesting information about this modem in this forum thread: >>>> >>>> >>>> >>>> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 >>>> >>>> Is it possible, to use this modem under FreeBSD? And if yes, how? >>>> >>> >>> Modeswitch is available under FreeBSD too. Check the ports >> >> >> Hm, I didn't know about it, At the evening, I'll try it. >> >> >>> collection. Although we prefer putting the quirks into the kernel. >> >> Isn't it a good idea to make it possible to add new quirks from >> userspace? > > Not always, because then the dummy CD-ROMs will enumerate first. > > --HPS Hi, I think you misunderstood my comment. I think that we need some trick: - to tell the u3g driver to use a new quirk (UQ_MSC_NEW) ; that the hardware with VendorID X and ProductID Y *will* need to switch with the next message: ABC - where X and Y are known IDs, ABC is a known message, but ABC is not a defined quirk in the usb_quirk driver. So I can tell the system, that the unknown K3772 modem - VendorID=12d1 and ProductID=12d1 - needs that message (borrowed from usb_modeswitch database) "55534243123456780000000000000011062000000100000000000000000000" - to tell the u3g driver, that a HW *will* arrive vith VID X PID Y, and needs the quirk UQ_MSC_NEW Thanks, Gabor < Gabor at Zahemszky dot HU > From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 08:18:40 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 86D92E50 for ; Thu, 16 Oct 2014 08:18:40 +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 3D8B3BCF for ; Thu, 16 Oct 2014 08:18:39 +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 496F41FE022; Thu, 16 Oct 2014 10:18:37 +0200 (CEST) Message-ID: <543F7F5F.5070102@selasky.org> Date: Thu, 16 Oct 2014 10:18:39 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gabor@zahemszky.hu, freebsd-usb@freebsd.org Subject: Re: u3g and Vodafone k3772 (not k3772z) References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> In-Reply-To: <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Thu, 16 Oct 2014 08:18:40 -0000 On 10/16/14 09:50, gabor@zahemszky.hu wrote: > 2014-10-16 09:36 időpontban Hans Petter Selasky ezt írta: >> On 10/16/14 08:48, gabor@zahemszky.hu wrote: >>>>> I tried to switch it to USB-modem mode, but none of the usb_quirks >>>>> worked. And with EJECT_HUAWEI, I got an error, too. >>>>> >>>>> # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI >>>>> Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. >>>>> # >>>> >>>> Did you load the u3g and usb_quirk modules first? >>> >>> >>> Yes. My method was: >>> >>> - first I plugged in the stick. >>> - Found, that nothing know about it. >>> - Pulled out >>> # kldload u3g >>> - plugged it second time >>> - nothing >>> - pulled out >>> # kldload usb_quirk >>> # man usb_quirk >>> - plugged the stick >>> - tried all of the u3g quirks, found in the manual and in the usbconfig >>> dump_quirk_names list >>> with the command: >>> >>> usbconfig -d useg4.3 add_quirk UQ_MSC_EJECT_* >>> >>> one after the other. Actually I've just found, that there is a >>> remove_quirk subcommand, too. >>> Maybe I need to remove a quirk if it's not the correct one? >>> >>>>> Under Linux, with usb_modeswitch, I could switch it to modem, with the >>>>> >>>>> >>>>> MessageContent="55534243123456780000000000000011062000000100000000000000000000" >>>>> >>>>> >>>>> >>>>> string, and after it, it will be Vendor=12d1 ProdID=14cf. There are >>>>> some >>>>> interesting information about this modem in this forum thread: >>>>> >>>>> >>>>> >>>>> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 >>>>> >>>>> Is it possible, to use this modem under FreeBSD? And if yes, how? >>>>> >>>> >>>> Modeswitch is available under FreeBSD too. Check the ports >>> >>> >>> Hm, I didn't know about it, At the evening, I'll try it. >>> >>> >>>> collection. Although we prefer putting the quirks into the kernel. >>> >>> Isn't it a good idea to make it possible to add new quirks from >>> userspace? >> >> Not always, because then the dummy CD-ROMs will enumerate first. >> >> --HPS > > > Hi, I think you misunderstood my comment. I think that we need some trick: > > - to tell the u3g driver to use a new quirk (UQ_MSC_NEW) ; that the > hardware > with VendorID X and ProductID Y *will* need to switch with the next > message: > ABC - where X and Y are known IDs, ABC is a known message, but ABC is not a > defined quirk in the usb_quirk driver. > > So I can tell the system, that the unknown K3772 modem - VendorID=12d1 and > ProductID=12d1 - needs that message (borrowed from usb_modeswitch database) > "55534243123456780000000000000011062000000100000000000000000000" > Hi, This quirk already exists. Can you try: kldunload usb_quirk kldload usb_quirk usbconfig -d X.Y add_quirk UQ_MSC_EJECT_HUAWEISCSI2 Then re-plug your device? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 08:47:43 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 BDF83C44 for ; Thu, 16 Oct 2014 08:47:43 +0000 (UTC) Received: from smtp-2-out.integrity.hu (smtp-2-out.integrity.hu [212.52.165.212]) by mx1.freebsd.org (Postfix) with ESMTP id 78DBDEF9 for ; Thu, 16 Oct 2014 08:47:43 +0000 (UTC) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id 1D45841AAB; Thu, 16 Oct 2014 10:47:39 +0200 (CEST) Received: from pO4TArU+Wgq8d9rpn5H1VUmYb/H9lkiT by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Thu, 16 Oct 2014 10:47:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 16 Oct 2014 10:47:39 +0200 From: gabor@zahemszky.hu To: Hans Petter Selasky Subject: Re: u3g and Vodafone k3772 (not k3772z) In-Reply-To: <543F7F5F.5070102@selasky.org> References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> <543F7F5F.5070102@selasky.org> Message-ID: <09454923d8518e4f1e2e7aab64e499ba@zahemszky.hu> X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 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: Thu, 16 Oct 2014 08:47:43 -0000 >> So I can tell the system, that the unknown K3772 modem - >> VendorID=12d1 and >> ProductID=12d1 - needs that message (borrowed from usb_modeswitch >> database) >> "55534243123456780000000000000011062000000100000000000000000000" >> > > Hi, > > This quirk already exists. > > Can you try: > > kldunload usb_quirk > kldload usb_quirk > usbconfig -d X.Y add_quirk UQ_MSC_EJECT_HUAWEISCSI2 > > Then re-plug your device? Hi, actually I can only try it in a VirtualBOX VM. This machine has 10.1-RC2. But I had two problems: - something wrong is with the usb_quirk module: # kldunload usb_quirk kldunload: can't find file usb_quirk # kldload usb_quirk kldload: can't load usb_quirk: module already loaded or in kernel # kldstat -v | fgrep quirk # ( generates nothing ) - By the way, neither man usb_quirks, nor usbconfig dump_quirk_names hasn't got that UQ_MSC_EJECT_HUAWEISCSI2 name. And it's missing from the C-header file /sys/dev/usb/quirk/usb_quirk.h, too. (Only EJECT_HUAWEI and EJECT_HUAWEISCSI exists.) At the evening, I'll try this command on a real machine, with 10.0-p9, but I didn't remember other HUAWEI quirks, that the two above. (And my last question: are there any more detailed documentation about usbconfig, than the manual? Actually I don't know what the different commands do, eg. maybe with the add_dev_quirk_vplh, or do_request subcommands, I can create new quirks.) Thanks, Gabor < Gabor at Zahemszky dot HU > From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 08:58:31 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 4CE1226A for ; Thu, 16 Oct 2014 08:58:31 +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 0BE79B7 for ; Thu, 16 Oct 2014 08:58:31 +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 555C21FE022; Thu, 16 Oct 2014 10:58:28 +0200 (CEST) Message-ID: <543F88B6.904@selasky.org> Date: Thu, 16 Oct 2014 10:58:30 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gabor@zahemszky.hu Subject: Re: u3g and Vodafone k3772 (not k3772z) References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> <543F7F5F.5070102@selasky.org> <09454923d8518e4f1e2e7aab64e499ba@zahemszky.hu> In-Reply-To: <09454923d8518e4f1e2e7aab64e499ba@zahemszky.hu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Thu, 16 Oct 2014 08:58:31 -0000 Hi, You need to run 11-curent, the quirk is not in 10-branch yet. The following patch for 11-current should fix your device. Hint: You can boot a 11-current kernel with 10-xxx userland! Can you test the attached patch on 11-current, and report back? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 22:54:01 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 62BD35FA for ; Thu, 16 Oct 2014 22:54:01 +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 4A439CE0 for ; Thu, 16 Oct 2014 22:54:01 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9GMs1DB027801 for ; Thu, 16 Oct 2014 22:54:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 188119] [ukbd] problems with multiple keyboards Date: Thu, 16 Oct 2014 22:54:01 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gavin@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity 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: Thu, 16 Oct 2014 22:54:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188119 Gavin Atkinson changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Some People -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Oct 17 09:27:00 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 66F24D2B for ; Fri, 17 Oct 2014 09:27:00 +0000 (UTC) Received: from smtp-2-out.integrity.hu (smtp-2-out.integrity.hu [212.52.165.212]) by mx1.freebsd.org (Postfix) with ESMTP id 1EBE7CA1 for ; Fri, 17 Oct 2014 09:26:59 +0000 (UTC) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id 3BD7E41D0C; Fri, 17 Oct 2014 11:26:50 +0200 (CEST) Received: from cXrrR1rXEnuegaa07gx57BUHG/gezMZu by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Fri, 17 Oct 2014 11:26:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 17 Oct 2014 11:26:50 +0200 From: gabor@zahemszky.hu To: Hans Petter Selasky Subject: Re: u3g and Vodafone k3772 (not k3772z) In-Reply-To: <543F88B6.904@selasky.org> References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> <543F7F5F.5070102@selasky.org> <09454923d8518e4f1e2e7aab64e499ba@zahemszky.hu> <543F88B6.904@selasky.org> Message-ID: <9bb5ca363a4e17e9f41b50b748316cdf@zahemszky.hu> X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 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: Fri, 17 Oct 2014 09:27:00 -0000 2014-10-16 10:58 időpontban Hans Petter Selasky ezt írta: > Hi, > > You need to run 11-curent, the quirk is not in 10-branch yet. > > The following patch for 11-current should fix your device. > > Hint: You can boot a 11-current kernel with 10-xxx userland! > > Can you test the attached patch on 11-current, and report back? OK. I've upgraded to 11-CURRENT, patched in the ID-s. Kldloaded the u3g module (and cannot load the usb_quirk module) Here is the demsg output after plugging in the stick: ugen0.2: at usbus0 cdce0: on usbus0 cdce0: faking MAC address umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0000 ue0: on cdce0 ue0: Ethernet address: 2a:35:81:05:00:00 umass0:2:0: Attached to scbus2 cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 1.000MB/s transfers cd1: cd present [65536 x 2048 byte records] cd1: quirks=0x10<10YTE_ONLY> Thanks, Gabor < Gabor at Zahemszky dot HU > From owner-freebsd-usb@FreeBSD.ORG Fri Oct 17 09:41:41 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 8B7E1145 for ; Fri, 17 Oct 2014 09:41:41 +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 4C5EDE4E for ; Fri, 17 Oct 2014 09:41:41 +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 D46921FE022; Fri, 17 Oct 2014 11:41:38 +0200 (CEST) Message-ID: <5440E455.8030003@selasky.org> Date: Fri, 17 Oct 2014 11:41:41 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gabor@zahemszky.hu Subject: Re: u3g and Vodafone k3772 (not k3772z) References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> <543F7F5F.5070102@selasky.org> <09454923d8518e4f1e2e7aab64e499ba@zahemszky.hu> <543F88B6.904@selasky.org> <9bb5ca363a4e17e9f41b50b748316cdf@zahemszky.hu> In-Reply-To: <9bb5ca363a4e17e9f41b50b748316cdf@zahemszky.hu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Fri, 17 Oct 2014 09:41:41 -0000 On 10/17/14 11:26, gabor@zahemszky.hu wrote: > 2014-10-16 10:58 időpontban Hans Petter Selasky ezt írta: >> Hi, >> >> You need to run 11-curent, the quirk is not in 10-branch yet. >> >> The following patch for 11-current should fix your device. >> >> Hint: You can boot a 11-current kernel with 10-xxx userland! >> >> Can you test the attached patch on 11-current, and report back? > > OK. I've upgraded to 11-CURRENT, patched in the ID-s. > Kldloaded the u3g module (and cannot load the usb_quirk module) > Here is the demsg output after plugging in the stick: > > ugen0.2: at usbus0 > cdce0: 1.10/1.01, addr 2> on usbus0 > cdce0: faking MAC address > umass0: rev 1.10/1.01, addr 2> on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > ue0: on cdce0 > ue0: Ethernet address: 2a:35:81:05:00:00 > umass0:2:0: Attached to scbus2 > cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 > cd1: Removable CD-ROM SCSI-2 device > cd1: 1.000MB/s transfers > cd1: cd present [65536 x 2048 byte records] > cd1: quirks=0x10<10YTE_ONLY> > > Thanks, > > Gabor < Gabor at Zahemszky dot HU > > > Hi, Can you show the output from "usbconfig -d X.Y dump_device_desc"? We need to add the non-autoinstall disk ID to u3g aswell. Thank you! --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 17 10:41:18 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 AAE3FE9C for ; Fri, 17 Oct 2014 10:41: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 9212663B for ; Fri, 17 Oct 2014 10:41: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 s9HAfI1F066766 for ; Fri, 17 Oct 2014 10:41:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 156596] [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80% cpu utilization on CPU0 Date: Fri, 17 Oct 2014 10:41:17 +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: 8.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: proler@gmail.com X-Bugzilla-Status: In Discussion 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: Fri, 17 Oct 2014 10:41:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156596 proler@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |proler@gmail.com --- Comment #13 from proler@gmail.com --- Confirmed on Intel DH77KC, H77 FreeBSD 10.0-RELEASE Problem starts when detaching-attaching hdmi cable -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Oct 17 13:07:24 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 27F46127 for ; Fri, 17 Oct 2014 13:07:24 +0000 (UTC) Received: from smtp-1-out.integrity.hu (smtp-1-out.integrity.hu [212.52.165.211]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBDD3F9 for ; Fri, 17 Oct 2014 13:07:23 +0000 (UTC) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id 284BD41CB5; Fri, 17 Oct 2014 15:07:14 +0200 (CEST) Received: from qN18Ul0H/5IdNxkPZN3AiJl3ZiUwl0Ng by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Fri, 17 Oct 2014 15:07:14 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 17 Oct 2014 15:07:14 +0200 From: gabor@zahemszky.hu To: Hans Petter Selasky Subject: Re: u3g and Vodafone k3772 (not k3772z) In-Reply-To: <5441007B.9090203@selasky.org> References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> <543F7F5F.5070102@selasky.org> <09454923d8518e4f1e2e7aab64e499ba@zahemszky.hu> <543F88B6.904@selasky.org> <9bb5ca363a4e17e9f41b50b748316cdf@zahemszky.hu> <5440E455.8030003@selasky.org> <5441007B.9090203@selasky.org> Message-ID: X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 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: Fri, 17 Oct 2014 13:07:24 -0000 >>>> OK. I've upgraded to 11-CURRENT, patched in the ID-s. >>>> Kldloaded the u3g module (and cannot load the usb_quirk module) >>>> Here is the demsg output after plugging in the stick: >>>> >>>> ugen0.2: at usbus0 >>>> cdce0: >>> 0/0, rev >>>> 1.10/1.01, addr 2> on usbus0 >>>> cdce0: faking MAC address >>>> umass0: >>> 0/0, >>>> rev 1.10/1.01, addr 2> on usbus0 >>>> umass0: SCSI over Bulk-Only; quirks = 0x0000 >>>> ue0: on cdce0 >>>> ue0: Ethernet address: 2a:35:81:05:00:00 >>>> umass0:2:0: Attached to scbus2 >>>> cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 >>>> cd1: Removable CD-ROM SCSI-2 >>>> device >>>> cd1: 1.000MB/s transfers >>>> cd1: cd present [65536 x 2048 byte records] >>>> cd1: quirks=0x10<10YTE_ONLY> >>>> >>>> Thanks, >>>> >>>> Gabor < Gabor at Zahemszky dot HU > >>>> >>>> >>> >>> Hi, >>> >>> Can you show the output from "usbconfig -d X.Y dump_device_desc"? >>> >>> We need to add the non-autoinstall disk ID to u3g aswell. >>> >>> Thank you! >> >> Hi! >> >> The original ID is: 12d1:1526 >> The switched ID is: 12d1:14cf >> >> The dump: >> >> # usbconfig -d 0.2 dump_device_desc >> ugen0.2: at >> usbus0, >> cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA) >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0110 >> bDEviceClass = 0x0000 >> bDeviceSubClass = 0x0000 >> bDeviceProtocol = 0x00 >> bMaxPacketSize0 = 0x0040 >> idVendor = 0x12d1 >> idProduct = 0x14cf >> bcdDevice = 0x0102 >> iManufacturer = 0x0003 >> iProduct = 0x0002 >> iSerialNumber = 0x0000 >> bNumConfigurations = 0x0001 >> >> ==== >> >> I have another question. Both ucom and u3g modules loaded, but I >> cannot >> find /dev/ttyU* or /dev/cuaU* devices. What's missing? >> >> Bye, >> >> Gabor < Gabor at Zahemszky dot HU > >> > > Can you test the attached patch. Revert the previous ones. > > cd sys/dev/usb/ > cat u3g.diff | patch > > compile new kernel and reboot. > > --HPS Hi! OK, updated. Now: dmesg: === ugen0.2: at usbus0 ugen0.2: at usbus0 (disconnected) ugen0.2: at usbus0 u3g0: on usbus0 u3g0: Found 3 ports. umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:2:0: Attached to scbus0 cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 1.000MB/s transfers cd1: cd present [65536 x 2048 byte records] cd1: quirks=0x10<10YTE_ONLY> === So, I've lost the cdc0 and ue0 devices, but got the u3g0 device. And we have three /dev/ttyU* and /dev/cucU* devices (and the .init and .lock devices to all of them). And of course, I can connect to the device: # cu -s 115200 -l /dev/cuaU0.0 Connected atz OK ati Manufacturer: Vodafone (Huawei) Model: K3772 Revision: 21.157.40.00.11 IMEI: xxx +GCAP: +CGSM,+DS,+ES OK Thanks, Gabor < Gabor at Zahemszky dot HU > From owner-freebsd-usb@FreeBSD.ORG Fri Oct 17 13:42:09 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 93A32928 for ; Fri, 17 Oct 2014 13:42:09 +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 4E65298A for ; Fri, 17 Oct 2014 13:42:08 +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 8D1251FE022; Fri, 17 Oct 2014 15:42:05 +0200 (CEST) Message-ID: <54411CB0.7090109@selasky.org> Date: Fri, 17 Oct 2014 15:42:08 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gabor@zahemszky.hu Subject: Re: u3g and Vodafone k3772 (not k3772z) References: <543F662E.2010801@bitfrost.no> <543F757F.3080008@selasky.org> <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> <543F7F5F.5070102@selasky.org> <09454923d8518e4f1e2e7aab64e499ba@zahemszky.hu> <543F88B6.904@selasky.org> <9bb5ca363a4e17e9f41b50b748316cdf@zahemszky.hu> <5440E455.8030003@selasky.org> <5441007B.9090203@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed 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: Fri, 17 Oct 2014 13:42:09 -0000 > === > So, I've lost the cdc0 and ue0 devices, but got the u3g0 device. And we > have three /dev/ttyU* and /dev/cucU* devices (and the .init and .lock > devices to all of them). > > And of course, I can connect to the device: > # cu -s 115200 -l /dev/cuaU0.0 > Connected > atz > OK > ati > Manufacturer: Vodafone (Huawei) > Model: K3772 > Revision: 21.157.40.00.11 > IMEI: xxx > +GCAP: +CGSM,+DS,+ES > > OK Hi, Here is the final patch: https://svnweb.freebsd.org/changeset/base/273216 --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 17 23:29:23 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 304AC7F5 for ; Fri, 17 Oct 2014 23:29:23 +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 17D76D2A for ; Fri, 17 Oct 2014 23:29:23 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9HNTM7P094394 for ; Fri, 17 Oct 2014 23:29:22 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: Fri, 17 Oct 2014 23:29:21 +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: linimon@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component assigned_to 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: Fri, 17 Oct 2014 23:29:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179376 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Component|amd64 |usb Assignee|freebsd-amd64@FreeBSD.org |freebsd-usb@FreeBSD.org --- Comment #7 from Mark Linimon --- Reassign. -- You are receiving this mail because: You are the assignee for the bug.