From owner-freebsd-usb@FreeBSD.ORG Sun Aug 17 17:24:56 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8295A46C for ; Sun, 17 Aug 2014 17:24:56 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FECB20FA for ; Sun, 17 Aug 2014 17:24:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7HHOuMW084130 for ; Sun, 17 Aug 2014 17:24:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192755] New: snd_uaudio incorrect handling of version 1 audio format type descriptor Date: Sun, 17 Aug 2014 17:24:56 +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.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: juanmasf2@ono.com 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: Sun, 17 Aug 2014 17:24:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192755 Bug ID: 192755 Summary: snd_uaudio incorrect handling of version 1 audio format type descriptor Product: Base System Version: 10.0-STABLE Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: juanmasf2@ono.com For USB audio 1.0 formats the code in uaudio.c uses the value of bBitResolution from the descriptor directly to choose and internal audio format from the array uaudio10_formats. It should use the value from bSubFrameSize instead. It is clearly specified in the official USB document for audio data formats, page 9 under the section "2.2.2 Audio Subframe" that the endpoint must be handled using bSubFramSize*8 bits per sample from which the device will take the number of bits it actually uses. In my particular case I own a device reporting bBitResolution of 24 and bSubFrameSize of 4. An unpatched driver will be sending 3-byte subframes to the endpoint resulting in pure noise :) For USB 2.0 formats the code already does some conversion to avoid this same problem, using the equivalent bSubslotSize in the function uaudio_chan_fill_info_sub: /* Map 4-byte aligned 24-bit samples into 32-bit */ if (bBitResolution == 24 && bSubslotSize == 4) bBitResolution = 32; if (bBitResolution != (bSubslotSize * 8)) { DPRINTF("Invalid bSubslotSize\n"); goto next_ep; } -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Sun Aug 17 20:57:00 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9EC01956 for ; Sun, 17 Aug 2014 20:57:00 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85A9F3150 for ; Sun, 17 Aug 2014 20:57:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7HKv0PO064978 for ; Sun, 17 Aug 2014 20:57:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192755] snd_uaudio incorrect handling of version 1 audio format type descriptor Date: Sun, 17 Aug 2014 20:57:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org 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 attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2014 20:57:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192755 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #1 from Hans Petter Selasky --- Created attachment 145942 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145942&action=edit USB audio patch Can you test the attached patch? --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 18 08:51:21 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 39C4543C for ; Mon, 18 Aug 2014 08:51:21 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 218483C0F for ; Mon, 18 Aug 2014 08:51:21 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7I8pLm1089776 for ; Mon, 18 Aug 2014 08:51:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192755] snd_uaudio incorrect handling of version 1 audio format type descriptor Date: Mon, 18 Aug 2014 08:51: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: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: juanmasf2@ono.com 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2014 08:51:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192755 --- Comment #2 from juanmasf2@ono.com --- After the patch the format seems to be correct, showing the following output in dmesg: uaudio0: on usbus7 uaudio0: Play: 44100 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record: 44100 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: MIDI sequencer. Unfortunately this card also needs other code changes and quirks to work, but I hope your patch can help other people with devices using non-typical bit resolutions. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 18 14:31:14 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7D3E4D3 for ; Mon, 18 Aug 2014 14:31:14 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E19C3E58 for ; Mon, 18 Aug 2014 14:31:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7IEVE4a059462 for ; Mon, 18 Aug 2014 14:31:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192755] snd_uaudio incorrect handling of version 1 audio format type descriptor Date: Mon, 18 Aug 2014 14:31:14 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2014 14:31:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192755 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Mon Aug 18 14:30:44 UTC 2014 New revision: 270134 URL: http://svnweb.freebsd.org/changeset/base/270134 Log: Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual sample size. According to the USB audio frame format specification from USB.org, the value in the "bBitResolution" field can be less than the actual sample size, depending on the actual hardware, and should not be used for this computation. PR: 192755 MFC after: 1 week Changes: head/sys/dev/sound/usb/uaudio.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 18 14:32:00 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7150D514 for ; Mon, 18 Aug 2014 14:32:00 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 578FD3EE1 for ; Mon, 18 Aug 2014 14:32:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7IEW0SW068456 for ; Mon, 18 Aug 2014 14:32:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192755] snd_uaudio incorrect handling of version 1 audio format type descriptor Date: Mon, 18 Aug 2014 14:32:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 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, 18 Aug 2014 14:32:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192755 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Triage |Issue Resolved Resolution|--- |FIXED --- Comment #4 from Hans Petter Selasky --- Patch will be MFC'ed to 10-stable shortly. Thank you! --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 18 14:39:06 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D7A393D for ; Mon, 18 Aug 2014 14:39:06 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 63EC13F5C for ; Mon, 18 Aug 2014 14:39:06 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7IEd6vN087277 for ; Mon, 18 Aug 2014 14:39:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192710] Kingston DataTraveler 112 usb stick needs a quirk Date: Mon, 18 Aug 2014 14:39:06 +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 Only Me X-Bugzilla-Who: hselasky@FreeBSD.org 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: Mon, 18 Aug 2014 14:39:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192710 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #1 from Hans Petter Selasky --- Can you verify this is also an issue with 10-stable? --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Aug 19 02:02:45 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16937A8E for ; Tue, 19 Aug 2014 02:02:45 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F177D3FF2 for ; Tue, 19 Aug 2014 02:02: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 s7J22iCB030188 for ; Tue, 19 Aug 2014 02:02:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 153703] [keyboard] My USB keyboard can not be used in 8-STABLE Date: Tue, 19 Aug 2014 02:02:45 +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-PRERELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2014 02:02:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=153703 Tatsuki Makino changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Issue Resolved Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Aug 19 12:39:37 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D23BC210 for ; Tue, 19 Aug 2014 12:39:37 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B9C003917 for ; Tue, 19 Aug 2014 12:39:37 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7JCdbtX001008 for ; Tue, 19 Aug 2014 12:39:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 190939] Panic when trying to boot FreeBSD-10.0-STABLE-amd64-20140608-r267232-bootonly.iso via USB-CDRW drive Date: Tue, 19 Aug 2014 12:39:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vmiller@hostileadmin.com 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: 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, 19 Aug 2014 12:39:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190939 --- Comment #8 from Rick --- I worked around this issue by replacing the bootonly ISO with a customized mfsBSD disk image. The project's website is at http://mfsbsd.vx.sk with a link to it's github repo. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Aug 22 22:17:27 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FAB23DE for ; Fri, 22 Aug 2014 22:17:27 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (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 C16A23A3C for ; Fri, 22 Aug 2014 22:17:26 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id n3so1549506wiv.4 for ; Fri, 22 Aug 2014 15:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=i7UWNroUD+fjkUg3hkyTnAX/x2qeo4mA78fO2cxQfck=; b=tvg4ZC5AZwh0tySB3+eLvlGfEs5Y8XPk7gtzfNdGqgFJBEHLeTU8XTSMO3lAljG4oT VYnmg4d41VKeUa+oeAwWwF+tm9HhWpKoujI6qN0oeBxjGmAWxAy89QzUTbN9z1wd8GrZ phZLmNPExmSUBJRVZ6M9iBi6tA3c0BLwL4OtQyyavLVWNBNKix/83pG6YEXnyhulATSI bDGWk0+0ocVdp2sC6zhM4OGt4V+TWlCHuMKXfdtn260wWkl3PKC2gfJfPW9eICQvJTNx lnQxy+fULM9Ryqe2gD2TwKRIw1CcWUVTshlbVaUBjOPkww1BTLJZLY/hu+IiUm9eH9Ga lGlw== X-Received: by 10.194.7.136 with SMTP id j8mr7647097wja.62.1408745844275; Fri, 22 Aug 2014 15:17:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.121.37 with HTTP; Fri, 22 Aug 2014 15:17:04 -0700 (PDT) From: Miguel Clara Date: Fri, 22 Aug 2014 23:17:04 +0100 Message-ID: Subject: "usbnet" support in FreeBSD? To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Fri, 22 Aug 2014 22:17:27 -0000 I know FreeBSD suppots (at least according to the guide) usb tether, but some devices when connected via USB are visible as a network interface and this allows file sharing among other things! I have a Blackberry 10 device and I'm wondering if this is somehow possible or if not how hard would it be? On linux the device is recognize by usbnet driver ( http://www.linux-usb.org/usbnet/) is there anything like this in freebsd? More info about the device detection: dmesg: ugen0.4: at usbus0 umodem0: on usbus0 umodem0: data interface 0, has no CM over data, has no break device_attach: umodem0 attach returned 6 /var/log/messages: Aug 22 21:01:05 r2d2 kernel: ugen0.4: at usbus0 Aug 22 21:01:05 r2d2 kernel: umodem0: on usbus0 Aug 22 21:01:05 r2d2 kernel: umodem0: data interface 0, has no CM over data, has no break Aug 22 21:01:05 r2d2 kernel: device_attach: umodem0 attach returned 6 Aug 22 21:01:05 r2d2 devd: Executing 'env LD_PRELOAD=/usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/libcuse4bsd.so /usr/local/etc/rc.d/webcamd start ugen0.4' Aug 22 21:01:05 r2d2 devd: Executing 'logger Unknown USB device: vendor 0x0fca product 0x8012 bus uhub0' Aug 22 21:01:05 r2d2 root: Unknown USB device: vendor 0x0fca product 0x8012 bus uhub0 Aug 22 21:01:05 r2d2 devd: Executing 'logger Unknown USB device: vendor 0x0fca product 0x8012 bus uhub0' Aug 22 21:01:05 r2d2 root: Unknown USB device: vendor 0x0fca product 0x8012 bus uhub0 Thanks From owner-freebsd-usb@FreeBSD.ORG Sat Aug 23 08:41:33 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92875319 for ; Sat, 23 Aug 2014 08:41:33 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 515493EB1 for ; Sat, 23 Aug 2014 08:41:32 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 0C0FA1FE027; Sat, 23 Aug 2014 10:41:23 +0200 (CEST) Message-ID: <53F853BE.5090004@selasky.org> Date: Sat, 23 Aug 2014 10:41:34 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Miguel Clara , freebsd-usb@freebsd.org Subject: Re: "usbnet" support in FreeBSD? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2014 08:41:33 -0000 On 08/23/14 00:17, Miguel Clara wrote: > I know FreeBSD suppots (at least according to the guide) usb tether, but > some devices when connected via USB are visible as a network interface and > this allows file sharing among other things! > > I have a Blackberry 10 device and I'm wondering if this is somehow possible > or if not how hard would it be? > > On linux the device is recognize by usbnet driver ( > http://www.linux-usb.org/usbnet/) is there anything like this in freebsd? > > > More info about the device detection: > > dmesg: > ugen0.4: at usbus0 > umodem0: 2.00/2.40, addr 11> on usbus0 > umodem0: data interface 0, has no CM over data, has no break > device_attach: umodem0 attach returned 6 > Hi, kldload if_cdce Also dump the usb configuration using usbdump: usbdump -d ugenX.Y dump_device_desc dump_curr_config_desc --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 23 10:24:58 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53795341 for ; Sat, 23 Aug 2014 10:24:58 +0000 (UTC) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::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 CB7A535DE for ; Sat, 23 Aug 2014 10:24:57 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id ty20so11005591lab.18 for ; Sat, 23 Aug 2014 03:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:date:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=pGV3lAFEn8epoQD0LQdI2AN/Sui7UdEYYmh25NOgFr0=; b=pXmgo3jCWXmmZ1S/DBzXyoYBfUL3yBDPhVT/a7cdwyjytBvUxRkvlJzQFLKWF0Pf7y fgWpjffyZW//L2tQCFibzWZdmKxUkttVfWi1zEL5DkqEvKMKQiMdRbawYWYh2aaA9+Iy y2zTbERwpify85RgJykaRCcdRKuvc+RBQxoVR1BnLMUULSZ2ANgem4LTxlKPBFU3GwmO trHQdCUA00KUWkI01MBSS1ZbFP1zfJDKYX5PedTMBjZSGrW4l4CnZAfwc/fcS7AYK/Ll S8iWpN6MVbr1haqVdUHwbpSoJInXAU0ADh8ys6v2nos4v7DAhosZ1v3DAq5PS+HzvJp1 xW0w== X-Received: by 10.152.6.100 with SMTP id z4mr1596900laz.71.1408789494707; Sat, 23 Aug 2014 03:24:54 -0700 (PDT) Received: from limbo.b1t.lan (167.203-pool.nikopol.net. [213.111.203.167]) by mx.google.com with ESMTPSA id si1sm51543489lbb.43.2014.08.23.03.24.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Aug 2014 03:24:54 -0700 (PDT) From: Volodymyr Kostyrko X-Google-Original-From: Volodymyr Kostyrko Message-ID: <53F86BF4.3060506@b1t.name> Date: Sat, 23 Aug 2014 13:24:52 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Miguel Clara , freebsd-usb@freebsd.org Subject: Re: "usbnet" support in FreeBSD? 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: Sat, 23 Aug 2014 10:24:58 -0000 On 23.08.2014 01:17, Miguel Clara wrote: > I know FreeBSD suppots (at least according to the guide) usb tether, but > some devices when connected via USB are visible as a network interface and > this allows file sharing among other things! > > I have a Blackberry 10 device and I'm wondering if this is somehow possible > or if not how hard would it be? > > On linux the device is recognize by usbnet driver ( > http://www.linux-usb.org/usbnet/) is there anything like this in freebsd? > > > More info about the device detection: > > dmesg: > ugen0.4: at usbus0 > umodem0: 2.00/2.40, addr 11> on usbus0 > umodem0: data interface 0, has no CM over data, has no break > device_attach: umodem0 attach returned 6 Try setting device to 'Mac compatibility' mode: Settings -> Storage and access -> USB connections : connect to Mac. Also check thath USB tethering is enabled in your phone: Settings -> Network Connections -> Internet tethering, select "Connect using" "USB" and turn it on. kernel: ugen6.2: at usbus6 devd: Executing 'kldload -n if_cdce' kernel: cdce0: on usbus6 devd: Executing 'logger Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6' root: Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6 kernel: ue0: on cdce0 kernel: ue0: Ethernet address: 96:eb:cd:2d:05:5d devd: Executing 'logger Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6' limbo root: Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6 devd: Executing '/etc/pccard_ether ue0 start' devd: Executing 'logger Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6' root: Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6 # dhclient ue0 DHCPREQUEST on ue0 to 255.255.255.255 port 67 DHCPNAK from 192.168.0.1 DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 4 DHCPOFFER from 192.168.0.1 DHCPREQUEST on ue0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.1 bound to 192.168.0.2 -- renewal in 3600 seconds. I don't know why but setting ifconfig_ue0=DHCP at /etc/rc.conf doesn't works. # route add default 192.168.0.1 # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=588.697 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=284.988 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=46 time=277.634 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=46 time=275.505 ms 64 bytes from 8.8.8.8: icmp_seq=4 ttl=46 time=252.686 ms ^C --- 8.8.8.8 ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 252.686/335.902/588.697/126.859 ms # tcpdump -pni ue0 13:23:09.393751 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, seq 0, length 64 13:23:09.982413 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq 0, length 64 13:23:10.398790 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, seq 1, length 64 13:23:10.683738 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq 1, length 64 13:23:11.402911 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, seq 2, length 64 13:23:11.680505 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq 2, length 64 13:23:12.406746 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, seq 3, length 64 13:23:12.682195 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq 3, length 64 13:23:13.408292 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, seq 4, length 64 13:23:13.660936 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq 4, length 64 -- Sphinx of black quartz judge my vow. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 23 13:59:17 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C9535F7 for ; Sat, 23 Aug 2014 13:59:17 +0000 (UTC) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) (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 B6897369F for ; Sat, 23 Aug 2014 13:59:16 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id x48so11589928wes.5 for ; Sat, 23 Aug 2014 06:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=vqEf7Q56KQPdep7DPt5hQeOaEQHefqW3pD709SNdHk8=; b=hB5VtbuC5WM9MGziIYBeyZUq9BYKTwtQDJAa47JwXV02cenVBtEszPa7Z+yF6iG0sd x2WMwXjr0K7ssIRSJ4538wrdbkzg+wwXsIdHXKCrd5bhQxz42fO6UMYgKY+tIA1iVa4b MikvzQJCaQm188SSDWw5F6E7gW7GowrWIafGEmBP4ewgfWtmBg0XE4GSjtuMMDrQuFOe o2SoZ6afp1nz4lYDjWZmuS0MYUS57htrITzrnHmiOjevqdZVDYWLwIEgBRHarS6QpyJc A+UzwbqqBQnQhAytu52x1feT5PmVwblEgUZm3AUTtOnIBENfagtUusdNI+Gx6RvXVKZw gf6Q== X-Received: by 10.180.38.2 with SMTP id c2mr3278055wik.24.1408802354839; Sat, 23 Aug 2014 06:59:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.121.37 with HTTP; Sat, 23 Aug 2014 06:58:53 -0700 (PDT) In-Reply-To: <53F86BF4.3060506@b1t.name> References: <53F86BF4.3060506@b1t.name> From: Miguel Clara Date: Sat, 23 Aug 2014 14:58:53 +0100 Message-ID: Subject: Re: "usbnet" support in FreeBSD? To: Volodymyr Kostyrko Content-Type: text/plain; charset=UTF-8 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: Sat, 23 Aug 2014 13:59:17 -0000 I have the module loaded yes, but it seems the key was changing to "Mac compatibility" in usb duh.. can't believe I didn't try that :) Thanks As for dhcp I don't mind using dhclient manually or if a static IP Also if it is of any interest I was able to compile Sachesi on FreeBSD 10 (amd64) see: https://github.com/xsacha/Sachesi there's a issue about FreeBSD I've posted. For now the bootloader code still doesn't work but xsacha is working on it! Melhores Cumprimentos // Best Regards ----------------------------------------------- *Miguel Clara* *IT - Sys Admin & Developer* *E-mail: *miguelmclara@gmail.com www.linkedin.com/in/miguelmclara/ On Sat, Aug 23, 2014 at 11:24 AM, Volodymyr Kostyrko wrote: > On 23.08.2014 01:17, Miguel Clara wrote: > >> I know FreeBSD suppots (at least according to the guide) usb tether, but >> some devices when connected via USB are visible as a network interface and >> this allows file sharing among other things! >> >> I have a Blackberry 10 device and I'm wondering if this is somehow >> possible >> or if not how hard would it be? >> >> On linux the device is recognize by usbnet driver ( >> http://www.linux-usb.org/usbnet/) is there anything like this in freebsd? >> >> >> More info about the device detection: >> >> dmesg: >> ugen0.4: at usbus0 >> umodem0: > 2.00/2.40, addr 11> on usbus0 >> umodem0: data interface 0, has no CM over data, has no break >> device_attach: umodem0 attach returned 6 >> > > Try setting device to 'Mac compatibility' mode: Settings -> Storage and > access -> USB connections : connect to Mac. > > Also check thath USB tethering is enabled in your phone: Settings -> > Network Connections -> Internet tethering, select "Connect using" "USB" and > turn it on. > > kernel: ugen6.2: at usbus6 > devd: Executing 'kldload -n if_cdce' > kernel: cdce0: 2.00/2.40, addr 1> on usbus6 > devd: Executing 'logger Unknown USB device: vendor 0x0fca product 0x8013 > bus uhub6' > root: Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6 > kernel: ue0: on cdce0 > kernel: ue0: Ethernet address: 96:eb:cd:2d:05:5d > devd: Executing 'logger Unknown USB device: vendor 0x0fca product 0x8013 > bus uhub6' > limbo root: Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6 > devd: Executing '/etc/pccard_ether ue0 start' > devd: Executing 'logger Unknown USB device: vendor 0x0fca product 0x8013 > bus uhub6' > root: Unknown USB device: vendor 0x0fca product 0x8013 bus uhub6 > > # dhclient ue0 > DHCPREQUEST on ue0 to 255.255.255.255 port 67 > DHCPNAK from 192.168.0.1 > DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 4 > DHCPOFFER from 192.168.0.1 > DHCPREQUEST on ue0 to 255.255.255.255 port 67 > DHCPACK from 192.168.0.1 > bound to 192.168.0.2 -- renewal in 3600 seconds. > > I don't know why but setting ifconfig_ue0=DHCP at /etc/rc.conf doesn't > works. > > # route add default 192.168.0.1 > > # ping 8.8.8.8 > PING 8.8.8.8 (8.8.8.8): 56 data bytes > 64 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=588.697 ms > 64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=284.988 ms > 64 bytes from 8.8.8.8: icmp_seq=2 ttl=46 time=277.634 ms > 64 bytes from 8.8.8.8: icmp_seq=3 ttl=46 time=275.505 ms > 64 bytes from 8.8.8.8: icmp_seq=4 ttl=46 time=252.686 ms > ^C > --- 8.8.8.8 ping statistics --- > 5 packets transmitted, 5 packets received, 0.0% packet loss > round-trip min/avg/max/stddev = 252.686/335.902/588.697/126.859 ms > > # tcpdump -pni ue0 > 13:23:09.393751 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, > seq 0, length 64 > 13:23:09.982413 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq > 0, length 64 > 13:23:10.398790 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, > seq 1, length 64 > 13:23:10.683738 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq > 1, length 64 > 13:23:11.402911 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, > seq 2, length 64 > 13:23:11.680505 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq > 2, length 64 > 13:23:12.406746 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, > seq 3, length 64 > 13:23:12.682195 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq > 3, length 64 > 13:23:13.408292 IP 192.168.0.2 > 8.8.8.8: ICMP echo request, id 18451, > seq 4, length 64 > 13:23:13.660936 IP 8.8.8.8 > 192.168.0.2: ICMP echo reply, id 18451, seq > 4, length 64 > > -- > Sphinx of black quartz judge my vow. >