From owner-freebsd-usb@freebsd.org Sun Nov 26 02:47:03 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3194DF9E7F for ; Sun, 26 Nov 2017 02:47:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 ADFF67A048 for ; Sun, 26 Nov 2017 02:47:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAQ2l3lm034268 for ; Sun, 26 Nov 2017 02:47:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] patch for huawei 4G/LTE modems: E3272, E3372 Date: Sun, 26 Nov 2017 02:47:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2017 02:47:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188286|0 |1 is obsolete| | --- Comment #22 from rozhuk.im@gmail.com --- Created attachment 188288 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188288&action= =3Dedit Add InterfaceSubClass 0x03, InterfaceProtocol 0x16 Add bInterfaceSubClass =3D=3D 0x03 bInterfaceProtocol =3D=3D 0x16 from linu= x: http://elixir.free-electrons.com/linux/v4.14.2/source/drivers/net/usb/huawe= i_cdc_ncm.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Sun Nov 26 02:26:23 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8817DF8F54 for ; Sun, 26 Nov 2017 02:26:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A5A787947C for ; Sun, 26 Nov 2017 02:26:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAQ2QNKT008546 for ; Sun, 26 Nov 2017 02:26:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] patch for huawei 4G/LTE modems: E3272, E3372 Date: Sun, 26 Nov 2017 02:26:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2017 02:26:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-usb@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Sun Nov 26 02:47:54 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DE17DF9EED for ; Sun, 26 Nov 2017 02:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 888817A0A3 for ; Sun, 26 Nov 2017 02:47:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAQ2lswE035312 for ; Sun, 26 Nov 2017 02:47:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372 Date: Sun, 26 Nov 2017 02:47:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2017 02:47:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[u3g] patch for huawei |[u3g] [cdce] patch for |4G/LTE modems: E3272, E3372 |huawei 4G/LTE modems: | |E3272, E3372 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Mon Nov 27 13:14:29 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3200E4FF42 for ; Mon, 27 Nov 2017 13:14:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A1CFA70A0B for ; Mon, 27 Nov 2017 13:14:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vARDES7Y090755 for ; Mon, 27 Nov 2017 13:14:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372 Date: Mon, 27 Nov 2017 13:14:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 13:14:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 --- Comment #23 from Hans Petter Selasky --- Hi, The "U3G_HUAWEI_IS_CDC" macro should be converted into a new quirk in the usb_quirk.c . Can you do that instead of adding specific code for this? Then new ID's can easily be added later on. --HPS --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Mon Nov 27 13:31:02 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F673E5160E for ; Mon, 27 Nov 2017 13:31:02 +0000 (UTC) (envelope-from rwilliams@reply2setup.com) Received: from mail-pl0-x243.google.com (mail-pl0-x243.google.com [IPv6:2607:f8b0:400e:c01::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1457B7146A for ; Mon, 27 Nov 2017 13:31:01 +0000 (UTC) (envelope-from rwilliams@reply2setup.com) Received: by mail-pl0-x243.google.com with SMTP id z3so8482461plh.9 for ; Mon, 27 Nov 2017 05:31:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reply2setup-com.20150623.gappssmtp.com; s=20150623; h=to:subject:from:message-id:disposition-notification-to:date :user-agent:mime-version:content-language; bh=APpVDn9jmecC5iBrRdnZFWNFex/S2d8wOow7lXZ4eIM=; b=HhpH6nUOqNPUABeu+dDNbgLjxIFpDOOhKWG3Ut9Y2mN4LidXLHVYuNL5plPH/jV+go Mj8P4DKEU/qPySgilM4meIPRsFrhmqB014cCTZyDFDL/Hba9uQfF5Sw6Ws0DYe/mXWAI 2VPVRKfZ7qMlcHNLOYCxWUeeyIib11Q0behJmBeHu+uJtR0FuYPlfG8lcVOo8AVWlbcZ I34OZ/XDpz09uUTzNwEJvaT6YRJB4CLNhGqFwqHNf5QQWEqn2NwgRSbgjkGI1LNs2O0/ NAUc/O4HE/X0mqkQx/PK4EsETDOdetdrndAwFH/Z087hR3TPzP8pG147g2x1V1WKL7q1 8t3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:message-id :disposition-notification-to:date:user-agent:mime-version :content-language; bh=APpVDn9jmecC5iBrRdnZFWNFex/S2d8wOow7lXZ4eIM=; b=dBetBCbUo2Jv8zYH1XyuRjiXcStmuXBEMYID4n/SvAsQV8UlEaugJX8bXEFaj4szib ADbPNkk7yDfFE08uD86aMKdjNeKaS+1fzwl5G12DBNlggjR+qBhk8DCiQ1/m+e9x5FWB 1tNpc2c3j5A8dy6eopiHshX1xZsqmAbZ/92xVe1vmkdMvIelz/QzjsY+gFtaOkWdWEBD 0t0QDezOXtUc33eAZ1hQrHq8GmQhP+DX9mwQRkFrXZRD5TokUpQcQIzYlCf5ATfPJVGM 9kM+PlUu6qK82tDr4qrHPNbysETuCIh7P7yz61RgAENsEwnPxqhde74GLZ32MWQN/2P7 vfXQ== X-Gm-Message-State: AJaThX5h7vwRG5xtKbmrMe7YhcVP+3+Qho/OBJRmWjr3rP3MCzTIPK3N gsEV0w8U3u/4ApH46gMQD7OZaiK3 X-Google-Smtp-Source: AGs4zMYLM8vKlUrB5ubn8DnWzaq1BPdG6WLHzdqi3acbokpbRHWP3dXeTudwpffOlzSFaainiO/cpQ== X-Received: by 10.84.129.197 with SMTP id b63mr23222424plb.278.1511789461139; Mon, 27 Nov 2017 05:31:01 -0800 (PST) Received: from [192.168.0.15] ([103.6.157.159]) by smtp.gmail.com with ESMTPSA id y80sm44994575pfi.183.2017.11.27.05.30.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 05:30:59 -0800 (PST) To: freebsd-usb@freebsd.org Subject: Truck Owners List From: Richard Williams Message-ID: <9c6ad992-6ebb-63ab-b1f4-5ff8f4a548b8@reply2setup.com> Date: Mon, 27 Nov 2017 08:21:29 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.3; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Language: en-US X-Antivirus: Avast (VPS 171127-2, 11/27/2017), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 13:31:02 -0000 Good Morning!! Would you be interested in reviewing our *Truck Owners Email List* within the USA ? *Our Databases Include:-* *1.* Pick_Up Truck Owners List *2.* Car Owners List *3.* RV Owners List *4.* Motorcycle Owners List *5.* Spa and Resort Visitors List *6.* Boat Owners List and more. Information Fields:– *Contact Name (First, Middle and Last Name) List type and Opt-in email address.* Please reply with your preferred target audience. I will reply with *cost* and *counts.* Thanks so much, I look forward to hearing from you! Regards, Richard Williams Marketing Lead From owner-freebsd-usb@freebsd.org Mon Nov 27 18:08:56 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9AECDBB3DD for ; Mon, 27 Nov 2017 18:08:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B7EED7E3D3 for ; Mon, 27 Nov 2017 18:08:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vARI8uS3060581 for ; Mon, 27 Nov 2017 18:08:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372 Date: Mon, 27 Nov 2017 18:08:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 18:08:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 --- Comment #24 from rozhuk.im@gmail.com --- I see usb_quirk.c but not found how to add device Interfaces ID. U3G_HUAWEI_IS_CDC() macro catch only specific device interfaces, that speci= fied in if_cdce, but I dont know how to add if_cdce probe/attach in u3g like this done for ucom. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Mon Nov 27 18:50:18 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D0C1DE2B2F for ; Mon, 27 Nov 2017 18:50:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 39AD280389 for ; Mon, 27 Nov 2017 18:50:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vARIoHNh081757 for ; Mon, 27 Nov 2017 18:50:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372 Date: Mon, 27 Nov 2017 18:50:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 18:50:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 --- Comment #25 from Hans Petter Selasky --- For now, simply add in "usb_test_quirk_by_info()" by code: if (quirk =3D=3D UQ_CDC_HUAWEI) { if (XXXX) return (1), } And make sure the UQ_XXX value gets defined as described in usb_quirk.h I see the quirk table is currently not advanced enough to contain this quir= k. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Mon Nov 27 21:33:22 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2170DEA04F for ; Mon, 27 Nov 2017 21:33:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 C03246586E for ; Mon, 27 Nov 2017 21:33:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vARLXM8R038112 for ; Mon, 27 Nov 2017 21:33:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372 Date: Mon, 27 Nov 2017 21:33:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 21:33:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 --- Comment #26 from rozhuk.im@gmail.com --- I think add to u3g module depend if_cdce, [export and] call cdce_probe to c= heck is device cdce is more proper way than playing with quirk. u3g already cam handle ucom and add if_cdce handle is good way. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Mon Nov 27 21:55:00 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F182DEABB5 for ; Mon, 27 Nov 2017 21:55:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 F0EA666783 for ; Mon, 27 Nov 2017 21:54:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vARLsx6h094116 for ; Mon, 27 Nov 2017 21:54:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372 Date: Mon, 27 Nov 2017 21:54:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 21:55:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 --- Comment #27 from Hans Petter Selasky --- There is another way. You can set different probe priority too. I'm not sure how well it is to mix these USB drivers together. --HPS --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Sat Dec 2 07:14:29 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DD07DF63E9 for ; Sat, 2 Dec 2017 07:14:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 3CA6E64559 for ; Sat, 2 Dec 2017 07:14:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB27ETkO046016 for ; Sat, 2 Dec 2017 07:14:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 224031] [usb][ukbd]: The USB keyboard driver does not force the boot protocol Date: Sat, 02 Dec 2017 07:14:29 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd@gergo.csillger.hu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org 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: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2017 07:14:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224031 Bug ID: 224031 Summary: [usb][ukbd]: The USB keyboard driver does not force the boot protocol Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: freebsd@gergo.csillger.hu FreeBSD does not set the protocol to boot for USB keyboards, like it does s= et it to report for mice. This manifests such that when plugging in a keyboard that supports both, the keyboard stays in report mode, which is the default. As section 7.2.6 of the Device Class Definition for Human Interface Devices (HID) spec (http://www.usb.org/developers/hidpage/HID1_11.pdf) says: > When initialized, all devices default to report protocol. However the hos= t should not make any assumptions about the device=E2=80=99s state and should set th= e desired protocol whenever initializing a device. Any keyboard that supports both, and conforms to the spec, will be unusable under FreeBSD's ukbd driver. I think - but this is as of yet untested - adding "err =3D usbd_req_set_protocol(uaa->device, NULL, uaa->info.bIfaceIndex, 0);" right after the "usb_test_quirk" call in "ukbd_probe" would do the right thing. If I have time, I'll prepare a patch in the next day or two, but no guarant= ees. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat Dec 2 13:00:41 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EC1CDFE906 for ; Sat, 2 Dec 2017 13:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 EE5B86ED62 for ; Sat, 2 Dec 2017 13:00:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB2D0ej1012122 for ; Sat, 2 Dec 2017 13:00:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 224031] [usb][ukbd]: The USB keyboard driver does not force the boot protocol Date: Sat, 02 Dec 2017 13:00:41 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd@gergo.csillger.hu X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2017 13:00:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224031 Gergely Nagy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Not A Bug --- Comment #1 from Gergely Nagy --- Oookay, I'm blind. There *is* an `usbd_req_set_protocol` call in ukbd. Not = sure why the keyboard doesn't go into boot mode then. Closing this issue, will open a new one if/when I figure out what is happen= ing. Sorry for the noise. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat Dec 2 22:48:36 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E68C5E6B9A5 for ; Sat, 2 Dec 2017 22:48:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 CADCD80068 for ; Sat, 2 Dec 2017 22:48:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB2MmaRg077968 for ; Sat, 2 Dec 2017 22:48:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372 Date: Sat, 02 Dec 2017 22:48:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2017 22:48:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 --- Comment #28 from rozhuk.im@gmail.com --- First modem interface in huawei cases is serial. FBSD call probe() and u3g wins. FBSD call attach() and u3g attach to all interfaces. No more probe() call, all interfaces marked as u3g child. There is 3 ways: 1. Now I move usbd_set_parent_iface(uaa->device, i, uaa->info.bIfaceIndex); after usbd_transfer_setup(), witch probably success only with serial device= s. 2. u3g will atach only to one device per attach() call, so some modems will generate fews u3g devices. 3. Add check, that will call cdce probe() from u3g and on success will skip interface. (Same thing was done in first patch, but instead of cdce probe() call code = with dev check was duplicated) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Sat Dec 2 22:50:03 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84CC3E6BA0E for ; Sat, 2 Dec 2017 22:50:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 733CF800C2 for ; Sat, 2 Dec 2017 22:50:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB2Mo37n080009 for ; Sat, 2 Dec 2017 22:50:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [cdce] patch for huawei 4G/LTE modems: E3272, E3372 Date: Sat, 02 Dec 2017 22:50:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2017 22:50:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192345 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188288|0 |1 is obsolete| | --- Comment #29 from rozhuk.im@gmail.com --- Created attachment 188479 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188479&action= =3Dedit move usbd_set_parent_iface() --=20 You are receiving this mail because: You are on the CC list for the bug.=