[Alsa-user] Master volume on ICH10 does not work since Ubuntu 12.04 upgrade
Since I moved from Ubuntu 11.10 (kernel 3.0.0) to Ubuntu 12.04 (kernel 3.2.0) I the Master volume in alsamixer does not do any changes. I have to alter the PCM volume to set the desired volume level. Any idea what's happened? -- Best regards Daniel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] [Musicpd-dev-team] Schiit Bifrost, usb, C-Media 6631, ALSA/MPD
On 11.06.2012 20:50, Demian Martin wrote: Daniel: I have similar problems with the CM6631, the Tenor 8802 and the Audio Widget. In both examples of the CM6631 I have the same bad sounds happen with sample rate changes that go away with a pause-play cycle. The Tenor is more problematic and really only functions at 44.1. At other sample rates with several different Tenor firmware builds it just stutters badly. I'm told its rate feedback works in 10Hz steps. For the Audio Widget Alex Lee came up with a workaround patch for the 44-48 to 88-96 sample rate switch where the rate feedback seems to go awry. Which kernel version do you test this on? And are you saying this is a regression from older versions? Daniel What error messages or logs would you like to see? I have been trying to borrow a USB2 sniffer but with no luck. Even the rent is too steep for me. I would really like to get this resolved. I have access to pretty much all the current UAC2 chip options (don't have the Via but no one is really using it yet). I can even arrange remote access to a machine with them attached if that helps. Demian -Original Message- From: Daniel Mack [mailto:zon...@gmail.com] Sent: Monday, June 11, 2012 12:00 AM To: Andrew Dunn Cc: alsa-user@lists.sourceforge.net; musicpd-dev-t...@lists.sourceforge.net; Clemens Ladisch Subject: Re: [Musicpd-dev-team] Schiit Bifrost, usb, C-Media 6631, ALSA/MPD On 08.06.2012 20:40, Andrew Dunn wrote: Apologies, I had returned that Bifrost and been using another device based on the XMOS chip (Worked perfectly). I now have a new Bifrost and I'm running Fedora 17 with ALSA 1.0.25 Thanks for the dump. Are there any suspicious entries written to /var/log/messages when you plug in the device and start streaming? Daniel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] how to get roland's ua-1g working
Stefan Thomas wrote: cat /proc/asound/cards ... 3 [UA1G ]: USB-Audio - UA-1G Roland UA-1G at usb-:05:00.0-2, full speed What do I have to do, if I want to hear something using e.g. mplayer? mplayer -ao alsa:device=hw=UA1G something.wav Regards, Clemens -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] USB audio device - Error: parse_audio_format_rates_v2(): unable to retrieve number of sample rates
On 15.04.2012 21:37, Daniel Mack wrote: On 04/14/2012 10:18 PM, je...@web.de wrote: Want to give a short feedback for other user waiting for a solution. Thanks to Daniel the problem is solved now by the following patch: Yes, but Joachim wanted to contact the vendor and ask for a firmware upgrade to fix this on the device side. Only if they refuse to provide a fix for that, we can merge this hack. Joachim, any feedback from the vendor? diff --git a/sound/usb/clock.c b/sound/usb/clock.c index 379baad..b05111d 100644 --- a/sound/usb/clock.c +++ b/sound/usb/clock.c @@ -255,6 +255,13 @@ static int set_sample_rate_v2(struct snd_usb_audio *chip, int iface, int err, crate; int clock = snd_usb_clock_find_source(chip, fmt-clock); +/* + * Fractal Audio Systems AXE-FX II does not respond to sample rate + * set requests. The only valid rate is 48000. + */ +if (chip-usb_id == USB_ID(0x2466, 0x8003) rate == 48000) +return 0; + if (clock 0) return clock; diff --git a/sound/usb/format.c b/sound/usb/format.c index ddfef57..7a9e82a 100644 --- a/sound/usb/format.c +++ b/sound/usb/format.c @@ -279,6 +279,20 @@ static int parse_audio_format_rates_v2(struct snd_usb_audio *chip, int nr_triplets, data_size, ret = 0; int clock = snd_usb_clock_find_source(chip, fp-clock); +/* + * Fractal Audio Systems AXE-FX II does not respond to sample rate + * query requests. The only valid rate is 48000. + */ +if (chip-usb_id == USB_ID(0x2466, 0x8003)) { +fp-nr_rates = 1; +fp-rate_min = 48000; +fp-rate_max = 48000; +fp-rates = SNDRV_PCM_RATE_48000; +fp-rate_table = kmalloc(sizeof(int), GFP_KERNEL); +fp-rate_table[0] = 48000; +return 0; +} + if (clock 0) { snd_printk(KERN_ERR %s(): unable to find clock source (clock %d)\n, __func__, clock); In addition to the previously posted patch it was necessary to modify clock.c also, because the Axe-FX II currently neither responds to get sample rate requests nor set sample rate requests. Many thanks again to Daniel. Best regards Joachim -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] S/PDIF Capture Details
I'm writing a program to open an ALSA device (USB S/PDIF) and capture the bitstream. Aside from having to tackle the bits about deciding whether the stream is PCM versus something else, I first have to figure out how to *properly* open the device for capture. Unfortunately, what programs I've seen that do seem to work in this capacities are littered with all kinds of other crap to serve as a real reference. Documentation is pitiful, at best, unless I've completely missed whatever page it's on the internet. So, assuming I can find the card and open it using snd_pcm_open I need to then configure the hardware parameters. My current attempt is to do the following ... snd_pcm_hw_params_set_access(..., ..., SND_PCM_ACCESS_RW_INTERLEAVED) snd_pcm_hw_params_set_format(..., ..., SND_PCM_FORMAT_S16) snd_pcm_hw_params_set_channels(..., ..., 2) snd_pcm_hw_params_set_rate_near(..., ..., 48000, 0) However, I'm not entirely clear what I'll get from this device. The S/PDIF standard talks about 32-bit words (which would be one frame read from the above configuration) that can be parsed to get the headers and payload. Will I be reading that, or the payload with the headers stripped off? Also, what if the device to which I am connected is a CD player outputting data at 44.1 KHz? I've set the sample rate (do I really need to?) so will that adversely affect how I'm reading data? Lots of questions but maybe because I'm the kind of person that deals with concise examples I haven't figured out the answers yet. Paul Braman -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] [Musicpd-dev-team] Schiit Bifrost, usb, C-Media 6631, ALSA/MPD
Daniel: To be concise- 1) I have tested with Alsa 1.0.24 and 1.0.25. 2) These devices (CMedia, Tenor and Audio Widget) have always had the same issues. They did not change from the first version of UAC2 support. 3) XMOS based USB interfaces work fine. 4) Alex Lee came up with a workaround to get the Audio Widget to work on Linux, that is not compatible with Windows (Thesycon driver) or OSX. He can explain far better than I can. How can I help resolve these issues? Would hardware help? Demian -Original Message- From: Daniel Mack [mailto:zon...@gmail.com] Sent: Tuesday, June 12, 2012 12:50 AM To: Demian Martin Cc: 'Andrew Dunn'; alsa-user@lists.sourceforge.net; musicpd-dev-t...@lists.sourceforge.net; 'Clemens Ladisch' Subject: Re: [Musicpd-dev-team] Schiit Bifrost, usb, C-Media 6631, ALSA/MPD On 11.06.2012 20:50, Demian Martin wrote: Daniel: I have similar problems with the CM6631, the Tenor 8802 and the Audio Widget. In both examples of the CM6631 I have the same bad sounds happen with sample rate changes that go away with a pause-play cycle. The Tenor is more problematic and really only functions at 44.1. At other sample rates with several different Tenor firmware builds it just stutters badly. I'm told its rate feedback works in 10Hz steps. For the Audio Widget Alex Lee came up with a workaround patch for the 44-48 to 88-96 sample rate switch where the rate feedback seems to go awry. Which kernel version do you test this on? And are you saying this is a regression from older versions? Daniel What error messages or logs would you like to see? I have been trying to borrow a USB2 sniffer but with no luck. Even the rent is too steep for me. I would really like to get this resolved. I have access to pretty much all the current UAC2 chip options (don't have the Via but no one is really using it yet). I can even arrange remote access to a machine with them attached if that helps. Demian -Original Message- From: Daniel Mack [mailto:zon...@gmail.com] Sent: Monday, June 11, 2012 12:00 AM To: Andrew Dunn Cc: alsa-user@lists.sourceforge.net; musicpd-dev-t...@lists.sourceforge.net; Clemens Ladisch Subject: Re: [Musicpd-dev-team] Schiit Bifrost, usb, C-Media 6631, ALSA/MPD On 08.06.2012 20:40, Andrew Dunn wrote: Apologies, I had returned that Bifrost and been using another device based on the XMOS chip (Worked perfectly). I now have a new Bifrost and I'm running Fedora 17 with ALSA 1.0.25 Thanks for the dump. Are there any suspicious entries written to /var/log/messages when you plug in the device and start streaming? Daniel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] [Musicpd-dev-team] Schiit Bifrost, usb, C-Media 6631, ALSA/MPD
On 12.06.2012 20:08, Demian Martin wrote: Daniel: To be concise- 1) I have tested with Alsa 1.0.24 and 1.0.25. 2) These devices (CMedia, Tenor and Audio Widget) have always had the same issues. They did not change from the first version of UAC2 support. 3) XMOS based USB interfaces work fine. 4) Alex Lee came up with a workaround to get the Audio Widget to work on Linux, that is not compatible with Windows (Thesycon driver) or OSX. He can explain far better than I can. I'd like to hear about this workaround in detail. How can I help resolve these issues? Would hardware help? Hardware would definitely help, yes. Thanks for the offer. I'd also send it back to you once the issue is resolved. Daniel -Original Message- From: Daniel Mack [mailto:zon...@gmail.com] Sent: Tuesday, June 12, 2012 12:50 AM To: Demian Martin Cc: 'Andrew Dunn'; alsa-user@lists.sourceforge.net; musicpd-dev-t...@lists.sourceforge.net; 'Clemens Ladisch' Subject: Re: [Musicpd-dev-team] Schiit Bifrost, usb, C-Media 6631, ALSA/MPD On 11.06.2012 20:50, Demian Martin wrote: Daniel: I have similar problems with the CM6631, the Tenor 8802 and the Audio Widget. In both examples of the CM6631 I have the same bad sounds happen with sample rate changes that go away with a pause-play cycle. The Tenor is more problematic and really only functions at 44.1. At other sample rates with several different Tenor firmware builds it just stutters badly. I'm told its rate feedback works in 10Hz steps. For the Audio Widget Alex Lee came up with a workaround patch for the 44-48 to 88-96 sample rate switch where the rate feedback seems to go awry. Which kernel version do you test this on? And are you saying this is a regression from older versions? Daniel What error messages or logs would you like to see? I have been trying to borrow a USB2 sniffer but with no luck. Even the rent is too steep for me. I would really like to get this resolved. I have access to pretty much all the current UAC2 chip options (don't have the Via but no one is really using it yet). I can even arrange remote access to a machine with them attached if that helps. Demian -Original Message- From: Daniel Mack [mailto:zon...@gmail.com] Sent: Monday, June 11, 2012 12:00 AM To: Andrew Dunn Cc: alsa-user@lists.sourceforge.net; musicpd-dev-t...@lists.sourceforge.net; Clemens Ladisch Subject: Re: [Musicpd-dev-team] Schiit Bifrost, usb, C-Media 6631, ALSA/MPD On 08.06.2012 20:40, Andrew Dunn wrote: Apologies, I had returned that Bifrost and been using another device based on the XMOS chip (Worked perfectly). I now have a new Bifrost and I'm running Fedora 17 with ALSA 1.0.25 Thanks for the dump. Are there any suspicious entries written to /var/log/messages when you plug in the device and start streaming? Daniel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] USB audio device - Error: parse_audio_format_rates_v2(): unable to retrieve number of sample rates
No, unfortunately not yet. But I will try to contact the developer again in the coming days and will report back if I get some positive feedback. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user