Re: [Alsa-user] GUI hdspmixer necessary for HDSP 9652?!
[Reposting to whole list. Ooops] Hi Christian, I cannot help you with item 1. However, item 2 was something that bit me when I wanted a headless setup using a HDSP9652. I agree, things are pretty clunky. I believe it is a safety feature that all of the hardware mixer values are set to 0 at startup. hdspmixer does indeed set these to more useful values when run. Thankfully, there is support for setting the matrix mixer settings in amixer as well. I had a script that I ran at startup which set things how I needed. The numbering of the channels may make you scratch your head for a few minutes :) Behold! The following: #!/bin/sh # Route software outputs 9-16 to the ADA8000 (on ADAT2 Out) /usr/bin/amixer -q cset numid=5 34,8,32768 /usr/bin/amixer -q cset numid=5 35,9,32768 /usr/bin/amixer -q cset numid=5 36,10,32768 /usr/bin/amixer -q cset numid=5 37,11,32768 /usr/bin/amixer -q cset numid=5 38,12,32768 /usr/bin/amixer -q cset numid=5 39,13,32768 /usr/bin/amixer -q cset numid=5 40,14,32768 /usr/bin/amixer -q cset numid=5 41,15,32768 # Route the ADAT output of the ADA8000 (on ADAT2 In) to the other machine (on ADAT3 Out) /usr/bin/amixer -q cset numid=5 8,16,32768 /usr/bin/amixer -q cset numid=5 9,17,32768 /usr/bin/amixer -q cset numid=5 10,18,32768 /usr/bin/amixer -q cset numid=5 11,19,32768 /usr/bin/amixer -q cset numid=5 12,20,32768 /usr/bin/amixer -q cset numid=5 13,21,32768 /usr/bin/amixer -q cset numid=5 14,22,32768 /usr/bin/amixer -q cset numid=5 15,23,32768 # Route channels 12 from the other machine (on ADAT3 In) to the S/PDIF output /usr/bin/amixer -q cset numid=5 16,24,32768 /usr/bin/amixer -q cset numid=5 17,25,32768 # Also route the S/PDIF playback channels (50 51) to the S/PDIF output (24 25) /usr/bin/amixer -q cset numid=5 50,24,32768 /usr/bin/amixer -q cset numid=5 51,25,32768 # Set the clock source to Master 44.1kHz /usr/bin/amixer -q cset numid=11 2 # Set the preferred sync reference to ADAT2In /usr/bin/amixer -q cset numid=14 4 # Set the ADAT1 input to be S/PDIF /usr/bin/amixer -q cset numid=6 0 # Set ADAT1 output to be S/PDIF /usr/bin/amixer -q cset numid=7 on # Set Professional bit on S/PDIF output /usr/bin/amixer -q cset numid=8 on Hope this helps! Matt On 1 March 2013 13:47, Schmidt, Christian Thorge c...@radiopark.de wrote: Hello all, I have an RME HDSP 9652 PCI card[1] installed unter Ubuntu 12.04.1[2], kernel 3.2.0-33-generic-pae [3]. There's two things I need help with: 1. Is there a way to use the ADAT outputs of the card under pure ALSA, without jackd? For now I start up jackd and get system:playback_1 through system:playback_26 but I would very much like to just use (mplayer-style) hw:0.0 through hw:0.25 - any ideas/any alsa config files that would help me with this? 2. Using jack, I need to start up hdspmixer to hear any sound - without starting it I see all the jackd outputs, all the jackd inputs, the routing is ok - but no sound. Starting up hdspmixer gives me sound on my Behringer ADAT-to-analog outputs. I suppose hdspmixer sets the volume - I'd like to do this without X and, most important, without user interaction. So can I copy/activate the volume settings the same way hdspmixer does from the commandline? Thanks for your help, Christian. [1]: 01:0a.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP (rev 6c) [2]: Ubuntu 12.04.1 LTS [3]: Linux music 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 i686 athlon i386 GNU/Linux -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX
Hi Florian, On 21/12/12 23:36, Florian Hanisch wrote: Hi Matthew, did you try to use alsa-mixer ? It was not working when I was trying the fireface ucx with the modified mixer.c some weeks ago. It would be interesting to know whether it is different on your system / with the new patch. I'm not sure exactly what you mean by alsa-mixer, as I do not have a program by that name. $ cat /proc/asound/card1/id Babyface2312334 $ amixer --card 1 Simple mixer control 'Speaker',0 Capabilities: pvolume pvolume-joined Playback channels: Mono Limits: Playback 0 - 130 Mono: Playback 130 [100%] [0.00dB] So, we see that exactly one control is provided. At first, I thought this control had no effect at all, as the audio output only becomes audibly quieter when this control is well below 10%/-60dB. The rest of the range sounds like full volume, which is definitely not correct. So, perhaps there is a bug either in the usb audio driver or in the class-compliance of the RME interfaces. Is there a double dB-mapping or something? Also: $ dmesg | grep -b5 'usb 1-1' ... 75253:[ 37.663034] usb 1-1: new high-speed USB device number 2 using ehci_hcd 75327-[ 37.714346] ehci_hcd :00:1a.7: port 1 reset complete, port enabled 75401-[ 37.714360] ehci_hcd :00:1a.7: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT 75502:[ 37.777245] usb 1-1: skipped 1 descriptor after configuration 75567:[ 37.777256] usb 1-1: skipped 7 descriptors after interface 75629:[ 37.777261] usb 1-1: skipped 2 descriptors after interface 75691:[ 37.777268] usb 1-1: skipped 1 descriptor after endpoint 75751:[ 37.777273] usb 1-1: skipped 2 descriptors after interface 75813:[ 37.777278] usb 1-1: skipped 1 descriptor after endpoint 75873:[ 37.777283] usb 1-1: skipped 2 descriptors after interface 75935:[ 37.777288] usb 1-1: skipped 1 descriptor after endpoint 75995:[ 37.777293] usb 1-1: skipped 2 descriptors after interface 76057:[ 37.777298] usb 1-1: skipped 1 descriptor after endpoint 76117:[ 37.777303] usb 1-1: skipped 5 descriptors after interface 76179:[ 37.777308] usb 1-1: skipped 1 descriptor after endpoint 76239:[ 37.777313] usb 1-1: skipped 1 descriptor after endpoint 76299:[ 37.777356] usb 1-1: default language 0x0409 76347:[ 37.31] usb 1-1: udev 2, busnum 1, minor = 1 76399:[ 37.38] usb 1-1: New USB device found, idVendor=0424, idProduct=3fd7 76475:[ 37.46] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 76556:[ 37.52] usb 1-1: Product: Babyface (23123346) 76609:[ 37.57] usb 1-1: Manufacturer: RME 76651:[ 37.61] usb 1-1: SerialNumber: D6E37D3FA346FC8 76705:[ 37.778681] usb 1-1: usb_probe_device 76746:[ 37.778689] usb 1-1: configuration #1 chosen from 1 choice 76808:[ 37.778749] usb 1-1: adding 1-1:1.0 (config #1, interface 0) 76872-[ 37.778872] snd-usb-audio 1-1:1.0: usb_probe_interface 76930-[ 37.778882] snd-usb-audio 1-1:1.0: usb_probe_interface - got id 76997-[ 37.781652] cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0x0, type = 4 77085-[ 37.785159] cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0x0, type = 4 77173-[ 37.785314] cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0x0, type = 4 77261:[ 37.785372] usb 1-1: adding 1-1:1.1 (config #1, interface 1) 77325:[ 37.785675] usb 1-1: adding 1-1:1.2 (config #1, interface 2) 77389:[ 37.785904] usb 1-1: adding 1-1:1.3 (config #1, interface 3) ... This doesn't look like things are going totally smoothly. But audio output DOES work, and the one volume control that is visible does have some effect. Is this different to your findings with the Fireface UCX? Thanks, Matt -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX
On 18/12/12 13:19, Clemens Ladisch wrote: Matthew Robbetts wrote: Is this bug fixed upstream at this point? This patch is still untested: Hi Clemens, I can confirm that I get the original error with a Babyface, and that this patch appears to fix it beautifully. At least, insofar as it is now seen by ALSA (/proc/asound/card0 is populated as I'd expect), there are no errors in dmesg, and my default Pulseaudio plays back audio with it (and at the correct sample rate, too). I have not tested audio input yet, but things look promising. Is there anything specific I ought to check? Thanks! Matt -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX
On 18 December 2012 13:19, Clemens Ladisch cladi...@googlemail.com wrote: Matthew Robbetts wrote: Is this bug fixed upstream at this point? This patch is still untested: Ah, fantastic, there's a patch. Well, I have a babyface winging its way to me (though, no UCXes...) so if it doesn't get tested before then, I'll give it a whirl. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX
Hi all, snip Yes, interesting this never got triggered before. The 7 should be a 6 in v2 case ... Is this bug fixed upstream at this point? I am interested in using an RME Babyface with its new class-compliant mode, and this bug is mentioned by RME as the only thing standing in the way. If it is fixed upstream, would the fix be included in the 3.7 kernel? Or not until 3.8? Thanks! Matt -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] Help configuring HDSP9632
Hi guys, I've been trying off and on for weeks now, but I can't get my RME HDSP9632 configured under ALSA properly. (Is it me or does ALSA really not make this an easy process? I can't find anywhere to get any feedback from the system on configuration errors. Hell, if you make a typo in the config file, you only find out because of some scary-looking output from aplay. The docs on the website seem to be quite old and often conflict with each other and I can't find any relevant man pages.) Anyhow, the card works out of the box, insofar as it lets one application play sound through it at a time. So I'm trying to do the common thing of configuring dmix to let multiple applications output sound at once. Nothing fancy, really! At least, at this point. My /etc/asound.conf file is as follows (pieced together from tuts and the like): pcm.!default { type plug slave.pcm hdsp9632_dmix hint { show on description Default device: Plugs into hdsp9632_dmix. } } ctl.hdsp9632_dmix { type hw card 0 } pcm.hdsp9632_dmix { type dmix ipc_perm 0660 ipc_key 1025 ipc_key_add_uid false slave { pcm hw:0,0 rate 44100 channels 2 period_size 1024 buffer_size 4096 } bindings { 0 0 1 1 } hint { show on description hdsp9632_dmix: The dmix plugin - plugs into hdsp9632. } } Using this file, I get # aplay -L null Discard all samples (playback) or generate zero samples (capture) default Default device: Plugs into hdsp9632_dmix. hdsp9632_dmix hdsp9632_dmix: The dmix plugin - plugs into hdsp9632. which is what I hope for. But, if I try and play something with vlc, I get an error message and No AutoSync source for requested rate comes up in dmesg. The card is currently set to clock master at the same sample rate as the audio (44.1kHz). If anyone can shed any light on what I'm doing wrong (and, ideally, some methodology on configuring ALSA which doesn't require scrabbling around in the dark!), I will be grateful until the end of time. Thanks a lot, Matt -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user