LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2008, 10:36 AM   #1
Voland
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Cannot get flash to work properly with an external USB Audio card - no sound


Hi everyone!

After weeks of trying to figure out the problem on my own,
I finally decided to come here for help.

I have an Terratec Aureon 5.1 USB Mk.2 external which is hooked up
to my laptop (with an internal HDA Intel) and a 5.1 speaker set.
With the following .asoundrc:
Code:
pcm.!default{type hw card Audio}
ctl.!default{type hw card Audio}


pcm.dmix51 {
  type dmix
  ipc_key 1024
  ipc_key_add_uid false
  ipc_perm 0666
  slave {
     pcm "hw:Audio"
     channels 6
     period_time 0
     period_size 1024
     buffer_size 8192
     rate 48000
     }
}

ctl.dmix51 {
  type hw
  card Audio
}

pcm.stereo {
  type plug
  slave.pcm "dmix51"
  ttable.0.0 1
  ttable.1.1 1
}

pcm.!default {
  type route
  slave.pcm "dmix51"
  slave.channels 6
  ttable.0.0 1
  ttable.1.1 1
  ttable.0.2 1
  ttable.1.3 1
  ttable.0.4 0.7 
  ttable.1.4 0.7 
  ttable.0.5 0.7 
  ttable.1.5 0.7 
}

pcm.duplicate {
  type plug
  slave.pcm "dmix51"
  slave.channels 6
  route_policy duplicate
}
I manage to get properly mixed sound from every sound program
except for flash - I get perfect video etc., but no sound.
I'm pretty sure that the cause for the problem is that flash is trying to access the wrong sound device(the internal sound card), however I only get sound from it if I run iceweasel as root, which is also kinda weird.
I've tried everything from blacklisting the internal card to editing the indexes in /etc/modprobe.d/alsa-base, but I'm still
stuck. Anyway - hopefully someone can help me, so I can finally enjoy my flash apps with sound
Oh, btw, I'm on Debian 64-bit..

Last edited by Voland; 09-28-2008 at 05:59 PM.
 
Old 10-02-2008, 10:57 AM   #2
Voland
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Oh come on - there's no way nobody can help me with this.. Plz.
 
Old 10-02-2008, 11:54 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Oh come on - there's no way nobody can help me with this.
Please remember some of us are busy

It is possible that flash may be trying to access the device /dev/dsp directly.

This is likely to be your Intel card. And there's no way to make it use /dev/dsp1, which is likely to be your external card.
I had a similar problem with an external USB card and realplay - no sound.

The solution was this:
Code:
root@p4:~#  rm  /dev/dsp
root@p4:~#  ln -sT   /dev/dsp1  /dev/dsp
root@p4:~#  /etc/init.d/alsa-utils   restart
 
Old 10-02-2008, 02:11 PM   #4
Voland
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thx for your reply.

I don't seem to have a /dev/dsp device at all - any ideas what might be the cause? :S
 
  


Reply



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
External USB Sound Card For Linux btbx Linux - Hardware 1 08-18-2008 06:39 PM
USB Audio - 5.1 Sound - Microphone - Neither work Virtuality Linux - General 2 12-15-2007 09:06 PM
is the Turtle Beach Audio Advantage usb sound card compatible with Linux? 1sciroccofahrer Linux - Hardware 7 07-23-2005 06:54 PM
cdda and external (usb port) extigy sound card pdudzik Linux - General 0 11-19-2003 11:09 AM
Need a little help getting USB flash card reader to work Electrode Linux - Hardware 13 10-20-2003 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration