Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'll post some information here about my own setup with Flash 9 (on a Slackware 12 box), hoping that it sheds some light.
I don't have sound working on Flash 9. I've installed Flash9 using the installer script provided by Adobe, and later by simply copying the .so file to the right place; these two methods don't differ, the script just automates the copying. Anyway, Flash 9 is correctly installed and works in Konqueror; on Firefox 3 Alpha (Gran Paradiso) it is not loading for some reason, but I suspect it's just because it's alpha - it probably works on FF2 and 1. Anyway, on Konqueror videos play fine with Flash 9, except there's no sound output. I have ALSA installed, at the moment I have the kernel modules built-in (I've dropped off every module from my kernel that I do not need, and tried to compile the rest that I know I need into the kernel itself); I've also tried having each alsa module built as a separate module, without luck. ALSA is working as I do get sound off other players that are configured to use ALSA. In KDE I enabled Arts last week, still getting sound without problem from other players, still not getting any sound out of Flash 9. There's no OSS or ESD on the system (as far as I know, unless somebody else installed those), so every requirement listed at Adobe's site (or in the above posts) is filled - still no sound.
I'll be recompiling my kernel later this week, to see if it helps - I had accidentally left a dummy sound device in place, which shouldn't be there. The problem is, that dummy device is sound dev #1, and my *real* sound device only #3. Took a while to figure this out to get Arts working now that I enabled it, it was using the dummy device by default. I'm suspecting this could have something to do with Flash also, maybe it's using the dummy device -- I can't find any place to configure the device it should be using (how do people do this, who have several devices?) Another reason I can think of is that there is still some piece of software "blocking" the sound output from Flash, but I haven't been able to think of any particular case. I'll be dealing with the dummy device first, and if Flash still doesn't output any sound after that, hunt for more reasons..
The whole sound system on Linux, especially if one uses a desktop environment that wants to have a centralized sound server, seems to be a jungle. There are several "technologies", several sound-producing "servers", several devices and all. Means a lot of configuration if one wants to have it simple & clear as it should be..
When I enter:
cc -shared -02 -Wall - Werror -licuuc -lssl flashsupport.c -o libflashsupport.so
in the terminal I am left with this:
cc: Werror: No such file or directory
cc: unrecognized option '-02'
cc: -E or -x required when input is from standard input
flashsupport.c:158:25: error: openssl/ssl.h: No such file or directory
flashsupport.c: In function ‘FPX_Init’:
flashsupport.c:245: warning: implicit declaration of function ‘SSL_library_init’
flashsupport.c: At top level:
flashsupport.c:268: error: expected specifier-qualifier-list before ‘SSL’
flashsupport.c: In function ‘FPX_SSLSocket_Create’:
flashsupport.c:278: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’
flashsupport.c:278: warning: implicit declaration of function ‘SSL_CTX_new’
flashsupport.c:278: warning: implicit declaration of function ‘TLSv1_client_method’
flashsupport.c:280: error: ‘struct SSL_Instance’ has no member named ‘ssl’
flashsupport.c:280: warning: implicit declaration of function ‘SSL_new’
flashsupport.c:280: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’
flashsupport.c:282: warning: implicit declaration of function ‘SSL_set_fd’
flashsupport.c:282: error: ‘struct SSL_Instance’ has no member named ‘ssl’
flashsupport.c:286: error: ‘struct SSL_Instance’ has no member named ‘ssl’
flashsupport.c:287: warning: implicit declaration of function ‘SSL_shutdown’
flashsupport.c:287: error: ‘struct SSL_Instance’ has no member named ‘ssl’
flashsupport.c:290: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’
flashsupport.c:291: warning: implicit declaration of function ‘SSL_CTX_free’
flashsupport.c:291: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’
flashsupport.c: In function ‘FPX_SSLSocket_Destroy’:
flashsupport.c:305: error: ‘struct SSL_Instance’ has no member named ‘ssl’
flashsupport.c:306: error: ‘struct SSL_Instance’ has no member named ‘ssl’
flashsupport.c:309: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’
flashsupport.c:310: error: ‘struct SSL_Instance’ has no member named ‘sslCtx’
flashsupport.c: In function ‘FPX_SSLSocket_Connect’:
flashsupport.c:326: warning: implicit declaration of function ‘SSL_connect’
flashsupport.c:326: error: ‘struct SSL_Instance’ has no member named ‘ssl’
flashsupport.c: In function ‘FPX_SSLSocket_Receive’:
flashsupport.c:338: warning: implicit declaration of function ‘SSL_read’
flashsupport.c:338: error: ‘struct SSL_Instance’ has no member named ‘ssl’
flashsupport.c: In function ‘FPX_SSLSocket_Send’:
flashsupport.c:350: warning: implicit declaration of function ‘SSL_write’
flashsupport.c:350: error: ‘struct SSL_Instance’ has no member named ‘ssl’
a bit off thread, but what version of flash are you on? i show LNX 9,0,31,0 when i do adobe check. wolfgang stopped playing for me last week. installed a couple times, but still no go at all. i do fc6.
as of this date, the latest flash-plugin is LNX 9,0,124,0. the problem seems to be that yum didn't complete, although i received no error message. multiple tries later, it worked. kind of shakes my faith in automatic for the people.
My system is Slackware Linux 12.2 and sound hardware Audigy 2 ZS. My browser is SeaMonkey.
I recently re-loaded Linux 184.108.40.206 onto a new hard drive with Slackware 12.2 because my boot drive failed. So I am re-installing everything and ran into this sound problem with flashplayer 9.0.
After a lot of experimentation, I found a work-around. Maybe some more knowledgeable person out there can use this information to make a more permanent fix.
In my Linux /proc/asound directory, I found the sound devices detected by the operating system. I also, initially had sound under flashplayer 9.0 working, but suddenly it stopped, and I was confused by this event. Something I had done was interfering with flashplayer's ability to make sound. Now, I also noticed that alsaconf was detecting the driver (emu10k1) for the Audigy card OK, but it was also detecting a USB sound device as well. I was initially confused by that, until my eyes fell on the Logitech 9000 web cam that I had plugged in. It has a microphone! In /proc/asound, card0 was pointing to some USB device driver, and card1 was pointing to the emu10k1 driver for the Audigy. I unplugged the Logitech 9000 USB web cam and rebooted the OS. BINGO! Only the emu10k1 driver for the Audigy showd up in /proc/asound as card0 ! Now sound WORKED for flashplayer, as well as for xine and gxine!
So, my conclusion is that flashplayer wants to talk to card0, and does not recognize the emu10k1 driver when it is card1 !
I re-plugged in the Logictec 9000 USB while the OS was still up, and a usb driver now showed up as card1 in /proc/asound (instead of as card0 when I had the sound problem) and I got pictures from the web cam too!
If you need to re-boot the computer, disconnect any other sound device first, so that your sound card (my Audigy) becomes card0 and you get sound for flashplayer. After the computer re-boots, you can re-plug-in your other sound device (my Logitech Web Cam with microphone), it will become card1 in /proc/asound, and everything will be hunky-dory.
A permanent solution would be to get the OS to always make the sound card be card0 in /proc/asound at boot-up time, and make any other devices (USB web cam with microphone in my case) be card1 and up. Then flashplayer will always be happy with the sound card as card0. I do not know how to make that fix. In my case, I will have to live with unplugging the USB web cam every time I re-boot.
Hope this helps!
Last edited by firstname.lastname@example.org; 02-15-2010 at 10:09 AM.