From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QTCit-0000Mb-N6 for garchives@archives.gentoo.org; Sun, 05 Jun 2011 12:46:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D82821C19B for ; Sun, 5 Jun 2011 12:46:30 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 2EFCE1C1CC for ; Sun, 5 Jun 2011 12:34:50 +0000 (UTC) Received: by wwj40 with SMTP id 40so2654900wwj.10 for ; Sun, 05 Jun 2011 05:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=gGXSYtjOOXL+gFERSbyDX3xoYI3L9qngs2RG/gjLQ8k=; b=Fdzf3ONM6SEqdxHQIjDfT4lm+cH09GPwM3wmosClym77+KHev6e0M/uEzieu3W+fr+ APNPlPOJ3/HWKuK1qfZ17GIxyGUO2i6JIkbHIrpWcWb1+EN7o4HRGQjveNUxOxe8YDrZ gJQBBszaGIzPR0yfspEVCWCIR8RIxeVEv5sjQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=Aq1OkaXqpyOu53kAI/9q0/8amQEdD4hjwblMt31YRBFz+g29UmTkTPWAelUni4pGRy U9KxZGMm22Vi0S9AKLFBFD638QpWPH1rIlzuyFdh4gPx+IDRXxGbtHFRw8EwfzjMstps oyHbp6eG/k53EYAVSRXdinl4DtEZR0DC8Vtk4= Received: by 10.216.140.140 with SMTP id e12mr1293528wej.69.1307277290275; Sun, 05 Jun 2011 05:34:50 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id l5sm1758101weq.33.2011.06.05.05.34.48 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2011 05:34:49 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Still haveing problems with audio and guvcview Date: Sun, 5 Jun 2011 13:35:19 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.38-gentoo-r6; KDE/4.6.2; x86_64; ; ) References: <20110603183202.GA3214@solfire> <201106042325.44775.michaelkintzios@gmail.com> <20110605035154.GA3043@solfire> In-Reply-To: <20110605035154.GA3043@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4961954.dzKqOV6Zkg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201106051335.28437.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: 4783f173682369895daa1826a2a736c8 --nextPart4961954.dzKqOV6Zkg Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Sunday 05 Jun 2011 04:51:54 meino.cramer@gmx.de wrote: > Hi Mick, >=20 > I did a >=20 > modinfo snd_usb_audio >=20 > and git this: >=20 > filename: /lib/modules/2.6.39.1/kernel/sound/usb/snd-usb-audio.= ko > license: GPL > description: USB Audio > author: Takashi Iwai > alias: usb:v*p*d*dc*dsc*dp*ic01isc01ip* > alias: usb:v*p*d*dc*dsc*dp*ic01isc03ip* > alias: usb:v0DBAp1000d*dc*dsc*dp*ic*isc*ip* [snip ...] > depends: snd-usbmidi-lib,snd-pcm,snd,snd-hwdep > vermagic: 2.6.39.1 SMP preempt mod_unload > parm: index:Index value for the USB audio adapter. (array of > int) parm: id:ID string for the USB audio adapter. (array of > charp) parm: enable:Enable USB audio adapter. (array of bool) > parm: vid:Vendor ID for the USB audio device. (array of int) > parm: pid:Product ID for the USB audio device. (array of int) > parm: nrpacks:Max. number of packets per URB. (int) > parm: async_unlink:Use async unlink mode. (bool) > parm: device_setup:Specific device setup (if needed). (array > of int) parm: ignore_ctl_error:Ignore errors from USB controller > for mixer interfaces. (bool) >=20 > I am unsure how to play with the params... >=20 > For example: Is "snd_usb_audio enable=3Dtreu" correct? Well, "treu" wouldn't be correct, not even in French! ;-) > Why it is an /array/ of bool? I think that this is used when there is more than one device/interface/etc.= =20 where you will need to enable/disable each one. > May be a last chance is with fiddling with this params? Can I > rmmod/insmod snd_usb_audio while giving new params to it? How > can I do that? Fortunately >=20 > Module Size Used by > ecryptfs 87672 3 > snd_seq_dummy 1359 0 > snd_seq_oss 30300 0 > snd_seq_midi_event 5268 1 snd_seq_oss > snd_seq 50559 5 > snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_pcm_oss 43683= =20 > 0 > snd_mixer_oss 14787 1 snd_pcm_oss > microcode 6787 0 > nvidia 10489149 28 > snd_hda_codec_via 51530 1 > *** snd_usb_audio 90398 0 > snd_hda_intel 20832 0 > snd_hda_codec 63752 2 snd_hda_codec_via,snd_hda_intel > snd_pcm 73953 4 > snd_pcm_oss,snd_usb_audio,snd_hda_intel,snd_hda_codec mt352 = =20 > 5653 1 > snd_hwdep 5940 2 snd_usb_audio,snd_hda_codec > 8250_pci 23504 0 > snd_timer 18685 2 snd_seq,snd_pcm > snd_usbmidi_lib 18214 1 snd_usb_audio > snd_rawmidi 18484 1 snd_usbmidi_lib > snd_seq_device 5197 4 > snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi dvb_bt8xx 11873 > 0 > bt878 7643 1 dvb_bt8xx > bttv 112236 2 dvb_bt8xx,bt878 > snd 55623 15 > snd_seq_dummy,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_ > via,snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm,snd_hwdep,snd_timer= ,s > nd_usbmidi_lib,snd_rawmidi,snd_seq_device gspca_ov534 10121 0 > gspca_main 22449 1 gspca_ov534 > i2c_algo_bit 4928 1 bttv > videobuf_dma_sg 7344 1 bttv > videobuf_core 15263 2 bttv,videobuf_dma_sg > btcx_risc 3171 1 bttv > 8250 21264 1 8250_pci > serial_core 18115 1 8250 > pcspkr 1811 0 > asus_atk0110 8206 0 > tveeprom 13257 1 bttv > k10temp 2715 0 > snd_page_alloc 6793 2 snd_hda_intel,snd_pcm >=20 > snd_usb_audio is not used by anything else... >=20 > Years over years I had not a single problem with alsa and modules at > all and this seems now be th revenge of the peace of all that years... Yes, I would definitely try switching some of these parameters on/off to se= e=20 if it will make a difference. I recommend you use modprobe -v instead of insmod. So this could be: modprobe -v -r snd_usb_audio modprobe -v -n snd_usb_audio enable=3Dyes If you don't get any horror warnings when you run it, then remove the "-n"= =20 option and run it again. Also, try paremeter ignore_ctl_error=3D1 in case = it=20 makes a difference. To make this permanent add a line in /etc/modprobe.d/alsa-base.conf options snd_usb_audio enable=3Dyes options snd_usb_audio ignore_ctl_error=3D1 and restart alsa (or reboot). However, the new openrc uses a new way to start modules and dictate their=20 configuration. So the above may not work for ever and you would need to ad= d=20 at some point the module and its parameters in /etc/conf.d/modules. For no= w I=20 though I would leave it in /etc/modprobe.d/alsa-base.conf Hope this helps. =2D-=20 Regards, Mick --nextPart4961954.dzKqOV6Zkg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk3reBAACgkQVTDTR3kpaLYmqgCg6ryJ3BHDkTrfd7tY0mXQaBqP PwoAoMBf7I6z777aZxqpJqb9+m7Gdq+u =OjfC -----END PGP SIGNATURE----- --nextPart4961954.dzKqOV6Zkg--