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 shown in dmesg but so far, I could not figure  
out why. I tried to use the mixer, it works fine with the internal  
soundcard but if I choose the fireface ucx, it only shows one master  
output slider and no input channels at all and the master output  
slider has no influence on the volume at all. It is possible, to  
control the volume through PulseAudio-pavucontrol.

PulseAudio lists the fireface ucx as "analog stereo" device but it  
should actually have 8 in- / 8 out-channels. When connected to a  
mac-os using the usb-class-compliance-mode and not the native  
RME-driver, these 8/8-channels are displayed!

Best,

Florian

Quoting Florian Hanisch <fhani...@uni-potsdam.de>:

> 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;
>          }
>
> and compiled alsa-driver, alsa-lib, alsa-tools and alsa-oss basically
> following the instructions here:
> http://alsa.opensrc.org/Quick_Install. There were warnings during the
> compiling process but no errors.
>
> The new driver might work, I have the following output from dmesg
>
> [   41.064090] usb 1-2: new high-speed USB device number 5 using ehci_hcd
> [   41.200270] ALSA mixer.c:352 cannot get ctl value: req = 0x83,
> wValue = 0x200, wIndex = 0x200, type = 4
> [   41.201129] ALSA mixer.c:352 cannot get ctl value: req = 0x83,
> wValue = 0x200, wIndex = 0x200, type = 4
> [   41.201230] ALSA mixer.c:352 cannot get ctl value: req = 0x83,
> wValue = 0x200, wIndex = 0x200, type = 4
>
> and from aplay -l
>
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
>    Subdevices: 1/1
>    Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
>    Subdevices: 1/1
>    Subdevice #0: subdevice #0
> card 1: F23455936 [Fireface UCX (23455936)], device 0: USB Audio [USB Audio]
>    Subdevices: 1/1
>    Subdevice #0: subdevice #0
>
> The fireface ucx moreover appears in the system settings / sound
> menue. I did not test whether the device actually produces sound, I
> hope I can do that tomorrow.
>
> I have one more question concerning the usb-audio-2.0 standard:
> How many in/out channels am I able to run (on linux) ? RME claim on
> their website, that it is possible to use 8 in-channels on the ipad,
> i.e. using the class compliance mode. I am asking this question
> because JACK seems to have a problem with the in/out channels:
>
> 02:12:01.744 D-BUS: SetParameterValue('driver:inchannels', '1'):
> Parameter value type mismatch: was expecting 'i', got 'u'.
> (org.jackaudio.Error.InvalidArgs)
>
> The same error occurs for the outchannels and I tried the values 1,2,8
> for the nummer of channels but I always get the same error.
>
> Best,
>
> Florian
>
> Quoting Daniel Mack <zon...@gmail.com>:
>
>> On 02.10.2012 09:27, Clemens Ladisch wrote:
>>> Florian Hanisch wrote:
>>>>>> usbaudio: unit 2: invalid UAC_FEATURE_UNIT descriptor
>>>>
>>>>       AudioControl Interface Descriptor:
>>>>         bLength                10
>>>>         bDescriptorType        36
>>>>         bDescriptorSubtype      6 (FEATURE_UNIT)
>>>>         bUnitID                 2
>>>>         bSourceID               3
>>>>         bmaControls( 0)      0x0000000c
>>>>           Volume Control (read/write)
>>>>         iFeature                0
>>>
>>> This descriptor is perfectly OK; the driver has a bug.
>>> The following code in parse_audio_feature_unit() in sound/usb/mixer.c
>>> is valid only for v1 devices; please try to just remove it:
>>>
>>>     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;
>>>     }
>>
>> Yes, interesting this never got triggered before. The 7 should be a 6 in
>> v2 case ...
>>
>>
>>
>
>
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>




------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to