From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 10 00:34:24 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3490BEEC for ; Sat, 10 Nov 2012 00:34:24 +0000 (UTC) (envelope-from marcelbonnet@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id E8DFA8FC15 for ; Sat, 10 Nov 2012 00:34:23 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so8773328iea.13 for ; Fri, 09 Nov 2012 16:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3cxT7VeyNip3KmY6lPFuIMeJDodY8ZHJ1EorVJNy3oM=; b=xynag6GSJFH8sS5cRBN56EPYNKIy1Jyimmkt1g1EH9TQNjX8kGscUbs4rSaH5bIcrM hckfPVsffiVnDtOEOTF7jTpzsxJgQZbZSzZlOZuXKn3xQTMz46Sq73GEPOkzsXlYUlq3 oMV5W9cQw60GGMuDfctHG0WgAsp0bAe/pbW05vIivKCk9/82IbUsoRCI1MT4aHpoZEm/ Hgn7LvVsw17rxMAbFm9J9++isqElDeVfrGk0EwlPyc1lQ6FUTsB6m1g1d2X5RYKeFIZA oSoxtQmyo+VwVZVjFZURFCS7z2FSmboAbDeO1C3YBU/HaM51FX7kXwR9+nl/uzoxxoiP 2NVg== MIME-Version: 1.0 Received: by 10.42.176.194 with SMTP id bf2mr12215117icb.50.1352507662920; Fri, 09 Nov 2012 16:34:22 -0800 (PST) Received: by 10.64.14.73 with HTTP; Fri, 9 Nov 2012 16:34:22 -0800 (PST) In-Reply-To: References: <201211080816.56068.hselasky@c2i.net> <20121109175928.0885f564@davenulle.org> <20121109190124.03b639f722907b66c1537fc2@getmail.no> Date: Fri, 9 Nov 2012 22:34:22 -0200 Message-ID: Subject: Re: USB audio 2.0 testers wanted From: Marcel Bonnet To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 00:34:24 -0000 On 9 November 2012 18:05, Marcel Bonnet wrote: > On 9 November 2012 16:01, Torfinn Ingolfsen > wrote: >> On Fri, 09 Nov 2012 17:59:28 +0100 >> Patrick Lamaiziere wrote: >> >>> >>> Hmmm, How we know if a device is audio 2.0? >> >> I was wondering the same thing. :) >> I have a set of USB speakers, model J1116U from Jazz Speakers[1]. >> They show up like this in /var/log/messages: >> Nov 9 18:45:00 kg-v2 kernel: ugen0.3: at usbus0 >> Nov 9 18:45:01 kg-v2 root: Unknown USB device: vendor 0x0d8c product 0x0001 bus uhub0 >> Nov 9 18:45:01 kg-v2 kernel: uaudio0: on usbus0 >> Nov 9 18:45:01 kg-v2 kernel: uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format. >> Nov 9 18:45:01 kg-v2 kernel: uaudio0: No recording. >> Nov 9 18:45:01 kg-v2 kernel: uaudio0: No midi sequencer. >> Nov 9 18:45:01 kg-v2 kernel: pcm3: on uaudio0 >> >> usbconfig output: >> root@kg-v2# usbconfig -u 0 -a 3 dump_device_desc >> ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0110 >> bDeviceClass = 0x0000 >> bDeviceSubClass = 0x0000 >> bDeviceProtocol = 0x0000 >> bMaxPacketSize0 = 0x0008 >> idVendor = 0x0d8c >> idProduct = 0x0001 >> bcdDevice = 0x0010 >> iManufacturer = 0x0001 >> iProduct = 0x0002 >> iSerialNumber = 0x0000 >> bNumConfigurations = 0x0001 >> >> This is on >> root@kg-v2# uname -a >> FreeBSD kg-v2.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #6: Fri Apr 27 23:50:55 CEST 2012 >> root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 >> >> HTH >> >> References: >> 1) http://www.jazzspeakers.com/ >> -- >> Torfinn Ingolfsen > > Hi, I'm sorry, I asked the same thing to Hans, but in PVT. > He said to install the port sysutils/usbutils and run: > lsusb -vvv > > I'll try it later too! > Cheers. > Hi, folks. The bcdUSB field reports the highest version of USB the device supports. The value is in binary coded decimal with a format of 0xJJMN where JJ is the major version number, M is the minor version number and N is the sub minor version number. e.g. USB 2.0 is reported as 0x0200, USB 1.1 as 0x0110 and USB 1.0 as 0x0100. As suggested: # lsusb -s0 -v Bus /dev/usb Device /dev/ugen0.2: ID 0763:2012 Midiman Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0763 Midiman idProduct 0x2012 bcdDevice 1.00 iManufacturer 1 M-Audio iProduct 2 FastTrack Pro (...) So, Hans, I think my interface is not eligible for the USB2.0 test you need, right? -- Marcel Bonnet www.monovox.net.br