From owner-freebsd-usb@FreeBSD.ORG Wed Dec 2 11:52:50 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43336106566C for ; Wed, 2 Dec 2009 11:52:50 +0000 (UTC) (envelope-from tsw5@duke.edu) Received: from smtp.duke.edu (smtp-04.oit.duke.edu [152.3.174.85]) by mx1.freebsd.org (Postfix) with ESMTP id F3EBD8FC12 for ; Wed, 2 Dec 2009 11:52:49 +0000 (UTC) Received: from smtp.duke.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 03C30358D59; Wed, 2 Dec 2009 06:52:49 -0500 (EST) Received: from avenue.wintermute (cpe-066-057-248-190.nc.res.rr.com [66.57.248.190]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.duke.edu (Postfix) with ESMTP id 8725E358D56; Wed, 2 Dec 2009 06:52:48 -0500 (EST) Message-Id: <97CE1ED5-EC60-4118-8767-E24462D5725E@duke.edu> From: Todd Wasson To: Hans Petter Selasky In-Reply-To: <200912021029.39601.hselasky@c2i.net> Content-Type: multipart/mixed; boundary=Apple-Mail-14-127208600 Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 2 Dec 2009 06:52:46 -0500 References: <4B4BF0C0-A1EA-4BF7-B1FA-E57C544CC954@duke.edu> <200912021029.39601.hselasky@c2i.net> X-Mailer: Apple Mail (2.936) X-PMX-Version: 5.4.2.338381, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2009.12.2.114522 Cc: freebsd-usb@freebsd.org Subject: Re: USB audio device can no longer play in freebsd 8.0-RELEASE; worked in 7.X X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 11:52:50 -0000 --Apple-Mail-14-127208600 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Sure, thanks for your help. I've attached it here. Todd --Apple-Mail-14-127208600 Content-Disposition: attachment; filename=usbconfig_dump_curr_config_desc.txt Content-Type: text/plain; x-unix-mode=0644; name="usbconfig_dump_curr_config_desc.txt" Content-Transfer-Encoding: 7bit ugen6.2: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0087 bNumInterfaces = 0x0003 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x09, 0x24, 0x01, 0x00, 0x01, 0x28, 0x00, 0x01, 0x08 | 0x01 Additional Descriptor bLength = 0x0c bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0c, 0x24, 0x02, 0x05, 0x01, 0x01, 0x00, 0x02, 0x08 | 0x03, 0x00, 0x00, 0x00 Additional Descriptor bLength = 0x0a bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x0a, 0x24, 0x06, 0x07, 0x05, 0x01, 0x15, 0x02, 0x08 | 0x02, 0x00 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x08, 0x01, 0x03, 0x00, 0x07, 0x08 | 0x00 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Interface 1 Alt 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0001 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x05, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0b, 0x24, 0x02, 0x01, 0x02, 0x02, 0x10, 0x01, 0x08 | 0x44, 0xac, 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0009 wMaxPacketSize = 0x00c0 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x01, 0x00, 0x00, 0x00 Interface 2 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x16, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0003 wMaxPacketSize = 0x0005 bInterval = 0x0010 bRefresh = 0x0000 bSynchAddress = 0x0000 --Apple-Mail-14-127208600 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Dec 2, 2009, at 4:29 AM, Hans Petter Selasky wrote: > On Sunday 29 November 2009 22:40:10 Todd Wasson wrote: >> Hi, I've got a USB audio device that identifies itself in dmesg in >> 8.0- >> RELEASE like so: >> ugen6.2: at usbus6 >> uaudio0: > rev 1.00/10.00, addr 2> on usbus6 >> uaudio0: No playback! >> uaudio0: No recording! >> uaudio0: No midi sequencer >> pcm3: on uaudio0 >> uhid0: > 1.00/10.00, addr 2> on usbus6 >> >> The "No playback!" line is the best part, since it's an output-only >> wireless transmitter. Basically I've got an audio device that >> neither >> plays nor records. Fantastic. It played fine in 7.2-RELEASE. >> >> I think this may be a similar issue to the one reported originally on >> this list in May, here: >> http://lists.freebsd.org/pipermail/freebsd-usb/2009-May/ >> 006850.html . That >> problem was resolved with a patch that was later rescinded as it >> broke >> other things. I'm hoping for better luck. Any ideas? >> Following the suggestions in that thread, I've captured the dmesg >> output with sysctl hw.usb.uaudio.debug=15, the uaudio related >> sysctls, >> and the output of usbconfig -u 6 -a 2 dump_curr_config_desc. I've >> put >> them here: >> >> http://paste2.org/p/539116 >> http://paste2.org/p/539119 >> http://paste2.org/p/539120 >> >> In related news, the OSS 4.2 port in the ports tree doesn't seem to >> build the oss_usb module. Any ideas what's going on with this? I'd >> be interested to try it and see if I got better results. > > Hi, > > I need some more time to look at this. Could you send me output from > "usbconfig -u 6 -a 2 dump_curr_config_desc" like an e-mail attachment? > > --HPS > --Apple-Mail-14-127208600--