LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Microphone plays thro speakers but dead in audacity and skype (https://www.linuxquestions.org/questions/linux-hardware-18/microphone-plays-thro-speakers-but-dead-in-audacity-and-skype-810329/)

TreeHugger 05-26-2010 08:26 PM

Microphone plays thro speakers but dead in audacity and skype
 
Hi,

I've got a weird problem with my sound card config.

I usually use a USB webcam with a built-in mic that works fine when I select it in audacity and skype, but I have a soundcard too and I just wanted to check out another microphone I've got.

I plugged it in and played around with alsamixer and managed to get it so that I can hear it through the speakers, but I can't use it in audacity and skype.

There are 3 options (apart from the USB mic) in audacity, and all of them are dead silent. In skype there are even more options for the mic. Same problem.

Audacity has recording device choices of ALSA HDA Intel ALC882 Analog hw:0,0, hw:0,1 and hw:0,2

How can I get the microphone to appear in that list - or is it already one of those options but somehow not configured right? I can't figure out the Alsa config stuff despite reading several introductions to it. Probably too late at night for my brain.

Plus the last symptom - I broke the sound coming from a java app while fiddling with this setup. It used to give alerts and alarms quite frequently, but since yesterday it's been silent, with errors in the log like

"Error: Sound line is not available.javax.sound.sampled.LineUnavailableException: line with format PCM_UNSIGNED 11025.0 Hz, 8 bit, mono, 1 bytes/frame, not supported. "

If anyone here can tell me what's wrong, I'd be massively grateful!

Shadow_7 05-26-2010 09:44 PM

Edit -> preferences

You can select various inputs and the likes.

Mencoder seems to always assumes the abilities of the capture device, even when drawing an element (audio) from another source with different abilities. ffmpeg does audio better in this regard. But not quite there either. Lots of options depending on your configuration. jackd / artsd / pulse audio / esd / ???

TreeHugger 05-27-2010 03:22 AM

Hi, thanks for replying. You mean Edit -> Preferences in Audacity? That's the problem: none of the options that I select in Audacity are the microphone on the hardware. It shows

ALSA HDA Intel ALC882 Analog hw:0,0
ALSA HDA Intel ALC882 Analog hw:0,1
ALSA HDA Intel ALC882 Analog hw:0,2
USB xxxx x xx x

Choosing any of those doesn't work. It's like they're not the hardware, but I don't know why it decided they are the hardware and put them in its options for selection.

I have a problem working out what linux is doing here. It seems that there's this list of hardware with chip names on the one hand, and there's a long list of controls in my desktop/window manager:

Master, PCM, Front, Front Mic, Front Mic Boost, Surround, Center, LFE, Side, Line, CD, Mic, Mic Boost, Capture, Capture.1, Capture.2, Digital

I can adjust the volume of the mic using Mic and Mic Boost. but it makes no difference to Audacity.

There are also three option boxes in my desktop volume control called Input Source, Input Source.1 and Input Source.2

These 3 have the same options: Mic (selected), Front Mic, Line, CD

So I don't know how to get the configuration configured properly - I believe this is ALSA - I'm pretty sure I'm not using any of jackd, artsd, pulse audio or esd. No: just grepped lsmod for them. None present.

Shadow_7 05-27-2010 06:24 AM

$ cat /proc/asound/cards
$ cat /proc/asound/card0/pcm0c/info

where pcm0c is capture and pcm0p is playback. From what I recall 0,0 and 0,1 and such are basically different names for the playback and capture parts of the device. If you setup a ~/.asoundrc file it should list what you list in there. i.e. logical / humanized names.

$ amixer
(lists your various channels)

$ alsamixer
(lets you change those channels)
(F1 for help / TAB to toggle between playback and capture channels / ESC to exit)

I use aumix myself. When it works / runs. There's an obvious red button (or green) to select your recording device as it may not be the microphone and it is selectable. If you have multiple cards -c # for the alsa apps to choose a different card. Default is 0 and assumed. Which might not be what you want. # is based on what's listed in /proc/asound/cards.

What mic are we talking about? In monitor mic? Some small electret mic plugged into the mic port. NOTE: those require a small voltage only available in the mic port. And not all devices supply it. i.e. it may all be working as designed, but you mic is OFF for all intents. If the mic is plugged into the line input that has no voltage (or at least shouldn't). And otherwise expects a rather hot line level signal. Or are we talking some other mic type?

TreeHugger 05-27-2010 06:47 AM

amixer alsamixer xfce
 
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfebfc000 irq 16
1 [U0x46d0x9a4 ]: USB-Audio - USB Device 0x46d:0x9a4
USB Device 0x46d:0x9a4 at usb-0000:00:1d.7-7, high speed

So those are my cards. I can really understand that!

Then for Intel:

adam@isengard:~/junk$ ls /proc/asound/card0
codec#0 id pcm0c pcm0p pcm1c pcm1p pcm2c

So it has 3 capture devices. Those are obviously the 3 listed by Audacity, and the hw:0,0 must refer to card0, device0 and so on, right?

Then in amixer I see controls:

[....]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [1.50dB] [on]
Front Right: Playback 24 [77%] [1.50dB] [on]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 2 [67%]
Front Right: 2 [67%]
[....]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'CD'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'CD'
Simple mixer control 'Input Source',2
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Front Mic'



I don't understand how I am meant to use that info to configure the chips that are mentioned in Audacity and listed in /proc/asound/cards. This amixer output is different to the xfce volume control that I quoted in my first message. It looks to me as if it's reading from a different computer. Does Item0: 'CD' mean that it's streaming sound from the CD? Argh, confusion!

Shadow_7 05-27-2010 05:20 PM

hw:0,0 is playback
hw:0,1 (or 2) is capture

Your mic seems enabled.

Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [1.50dB] [on]
Front Right: Playback 24 [77%] [1.50dB] [on]

Note the [on]

What's plugged into the pink mic port? You might consider plugging your CD players headphone out in there at a very low volume (1 of 10 for line level 0.5-ish of 10.0 for mic). Just to make sure that it's something hardware after the jack that's the issue. Not all mic ports provide the plugin power needed for some mics. You might need a battery box to bridge that gap. Or a mic that takes a battery and has a good one in it.

It does say FRONT mic. Is your mic plugged into the FRONT mic port? My setup just says Mic.

$ amixer -c 1

To see the USB abilities. Logitech Quickcam E 3500 by the looks of the vendor:device value. Which mic / device are you trying to use? uvcvideo module for the webcam. I'm not sure of the state of audio on the one though. My Sanyo FH1 functions under that module and I have no audio abilities that route that I know of.

TreeHugger 05-27-2010 06:07 PM

HI Shadow 7,

I'm really sorry, but I edited too much out of the amixer output.

Not only is there "Front Mic" with "[on]" but there is also:

Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 25 [81%] [3.00dB] [on]
Front Right: Playback 25 [81%] [3.00dB] [on]

this one is the control for the mic, I know because changing the volume control in the xfce gui mixer controls it.

it is plugged into the pink port and the input is channeled through to the speakers where I can hear it. So I don't think it needs power.

Not massively useful and I'd like to be able to use it in Audacity or Skype!

The USB webcam mic is also enabled and I can select that in Audacity or Skype if necessary.

However, I still have zero idea whether the "Input Source" devices are relevant for instance, and how to get this mic to appear as one of the options in Audacity and Skype etc. I've still got a fundamental disconnect on my system (and in my brain unfortunately)

Shadow_7 05-28-2010 02:02 AM

The default behavior should NOT be to play mic input through the speakers. That will result in feedback. Past certain levels anyway. i.e. move said mic towards said speakers and see for yourself. It's probably already showing up in audacity. You're just not recognizing it. Or maybe your user isn't in the audio group and doesn't have permissions? It happens. Not likely since you have other access to it.

I guess one should ask. What version of audacity? What hardware mic? Perhaps it's hardwired into the line input or cdrom channel(s).

# apt-get install aumix-gtk

$ aumix -q

The one with the R is set as the recording device. In aumix terminology, mic + igain need to be > 0 to have your mic work. If it's tied into some other channel, running the aumix gui puts a little box next to channels that are selectable as recordable from. This is the only way I'm able to select PCM as input to capture output from festival and other odd sources. You can also do it at the cli.

$ aumix -q
$ aumix -v R
$ aumix -q
$ aumix -m R
$ aumix -q

(aumix -h) Should list what each -X represents. And other information. Alsamixer should list all of your channels (where aumix might not). But I've never had any luck changing the selected record from channel with alsamixer. And other quirkiness. When aumix works, it's a pretty nice way to make adjustments. More so than kmix, gmix and others as aumix also works on the console alone without a gui. Just another option that might help you sort out which end is up. If you make changes in aumix, they should show up in the results of amixer. You can actively change things in aumix while running audacity without having to restart audacity. If you want to just keep pushing buttons until something works.

TreeHugger 05-28-2010 05:13 AM

Thanks for your post, a lot of it makes sense - although I still don't grasp the heart of the matter. For instance, I think I threw a spanner in the works somehow because when I run aumix, it says "aumix: error opening mixer: No such file or directory"

There is no /dev/mixer (which it wants by default), and the only info I can find on substituting /dev/mixer is to use OSS and /dev/dsp which doesn't sound right (sorry, bad metaphor!) - that info was from 2000 anyway.

Secondly, I checked all the input devices shown in audacity and none of them work and now also the USB mic makes audacity throw an error message "error while opening sound device: please check input device settings and project sample rate"

I think this error with the USB mic might be related to the java problem, which can't use sound anymore since I started trying to configure this properly.

Audacity is v1.3.5-beta and the mic hardware is plugged into the pink socket on the motherboard.

I should write down everything I do when I start doing something in linux that I don't know about - but of course I always think it'll be ok.

Shadow_7 05-28-2010 07:26 PM

Well now. It's starting to sound like alsa isn't completely installed. And/or configured.

# apt-get install alsa-base alsa-tools alsa-utils libasound2 libasound2-dev

# modprobe snd-pcm-oss snd-mixer-oss snd-seq-oss
(oss emulation via alsa drivers)

http://alsa-project.org/

Running alsaconf and other things might help. I've always done it full manual myself. But I generally had odd soundcards that alsaconf never quite worked for. Many means to an end. aumix shouldn't fail, it's one of the more *cough* stable *cough* mixer apps I've used. Now if you have multiple soundcards it might not behave as expected, but it shouldn't fail.

# find /lib/modules/`uname -r`/ -iname '*snd-*'

I have:
/dev/mixer
/dev/dsp
/dev/audio
/dev/sequencer

and variants with 1 and 2 tagged on. atiixp + atiixp-modem + usb-audio in my case. And a few other audio group stuff. timer, rtc, pcmC* controlC*, .......

# /etc/init.d/alsasound stop
# /etc/init.d/alsasound start

Might also be called alsa-utils and such. Depending on version + distro + other factors.

$ groups
(should list the groups your user is in. If audio isn't one of them, well....)

TreeHugger 05-29-2010 06:34 AM

snd-pcm-oss snd-mixer-oss snd-seq-oss weren't loaded!

Actually I never realised oss was a part of alsa. I thought alsa replaced it.

Anyway, the alsa-base alsa-tools alsa-utils and libasound2 packages were already installed. I just installed libasound2-dev.

I ran alsaconf.

And then I started trying the mixers, and aumix wouldn't work with the 'error opening mixer'. Since inserting the modules before had worked, I loaded those 3 modules again and it recreated /dev/mixer and aumix then worked. The volumes looked to be set ok and nothing was muted, although there were not as many devices shown as by xfce-mixer.

So running alsaconf unloaded the modules and didn't reload them. I guess i need to put them into my config - in /etc/modules is that right?

Now audacity: instead of the input showing nothing, just a flat line, it now records fuzz and it picks up input from the mic but at a lower volume than the fuzz, on ALSA: default.

The other options for the input device have changed now, I have some OSS: devices - but they cause errors if I try using them.

I have the mic levels set to 80/100 in the mixer and the mic boost at 100.

The mic input also still goes straight to the speakers.

The java app can't use sound either and throws errors.

On a positive note though, the USB mic is working again.

Arrrghgh! I have now just managed to lose that input channel in audacity. Instead of fuzz and a really low volume mic level, I'm just getting a flat line with zero sound.

I guess that's enough random configuration nonsense for one message. Does it make any more sense?

How about some output from amixer, if that helps:


adam@isengard:~$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [-12.00dB] [on]
Front Right: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 26 [84%] [4.50dB] [on]
Front Right: Playback 26 [84%] [4.50dB] [on]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%]
Front Right: 3 [100%]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [-12.00dB] [on]
Front Right: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 24 [77%] [-10.50dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [-10.50dB] [on]
Front Right: Playback 24 [77%] [-10.50dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [0.00dB] [on]
Front Right: Playback 23 [74%] [0.00dB] [on]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [1.50dB] [on]
Front Right: Playback 24 [77%] [1.50dB] [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [1.50dB] [on]
Front Right: Playback 24 [77%] [1.50dB] [on]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%]
Front Right: 3 [100%]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 18 [58%] [15.00dB] [on]
Front Right: Capture 18 [58%] [15.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 19 [61%] [16.50dB] [on]
Front Right: Capture 19 [61%] [16.50dB] [on]
Simple mixer control 'Capture',2
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 17 [55%] [13.50dB] [on]
Front Right: Capture 17 [55%] [13.50dB] [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 67 [56%] [3.50dB]
Front Right: Capture 67 [56%] [3.50dB]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Line'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Front Mic'
Simple mixer control 'Input Source',2
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'CD'
adam@isengard:~$


Shadow_7 05-29-2010 09:37 AM

Alsa "emulates" OSS with the snd-oss-* modules. And many apps (including web browsers) still assume OSS devices. As they have not been modernized to handle alsa natively or jackd or esd, pulse audio, artsd, .. . . . . . . You can start said apps with esddsp -m and artsdsp or even aoss to wrap them up and enable audio sharing. But not all apps take kindly to it, and in the case of browsers, when a child window is launched it's NOT wrapped up like the parent. And your efforts are otherwise defeated. Although audacity (if compiled with --port-audio= / not a default) should handle alsa natively.


Alsa should auto load when you try to use it if properly configured. This generally happens at boot when the mixer tries to restore settings. And like I said, I generally go full manual because alsaconf almost never works for me.

It sounds like you're missing your alsa configuration. Formerly /etc/modules.conf, but these days is broken into parts in /etc/modprobe.d/*. Probably in /etc/modprobe.d/alsa-base if you're using your distro's configuration(s). Adding the oss modules in /etc/modules isn't a bad ideal, but it's not necessary if properly configured. As I realize why I went full manual in the first place. Even my distros defaults lack mention of oss. A fairly recent install for me (late april 2010) so I guess I'll follow my own advice. This probably explains why Muse was misbehaving when I gave it a whirl.

In short replace your /etc/modprobe.d/alsa* with

Code:

alias  char-major-116      snd
alias  char-major-14      soundcore

options snd                major=116      cards_limit=3

#---START--- machine specific ---#
options snd-atiixp          index=0
options snd-atiixp-modem    index=1
options snd-usb-audio      index=2

alias  snd-card-0          snd-atiixp
alias  snd-card-1          snd-atiixp-modem
alias  snd-card-2          snd-usb-audio
#--- END --- machine specific ---#

alias  sound-slot-0        snd-card-0
alias  sound-service-0-0  snd-mixer-oss
alias  sound-service-0-1  snd-seq-oss
alias  sound-service-0-3  snd-pcm-oss
alias  sound-service-0-8  snd-seq-oss
alias  sound-service-0-12  snd-pcm-oss

alias  sound-slot-1        snd-card-1
alias  sound-service-1-0  snd-mixer-oss
alias  sound-service-1-1  snd-seq-oss
alias  sound-service-1-3  snd-pcm-oss
alias  sound-service-1-8  snd-seq-oss
alias  sound-service-1-12  snd-pcm-oss

alias  sound-slot-2        snd-card-2
alias  sound-service-2-0  snd-mixer-oss
alias  sound-service-2-1  snd-seq-oss
alias  sound-service-2-3  snd-pcm-oss
alias  sound-service-2-8  snd-seq-oss
alias  sound-service-2-12  snd-pcm-oss

Replacing the primary module specific to your card where appropriate. Once replaced /etc/init.d/alsasound stop (and start or just restart) should load the OSS stuff automagically. (in theory).

# mv /etc/modprobe.d/alsa* /home/user/
# mv /home/user/alsa_custom /etc/modprobe.d/
(the above code chunk customized to YOUR cards)
# /etc/init.d/alsa-utils stop
# /etc/init.d/alsa-utils start

$ alsamixer -c 0
$ lsmod

Note the index=# portion. You can re-arrange your soundcards by modifying that. OSS based applications (web browsers / festival / ...) will always default to card 0. Even if your .asoundrc includes the "defaults.pcm.card #" option to NOT default to card 0. Otherwise applications that use alsa natively will obey your commands / configuration.

Shadow_7 05-29-2010 10:11 AM

Hmmm. I didn't have aoss on my system either.

# apt-get install alsa-oss

Just trying to wrap timidity to play some midi files on the other soundcard.

TreeHugger 05-29-2010 11:34 AM

Quote:

Originally Posted by Shadow_7 (Post 3985436)
Hmmm. I didn't have aoss on my system either.

# apt-get install alsa-oss

Just trying to wrap timidity to play some midi files on the other soundcard.

Well I hope you're not hoping that I can help :lol:

Much as I'd like to, I am still way behind on the path to alsa enlightenment.

It still bugs me that amixer, xfce-mixer, alsamixer, aumix, audacity, skype etc all show variations in the number and names of the devices, as if they're reading from different configurations. At least they keep the same level for the master so it must be coming from the same place.

And none of them can control the USB mic volume.

But anyway, I moved my alsa-base out the way and put your config (with card snd-hda-intel) into /etc/modprobe.d/alsa-custom and restarted alsa.

It made no difference to audacity and the mic.

I also then did a system reboot to see if the modules would be automatically loaded and unfortunately they weren't.

But my browser with youtube and flash and all that seems fine, as before.

Have you got any idea what the problem with the java output error could be? (Audio device unavailable)

And just to recap, the input from the non-USB mic is still going straight to the speakers, and in fact I've lost the ability to hear it at all in audacity anymore (wracking my brain to work out what I did to enable it there, even at that low volume).

TreeHugger 05-29-2010 11:38 AM

I forgot to mention, just in case it's relevant, the /etc/modprobe.d/alsa-base config that I moved out the way was about 200 lines of config:


# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-seq ; }
#
# Workaround at bug #499695
#install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
#install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
#install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /lib/alsa/modprobe-post-install snd-emu10k1 ; /sbin/modprobe --quiet snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /lib/alsa/modprobe-post-install snd-via82xx ; /sbin/modprobe --quiet snd-seq ; }
# Cause a script to be run after *-synth module initialization
install snd-emu8000-synth /sbin/modprobe --ignore-install snd-emu8000-synth && /lib/alsa/modprobe-post-install snd-emu8000-synth
install snd-emu10k1-synth /sbin/modprobe --ignore-install snd-emu10k1-synth && /lib/alsa/modprobe-post-install snd-emu10k1-synth
# Cause a script to be run after card driver module initialization
install snd-ad1816a /sbin/modprobe --ignore-install snd-ad1816a $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ad1816a
install snd-ad1848 /sbin/modprobe --ignore-install snd-ad1848 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ad1848
install snd-adlib /sbin/modprobe --ignore-install snd-adlib $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-adlib
install snd-ad1889 /sbin/modprobe --ignore-install snd-ad1889 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ad1889
install snd-ad1816a /sbin/modprobe --ignore-install snd-ad1816a $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ad1816a
install snd-aica /sbin/modprobe --ignore-install snd-aica $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aica
install snd-ali5451 /sbin/modprobe --ignore-install snd-ali5451 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ali5451
install snd-als100 /sbin/modprobe --ignore-install snd-als100 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-als100
install snd-als300 /sbin/modprobe --ignore-install snd-als300 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-als300
install snd-als4000 /sbin/modprobe --ignore-install snd-als4000 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-als4000
install snd-aoa /sbin/modprobe --ignore-install snd-aoa $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aoa
install snd-aoa-fabric-layout /sbin/modprobe --ignore-install snd-aoa-fabric-layout $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aoa-fabric-layout
install snd-aoa-onyx /sbin/modprobe --ignore-install snd-aoa-onyx $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aoa-onyx
install snd-aoa-tas /sbin/modprobe --ignore-install snd-aoa-tas $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aoa-tas
install snd-aoa-toonie /sbin/modprobe --ignore-install snd-aoa-toonie $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aoa-toonie
install snd-aoa-soundbus /sbin/modprobe --ignore-install snd-aoa-soundbus $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aoa-soundbus
install snd-aoa-soundbus-i2s /sbin/modprobe --ignore-install snd-aoa-soundbus-i2s $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aoa-soundbus-i2s
install snd-armaaci /sbin/modprobe --ignore-install snd-armaaci $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-armaaci
install snd-asihpi /sbin/modprobe --ignore-install snd-asihpi $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-asihpi
install snd-at73c213 /sbin/modprobe --ignore-install snd-at73c213 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-at73c213
install snd-atiixp /sbin/modprobe --ignore-install snd-atiixp $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-atiixp
install snd-at32-soc-playpaq-slave /sbin/modprobe --ignore-install snd-at32-soc-playpaq-slave $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-at32-soc-playpaq-slave
install snd-at91-soc /sbin/modprobe --ignore-install snd-at91-soc $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-at91-soc
install snd-at91-soc-eti-b1-wm8731 /sbin/modprobe --ignore-install snd-at91-soc-eti-b1-wm8731 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-at91-soc-eti-b1-wm8731
install snd-1-soc-eti-slave /sbin/modprobe --ignore-install snd-1-soc-eti-slave $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-1-soc-eti-slave
install snd-au1x00 /sbin/modprobe --ignore-install snd-au1x00 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-au1x00
install snd-aw2 /sbin/modprobe --ignore-install snd-aw2 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-aw2
install snd-au8820 /sbin/modprobe --ignore-install snd-au8820 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-au8820
install snd-au8830 /sbin/modprobe --ignore-install snd-au8830 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-au8830
install snd-azt2320 /sbin/modprobe --ignore-install snd-azt2320 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-azt2320
install snd-azt3328 /sbin/modprobe --ignore-install snd-azt3328 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-azt3328
install snd-ca0106 /sbin/modprobe --ignore-install snd-ca0106 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ca0106
install snd-cmi8330 /sbin/modprobe --ignore-install snd-cmi8330 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-cmi8330
install snd-cmipci /sbin/modprobe --ignore-install snd-cmipci $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-cmipci
install snd-cs4231 /sbin/modprobe --ignore-install snd-cs4231 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-cs4231
install snd-cs4232 /sbin/modprobe --ignore-install snd-cs4232 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-cs4232
install snd-cs4236 /sbin/modprobe --ignore-install snd-cs4236 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-cs4236
install snd-cs4281 /sbin/modprobe --ignore-install snd-cs4281 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-cs4281
install snd-cs5535audio /sbin/modprobe --ignore-install snd-cs5535audio $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-cs5535audio
install snd-darla20 /sbin/modprobe --ignore-install snd-darla20 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-darla20
install snd-darla24 /sbin/modprobe --ignore-install snd-darla24 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-darla24
install snd-davinci-soc /sbin/modprobe --ignore-install snd-davinci-soc $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-davinci-soc
install snd-davinci-soc-evm /sbin/modprobe --ignore-install snd-davinci-soc-evm $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-davinci-soc-evm
install snd-dt019x /sbin/modprobe --ignore-install snd-dt019x $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-dt019x
install snd-echo3g /sbin/modprobe --ignore-install snd-echo3g $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-echo3g
install snd-emu10k1x /sbin/modprobe --ignore-install snd-emu10k1x $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-emu10k1x
install snd-ens1370 /sbin/modprobe --ignore-install snd-ens1370 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ens1370
install snd-ens1371 /sbin/modprobe --ignore-install snd-ens1371 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ens1371
install snd-es1688 /sbin/modprobe --ignore-install snd-es1688 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-es1688
install snd-es18xx /sbin/modprobe --ignore-install snd-es18xx $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-es18xx
install snd-es1938 /sbin/modprobe --ignore-install snd-es1938 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-es1938
install snd-es1968 /sbin/modprobe --ignore-install snd-es1968 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-es1968
install snd-es968 /sbin/modprobe --ignore-install snd-es968 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-es968
install snd-fm801 /sbin/modprobe --ignore-install snd-fm801 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-fm801
install snd-fm801-tea575x /sbin/modprobe --ignore-install snd-fm801-tea575x $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-fm801-tea575x
install snd-gina20 /sbin/modprobe --ignore-install snd-gina20 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-gina20
install snd-gina24 /sbin/modprobe --ignore-install snd-gina24 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-gina24
install snd-gusclassic /sbin/modprobe --ignore-install snd-gusclassic $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-gusclassic
install snd-gusextreme /sbin/modprobe --ignore-install snd-gusextreme $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-gusextreme
install snd-gusmax /sbin/modprobe --ignore-install snd-gusmax $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-gusmax
install snd-harmony /sbin/modprobe --ignore-install snd-harmony $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-harmony
install snd-hda-codec-atihdmi /sbin/modprobe --ignore-install snd-hda-codec-atihdmi $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-codec-atihdmi
install snd-hda-codec-analog /sbin/modprobe --ignore-install snd-hda-codec-analog $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-codec-analog
install snd-hda-codec-conexant /sbin/modprobe --ignore-install snd-hda-codec-conexant $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-codec-conexant
install snd-hda-codec-cmedia /sbin/modprobe --ignore-install snd-hda-codec-cmedia $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-codec-cmedia
install snd-hda-codec-realtek /sbin/modprobe --ignore-install snd-hda-codec-realtek $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-codec-realtek
install snd-hda-codec-si3054 /sbin/modprobe --ignore-install snd-hda-codec-si3054 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-codec-si3054
install snd-hda-codec-sigmatel /sbin/modprobe --ignore-install snd-hda-codec-sigmatel $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-codec-sigmatel
install snd-hda-codec-via /sbin/modprobe --ignore-install snd-hda-codec-via $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-codec-via
install snd-hda-generic /sbin/modprobe --ignore-install snd-hda-generic $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-generic
install snd-hda-hwdep /sbin/modprobe --ignore-install snd-hda-hwdep $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-hwdep
install snd-hda-intel /sbin/modprobe --ignore-install snd-hda-intel $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-intel
install snd-hda-power-save /sbin/modprobe --ignore-install snd-hda-power-save $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hda-power-save
install snd-hdsp /sbin/modprobe --ignore-install snd-hdsp $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hdsp
install snd-hdspm /sbin/modprobe --ignore-install snd-hdspm $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hdspm
install snd-hifier /sbin/modprobe --ignore-install snd-hifier $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hifier
install snd-hpet /sbin/modprobe --ignore-install snd-hpet $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-hpet
install snd-ice1712 /sbin/modprobe --ignore-install snd-ice1712 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ice1712
install snd-ice1724 /sbin/modprobe --ignore-install snd-ice1724 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ice1724
install snd-indigo /sbin/modprobe --ignore-install snd-indigo $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-indigo
install snd-indigodj /sbin/modprobe --ignore-install snd-indigodj $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-indigodj
install snd-indigoio /sbin/modprobe --ignore-install snd-indigoio $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-indigoio
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-intel8x0
install snd-interwave /sbin/modprobe --ignore-install snd-interwave $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-interwave
install snd-interwave-stb /sbin/modprobe --ignore-install snd-interwave-stb $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-interwave-stb
install snd-layla20 /sbin/modprobe --ignore-install snd-layla20 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-layla20
install snd-layla24 /sbin/modprobe --ignore-install snd-layla24 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-layla24
install snd-mia /sbin/modprobe --ignore-install snd-mia $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-mia
install snd-miro /sbin/modprobe --ignore-install snd-miro $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-miro
install snd-mixart /sbin/modprobe --ignore-install snd-mixart $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-mixart
install snd-ml403-ac97cr /sbin/modprobe --ignore-install snd-ml403-ac97cr $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ml403-ac97cr
install snd-mona /sbin/modprobe --ignore-install snd-mona $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-mona
install snd-mpu401 /sbin/modprobe --ignore-install snd-mpu401 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-mpu401
install snd-msnd-pinnacle /sbin/modprobe --ignore-install snd-msnd-pinnacle $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-msnd-pinnacle
install snd-mtpav /sbin/modprobe --ignore-install snd-mtpav $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-mtpav
install snd-mts64 /sbin/modprobe --ignore-install snd-mts64 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-mts64
install snd-nm256 /sbin/modprobe --ignore-install snd-nm256 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-nm256
install snd-omap-soc /sbin/modprobe --ignore-install snd-omap-soc $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-omap-soc
install snd-omap-soc-n810 /sbin/modprobe --ignore-install snd-omap-soc-n810 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-omap-soc-n810
install snd-opl3sa2 /sbin/modprobe --ignore-install snd-opl3sa2 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-opl3sa2
install snd-opti92x-ad1848 /sbin/modprobe --ignore-install snd-opti92x-ad1848 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-opti92x-ad1848
install snd-opti92x-cs4231 /sbin/modprobe --ignore-install snd-opti92x-cs4231 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-opti92x-cs4231
install snd-opti93x /sbin/modprobe --ignore-install snd-opti93x $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-opti93x
install snd-oxygen /sbin/modprobe --ignore-install snd-oxygen $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-oxygen
install snd-pc98-cs4232 /sbin/modprobe --ignore-install snd-pc98-cs4232 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pc98-cs4232
install snd-pcsp /sbin/modprobe --ignore-install snd-pcsp $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pcsp
install snd-pcxhr /sbin/modprobe --ignore-install snd-pcxhr $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pcxhr
install snd-pdaudiocf /sbin/modprobe --ignore-install snd-pdaudiocf $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pdaudiocf
install snd-pdplus /sbin/modprobe --ignore-install snd-pdplus $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pdplus
install snd-portman2x4 /sbin/modprobe --ignore-install snd-portman2x4 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-portman2x4
install snd-powermac /sbin/modprobe --ignore-install snd-powermac $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-powermac
install snd-ps3 /sbin/modprobe --ignore-install snd-ps3 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ps3
install snd-pxa2xx-ac97 /sbin/modprobe --ignore-install snd-pxa2xx-ac97 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pxa2xx-ac97
install snd-pxa2xx-i2sound /sbin/modprobe --ignore-install snd-pxa2xx-i2sound $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pxa2xx-i2sound
install snd-pxa2xx-soc /sbin/modprobe --ignore-install snd-pxa2xx-soc $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pxa2xx-soc
install snd-pxa2xx-soc-corgi /sbin/modprobe --ignore-install snd-pxa2xx-soc-corgi $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pxa2xx-soc-corgi
install snd-pxa2xx-soc-spitz /sbin/modprobe --ignore-install snd-pxa2xx-soc-spitz $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pxa2xx-soc-spitz
install snd-pxa2xx-soc-poodle /sbin/modprobe --ignore-install snd-pxa2xx-soc-poodle $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pxa2xx-soc-poodle
install snd-pxa2xx-soc-tosa /sbin/modprobe --ignore-install snd-pxa2xx-soc-tosa $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pxa2xx-soc-tosa
install snd-riptide /sbin/modprobe --ignore-install snd-riptide $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-riptide
install snd-rme32 /sbin/modprobe --ignore-install snd-rme32 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-rme32
install snd-rme96 /sbin/modprobe --ignore-install snd-rme96 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-rme96
install snd-rme9652 /sbin/modprobe --ignore-install snd-rme9652 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-rme9652
install snd-rtctimer /sbin/modprobe --ignore-install snd-rtctimer $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-rtctimer
install snd-s3c2410 /sbin/modprobe --ignore-install snd-s3c2410 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-s3c2410
install snd-s3c24xx-soc-neo1973-wm8753 /sbin/modprobe --ignore-install snd-s3c24xx-soc-neo1973-wm8753 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-s3c24xx-soc-neo1973-wm8753
install snd-s3c24xx-soc-smdk2443-wm9710 /sbin/modprobe --ignore-install snd-s3c24xx-soc-smdk2443-wm9710 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-s3c24xx-soc-smdk2443-wm9710
install snd-s3c24xx-soc-ln2440sbc-alc650 /sbin/modprobe --ignore-install snd-s3c24xx-soc-ln2440sbc-alc650 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-s3c24xx-soc-ln2440sbc-alc650
install snd-sa11xx-uda1341 /sbin/modprobe --ignore-install snd-sa11xx-uda1341 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sa11xx-uda1341
install snd-sb16 /sbin/modprobe --ignore-install snd-sb16 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sb16
install snd-sb8 /sbin/modprobe --ignore-install snd-sb8 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sb8
install snd-sbawe /sbin/modprobe --ignore-install snd-sbawe $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sbawe
install snd-sc6000 /sbin/modprobe --ignore-install snd-sc6000 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sc6000
install snd-serial-u16550 /sbin/modprobe --ignore-install snd-serial-u16550 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-serial-u16550
install snd-sgalaxy /sbin/modprobe --ignore-install snd-sgalaxy $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sgalaxy
install snd-sis7019 /sbin/modprobe --ignore-install snd-sis7019 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sis7019
install snd-soc /sbin/modprobe --ignore-install snd-soc $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-soc
install snd-soc-au1xpsc /sbin/modprobe --ignore-install snd-soc-au1xpsc $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-soc-au1xpsc
install snd-soc-mpc8610-hpcd /sbin/modprobe --ignore-install snd-soc-mpc8610-hpcd $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-soc-mpc8610-hpcd
install snd-soc-sample-psc-ac97 /sbin/modprobe --ignore-install snd-soc-sample-psc-ac97 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-soc-sample-psc-ac97
install snd-sonicvibes /sbin/modprobe --ignore-install snd-sonicvibes $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sonicvibes
install snd-sscape /sbin/modprobe --ignore-install snd-sscape $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sscape
install snd-at91-soc /sbin/modprobe --ignore-install snd-at91-soc $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-at91-soc
install snd-at91-soc-eti-b1-wm8731 /sbin/modprobe --ignore-install snd-at91-soc-eti-b1-wm8731 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-at91-soc-eti-b1-wm8731
install snd-sun-amd7930 /sbin/modprobe --ignore-install snd-sun-amd7930 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sun-amd7930
install snd-sun-cs4231 /sbin/modprobe --ignore-install snd-sun-cs4231 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sun-cs4231
install snd-sun-dbri /sbin/modprobe --ignore-install snd-sun-dbri $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-sun-dbri
install snd-trident /sbin/modprobe --ignore-install snd-trident $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-trident
install snd-usb-audio /sbin/modprobe --ignore-install snd-usb-audio $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-usb-audio
install snd-usb-usx2y /sbin/modprobe --ignore-install snd-usb-usx2y $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-usb-usx2y
install snd-usb-caiaq /sbin/modprobe --ignore-install snd-usb-caiaq $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-usb-caiaq
install snd-verbose-procfs /sbin/modprobe --ignore-install snd-verbose-procfs $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-verbose-procfs
install snd-verbose-printk /sbin/modprobe --ignore-install snd-verbose-printk $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-verbose-printk
install snd-virtuoso /sbin/modprobe --ignore-install snd-virtuoso $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-virtuoso
install snd-vx222 /sbin/modprobe --ignore-install snd-vx222 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-vx222
install snd-vxpocket /sbin/modprobe --ignore-install snd-vxpocket $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-vxpocket
install snd-wavefront /sbin/modprobe --ignore-install snd-wavefront $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-wavefront
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2

TreeHugger 05-29-2010 01:05 PM

arecord same as audacity
 
I think arecord is simpler and has the same setup as audacity when it comes to the mic.

I tried this:


adam@isengard:~$ cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
26: [ 0- 2]: digital audio capture
32: [ 1] : control
33: : timer
56: [ 1- 0]: digital audio capture
adam@isengard:~$ arecord -c1 -Dplughw:0,0 -f cd -vv /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16384
period_size : 4096
period_time : 92879
tstamp_mode : NONE
period_step : 1
avail_min : 4096
start_threshold : 1
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
#+ | 00%^C
Aborted by signal Interrupt...



I tried all of the capture devices and the only one that works is the last, the USB mic. So why is the stuff in /proc/asound/devices not hooked up with the hardware, which is obviously pumping input through to the speakers?

Shadow_7 05-29-2010 06:58 PM

Quote:

Originally Posted by TreeHugger (Post 3985611)
adam@isengard:~$ arecord -c1 -Dplughw:0,0 -f cd -vv /dev/null

I hope you stripped my config down. My integrated soundcard takes two devices atiixp + atiixp_modem. Plus a 3rd for the usb-audio (M-Audio Mobile Pre in my case). You probably only need 2 of those 3.

$ arecord --list-devices

You seem to be missing a few spaces between parameter and option on yours. hda-intel is fairly NEW stuff and a bit bleeding edge. Perhaps a custom kernel would improve things in terms of bringing your drivers up to date. My atiixp is at least 4 years old. And I seem to be getting a little resistance getting things to run the way I know they should. And have been able to do in the past (with a bit more customization than I currently have)

$ arecord -f dat -D hw:0,0 test.wav

Not that I normally record from my laptops soundcard. But it's nice to make sure it works on occasion. Meanwhile alsa-project.org's ftp seems to be down. Fortunately alsa is included in the 2.6 series kernels. Unfortunately my 2.6.26 distro kernel is too dated I guess. Or they backported a very old version of alsa with it for some reason. Need 1.0.18 or better of alsa to compile the newer jackd. Need the newer jackd to compile mplayer with jack support. Beyond that everything works to one degree or another.

$ jackd -R -d alsa -d hw:2 &
$ timidity -Oj -iA &
$ rosegarden

Just flirting around with midi. Unfortunately no -ao jack in mplayer until I resolve my versioning issues.

TreeHugger 05-30-2010 06:04 AM

This machine is at least 3 years old, maybe 4.

In alsa-base, I removed the debian package config and changed it to what you put above and the only card mentioned is the snd-hda-intel:

Quote:

options snd-hda-intel index=0

alias snd-card-0 snd-hda-intel


I had the USB card in there, and I then tried it without - neither way was any different.

The output of arecord --list-devices:

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC882 Analog [ALC882 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC882 Digital [ALC882 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC882 Analog [ALC882 Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 1: U0x46d0x9a4 [USB Device 0x46d:0x9a4], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0


I don't know what more I can say. Java's still throwing errors when trying to output sound, the mic is still piping input direct to the speakers and is unavailable to apps, and those snd-pcm-oss, snd-mixer-oss and snd-seq-oss do not load automatically.

There's all sorts of interesting looking stuff out there, especially for ubuntu, but I could spend days trying to fix this.

You don't think it could be something really basic like the jack is meant for a stereo mic but it's only a mono mic?

Shadow_7 05-30-2010 06:43 AM

That wouldn't really matter much. 1 or 2 channels is the only difference. That's actually the unexpected quirk with my current configuration. I know my mic jack (on the laptop) is mono, and it only lets me capture a stereo track (in arecord). In combination with not being able to download alsa's drivers directly to compile against my current (but ancient) kernel.

You should be able to disable the play through. Java is probably assuming OSS. As long as you don't have artsd, esd, pulse audio, jack, ..... running and keeping the sound card to itself, you should be okay from a certain POV.

You could setup a jack server for your USB mic (or which ever one is bleeding through).

$ jackd -R -d alsa -d hw:2 &

And then run qjackctl to show and sever the connection (play through). Alsamixer sometimes has option for that too. On my Delta 44 I can select to have the input pipe straight to the output. Or not, the default is NOT. Not that I know if that was the original default at this point. It shows up as a text channel in alsamixer. Looks like H/W, then H/W 1, H/W 2, H/W 3 for the for output channels. I can select H/W In, H/W In 1, .... to get playthrough, but I rarely do unless I'm using the TV capture card and watching a VHS tape. You can accomplish this same task with qjackctl if you run via the jack method. Or jack_connect if you're more cli inclined. Basically it's selectable. And probably at the hardware level which shouldn't impact java in any way. Baring obvious potential feedback issues.


Hmmm...

http://forum.ubuntu-fr.org/viewtopic.php?id=355943

Code:

ACPI: I/O resource nForce2_smbus [0x1c00-0x1c3f] conflicts with ACPI region SM00 [0x1c00-0x1c05]
Looks like this one has an ACPI resource conflict. Same USB input and hda-intel. You might try a reboot with the USB device disconnected. See if you have issues with just the hda-intel device at that point. If not, then plug in the USB device and see if it triggers an issue.

# cat /var/log/dmesg | grep -i "conflict"
# cat /var/log/kern.log | grep -i "conflict"
# cat /var/log/syslog | grep -i "conflict"

See if you have something like that.

or:
# egrep -i "conflict" /var/log/syslog

various means to an end. My logs are clear (no hits) on that term.

TreeHugger 05-30-2010 07:33 PM

I've got Capture, Capture.0, Capture.1 but I can't disable them in xfce-mixer but not at all in alsamixer.

I changed more stuff in my /etc/modprobe.d/alsa-base config, not sure if that helped, plus had to do a cold boot.

After that, Java started working again. But I forgot to load the oss modules manually after the cold boot, so not sure why Java is working.

I checked for conflict logs - nothing showing.

Electro 05-30-2010 07:43 PM

I recommend remove every sound daemon (artsd, PulseAudio, Jackd, and others) that you have loaded then type the following in separate terminals.

arecord -r 48000 -c 1 | hexdump
alsamixer -V all

Adjust the controls when you see something different being printed from hexdump. In alsamixer, you may have to choose a capture device and set volume for some devices. I suggest do not adjust or use MIC BOOST because it might make it worst. Adjust the volume for capture. To stop or close arecord or hexdump, hit CTRL+C.

This is the best way to setup recording with out wasting space.

Normally, sound card's MIC connector is a three conductor. They are compatible with condenser microphones that needs power to energized the pre-amplifier in the microphone. Dynamic microphones does not need one. This connector is mono. Some notebook computers may include two microphones which adds confusion.

For any distribution, you are the mercy of the maintainers. If you are dealing with pre-compiled packages, you will experience more problems that is out of your control. If you use distributions like Gentoo or Arch then you can control your problems and find a fix.

Shadow_7 05-31-2010 12:55 AM

One thought. Just added the security update manually to my sources.list and noticed updates to libc6-amd64. If you're cpu is NOT 64 bit, you might want to purge these to keep the applications from getting confused. Make them default to 32 bit, since 64 bit doesn't run that well on 32 bit machines.

$ cat /proc/cpuinfo

flags: ..... . . . . . lm .....

If you have lm, you've got a 64 bit cpu. If you have lahf_lm or NO lm, you're NOT a 64 bit x86 processor.

TreeHugger 05-31-2010 07:17 AM

I've got lahf_lm. I checked the installed packages and I don't have anything with 64 in the name.

electro, I've been using this command:

arecord -c 1 -D plughw:0,2 -f cd -vv /dev/null

which displays a cmd line VU meter.

But thanks for the explanations. Interesting. I did try to get some help on the debian list but unfortunately it just went around in circles, which is why I came here. I see quite a few people posting with this error, but most of the time it's just the control is muted. I wish that was me!

Shadow_7 06-01-2010 09:31 AM

Grrr... It looks like debian security updates replaced my snd-atiixp with snd-pcspkr. To make matters worse I seem to be having a difficult time swapping it back as pcsp loads as card 0, even with /etc/modprobe.d/blacklist, some alias stuff, and removing the udev rule for that thing. Perhaps related to your issue if I figure out what's going on here. About the only thing I get out of pcsp is annoying beeps. Audacity wont even load unless I change defaults.pcm.card to 2, my USB soundcard. atiixp-modem still loads, which is the only one that I don't need for anything that I actually use.

TreeHugger 06-01-2010 09:53 AM

are you using stable or testing?

Shadow_7 06-01-2010 12:40 PM

stable / lenny

Added to alsa_custom

Code:

install snd-pcsp /sbin/modprobe --ignore-install snd-pcsp $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-pcsp
options snd-pcsp index=-2

blacklisted pcsp and snd-pcspkr

As I try to figure out why they gave it a virtual name that differs from it's real name. It's not like we're limited to 8.3 dos names anymore people. At least not for most of the new stuff. I suppose there are still a few legacy systems in place. Hopefully this corrects the issue. I guess there is some important stuff in those alsa-base things after all.

I'll probably rename alsa_custom to a .conf since that seems to be the direction future things will be held to.

Shadow_7 06-02-2010 07:29 AM

Got my native laptop card back. And re-edited grub.cfg to disable that touchpad tap as click stuff. I still have to redo from source media items. Updates on a customized install can be a bit annoying. I guess I should learn the package management system well enough to create packages. Someday perhaps...

Which java application is giving you the no audio device? Java applets in the web browser? Or java as compiled / run from a CLI? Thinking of doing some sort of strace to see what it's expecting or trying to access in terms of audio devices. Your user should be in the "audio" group. And your audio devices in /dev/ should be assigned to that group. If that's not the case it could be your issue. If that's right, then we still need to dig deeper.

TreeHugger 06-02-2010 07:45 AM

Java from CLI

But it's working again now - I'm not sure what it was that re-enabled it, could have been my changes to the /etc/modprobe.d/alsa-base (I merged some stuff from the original with the stuff you gave me) or it could have been any number of other unknowns. Unknown unknowns that is. I think I've got a handle on the known unknowns :)

The user is in the audio group.

It was good to get the java audio back - I felt that stuff was slipping out of control. But the original mic problem is still there, if you have any more ideas.

Shadow_7 06-02-2010 09:05 AM

What was the original mic problem again?

Browsers assume card 0 for the most part. You might try launching the app with aoss and see if that helps.

$ aoss <app> <parameters>

In theory it wraps OSS apps to use alsa more directly. Unfortunately for web browsers, when they launch a new tab or new window, those are not wrapped with aoss.

You might be having an indexing issue. If your cards are loading in a different sequence. It might also be a motherboard thing where if it detects a 2nd soundcard it'll disable the integrated one. The symptom of which is if you boot with the webcam unplugged, it'll be different than if you boot with the webcam plugged in. And other udev plus /etc/modules loading sequence issues that might vary depending on how fast this or that runs and who gets there first. udev was actually supposed to address that issue with it's rules (/etc/udev/rules.d/).

Shadow_7 06-02-2010 09:10 AM

If it's a sequence issue, you might be able to adjust after boot.

# /etc/init.d/udev restart

And various alsa* restart and modprobe -r plus modprobe of related modules. It can get tricky if your system isn't behaving how you think it should.

TreeHugger 06-02-2010 09:47 AM

No I don't think it's any of that.

There's one sound card and in alsamixer I can control the input volume of the mic, but it pipes the input straight to the output and the hifi, which I don't need obviously.

I can't configured stuff like audacity or skype to use the mic - that's the issue. audacity shows the options of devices on the card, but selecting them doesn't give me the mic input. Strange that the names of the devices in audacity and skype are "ALSA HDA Intel ALC882 Analog hw:0,0 " thro "... hw:0,2" and the names in alsamixer are just 'mic' and 'mic boost'. Some sort of fundamental disconnect. Running it with aoss makes no difference.

I do have these strange devices in the alsamixer: "capture", "capture.1" and "capture.2" - maybe that's what audacity thinks is the input devices.

Shadow_7 06-02-2010 10:24 AM

It's a strange one. Is alsaconf of any help?

$ aumix -q

Curious to see what that one shows on your system. (simpler and easier to understand than amixer)

You have to actually record something in audacity to see what your levels are registering at (depending on your version of audacity). Ardour just shows them all the time. I still think that play through shouldn't be a default. It is and if you're mic is close enough and sensitive enough you can/will get feedback. Or if you turn the speakers up too loud. But that's a different issue.

You might try rm -rf ~/.audacity to let your version of audacity assume default settings when you launch it. Where ~ is short for /home/user/

TreeHugger 06-02-2010 11:50 AM

Oh right. I have to load snd-pcm-oss, snd-mixer-oss and snd-seq-oss to get that to run, otherwise I don't see the /dev/mixer stuff. I know they're meant to load on boot, but they don't.

adam@isengard:~$ aumix -q
vol 84, 84
pcm 85, 85
line 74, 74
mic 55, 55
cd 81, 81
pcm2 100, 100
igain 0, 0
dig1 100, 100


Well I tried loads of times to record on each of the devices shown in audacity, but for the first and the third, I just get a flat line, no nothing. On the second device, audacity goes all flakey and won't record, but doesn't give any error.

I don't see ardour in the package repository.

Skellz 06-02-2010 11:53 AM

I'm having the same exact problem with my laptop mate, hope you get it all sorted out

Shadow_7 06-02-2010 12:03 PM

Quote:

Originally Posted by TreeHugger (Post 3990178)
adam@isengard:~$ aumix -q
vol 84, 84
pcm 85, 85
line 74, 74
mic 55, 55
cd 81, 81
pcm2 100, 100
igain 0, 0
dig1 100, 100

The obvious thing I'm seeing there is no R

$ aumix -q

vol 84, 84, P
pcm 84, 84
speaker 80, 80
line 0, 0, P
mic 50, 50, R <===<<<
cd 84, 84, P
pcm2 84, 84
igain 50, 50
line1 100, 100, P
dig1 0, 0
phin 100, 100, P
phout 100, 100, P
video 100, 100, P

In the gui version of aumix (package aumix-gtk in debian) there's little squares with colored squared in them. The RED one is the recording channel. Clicking it turns it red (and turns previous red ones green).

Shadow_7 06-02-2010 12:05 PM

Or go old school

$ aumix -i 30 -m 75 -m R

TreeHugger 06-02-2010 12:38 PM

Sorry but my system isn't doing that.

adam@isengard:~$ aumix -i 30 -m 75 -m R
adam@isengard:~$ aumix -q
vol 84, 84
pcm 85, 85
line 74, 74
mic 75, 75
cd 81, 81
pcm2 100, 100
igain 30, 30
dig1 100, 100
adam@isengard:~$


Plus the gui aumix doesn't have any little squares with red or green. Just the sliders for volume and balance - and that's with all options in the menu checked. Actually there is a header 'R' but the column below is blank. Hmmm! Could there be more garbage in my config?

This is version 2.8-21

Shadow_7 06-02-2010 02:21 PM

That's an odd one to say the least. Is this a laptop or desktop? It's almost like some jumper or cable somewhere isn't plugged in. Does it work in windows (whatever that is?)? If you have bandwidth and media, you might burn a liveCD and see if it's the same. If not, you might check to see how it differs in terms of configuration.

Things are muted in alsa by default. In alsamixer push "M" on any channels that are not already known to be okay. If you haven't already.

Shadow_7 06-02-2010 03:38 PM

On a side note, that extra conf stuff and blacklist-ing snd-pcsp and friends makes it so I can record in mono now. You should probably rename your /etc/modprobe.d custom stuff to a .conf file. Because I did that as well, and that could be the sole reason for the sanity that my system gained. And I had to reinstall alsa-base to get the blacklist entries to cut and paste. And moved/removed them when I was done for those /etc/modprobe.d/alsa-base entries. Leaving just my custom conf.

# dpkg --purge --force-all alsa-base
# apt-get install alsa-base

Maybe it'll help, maybe it wont.

TreeHugger 06-02-2010 05:18 PM

Will alsa read all of /etc/modprobe.d/alsa-base and /etc/modprobe.d/alsa-custom or /etc/modprobe.d/alsa-custom.conf?

Or just /etc/modprobe.d/alsa-base ?

That's what I'm using.

Shadow_7 06-02-2010 06:44 PM

The kernel and boot process reads all of /etc/modprobe.d/ at boot time. But newer messages / alerts seem to suggest that it will only read files ending in .conf in that path. Pretty much anything involving modprobe reads from there. Which alsa does when loading or unloading modules.

$ apt-cache show module-init-tools

http://www.kerneltools.org/

TreeHugger 06-03-2010 11:53 AM

OK one step in the right direction: the oss modules now load automatically.

Audacity still wants no truck with the mic, and I still see no way of setting the mic to R (the aumix cmd doesn't have any effect).

There are new files now in /etc/modprobe.d called blacklist, alsa-base-blacklist, linux_sound_base_noOSS and sound.

Sound is just

alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0


which seems to duplicate alsa-base.

The blacklist files seem OK, none are blacklisting snd-hda-intel.

And none of them are .conf suffixes.

Shadow_7 06-03-2010 02:09 PM

"R" in aumix is equivalent to "[on]" in amixer. It's just simpler to read. You might have a version that doesn't print that information. Or there's some option -h that helps it to know to print it. Might be an alias or something on my system. Could be the way it was compiled and other things. Could just be a difference in version.

There's information in /proc/asound/card0/* to give further details. Even some way to echo "some modified line from said cat of virtual file" > /proc/asound/card0/... But you've got to know what you're doing there and mostly a last resort. Much like `echo 0 > /proc/sys/net/ipv4/ip_forward` can disable or enable(1) a feature. We're not there yet IMO, but reading some cat /proc/asound/* stuff might further understanding. Or mis-understanding since alsa seems a bit confused at this point.

$ find /proc/asound/ -iname '*' | while read INPUT; do echo -e "\n\n\n"$INPUT"\n" | tee -a logging_sound.txt; cat $INPUT | tee -a logging_sound.txt; done
$ less logging_sound.txt

Purely informative, but maybe of use to you.

$ cat logging_sound.txt | wc -l

Close to 1,000 lines on my system so probably not advisable to post here.

Regardless alsamixer should give you access to it. I just find that app so cryptic to be of much use beyond level and information. On some channels it's just blatantly odd/wrong on a few of my cards. Those channel generally don't hold settings so kind of moot. Room for improvement IMO.

TreeHugger 06-03-2010 06:05 PM

I'm beginning to hope that squeeze comes out of testing soon - I've probably got a good chance of the mic just working out of the box with it.

Anyway, one thing I noticed looking through all the output of the /proc/asound stuff, e.g.:

/proc/asound/devices

0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
26: [ 0- 2]: digital audio capture


I think they just ignore the mic. I think the 3 audio input devices are nothing to do with the mic, they're something like "Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In" for input from an external amp or whatever. So I can't see the hardware for the mic mentioned. I can see some channels named 'mic'. But I guess that is just logical, down to the mixer software, and it hasn't made the connection to the mic hardware.

Shadow_7 06-03-2010 10:52 PM

My output.

/proc/asound/devices

0: [ 0] : control
16: [ 0- 0]: digital audio playback
24: [ 0- 0]: digital audio capture

32: [ 1] : control
33: : timer
48: [ 1- 0]: digital audio playback
56: [ 1- 0]: digital audio capture

64: [ 2] : control
80: [ 2- 0]: digital audio playback
88: [ 2- 0]: digital audio capture

Note that these in essence identify what hw:0,0 and such represent.

/proc/asound/cards

0 [IXP ]: ATIIXP - ATI IXP
ATI IXP rev 2 with unknown codec at 0xd0003400, irq 17
1 [Modem ]: ATIIXP-MODEM - ATI IXP Modem
ATI IXP Modem rev 2 at 0xd0003800, irq 17
2 [MobilePre ]: USB-Audio - MobilePre
M Audio MobilePre at usb-0000:00:13.1-2, full speed

/proc/asound/card0/pcm0c/info

card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: ATI IXP AC97
name: ATI IXP AC97
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1

pcm0c is the capture device. Alternatively you could always install the latest alsa from source on your current kernel and distro. Most times that just means compiling alsa-lib and alsa-driver in that order. I haven't been able to download them on my end. Probably an MTU conflict in the stream between here and there as no one else seems to have this issue. But in theory it'd go something like this...

$ mozilla http://www.alsa-project.org/

download alsa-driver-1.0.23.tar.bz2 and alsa-lib-1.0.23.tar.bz2

$ tar-xjvpf alsa-driver-1.0.23.tar.bz2
$ tar-xjvpf alsa-lib-1.0.23.tar.bz2

$ cd alsa-lib-1.0.23
$ ./configure --prefix=/usr
$ make
$ su
(password)
# make install
(alternatively sudo make install)
# exit

$ cd ../alsa-driver-1.0.23
$ ./configure --prefix=/usr --with-sequencer=yes --with-oss=yes --with-drivers=hda_intel,usb_audio
$ make
$ su
# make install
# exit

And reboot or restart alsa. Reset your mixer levels and such as well. Just one of many alternatives. And it assumes that you have all of the build tools. gcc, build-essential, ncurses, kernel-headers, ... . . . and all of the *-dev packages needed to compile from sources. I'm a bit rusty on it, so don't take my syntaxes above as stone. Use --help on configure when needed.

Many means to an end.

Shadow_7 06-04-2010 12:59 AM

rusty-er than I thought. --with-cards= instead of --with-drivers.

Alternatively you could goto:

http://packages.debian.org/

And get whatever "other" packages you want and install them.

# dpkg -i <package.deb>

or

# dpkg --force-all -i <package.deb>
(a little more brute force)

Not to worry you are using the package management system so:

# dpkg --purge --force-all <package>
# apt-get install <desired OLD package>

Many means.

Shadow_7 06-04-2010 01:18 AM

Aka pick your poison:

http://packages.debian.org/search?ke...ll&section=all

alsa-base_1.0.23+dfsg-1_all.deb
alsa-source_1.0.23+dfsg-1_all.deb
linux-sound-base_1.0.23+dfsg-1_all.deb

for me. Just needed to add debconf-utils so -source_ configured.

TreeHugger 06-04-2010 10:05 AM

I follow your logic but only up to a point. I still can't see anywhere in my config (or yours above for that matter) where it is overtly coupling the mic to one of the input/capture devices. Am I just missing the whole point or something?

Shadow_7 06-04-2010 02:58 PM

Alsa has changed over the years apparently. The /proc/ stuff used to have MORE information in there. To include number of channels, sample rate, buffers, periods, ........ Tons of info. It seems to be utterly devoid of those details now. Hints of it in codec*, but not nearly to the detail it was before.

Anyway for capture hw:0,0

/proc/asound/devices

0: [ 0] : control
16: [ 0- 0]: digital audio playback
24: [ 0- 0]: digital audio capture <===<<< ([ 0- 0] is 0,0)

And don't forget about asoundrc. Mines a little light / basic, but hints of it there too.

Code:

pcm.atiixp {
  type hw
  card 0
}
ctl.atiixp {
  type hw
  card 0
}

defaults.pcm.card 0

pcm.copy {
  type plug
  slave {
    pcm hw
  }
  route_policy copy
}

Anyway your distro probably has a global configuration for that *somewhere*. alsactl saves a similar syntaxed file with your saved mixer settings in /var/lib/alsa/asound.state. If you want aumix to restore your mixer settings, you actually have to remove that file. Or at least did at one time. The boot script had stuff in there where if it existed, it didn't bother. Some stuff in /etc/alsa/* or /etc/asound* depending on distro and version. Lots of parts to make a whole.

I'm still not sure why yours doesn't work out of the box. Probably a versioning issue, i.e. you need a much newer alsa to have half a chance. packages.debian.org lets you grab a NEWER version, which you can USE on your OLDER distro. In part because ALSA doesn't have many / any dependencies. And partly because the things that have it as a dep look for version >= #.#.##. You could install the sources for alsa and overlay them on your distros version. --prefix=/usr accomplishes that otherwise it defaults to /usr/local/. Many means to an end. I couldn't download the sources for some reason (my usual method) so I dpkg -i ... the SID version of debian via packages.debian.org. Not that I had a issue / your issue at the time of doing this (yesterday). But I need 1.0.18 or better, lenny came with 1.0.17, to compile jack. All that hassle for me to have -ao jack as an option in mplayer (compiled from sources) on my system.

Just more options to get to there from here. I've run sid before with few issues. But my hardware is old enough now that debian lenny meets my current needs (with a few modernized things compiled from source). Your hda-intel hardware is still very beta IMO. pre-beta even. You'd probably have more luck with a newer version of alsa at this point. We've tried pretty much everything else at this point. You don't have to wait for squeeze is all I'm saying. Squeeze exists now (it's just not mainstream stable). And various ways to use PARTS from squeeze (or sid) if you so desire.

Shadow_7 06-05-2010 10:35 PM

You might try:

# /etc/init.d/alsa-utils reset 0

I've never had to do that myself. But perhaps it'll help.


All times are GMT -5. The time now is 09:49 AM.