LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-04-2010, 12:59 AM   #46
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 239Reputation: 239Reputation: 239

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.
 
Old 06-04-2010, 01:18 AM   #47
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 239Reputation: 239Reputation: 239
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.
 
Old 06-04-2010, 10:05 AM   #48
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: Debian, Redhat
Posts: 98

Original Poster
Rep: Reputation: 15
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?
 
Old 06-04-2010, 02:58 PM   #49
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 239Reputation: 239Reputation: 239
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.
 
Old 06-05-2010, 10:35 PM   #50
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 239Reputation: 239Reputation: 239
You might try:

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

I've never had to do that myself. But perhaps it'll help.
 
Old 06-06-2010, 08:48 AM   #51
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: Debian, Redhat
Posts: 98

Original Poster
Rep: Reputation: 15
Are you thinking that it might bring the mic to life on hw0,0 hw0,1 or hw0,2? It didn't. It did set the mic volume level to zero in alsa-mixer though.
 
Old 06-06-2010, 10:24 AM   #52
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 239Reputation: 239Reputation: 239
Mostly just curious if it'd help. Have you tried updating the version of your alsa? via source or via borrowing packages from other flavors of debian. snd-hda-intel is a bit of a brute. Before my Delta 44, that's what my Desktop has. Mostly a nice card, but the alsa driver for it seemed very buggy. To the point of overriding buffers and the likes to get a decent, not to imply good recording out of it. Although that was circa 2007. Late 2007, but still. 1.0.17 version of alsa that comes with current lenny is quite dated. I think 1.0.16 was the version back at that time, with 1.0.14 and 1.0.15 addressing several issues with my particular card at that time. To include some mixer related stuff. Just saying that 1.0.17 version of alsa is ancient for all intents, your chipset is NOT.

And then I got the Delta 44 and was like pfft, integrated sound sucks. Of course the Delta sounds better on the stereo system than studio monitors, but still. It brought some new life to CDs I might not have otherwise ever listened to after an initial viewing. And then I got my Korg MR-1000 and was like.......
 
Old 06-06-2010, 11:20 AM   #53
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: Debian, Redhat
Posts: 98

Original Poster
Rep: Reputation: 15
I can't make head or tail out of the stuff in /var/lib/alsa/asound.state - it looks like this:

control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Mic Playback Switch'
value.0 true
value.1 true
}


which doesn't look so useful to me in this situation.

I just checked backports, and they don't have alsa in there.

I just checked the package dependencies and it came out with this:

adam@isengard:~/projects/atomic$ apt-cache depends alsa-base
alsa-base
Depends: lsof
Depends: module-init-tools
Depends: linux-sound-base
Suggests: apmd
Suggests: alsa-oss
Suggests: oss-compat
Recommends: alsa-utils
Conflicts: alsa-utils
Conflicts: discover
Conflicts: discover1
Conflicts: <lsof-2.2>
Conflicts: <modutils>


Is it really saying it recommends and conflicts with alsa-utils?
 
Old 06-06-2010, 01:56 PM   #54
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 239Reputation: 239Reputation: 239
# alsactl store

When you run that, it saves your mixer settings to /var/lib/asound.state. /etc/asound* on other distros. I'd say file a bug report, but they're going to require you to run the lastest and greatest before acknowledging any bugs. You could file against debian stable/lenny I guess, but support there is probably lacking, since it's probably already addressed / fixed in later versions of debian.

alsa-project.org

get the sources.

or

kernel.org

It is integrated into the kernel at this point. Running a custom and current kernel should update those drivers. Or just wait six months to two years for the next evolution of debian. Why would you, when you can update now? Many means to an end.
 
1 members found this post helpful.
Old 06-07-2010, 08:55 AM   #55
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: Debian, Redhat
Posts: 98

Original Poster
Rep: Reputation: 15
Yes I could update now but last year I introduced a rigid policy of sticking with stable releases on my 'production' machine - i.e. my home/office workstation. A couple of years ago I had etch while it was in testing, and although it was entertaining, I calculated I spent huge amounts of time keeping it on the straight and narrow.

So basically I'm just going to have to live with it until squeeze hits stable. In fact by then I expect I'll have swapped computers anyway and hopefully I'll have one with an easier sound card, or if not, I'm going to make sure I test it all properly straight after the new install.

It's been an interesting voyage through the netherworld of alsa, and thanks v. much for the continual injection of ideas. As they say, live in hope, die in despair

Last edited by TreeHugger; 06-07-2010 at 08:58 AM.
 
Old 06-07-2010, 11:04 AM   #56
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 239Reputation: 239Reputation: 239
You could always get a currently supported card and use it with lenny. No need to do much of anything fancy. M-Audio Mobile Pre's run about $80 on craigslist. As long as 16/48 and 2 channels is good enough. Just re-index to make it your default card aka card 0. Or something like my Delta 44. Although not for all as it's 1/4" inputs and outputs ONLY. So headphone preamp + microphone preamp to make those conversions to match "normal" cards. Lots of options for little to no cash. If you'd want to stick with your production model, then you're just a piece of hardware away. And when you scrap your old machine, you can recycle the peripheral to the new machine. Or just get something usb and class compliant. Or wait for squeeze. Many means to an end. Although if you're heart is set on waiting, you might do a test install to make sure squeeze doesn't currently have the same issue. That way you can file a bug report and get it fixed before squeeze comes out so you don't have to wait for the version after the next version.
 
Old 06-09-2010, 07:08 AM   #57
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: Debian, Redhat
Posts: 98

Original Poster
Rep: Reputation: 15
Apparently squeeze is going into freeze soon, and that means it's close to going stable!

I just got a new KVM switch and I found it additionally does sound - so it pipes them all to one set of speakers. Hopefully it doesn't switch them but merges them instead (haven't plugged it all in yet) and hopefully the quality will not be totally slaughtered by it.
 
Old 06-11-2010, 08:14 AM   #58
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: Debian, Redhat
Posts: 98

Original Poster
Rep: Reputation: 15
Interestingly the line-in input to my problem child sound card works - perhaps it is has the same config problem as the mic, since the sound goes direct to the speakers, although in this case it makes sense as opposed to the mic.

I've put the sound output from my other computer via my new KVM into this one (that's got the mic problem), so I can get sound from there thro my hifi too - I never wanted to have the extra pair of speakers cluttering my desk.

Last edited by TreeHugger; 06-11-2010 at 08:16 AM.
 
  


Reply

Tags
audacity, config, microphone, sound


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microphone problem with skype & audacity ... =( malikcpp Slackware 2 03-26-2012 07:20 PM
[audacity][skype] can't get a microphone to work RRH Linux - Software 3 10-03-2009 04:46 AM
microphone, audacity, skype, recording le1 Linux - Hardware 10 08-21-2008 08:28 AM
I can now longer hear Audacity when it plays a clip Hewson Linux - Software 1 04-30-2008 11:41 AM
no microphone signal with audacity Hewson Linux - Software 1 10-26-2007 05:26 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration