On Saturday 04 Jun 2011 21:56:52 meino.cra...@gmx.de wrote:

> Hi Mick,
> 
> thank you fpr your help !:)

You're welcome, although it hasn't done much good I'm afraid.  :(


> I reinitilized with alsactl (I think, the kernel
> does the same when booting...) and do a
> alsa-info again (dump at the end of this email).
> 
> In the meantime I had resorted the snd-card numbering
> via alsa.conf and get mplayer and vlc working again.
> 
> But still no sound via usb-audio/webcam.
> 
> The ordering of the cards is this now:
> 
>  0 [SB             ]: HDA-Intel - HDA ATI SB
>                       HDA ATI SB at 0xfcaf8000 irq 16
>  1 [CameraB404271  ]: USB-Audio - USB Camera-B4.04.27.1
>                       OmniVision Technologies, Inc. USB Camera-B4.04.27.1
> at usb-0000:00:12.2-3, high 2 [NVidia         ]: HDA-Intel - HDA NVidia
>                       HDA NVidia at 0xfe97c000 irq 25
> 
> alsamixer -D hw:0 works,
> alsamixer -D hw:1 produces:
> cannot load mixer controls: Invalid argument
> alsamixer -D hw:2 starts alsamixer and prints
> that this device does not have any controsl.
> 
> So nothing has changed ...
> 
> Damn...

Damn and thrice damn!

I am thinking that this "Invalid argument" is a driver problem.

It could be that passing some parameter when loading the module could fix 
this, but I would not know what that would be.  You can run:

  modinfo snd_usb_audio

and see what options are offered there.


> !!USB Mixer information
> !!---------------------------
> --startcollapse--
> 
> USB Mixer: usb_id=0x14152000, ctrlif=1, ctlerr=0
> Card: OmniVision Technologies, Inc. USB Camera-B4.04.27.1 at
> usb-0000:00:12.2-3, high Unit: 3
>     Control: name="Mic Capture Volume", index=0
>     Info: id=3, control=2, cmask=0xf, channels=4, type="S16"
>     Volume: min=0, max=1, dBmin=0, dBmax=0
> --endcollapse--
> 
> 
> !!ALSA Device nodes
> !!-----------------
> 
> crw-rw---- 1 root audio 116,  0 Jun  4 15:07 /dev/snd/controlC0
> crw-rw---- 1 root audio 116, 32 Jun  4 22:30 /dev/snd/controlC1
> crw-rw---- 1 root audio 116, 64 Jun  4 15:07 /dev/snd/controlC2
> crw-rw---- 1 root audio 116,  4 Jun  4 15:07 /dev/snd/hwC0D0
> crw-rw---- 1 root audio 116, 68 Jun  4 15:07 /dev/snd/hwC2D0
> crw-rw---- 1 root audio 116, 69 Jun  4 15:07 /dev/snd/hwC2D1
> crw-rw---- 1 root audio 116, 70 Jun  4 15:07 /dev/snd/hwC2D2
> crw-rw---- 1 root audio 116, 71 Jun  4 15:07 /dev/snd/hwC2D3

Hmm ... what happened to /dev/snd/hwC1D0, hdC1D1?  Should't these be created 
when udev registers the USB camera?


> crw-rw---- 1 root audio 116, 24 Jun  4 15:07 /dev/snd/pcmC0D0c
> crw-rw---- 1 root audio 116, 16 Jun  4 19:41 /dev/snd/pcmC0D0p
> crw-rw---- 1 root audio 116, 17 Jun  4 15:07 /dev/snd/pcmC0D1p
> crw-rw---- 1 root audio 116, 56 Jun  4 22:30 /dev/snd/pcmC1D0c
> crw-rw---- 1 root audio 116,  1 Jun  4 15:07 /dev/snd/seq
> crw-rw---- 1 root audio 116, 33 Jun  4 15:07 /dev/snd/timer
> 
> /dev/snd/by-id:
> total 0
> drwxr-xr-x 2 root root  60 Jun  4 22:30 .
> drwxr-xr-x 4 root root 360 Jun  4 22:30 ..
> lrwxrwxrwx 1 root root  12 Jun  4 22:30
> usb-OmniVision_Technologies__Inc._USB_Camera-B4.04.27.1-01 -> ../controlC1
> 
> /dev/snd/by-path:
> total 0
> drwxr-xr-x 2 root root 100 Jun  4 22:30 .
> drwxr-xr-x 4 root root 360 Jun  4 22:30 ..
> lrwxrwxrwx 1 root root  12 Jun  4 22:30 pci-0000:00:12.2-usb-0:3:1.1 ->
> ../controlC1 lrwxrwxrwx 1 root root  12 Jun  4 15:07 pci-0000:00:14.2 ->
> ../controlC0 lrwxrwxrwx 1 root root  12 Jun  4 15:07 pci-0000:08:00.1 ->
> ../controlC2
> 
> 
> !!Aplay/Arecord output
> !!------------
> 
> APLAY
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog]
>   Subdevices: 2/2
>   Subdevice #0: subdevice #0
>   Subdevice #1: subdevice #1
> card 0: SB [HDA ATI SB], device 1: VT2020 Digital [VT2020 Digital]
>   Subdevices: 2/2
>   Subdevice #0: subdevice #0
>   Subdevice #1: subdevice #1

Card 1 absent.


> ARECORD
> 
> **** List of CAPTURE Hardware Devices ****
> card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog]
>   Subdevices: 2/2
>   Subdevice #0: subdevice #0
>   Subdevice #1: subdevice #1
> card 1: CameraB404271 [USB Camera-B4.04.27.1], device 0: USB Audio [USB
> Audio] Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> !!Amixer output
> !!-------------
[snip ...]


> !!-------Mixer controls for card 1 [CameraB404271]
> 
> amixer: Mixer load hw:1 error: Invalid argument
> Card hw:1 'CameraB404271'/'OmniVision Technologies, Inc. USB
> Camera-B4.04.27.1 at usb-0000:00:12.2-3, high' Mixer name     : 'USB Mixer'
>   Components  : 'USB1415:2000'
>   Controls      : 1
> amixer: Mixer hw:1 load error: Invalid argument

It refuses to load - this is what I think could be a driver error problem.


> !!Alsactl output
> !!-------------
> 
> --startcollapse--
> --endcollapse--
> 

This should be showing alsactl output and it's not, probably because probing 
your device fails.

Sorry I can't really help to solve this.  All I can suggest is contacting alsa 
M/L and IRC to find out what could be causing it.

Good luck.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to