Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2013-01-11 Thread Michael Beer
Clemens Ladisch googlemail.com> writes: > > Matthew Robbetts wrote: > > Is this bug fixed upstream at this point? > > This patch is still untested: > > --8<->8-- > ALSA: usb-audio: fix invalid length check for RME and other UAC

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-12-28 Thread Florian Hanisch
Hi Matt, Thanks for your message! I meant alsamixer not alsa-mixer, there is no hyphen, sorry. I had a quick look in the alsa wiki and as far I as can see, the programs alsamixer and amixer provide a similar functionality. alsamixer came with the alsa-utils package on ubuntu and has an ncc

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-12-28 Thread Matthew Robbetts
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.

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-12-21 Thread Florian Hanisch
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. Thanks, Florian Quoting Matthew Robbetts : > On 18/12/1

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-12-21 Thread Florian Hanisch
Quoting Matthew Robbetts : > 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 f

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-12-21 Thread Matthew Robbetts
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 i

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-12-18 Thread Matthew Robbetts
On 18 December 2012 13:19, Clemens Ladisch 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

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-12-18 Thread Clemens Ladisch
Matthew Robbetts wrote: > Is this bug fixed upstream at this point? This patch is still untested: --8<->8-- ALSA: usb-audio: fix invalid length check for RME and other UAC 2 devices Commit 23caaf19b11e (ALSA: usb-mixer: Add support

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-12-17 Thread Matthew Robbetts
Hi all, >>> >>> 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.

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-07 Thread Florian Hanisch
Hi, here is short update: I tested the device and I get sound. However, there seems to be a problem with the alsamixer, which is already indicated in the dmesg output given in my old message (see below). It seems that in mixer.c, the function get_ctl_value_v2 aborts with the error message s

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-05 Thread Clemens Ladisch
Florian Hanisch wrote: > I have one more question concerning the usb-audio-2.0 standard: > How many in/out channels am I able to run (on linux) ? All of them. > I am asking this question because JACK seems to have a problem with the > in/out channels: > > 02:12:01.744 D-BUS: SetParameterValue('d

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-04 Thread Florian Hanisch
Hi, thanks for the information. I just commented the following part of mixer.c if (hdr->bLength < 7 || !csize || hdr->bLength < 7 + csize) { snd_printk(KERN_ERR "usbaudio: unit %u: invalid UAC_FEATURE_UNIT descriptor\n", unitid); return -EINVAL; } a

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-04 Thread Uwaysi Bin Kareem
With regular kernel, I get the error msg of topic. Check also out my low-jitter kernel here: http://paradoxuncreated.com/Blog/wordpress/?p=2268 Peace Be With You. -- Don't let slow site performance ruin your business.

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-02 Thread Uwaysi Bin Kareem
On Tue, 02 Oct 2012 20:38:14 +0200, Daniel Mack wrote: > (please do not top-post) > > On 02.10.2012 19:47, Uwaysi Bin Kareem wrote: >> There are no particular msgs. Just usb-device connected. > > So what does "aplay -l" say before and after you connected the device? > > > Daniel > It just lists

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-02 Thread Daniel Mack
(please do not top-post) On 02.10.2012 19:47, Uwaysi Bin Kareem wrote: > There are no particular msgs. Just usb-device connected. So what does "aplay -l" say before and after you connected the device? Daniel -- Don't

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-02 Thread Uwaysi Bin Kareem
There are no particular msgs. Just usb-device connected. Peace Be With You. On Tue, 02 Oct 2012 18:36:05 +0200, Daniel Mack wrote: > On 02.10.2012 17:27, Uwaysi Bin Kareem wrote: >> Hiya, came across your discussion when trying to make my Fireface UCX >> work >> with USB in linux. >> >> I did

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-02 Thread Daniel Mack
On 02.10.2012 17:27, Uwaysi Bin Kareem wrote: > Hiya, came across your discussion when trying to make my Fireface UCX work > with USB in linux. > > I did try removing that code, and recompiling, but nothing much happened. > Does it need any particular config option? I am running with a shaved

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-02 Thread Uwaysi Bin Kareem
Hiya, came across your discussion when trying to make my Fireface UCX work with USB in linux. I did try removing that code, and recompiling, but nothing much happened. Does it need any particular config option? I am running with a shaved low-jitter config. Peace Be With You. --

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-02 Thread Daniel Mack
On 02.10.2012 09:27, Clemens Ladisch wrote: > Florian Hanisch wrote: usbaudio: unit 2: invalid UAC_FEATURE_UNIT descriptor >> >> AudioControl Interface Descriptor: >> bLength10 >> bDescriptorType36 >> bDescriptorSubtype 6 (FEATURE_UNIT

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-10-02 Thread Clemens Ladisch
Florian Hanisch wrote: >>> usbaudio: unit 2: invalid UAC_FEATURE_UNIT descriptor > > AudioControl Interface Descriptor: > bLength10 > bDescriptorType36 > bDescriptorSubtype 6 (FEATURE_UNIT) > bUnitID 2 > bSou

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-09-27 Thread Florian Hanisch
Hi, I found some discussions online (http://www.xcore.com/forum/viewtopic.php?f=8&t=1719) which suggest that it might be useful to disable the mixer, though this post relates to a different sound card/slightly different problem. But it would also fit to the last sentence of your answer. I

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-09-25 Thread Florian Hanisch
Hi, thanks a lot. Quoting Clemens Ladisch : > Florian Hanisch wrote: >> I have been trying to connect a friend's soundcard (RME fireface UCX) >> to my linux computer. [...] RME claims that the device has a class >> compliance mode (which is working with a mac computer) so that >> it should be ab

Re: [Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-09-25 Thread Clemens Ladisch
Florian Hanisch wrote: > I have been trying to connect a friend's soundcard (RME fireface UCX) > to my linux computer. [...] RME claims that the device has a class > compliance mode (which is working with a mac computer) so that > it should be able to communicate with a linux system just using the

[Alsa-user] Problem: invalid UAC_FEATURE_UNIT descriptor / fireface UCX

2012-09-24 Thread Florian Hanisch
Hi all, I have a soundcard problem which might be related to ALSA. I have been trying to connect a friend's soundcard (RME fireface UCX) to my linux computer (recent ubuntu 12.04 installation - NOT ubuntu studio, kernel 3.2.0-29-generic, ALSA version 1.0.25). RME claims that the device has