From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 21 15:55:51 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3F0AC16C for ; Sun, 21 Apr 2013 15:55:51 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id CE3AE16E3 for ; Sun, 21 Apr 2013 15:55:50 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id 3B6207A03D; Sun, 21 Apr 2013 17:55:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id 10AEF1FF9F; Sun, 21 Apr 2013 17:55:41 +0200 (CEST) Message-ID: <51740C56.3000907@bitfrost.no> Date: Sun, 21 Apr 2013 17:57:10 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S MIME-Version: 1.0 To: Craig Leres Subject: Re: Dragonfly USB DAC under 9.1-RELEASE References: <51732A63.9010001@ee.lbl.gov> In-Reply-To: <51732A63.9010001@ee.lbl.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org 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: Sun, 21 Apr 2013 15:55:51 -0000 On 04/21/13 01:53, Craig Leres wrote: > Has anybody tried a Dragonfly USB DAC with FreeBSD 9.1-RELEASE? I picked > up one last week can't quite get it to work > > My streamer is a Barix instreamer. I normally feed it with 48 KHz PCM > from a Sirius Satellite radio receiver via toslink. I can also feed it > directly with 44.1 KHz from VBR MP3s downloaded from amazon.com or 48 > KHz RIFF/WAVE files. > > I'm using the multimedia/xmms port with the OSS plugin. I use mpg123 to > play MP3s. I think it uses OSS too. And obviously ossplay uses OSS. > > The DACs I have previously used are Realtek ALC883 and ALC888's on the > motherboard of my desktop machines. With the Dragonfly plugged in, > /dev/sndstat says: > > ice 327 % cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) > Installed devices: > pcm0: on hdaa0 (1p:1v/0r:0v) > pcm1: on hdaa1 (1p:2v/2r:1v) > default > pcm2: at ? (1p:1v/0r:0v) > > (The Dragonfly is pcm2.) > > The first issue was a pop every 5 seconds. I noticed the LED was magenta > which indicated the DAC was running at 96K so I looked at > /sys/dev/sound/usb/uaudio.c and found that thd driver was defaulting to > the highest sample rate the DAC reports. This meant my 48K input source > was being upsampled. > > Looking at the driver a bit more I changed: > > sysctl hw.usb.uaudio.default_rate=48000 > > and removed/inserted the DAC and that fixes it at 48K (confirmed by a > blue LED) and the 5 second pops are gone. > > Now I have noticeable audio glitches about ever minute or so. I don't > think it's source material related. For example, if I play the same > sound file over and over and note the number of seconds into the song > when a glitch happens, it rarely happens at the same time. > > I tried to attach a short wav file of an example glitch but got a funny > bounce ("550 5.7.1 Size too green"?) so I put a copy here: > > http://xse.com/leres/scratch/glitch.wav > > Thinking it might be a ground loop problem, I got an Olimex USB-ISO USB > isolator. It works ok but the glitches are still present. > > The Dragonfly sounds very nice so I hate to send it back; does anyone > have suggestions for me? I called Audio Quest but the tech I talked to > admitted he had only been trained for Windows and OSX. > > Craig Hi, There are multiple options for debugging this issue. 1) Look at the usbdump utility for dumping the data communication for your device: usbdump -i usbusX -f Y -s 65536 I suspect your device uses rate adaption, and that it does not work properly. What does: usbconfig -d X.Y dump_curr_config_desc Say? I use a Fasttracker over USB having eight 24-bit tracks at 96KHz, and that works just fine. Also all the additional mixer functionality is supported through extended pcm mixer sysctls. See also: sysctl hw.usb.uaudio.debug=15 --HPS From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 21 18:38:03 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D28DA629 for ; Sun, 21 Apr 2013 18:38:03 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca]) by mx1.freebsd.org (Postfix) with ESMTP id BEFCA1D2D for ; Sun, 21 Apr 2013 18:38:03 +0000 (UTC) Received: from ice.ee.lbl.gov (ice.ee.lbl.gov [131.243.2.213]) (authenticated bits=0) by fun.ee.lbl.gov (8.14.6/8.14.6) with ESMTP id r3LIbqPR083979 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 21 Apr 2013 11:37:55 -0700 (PDT) Message-ID: <51743200.7010209@ee.lbl.gov> Date: Sun, 21 Apr 2013 11:37:52 -0700 From: Craig Leres User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: Hans Petter Selasky Subject: Re: Dragonfly USB DAC under 9.1-RELEASE References: <51732A63.9010001@ee.lbl.gov> <51740C56.3000907@bitfrost.no> In-Reply-To: <51740C56.3000907@bitfrost.no> X-Enigmail-Version: 1.5.1 Content-Type: multipart/mixed; boundary="------------080104070105020605060303" Cc: freebsd-multimedia@freebsd.org 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: Sun, 21 Apr 2013 18:38:03 -0000 This is a multi-part message in MIME format. --------------080104070105020605060303 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit First let me say that I did a quick install of FreeBSD 10.0-CURRENT (r249439) onto a spare system yesterday and was able to play various source material with no glitches. Then I back ported the 10.0-CURRENT /sys/dev/sound tree (r249715) to my 9.1-RELEASE system and this solved my remaining audio issues. There were bug fixes but it looks like the bulk of the changes add support for USB Audio v2.0. On 04/21/13 08:57, Hans Petter Selasky wrote: > There are multiple options for debugging this issue. > > 1) Look at the usbdump utility for dumping the data communication for > your device: > > usbdump -i usbusX -f Y -s 65536 I did find usbdump earlier but don't know enough about usb audio to be able to identify any problems. > I suspect your device uses rate adaption, and that it does not work > properly. The Dragonfly supports 44.1, 48, 88.2 and 96 and one goal of mine is to not be doing any additional conversion so I'm hoping it's not doing that! > What does: > > usbconfig -d X.Y dump_curr_config_desc > > Say? Attached. I also installed usbutils and have attached output from "lsusb -v". > See also: > > sysctl hw.usb.uaudio.debug=15 hw.usb.uaudio.debug was very helpful the original sample rate mismatch problem. One thing that's annoying is the way dev/sound/usb/uaudio.c is structured, the sample rate is programmed in the Dragonfly only when the device is inserted; there's no way to change rates once it's plugged in. Thanks for the suggestions. Craig --------------080104070105020605060303 Content-Type: text/plain; charset=us-ascii; name="usbconfig.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="usbconfig.txt" ugen1.2: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0083 bNumInterfaces = 0x0002 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x0080 bMaxPower = 0x0064 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, 0x2b, 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 = 0x0d bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x0d, 0x24, 0x06, 0x07, 0x05, 0x02, 0x01, 0x00, 0x08 | 0x02, 0x00, 0x02, 0x00, 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 = 0x0002 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 = 0x14 bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x14, 0x24, 0x02, 0x01, 0x02, 0x03, 0x18, 0x04, 0x08 | 0x44, 0xac, 0x00, 0x80, 0xbb, 0x00, 0x88, 0x58, 0x10 | 0x01, 0x00, 0x77, 0x01 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0005 wMaxPacketSize = 0x024c bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0083 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x01, 0x00, 0x00, 0x00 Endpoint 1 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0001 wMaxPacketSize = 0x0003 bInterval = 0x0001 bRefresh = 0x0005 bSynchAddress = 0x0000 --------------080104070105020605060303 Content-Type: text/plain; charset=us-ascii; name="lsusb.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="lsusb.txt" Bus /dev/usb Device /dev/ugen1.2: ID 21b4:0081 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x21b4 idProduct 0x0081 bcdDevice 1.0c iManufacturer 1 AudioQuest inc. iProduct 2 AudioQuest DragonFly iSerial 3 (C) 2011 Wavelength Audio, ltd. bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 131 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 43 bInCollection 1 baInterfaceNr( 0) 1 AudioControl Interface Descriptor: bLength 12 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 5 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 AudioControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 6 (FEATURE_UNIT) bUnitID 7 bSourceID 5 bControlSize 2 bmaControls( 0) 0x01 bmaControls( 0) 0x00 Mute bmaControls( 1) 0x02 bmaControls( 1) 0x00 Volume bmaControls( 2) 0x02 bmaControls( 2) 0x00 Volume iFeature 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 8 wTerminalType 0x0301 Speaker bAssocTerminal 0 bSourceID 7 iTerminal 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 AudioStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 5 bDelay 1 frames wFormatTag 1 PCM AudioStreaming Interface Descriptor: bLength 20 bDescriptorType 36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 2 bSubframeSize 3 bBitResolution 24 bSamFreqType 4 Discrete tSamFreq[ 0] 44100 tSamFreq[ 1] 48000 tSamFreq[ 2] 88200 tSamFreq[ 3] 96000 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x024c 1x 588 bytes bInterval 1 bRefresh 0 bSynchAddress 131 AudioControl Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (EP_GENERAL) bmAttributes 0x01 Sampling Frequency bLockDelayUnits 0 Undefined wLockDelay 0 Undefined Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0003 1x 3 bytes bInterval 1 bRefresh 5 bSynchAddress 0 Device Status: 0x0001 Self Powered --------------080104070105020605060303-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 22 06:18:41 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 593B41D3 for ; Mon, 22 Apr 2013 06:18:41 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id E95ED126A for ; Mon, 22 Apr 2013 06:18:40 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id E262B7A0DC; Mon, 22 Apr 2013 08:18:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id CB62A20AAF; Mon, 22 Apr 2013 08:18:37 +0200 (CEST) Message-ID: <5174D696.5080009@bitfrost.no> Date: Mon, 22 Apr 2013 08:20:06 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S MIME-Version: 1.0 To: Craig Leres Subject: Re: Dragonfly USB DAC under 9.1-RELEASE References: <51732A63.9010001@ee.lbl.gov> <51740C56.3000907@bitfrost.no> <51743200.7010209@ee.lbl.gov> In-Reply-To: <51743200.7010209@ee.lbl.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org 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: Mon, 22 Apr 2013 06:18:41 -0000 On 04/21/13 20:37, Craig Leres wrote: > First let me say that I did a quick install of FreeBSD 10.0-CURRENT > (r249439) onto a spare system yesterday and was able to play various > source material with no glitches. Then I back ported the 10.0-CURRENT > /sys/dev/sound tree (r249715) to my 9.1-RELEASE system and this solved > my remaining audio issues. There were bug fixes but it looks like the > bulk of the changes add support for USB Audio v2.0. > > On 04/21/13 08:57, Hans Petter Selasky wrote: >> There are multiple options for debugging this issue. >> >> 1) Look at the usbdump utility for dumping the data communication for >> your device: >> >> usbdump -i usbusX -f Y -s 65536 > > I did find usbdump earlier but don't know enough about usb audio to be > able to identify any problems. > >> I suspect your device uses rate adaption, and that it does not work >> properly. > > The Dragonfly supports 44.1, 48, 88.2 and 96 and one goal of mine is to > not be doing any additional conversion so I'm hoping it's not doing that! > >> What does: >> >> usbconfig -d X.Y dump_curr_config_desc >> >> Say? > > Attached. I also installed usbutils and have attached output from "lsusb > -v". > >> See also: >> >> sysctl hw.usb.uaudio.debug=15 > > hw.usb.uaudio.debug was very helpful the original sample rate mismatch > problem. > > One thing that's annoying is the way dev/sound/usb/uaudio.c is > structured, the sample rate is programmed in the Dragonfly only when the > device is inserted; there's no way to change rates once it's plugged in. Hi, This can be changed. The problem is allocating and freeing audio buffers, which is a sleeping operation and I think cannot be done directly from the PCM API. If it is all about changing the sample rate, I think we at insert time can decide the maximum, and allow lower values to be set without any problems. I know there was a thread about this at the FreeBSD forums too, and it shouldn't be too hard to change this, at least for the case you are seeing. Are you a programmer capable of writing C-code ? --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 22 06:49:31 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 42F8AFF1 for ; Mon, 22 Apr 2013 06:49:31 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id D2961139F for ; Mon, 22 Apr 2013 06:49:30 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id CA09D7A03F; Mon, 22 Apr 2013 08:49:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id C1D0B20AAF; Mon, 22 Apr 2013 08:49:27 +0200 (CEST) Message-ID: <5174DDD1.5030103@bitfrost.no> Date: Mon, 22 Apr 2013 08:50:57 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S MIME-Version: 1.0 Subject: Re: Dragonfly USB DAC under 9.1-RELEASE References: <51732A63.9010001@ee.lbl.gov> <51740C56.3000907@bitfrost.no> <51743200.7010209@ee.lbl.gov> <5174D696.5080009@bitfrost.no> In-Reply-To: <5174D696.5080009@bitfrost.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org 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: Mon, 22 Apr 2013 06:49:31 -0000 On 04/22/13 08:20, Hans Petter Selasky wrote: > On 04/21/13 20:37, Craig Leres wrote: >> First let me say that I did a quick install of FreeBSD 10.0-CURRENT >> (r249439) onto a spare system yesterday and was able to play various >> source material with no glitches. Then I back ported the 10.0-CURRENT >> /sys/dev/sound tree (r249715) to my 9.1-RELEASE system and this solved >> my remaining audio issues. There were bug fixes but it looks like the >> bulk of the changes add support for USB Audio v2.0. >> >> On 04/21/13 08:57, Hans Petter Selasky wrote: >>> There are multiple options for debugging this issue. >>> >>> 1) Look at the usbdump utility for dumping the data communication for >>> your device: >>> >>> usbdump -i usbusX -f Y -s 65536 >> >> I did find usbdump earlier but don't know enough about usb audio to be >> able to identify any problems. >> >>> I suspect your device uses rate adaption, and that it does not work >>> properly. >> >> The Dragonfly supports 44.1, 48, 88.2 and 96 and one goal of mine is to >> not be doing any additional conversion so I'm hoping it's not doing that! >> >>> What does: >>> >>> usbconfig -d X.Y dump_curr_config_desc >>> >>> Say? >> >> Attached. I also installed usbutils and have attached output from "lsusb >> -v". >> >>> See also: >>> >>> sysctl hw.usb.uaudio.debug=15 >> >> hw.usb.uaudio.debug was very helpful the original sample rate mismatch >> problem. >> >> One thing that's annoying is the way dev/sound/usb/uaudio.c is >> structured, the sample rate is programmed in the Dragonfly only when the >> device is inserted; there's no way to change rates once it's plugged in. > > Hi, > > This can be changed. The problem is allocating and freeing audio > buffers, which is a sleeping operation and I think cannot be done > directly from the PCM API. > > If it is all about changing the sample rate, I think we at insert time > can decide the maximum, and allow lower values to be set without any > problems. > > I know there was a thread about this at the FreeBSD forums too, and it > shouldn't be too hard to change this, at least for the case you are > seeing. Are you a programmer capable of writing C-code ? > > --HPS Hi, You don't don't need to re-plug the adapter. You can also use usbconfig -d X.Y reset --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 22 11:06:47 2013 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ED05D5F0 for ; Mon, 22 Apr 2013 11:06:47 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DE0351081 for ; Mon, 22 Apr 2013 11:06:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3MB6lfu089171 for ; Mon, 22 Apr 2013 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3MB6lXm089169 for freebsd-multimedia@FreeBSD.org; Mon, 22 Apr 2013 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Apr 2013 11:06:47 GMT Message-Id: <201304221106.r3MB6lXm089169@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org 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: Mon, 22 Apr 2013 11:06:48 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/177532 multimedia multimedia/gstreamer-plugins-* ports missing dependenc o ports/177281 multimedia multimedia/avidemux2 does not compile o ports/175941 multimedia audio/gstreamer-plugins-ladspa add missing dependency o ports/175940 multimedia multimedia/gstreamer-plugins-good add missing dependen o ports/175865 multimedia audio/denemo 0.9.2_2 does not build o kern/175306 multimedia [snd_hda] snd_hda does not produce 7.1 sound on ALC892 o kern/175220 multimedia [sound] sound stopping: play interrupt timeout, channe f ports/175008 multimedia audio/gstreamer-plugins-soundtouch C++ compiler error o kern/174828 multimedia [sound] [snd_emu10kx]: "Creative SB PCI512 [CT4790]" i o kern/174796 multimedia [emu10kx]: Audigy ZS driver produce strange noises o kern/174573 multimedia [snd_hda] headphones on front panel not working anymor o ports/174338 multimedia [patch] multimedia/mkvtoolnix: update to 5.9.0 o ports/174287 multimedia multimedia/gstreamer-plugins-good fails to compile wit o ports/173741 multimedia multimedia/dirac fails to compile with clang o ports/172185 multimedia multimedia/vlc build fail with gmake core dump at modu o ports/172128 multimedia building multimedia/vlc fails o kern/171937 multimedia [pcm] Notebook Toshiba Satellite C850-B1K and problem o ports/171888 multimedia [PATCH] multimedia/gpac-libgpac: update to 0.5.0,1 o ports/171248 multimedia multimedia/win32-codecs: Fix pkg-plist o ports/170517 multimedia [patch] Correct audio/jack Dependency Declaration o ports/170032 multimedia Some ports not bumped after libogg update o ports/165090 multimedia audio/faad missing head files o kern/162181 multimedia [snd_emu10k1] [patch] The kernel sound driver module s o ports/161783 multimedia [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 o ports/161568 multimedia [PATCH] audio/libsamplerate: samplerate.h has comma at o ports/161546 multimedia [PATCH] multimedia/mkvtoolnix: make some dependencies o kern/159236 multimedia [pcm] [patch] set PCM_CAP_DEFAULT for the default snd o kern/158979 multimedia [snd_uadio] snd_uaudio fails to initialize built-in mi o kern/158542 multimedia [snd_hda] hdac0: hdac_get_capabilities: Invalid corb s o stand/157050 multimedia OSS implementation lacks AFMT_FLOAT o kern/156198 multimedia [snd_hda] [hang] loading snd_hda kernel module hangs s o kern/156165 multimedia [hdac] Missing card definition for hdac audio device, o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl a ports/153735 multimedia multimedia/vlc: install error: `Permission denied' for o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead o kern/152378 multimedia [sound][patch] Update snd_envy24ht to be MPSAFE and us f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 92 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 22 18:40:01 2013 Return-Path: Delivered-To: freebsd-multimedia@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5E3ABAFE for ; Mon, 22 Apr 2013 18:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3FB171D36 for ; Mon, 22 Apr 2013 18:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3MIe12a086605 for ; Mon, 22 Apr 2013 18:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3MIe0tR086604; Mon, 22 Apr 2013 18:40:00 GMT (envelope-from gnats) Date: Mon, 22 Apr 2013 18:40:00 GMT Message-Id: <201304221840.r3MIe0tR086604@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org Cc: From: Jason Subject: Re: kern/152378: [sound][patch] Update snd_envy24ht to be MPSAFE and use 32-bit DMA addresses X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jason List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2013 18:40:01 -0000 The following reply was made to PR kern/152378; it has been noted by GNATS. From: Jason To: bug-followup@FreeBSD.org, jason.harmening@gmail.com Cc: Subject: Re: kern/152378: [sound][patch] Update snd_envy24ht to be MPSAFE and use 32-bit DMA addresses Date: Mon, 22 Apr 2013 13:32:29 -0500 --Apple-Mail=_F85251E0-9ABB-4CB6-84DB-D120516E777F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Here's an update to the patch that gets rid of lockfunc[arg] for the DMA = tag, and correctly uses the busdma load callbacks to program the device = w/ the bus address. --Apple-Mail=_F85251E0-9ABB-4CB6-84DB-D120516E777F Content-Disposition: attachment; filename=patch_envy24ht.txt Content-Type: text/plain; x-unix-mode=0644; name="patch_envy24ht.txt" Content-Transfer-Encoding: quoted-printable --- envy24ht.h.orig 2011-10-01 12:23:36.000000000 -0500 +++ envy24ht.h 2011-10-01 12:24:46.000000000 -0500 @@ -176,8 +176,7 @@ #define ENVY24HT_VOL_MIN 96 /* -144db(negate) */ #define ENVY24HT_VOL_MUTE 127 /* mute */ =20 -#define BUS_SPACE_MAXADDR_ENVY24 0x0fffffff /* Address space beyond = 256MB is not - supported */ +#define BUS_SPACE_MAXADDR_ENVY24 0xffffffff #define BUS_SPACE_MAXSIZE_ENVY24 0x3fffc /* 64k x 4byte(1dword) */ =20 #define ENVY24HT_CCS_GPIO_HDATA 0x1E --- envy24ht.c.orig 2011-10-01 12:23:36.000000000 -0500 +++ envy24ht.c 2013-03-21 07:29:25.000000000 -0500 @@ -2080,7 +2080,9 @@ static void envy24ht_dmapsetmap(void *arg, bus_dma_segment_t *segs, int nseg, int = error) { - /* struct sc_info *sc =3D (struct sc_info *)arg; */ + struct sc_info *sc =3D arg; + envy24ht_wrmt(sc, ENVY24HT_MT_PADDR, (uint32_t)segs->ds_addr, = 4); + envy24ht_wrmt(sc, ENVY24HT_MT_PCNT, (uint32_t)(segs->ds_len / 4 = - 1), 2); =20 #if(0) device_printf(sc->dev, "envy24ht_dmapsetmap()\n"); @@ -2088,7 +2090,6 @@ printf("envy24ht(play): setmap %lx, %lx; ", (unsigned long)segs->ds_addr, (unsigned long)segs->ds_len); - printf("%p -> %lx\n", sc->pmap, (unsigned = long)vtophys(sc->pmap)); } #endif } @@ -2096,7 +2097,9 @@ static void envy24ht_dmarsetmap(void *arg, bus_dma_segment_t *segs, int nseg, int = error) { - /* struct sc_info *sc =3D (struct sc_info *)arg; */ + struct sc_info *sc =3D arg; + envy24ht_wrmt(sc, ENVY24HT_MT_RADDR, (uint32_t)segs->ds_addr, = 4); + envy24ht_wrmt(sc, ENVY24HT_MT_RCNT, (uint32_t)(segs->ds_len / 4 = - 1), 2); =20 #if(0) device_printf(sc->dev, "envy24ht_dmarsetmap()\n"); @@ -2104,7 +2107,6 @@ printf("envy24ht(record): setmap %lx, %lx; ", (unsigned long)segs->ds_addr, (unsigned long)segs->ds_len); - printf("%p -> %lx\n", sc->rmap, (unsigned = long)vtophys(sc->pmap)); } #endif } @@ -2149,8 +2151,6 @@ static int envy24ht_dmainit(struct sc_info *sc) { - u_int32_t addr; - #if(0) device_printf(sc->dev, "envy24ht_dmainit()\n"); #endif @@ -2176,34 +2176,16 @@ #if(0) device_printf(sc->dev, "envy24ht_dmainit(): bus_dmamem_load(): = sc->pmap\n"); #endif - if (bus_dmamap_load(sc->dmat, sc->pmap, sc->pbuf, sc->psize, = envy24ht_dmapsetmap, sc, 0)) + if (bus_dmamap_load(sc->dmat, sc->pmap, sc->pbuf, sc->psize, = envy24ht_dmapsetmap, sc, BUS_DMA_NOWAIT)) goto bad; #if(0) device_printf(sc->dev, "envy24ht_dmainit(): bus_dmamem_load(): = sc->rmap\n"); #endif - if (bus_dmamap_load(sc->dmat, sc->rmap, sc->rbuf, sc->rsize, = envy24ht_dmarsetmap, sc, 0)) + if (bus_dmamap_load(sc->dmat, sc->rmap, sc->rbuf, sc->rsize, = envy24ht_dmarsetmap, sc, BUS_DMA_NOWAIT)) goto bad; bzero(sc->pbuf, sc->psize); bzero(sc->rbuf, sc->rsize); =20 - /* set values to register */ - addr =3D vtophys(sc->pbuf); -#if(0) - device_printf(sc->dev, "pbuf(0x%08x)\n", addr); -#endif - envy24ht_wrmt(sc, ENVY24HT_MT_PADDR, addr, 4); -#if(0) - device_printf(sc->dev, "PADDR-->(0x%08x)\n", envy24ht_rdmt(sc, = ENVY24HT_MT_PADDR, 4)); - device_printf(sc->dev, "psize(%ld)\n", sc->psize / 4 - 1); -#endif - envy24ht_wrmt(sc, ENVY24HT_MT_PCNT, sc->psize / 4 - 1, 2); -#if(0) - device_printf(sc->dev, "PCNT-->(%ld)\n", envy24ht_rdmt(sc, = ENVY24HT_MT_PCNT, 2)); -#endif - addr =3D vtophys(sc->rbuf); - envy24ht_wrmt(sc, ENVY24HT_MT_RADDR, addr, 4); - envy24ht_wrmt(sc, ENVY24HT_MT_RCNT, sc->rsize / 4 - 1, 2); - return 0; bad: envy24ht_dmafree(sc); @@ -2441,7 +2423,7 @@ sc->irq =3D bus_alloc_resource(sc->dev, SYS_RES_IRQ, &sc->irqid, 0, ~0, 1, RF_ACTIVE | RF_SHAREABLE); if (!sc->irq || - snd_setup_intr(sc->dev, sc->irq, 0, envy24ht_intr, sc, = &sc->ih)) { + snd_setup_intr(sc->dev, sc->irq, INTR_MPSAFE, envy24ht_intr, = sc, &sc->ih)) { device_printf(sc->dev, "unable to map interrupt\n"); return ENXIO; } @@ -2451,12 +2433,12 @@ /*alignment*/4, /*boundary*/0, /*lowaddr*/BUS_SPACE_MAXADDR_ENVY24, - /*highaddr*/BUS_SPACE_MAXADDR_ENVY24, + /*highaddr*/BUS_SPACE_MAXADDR, /*filter*/NULL, /*filterarg*/NULL, /*maxsize*/BUS_SPACE_MAXSIZE_ENVY24, /*nsegments*/1, /*maxsegsz*/0x3ffff, - /*flags*/0, /*lockfunc*/busdma_lock_mutex, - /*lockarg*/&Giant, &sc->dmat) !=3D 0) { + /*flags*/0, /*lockfunc*/NULL, + /*lockarg*/NULL, &sc->dmat) !=3D 0) { device_printf(sc->dev, "unable to create dma tag\n"); return ENXIO; } --Apple-Mail=_F85251E0-9ABB-4CB6-84DB-D120516E777F-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 23 13:18:53 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1F453A67 for ; Tue, 23 Apr 2013 13:18:53 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id DB629116D for ; Tue, 23 Apr 2013 13:18:52 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:cc41:618e:ebfd:3416]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id F400D4AC58; Tue, 23 Apr 2013 17:18:51 +0400 (MSK) Date: Tue, 23 Apr 2013 17:18:49 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1741040117.20130423171849@serebryakov.spb.ru> To: Hans Petter Selasky Subject: Re: Dragonfly USB DAC under 9.1-RELEASE In-Reply-To: <51740C56.3000907@bitfrost.no> References: <51732A63.9010001@ee.lbl.gov> <51740C56.3000907@bitfrost.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org 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: Tue, 23 Apr 2013 13:18:53 -0000 Hello, Hans. You wrote 21 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 2013 =D0=B3., 19:57:10: HPS> I suspect your device uses rate adaption, and that it does not work HPS> properly. Dragonfly DAC is async DAC, not adaptive one, which use async mode for isochronious transfers (not very common mode, but standard one for sure, since USB 1.1) and local clock source for DAC itself. Also, it squeeze maximum from USB 1.1 (96/24) without being USB 2.0 audio device, as far as I know, but I may be wrong here. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 23 17:47:26 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CAF92868; Tue, 23 Apr 2013 17:47:26 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca]) by mx1.freebsd.org (Postfix) with ESMTP id B8EDD1382; Tue, 23 Apr 2013 17:47:26 +0000 (UTC) Received: from ice.ee.lbl.gov (ice.ee.lbl.gov [131.243.2.213]) (authenticated bits=0) by fun.ee.lbl.gov (8.14.7/8.14.7) with ESMTP id r3NHlKfS056418 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 23 Apr 2013 10:47:22 -0700 (PDT) Message-ID: <5176C927.5040200@ee.lbl.gov> Date: Tue, 23 Apr 2013 10:47:19 -0700 From: Craig Leres User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: Lev Serebryakov Subject: Re: Dragonfly USB DAC under 9.1-RELEASE References: <51732A63.9010001@ee.lbl.gov> <51740C56.3000907@bitfrost.no> <1741040117.20130423171849@serebryakov.spb.ru> In-Reply-To: <1741040117.20130423171849@serebryakov.spb.ru> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org 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: Tue, 23 Apr 2013 17:47:26 -0000 On 04/23/13 06:18, Lev Serebryakov wrote: > Dragonfly DAC is async DAC, not adaptive one, which use async mode for > isochronious transfers (not very common mode, but standard one for > sure, since USB 1.1) and local clock source for DAC itself. I guess the audio defects I was hearing with the 9.1-RELEASE dev/sound subsystem point to a bug with sound-related async-isochronous transfers. > Also, it squeeze maximum from USB 1.1 (96/24) without being USB 2.0 > audio device, as far as I know, but I may be wrong here. It's a full speed device: hot 5 % usbconfig -d 2.2 ugen2.2: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Craig From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 23 19:12:41 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DF163121 for ; Tue, 23 Apr 2013 19:12:41 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id A6B5C1890 for ; Tue, 23 Apr 2013 19:12:41 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:cc41:618e:ebfd:3416]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id E37BF4AC57; Tue, 23 Apr 2013 23:12:37 +0400 (MSK) Date: Tue, 23 Apr 2013 23:12:35 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <322566205.20130423231235@serebryakov.spb.ru> To: Craig Leres Subject: Re: Dragonfly USB DAC under 9.1-RELEASE In-Reply-To: <5176C927.5040200@ee.lbl.gov> References: <51732A63.9010001@ee.lbl.gov> <51740C56.3000907@bitfrost.no> <1741040117.20130423171849@serebryakov.spb.ru> <5176C927.5040200@ee.lbl.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 19:12:41 -0000 Hello, Craig. You wrote 23 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 2013 =D0=B3., 21:47:19: >> Also, it squeeze maximum from USB 1.1 (96/24) without being USB 2.0 >> audio device, as far as I know, but I may be wrong here. CL> It's a full speed device: CL> hot 5 % usbconfig -d 2.2 CL> ugen2.2: at usbus2, cfg=3D0 CL> md=3DHOST spd=3DFULL (12Mbps) pwr=3DON So, I'm right here. It is done for purpose, as Windows doesn't have native Audio Class 2 drivers, and all available drivers are (a) expensive and (b) buggy at same time. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 24 13:05:34 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 90D42E89 for ; Wed, 24 Apr 2013 13:05:34 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id 5725813A9 for ; Wed, 24 Apr 2013 13:05:34 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r3OD5XZo022548 for ; Wed, 24 Apr 2013 09:05:33 -0400 (EDT) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r3OD5XR2022300; Wed, 24 Apr 2013 09:05:33 -0400 (EDT) (envelope-from portscout) Message-Id: <201304241305.r3OD5XR2022300@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Wed, 24 Apr 2013 09:05:33 -0400 From: portscout@portscout.freebsd.org To: multimedia@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.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: Wed, 24 Apr 2013 13:05:34 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/multimedia@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ multimedia/libdvbpsi | 0.2.2 | 1.1.0 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 24 16:53:20 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 16A3886E for ; Wed, 24 Apr 2013 16:53:20 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id CEC5D1041 for ; Wed, 24 Apr 2013 16:53:19 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id 8E9DA7A16E; Wed, 24 Apr 2013 18:53:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id 65BB320AAF; Wed, 24 Apr 2013 18:53:15 +0200 (CEST) Message-ID: <51780E51.9010806@bitfrost.no> Date: Wed, 24 Apr 2013 18:54:41 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S MIME-Version: 1.0 To: Craig Leres , freebsd-multimedia@freebsd.org Subject: Re: Dragonfly USB DAC under 9.1-RELEASE References: <51732A63.9010001@ee.lbl.gov> <51740C56.3000907@bitfrost.no> <51743200.7010209@ee.lbl.gov> <51757C34.5030503@bitfrost.no> <5175EA08.9070308@ee.lbl.gov> <5176678C.6060607@bitfrost.no> <5176FEE1.2080204@ee.lbl.gov> <51777904.2080009@bitfrost.no> <517789EF.8040402@ee.lbl.gov> <51778B83.5040403@bitfrost.no> <51778E78.6040600@ee.lbl.gov> In-Reply-To: <51778E78.6040600@ee.lbl.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 24 Apr 2013 16:53:20 -0000 On 04/24/13 09:49, Craig Leres wrote: > On 04/24/13 00:36, Hans Petter Selasky wrote: >> There is another sysctl: >> >> dev.pcm.1.play.vchanmode >> >> Set this to adaptive. > > Perfect. > > Craig > Try to SVN up to -current. All patches should be in now :-) --HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 24 19:54:56 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C550FAE7 for ; Wed, 24 Apr 2013 19:54:56 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca]) by mx1.freebsd.org (Postfix) with ESMTP id 9907D1B41 for ; Wed, 24 Apr 2013 19:54:56 +0000 (UTC) Received: from ice.ee.lbl.gov (ice.ee.lbl.gov [131.243.2.213]) (authenticated bits=0) by fun.ee.lbl.gov (8.14.7/8.14.7) with ESMTP id r3OJsnVv054598 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 24 Apr 2013 12:54:52 -0700 (PDT) Message-ID: <51783889.5070509@ee.lbl.gov> Date: Wed, 24 Apr 2013 12:54:49 -0700 From: Craig Leres User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: Hans Petter Selasky Subject: Re: Dragonfly USB DAC under 9.1-RELEASE References: <51732A63.9010001@ee.lbl.gov> <51740C56.3000907@bitfrost.no> <51743200.7010209@ee.lbl.gov> <51757C34.5030503@bitfrost.no> <5175EA08.9070308@ee.lbl.gov> <5176678C.6060607@bitfrost.no> <5176FEE1.2080204@ee.lbl.gov> <51777904.2080009@bitfrost.no> <517789EF.8040402@ee.lbl.gov> <51778B83.5040403@bitfrost.no> <51778E78.6040600@ee.lbl.gov> <51780E51.9010806@bitfrost.no> In-Reply-To: <51780E51.9010806@bitfrost.no> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org 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: Wed, 24 Apr 2013 19:54:56 -0000 On 04/24/13 09:54, Hans Petter Selasky wrote: > Try to SVN up to -current. All patches should be in now :-) It works sweet with "sysctl dev.pcm.4.play.vchanmode=adaptive". Thanks for the hacking, this is a really nice feature. Craig From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 27 09:03:53 2013 Return-Path: Delivered-To: freebsd-multimedia@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8EFC9AB8; Sat, 27 Apr 2013 09:03:53 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 649D3137A; Sat, 27 Apr 2013 09:03:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3R93r0p028163; Sat, 27 Apr 2013 09:03:53 GMT (envelope-from kwm@freefall.freebsd.org) Received: (from kwm@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3R93rp0028162; Sat, 27 Apr 2013 09:03:53 GMT (envelope-from kwm) Date: Sat, 27 Apr 2013 09:03:53 GMT Message-Id: <201304270903.r3R93rp0028162@freefall.freebsd.org> To: pawel@FreeBSD.org, kwm@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: kwm@FreeBSD.org Subject: Re: ports/175941: audio/gstreamer-plugins-ladspa add missing dependency 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, 27 Apr 2013 09:03:53 -0000 Synopsis: audio/gstreamer-plugins-ladspa add missing dependency State-Changed-From-To: open->closed State-Changed-By: kwm State-Changed-When: Sat Apr 27 09:03:43 UTC 2013 State-Changed-Why: Committed thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=175941 From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 27 09:10:01 2013 Return-Path: Delivered-To: freebsd-multimedia@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 58881C33 for ; Sat, 27 Apr 2013 09:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3023C13B3 for ; Sat, 27 Apr 2013 09:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3R9A1no028586 for ; Sat, 27 Apr 2013 09:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3R9A06Z028585; Sat, 27 Apr 2013 09:10:00 GMT (envelope-from gnats) Date: Sat, 27 Apr 2013 09:10:00 GMT Message-Id: <201304270910.r3R9A06Z028585@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/175941: commit references a PR X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Apr 2013 09:10:01 -0000 The following reply was made to PR ports/175941; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/175941: commit references a PR Date: Sat, 27 Apr 2013 09:03:36 +0000 (UTC) Author: kwm Date: Sat Apr 27 09:03:23 2013 New Revision: 316655 URL: http://svnweb.freebsd.org/changeset/ports/316655 Log: If liblrdf is installed the ladspa plugin will build against it. So add it to lib_depends. PR: ports/175941 Submitted by: pawel@ Modified: head/audio/gstreamer-plugins-ladspa/Makefile (contents, props changed) head/multimedia/gstreamer-plugins/Makefile.common Modified: head/audio/gstreamer-plugins-ladspa/Makefile ============================================================================== --- head/audio/gstreamer-plugins-ladspa/Makefile Sat Apr 27 08:50:46 2013 (r316654) +++ head/audio/gstreamer-plugins-ladspa/Makefile Sat Apr 27 09:03:23 2013 (r316655) @@ -1,12 +1,8 @@ -# New ports collection makefile for: gstreamer-plugins-ladspa -# Date created: 3 Oct 2004 -# Whom: Michael Johnson -# +# Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/audio/gstreamer-plugins-ladspa/Makefile,v 1.5 2008/03/19 14:05:30 ahze Exp $ -# -PORTREVISION= 0 +PORTREVISION= 2 CATEGORIES= audio COMMENT= Gstreamer ladspa (Linux Audio Developer's Simple Plugin API) plugin Modified: head/multimedia/gstreamer-plugins/Makefile.common ============================================================================== --- head/multimedia/gstreamer-plugins/Makefile.common Sat Apr 27 08:50:46 2013 (r316654) +++ head/multimedia/gstreamer-plugins/Makefile.common Sat Apr 27 09:03:23 2013 (r316655) @@ -349,6 +349,7 @@ gst_jpeg_PLIST_FILES= ${GST_LIB_DIR}/lib # ladspa gst_ladspa_BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa +gst_ladspa_LIB_DEPENDS+= lrdf:${PORTSDIR}/textproc/liblrdf gst_ladspa_PLIST_FILES= ${GST_LIB_DIR}/libgstladspa.la \ ${GST_LIB_DIR}/libgstladspa.so gst_ladspa_DIST= bad _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 27 20:31:51 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3E1A4F1 for ; Sat, 27 Apr 2013 20:31:51 +0000 (UTC) (envelope-from stanislav.antic@gmail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id D1BF01849 for ; Sat, 27 Apr 2013 20:31:50 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id s43so4470340wey.41 for ; Sat, 27 Apr 2013 13:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=EHwsUuTX5L+SGt6jN/kAKz7aaJV/vZH5dwslLVDLKPU=; b=sSKatq+JjuaYcW6Sgual2JP8MiI7Dp99IoffsvliwJv3ana2eYQz9VWvo/0XrCigLO v2OU3MTfZSRDdYvpC0QIJvHu6ys1JeZqSke9lGFzoYFKfYANNVjbpJNhZavW24lEfPZo zvyAHDQj7zZ4MHLmgl64Oivx7ZawLtcjzYePAu5tlEEMrTrYlGY2FbfnVFu9AqKfDYum FVEPDrS8nCe5YbdSK4/HVfpC5xs7U3s9zjp9qCiMLTK8xk2ee2kEuSkSkVYIuBUoONX3 hU20eKDGzxtT89qqag/+4JJDtHBFWE4AffM1dw6QN0j+zFITAQeKsANykRt4QxOwMCqr gM7A== MIME-Version: 1.0 X-Received: by 10.194.122.7 with SMTP id lo7mr66759218wjb.48.1367094709428; Sat, 27 Apr 2013 13:31:49 -0700 (PDT) Received: by 10.180.75.38 with HTTP; Sat, 27 Apr 2013 13:31:49 -0700 (PDT) Date: Sat, 27 Apr 2013 22:31:49 +0200 Message-ID: Subject: dsp4.0 silent dsp4.>1 works From: Stanislav Antic To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=UTF-8 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, 27 Apr 2013 20:31:51 -0000 Sound plays with some quirks from Chrome browser (http://www.quirksmode.org/html5/tests/video.html). If sound don't work I click somewhere in progress bar. I guess then it switches to some other channel, not 4.0. VLC and mplayer don't play sound, they only play it if I start one instance of mplayer/VLC and after that another one, so second one takes second channel. All channels above dsp4.0 works. Does someone have idea what is happening here. I tried to find similar problem on internet without success? This are some maybe relevant data: % uname -a FreeBSD nordix 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 % cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play) pcm1: (play) pcm2: (play) pcm3: (play) pcm4: (play/rec) default pcm5: (play) pcm6: (play % mixer Mixer vol is currently set to 78:78 Mixer pcm is currently set to 83:83 Mixer speaker is currently set to 80:80 Mixer line is currently set to 58:58 Mixer mic is currently set to 100:100 Mixer rec is currently set to 35:35 Mixer igain is currently set to 75:75 Mixer ogain is currently set to 100:100 Mixer monitor is currently set to 100:100 Recording source: mic % dmesg|grep pcm pcm0: at nid 5 on hdaa0 pcm1: at nid 5 on hdaa1 pcm2: at nid 5 on hdaa2 pcm3: at nid 5 on hdaa3 pcm4: at nid 28,29 and 26,30,27 on hdaa4 pcm5: at nid 32 on hdaa4 pcm6: at nid 33 on hdaa4 -- Stanislav Antic