sidux.com
Menu

News

Give back
Last 3 Contributions
16-11-2008 10.00
02-11-2008 20.00
31-10-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
oroborus
Post subject: asoundconf list doesn't work (bug & solution)  PostPosted: Dec 01, 2007 - 11:26 PM



Joined: Nov 30, 2007
Posts: 3

Status: Offline
I have two soundcards, I wanted to switch the priority via asoundconf, after googleing I found:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451574

Running "asoundconf list" doesn't show any cards, because the format of
/proc/asound/cards is different than what it's expecting. This can be
fixed by changing line 206 of asoundconf to this:
cardline = re.compile('^\s*\d+\s*\[')
and line 211 to this:
card_lines.append(re.sub(r'^\s*\d+\s*\[(\w+)\s*\].+','\\1',l))
Note the extra \s* at the beginning of the regexes.

Is it possible to add it to the fix.main repo?
 
 View user's profile Send private message  
Reply with quote Back to top
michaa
Post subject: Re: asoundconf list doesn't work (bug & solution)  PostPosted: Jan 09, 2008 - 05:57 AM



Joined: Dec 02, 2006
Posts: 1687
Location: Germany / NRW
Status: Offline
oroborus wrote:
I have two soundcards, I wanted to switch the priority via asoundconf, after googleing I found:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451574

Running "asoundconf list" doesn't show any cards, because the format of
/proc/asound/cards is different than what it's expecting. This can be
fixed by changing line 206 of asoundconf to this:
cardline = re.compile('^\s*\d+\s*\[')
and line 211 to this:
card_lines.append(re.sub(r'^\s*\d+\s*\[(\w+)\s*\].+','\\1',l))
Note the extra \s* at the beginning of the regexes.

Is it possible to add it to the fix.main repo?


You should really post this to the alsa mailing list. This is valuable information which should be comunicated to the developpers. I doubt this will be fixed here or within debian.

http://bugtrack.alsa-project.org/main/i ... ling-lists
 
 View user's profile Send private message  
Reply with quote Back to top
brummer
Post subject: RE: Re: asoundconf list doesn  PostPosted: Jan 14, 2008 - 04:03 PM



Joined: Dec 02, 2006
Posts: 531

Status: Offline
I can confirm your solution, it work's for me with your solution.

thanks brummer

_________________
[ sidux-20070120-d:3]
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio