Re: [Alsa-user] USB Nuforce DAC-9

2012-10-02 Thread Clemens Ladisch
Robert wrote:
 Can someone please explain how I can load the snd-usb-audio driver?

modprobe snd-usb-audio


Regards,
Clemens

--
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


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
 bSourceID   3
 bmaControls( 0)  0x000c
   Volume Control (read/write)
 iFeature0

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;
}


Regards,
Clemens

--
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


Re: [Alsa-user] USB Nuforce DAC-9

2012-10-02 Thread Daniel Mack
On 02.10.2012 00:17, Robert wrote:

 There is no information about that in the alsa-info output, and the
 snd-usb-audio driver is not loaded.
 
 Can someone please explain how I can load the snd-usb-audio driver?

The OS already tried that and failed, because the descriptors are bogus.
Yet another broken piece of hardware we need to help with a quirk.

Could you please post the output of lsusb -v?



Daniel


--
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


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.

--
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


Re: [Alsa-user] USB Nuforce DAC-9

2012-10-02 Thread Robert
Daniel Mack zonque at gmail.com writes:


 Could you please post the output of lsusb -v?
 
 Daniel

Hi,

here is the output of the non-working Mageia machine:

https://dl.dropbox.com/u/1184591/mageia/lsusb-v.txt

Please let me know if you need the same output from the Live Ubuntu CD, that 
seems to be working.

I've read somewhere before, that the Tenor TE8802 corrupts the feedback 
messages 
it sends to the linux host. If that is the case, how can it be fixed?

Thanks again for your help

Robert


--
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


Re: [Alsa-user] USB Nuforce DAC-9

2012-10-02 Thread Daniel Mack
Hi,

On 02.10.2012 19:10, Robert wrote:
 Daniel Mack zonque at gmail.com writes:
 
 
 Could you please post the output of lsusb -v?

 Daniel
 
 Hi,
 
 here is the output of the non-working Mageia machine:
 
 https://dl.dropbox.com/u/1184591/mageia/lsusb-v.txt

Thanks. The problem is that there's a gap in the interface number
allocation:

 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   ^^^
[...]

 Interface Association:
   bLength 8
   bDescriptorType11
   bFirstInterface 2
   bInterfaceCount 2

[...]

 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber2

While this doesn't make any sense, it is actually fine, but the USB core
code in older kernels doesn't like this and fails.

I fixed this just recently here:


https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=b3a3dd

So please try and install a newer kernel. If that problem persists with,
say, 3.6, please tell me :)


Best regards,
Daniel



--
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


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 zon...@gmail.com 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 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.

 Mind to share the messages that are generated when plugging in the
 device please?


 Daniel


 --
 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


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 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


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 zon...@gmail.com 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 my onboard sound card.
With lsusb it lists the fireface though.

Peace Be With You.

--
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


Re: [Alsa-user] Asus Xonar Phoebus support

2012-10-02 Thread Vincent Lejeune


Le lundi 01 octobre 2012 à 22:10 +0200, Clemens Ladisch a écrit :
 I wrote:
  Vincent Lejeune wrote:
  What is the output of aplay -l for this device?
 
  carte 1: Generic [HD-Audio Generic], périphérique 0: HDA Generic [HDA 
  Generic]
    Sous-périphériques: 1/1
    Sous-périphérique #0: subdevice #0
 
  In theory, there should at least another subdevice for the S/PDIF input
  and output.
 
 That's wrong, it appears all outputs and inputs are to be multiplexed
 through one device.
 
 Okay, let's try to get the front speakers output working.
 1) Ensure that the kernel is compiled with CONFIG_SND_HDA_HWDEP and
    CONFIG_SND_HDA_RECONFIG enabled.
 2) Download the hda-verb tool from 
 http://ftp.suse.com/pub/people/tiwai/misc/
    and compile it.
 
 The nodes are connected and labelled like this:
 0x02 - 0x0c green (rear)
 0x03 - 0x0d orange
 0x04 - 0x0e black
 0x05 - 0x0f grey
 0x06 - 0x10 green (front)
 0x08 - 0x12 pink
 0x09 - 0x13 internal (aux?)
 0x0a - 0x14 RCA
 0x0b - 0x15 blue
 
 On the left are nodes connecting to the PC's bus, on the rights are
 jacks.
 
 The nodes currently used by the driver for output/input are 0x02 and
 0x08.
 
 To configure the rear green jack for line output, run:
   hda-verb /dev/snd/hwdepC1D0 0x0c set_pin_widget_control 0x40
 To configure the rear green jack for HP output, run:
   hda-verb /dev/snd/hwdepC1D0 0x0c set_pin_widget_control 0xc0
 To configure the front green jack for line output, run:
   hda-verb /dev/snd/hwdepC1D0 0x10 set_pin_widget_control 0x40
 To configure the front green jack for HP output, run:
   hda-verb /dev/snd/hwdepC1D0 0x10 set_pin_widget_control 0xc0
 
 To output what plays to the speakers also to HP and/or digital:
   1) start playing something
   2) find out the stream/channel IDs:
    hda-verb /dev/snd/hwdepC1D0 0x02 get_conv 0
   3) configure other outputs for these stream/channel IDs:
    hda-verb /dev/snd/hwdepC1D0 0x06 set_channel_streamid 0x??
    hda-verb /dev/snd/hwdepC1D0 0x0a set_channel_streamid 0x??
  (where ?? is the value returned in step 2)

Thank ! I get sound on the pod (which is considered as front, the Xonar
does not have connector for the case front jack) using :
hda-verb /dev/snd/hwdepC1D0 0x0c set_pin_widget_control 0xc0
and
hda-verb /dev/snd/hwdepC1D0 0x06 set_channel_streamid 0x70
(0x70 is the value returned by get_conv)
However the sound is terrible, lot of crackling, noticeable delay (over
1s) and is very loud.

I use the kernel built with :
{ PCI_DEVICE(0x13f6, 0x5011),
  .driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_NO_MSI |
 AZX_DCAPS_RIRB_DELAY | AZX_DCAPS_NO_64BIT |
 AZX_DCAPS_SYNC_WRITE | AZX_DCAPS_POSFIX_LPIB },

Should I remove some clauses to improve the sound ?

Regards,
Vincent

 
 BTW: Does multichannel output work? (try speaker-test)
  In theory, the side/surround channels should not need any
  configuration.
 
 
 Regards,
 Clemens

--
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