WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: No audio with skype + flash and firefox  (Read 3079 times)

Offline grandma

  • Full Member
  • ***
  • Posts: 213
  • Never forget Grandma Loves You & made that candy4U
    • Back when a 10MB HD was $500 bucks
No audio with skype + flash and firefox
« on: May 03, 2011, 05:07:05 PM »
First time I installed Flash10 so Firefox would provide YouTube A/V Playback it worked perfectly.

Then when attempting to get Skype working it turns out it requires different audio drivers which may conflict with audio drivers used by Flash.

Now after downloading audio drivers found in a posting for getting Skype to work, none of the audio drivers seem to work.

Skype is - as always - a buggy problem.

Am currently studying methods to UNLOAD tcz files and found this:

===========================

#!/bin/sh

listlines() {
  for i in $*; do
    echo $i
  done
}
        
package=$1
if [ -z "$package" ]; then
  echo "  [Error]: No package name specified"
  exit 1
fi
if [ -d /tmp/tcloop/$package ]; then

  usedby=`lsof +D /tmp/tcloop/$package -Fp | sed -e "s/^p//"`

  if [ "$usedby" ]; then
    echo "Files in extension $package are currently in use by the following programs:"
    usedby=`listlines $usedby | sort -ug`
    for p in $usedby; do
      /bin/ps | awk "/^$p/ "'{$1="";$2="";print $0}'
    done  
    echo "  [Error]: Extension $package has not been unloaded."
    exit 1
  fi
  f=`cd /tmp/tcloop/$package; find ! -type d | sed -e "s%^./%/%"`
  for l in $f; do
     if [ -s $l ]; then
       linkto=`readlink $l`
       if [ "$linkto" == "/tmp/tcloop/$package$l" ]; then
          echo "    Unlink $l from $linkto"
          sudo rm $l
       else
         echo "  [Warning]: $l links to $linkto"
       fi
     else
       echo "  [Warning]: $l is not a link"
     fi
  done

  sudo umount -d /tmp/tcloop/$package
# line above was suggested by another forum member to replace line below
#  sudo umount /tmp/tcloop/$package
  sudo rmdir /tmp/tcloop/$package
else
  echo "  [Warning]: /tmp/tcloop/$package does not exist"
fi
sudo rm -f /usr/local/tce.installed/$package

===========================

This seemed to work (unload/close/remove a tcz)  but I had to remember to close Firefox first or it errors out.

Then tried to re-load Flash, followed by Firefox, but still no audio.
Tried reboot - no audio.

As Flash and Firefox load, all DEP files say "Ok" or "Already loaded"

Here is the script that calls Flash and FIrefox, which starts by getting online with a wifi unit

========================

#!/bin/sh -e
cd optional
tce-load -i wireless-2.6.33.3-tinycore.tcz
sleep 5
tce-load -i wireless_tools.tcz
sleep 10
sudo iwconfig wlan0 essid "MyCafeWifi" rts 250 frag 400 txpower 100mW
sleep 10
sudo udhcpc -b -i wlan0
tce-load -i flash10.tcz
tce-load -i firefox.tcz
cd ..
cd uaps
sudo iwlist wlan0 scan >wifiscan.txt
editor wifiscan.txt

==============================

Tried to run xmms - a pop up comes up
Couldn't open Audio

Please check that
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard
« Last Edit: May 03, 2011, 09:34:13 PM by roberts »
~ Luv Grandma
"When children of all nations
play in the sandbox together
all morning-all day-all week, and
one fine sunny day; all year long ...
... then war will become an ancient memory
and Grandma can knit that sweater
you'll hold near to your heart
until long after you're my age.

Offline grandma

  • Full Member
  • ***
  • Posts: 213
  • Never forget Grandma Loves You & made that candy4U
    • Back when a 10MB HD was $500 bucks
Re: NO AUDIO WITH FLASH AND FIREFOX
« Reply #1 on: May 03, 2011, 06:03:07 PM »
List of Alsa Drivers I have loaded

alsa-modules-2.6.33.3-tinycore.tcz
alsa-modules-2.6.33.3-tinycore.tcz.dep
alsa-modules-2.6.33.3-tinycore.tcz.md5.txt
alsa-oss.tcz
alsa-oss.tcz.dep
alsa-oss.tcz.md5.txt
alsa.tcz
alsa.tcz.dep
alsa.tcz.md5.txt
alsaconf.tcz
alsaconf.tcz.dep
alsaconf.tcz.md5.txt

Question - do I need all of these or should I remove some of them?

~ Luv Grandma
"When children of all nations
play in the sandbox together
all morning-all day-all week, and
one fine sunny day; all year long ...
... then war will become an ancient memory
and Grandma can knit that sweater
you'll hold near to your heart
until long after you're my age.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14796
Re: No audio with skype + flash and firefox
« Reply #2 on: May 03, 2011, 11:23:39 PM »
After loading alsa (and its deps), did you run:
Code: [Select]
$ sudo alsaconf

or:
Code: [Select]
$ /usr/local/etc/init.d/alsasound startIf so, what was the result?

Did this produce any sound:
Code: [Select]
$ speaker-test -c2 -t wav -l1

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14796
Re: No audio with skype + flash and firefox
« Reply #3 on: May 03, 2011, 11:25:47 PM »
Tried to run xmms - a pop up comes up
Couldn't open Audio

You might need to change the xmms settings (<ctrl-p>?) from oss to alsa plugin