WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Seamonkey 2.33  (Read 10553 times)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #30 on: May 16, 2015, 04:06:32 AM »
As per the info file:
Quote
If you want your alsa settings to persist across reboots, use the command "sudo alsactl store" after alsa has been set up.  This stores the configuration in /usr/local/etc/asound.state.  Place this file in your backup to allow your alsa settings to persist across sessions.

I got error when I placed alsasound start in bootlocal.sh

alsamixer: function snd_ctl_open failed for default: No such file or directory

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #31 on: May 16, 2015, 04:14:41 AM »
As i mentioned and same as your experience, PCM can not be muted.

This is what works for me. As i don't want sound every session, i simply place 'alsa-config' into OnDemand. Should i want sound, i simply select alsa-config from my OnDemand menu - works great.


I have still to manually initialize alsasound start then speaker test even I placed the alsa-config either in On-Boot and OnDemand list. Thank you for all your supports

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14847
Re: Seamonkey 2.33
« Reply #32 on: May 16, 2015, 04:20:28 AM »
I got error when I placed alsasound start in bootlocal.sh

alsamixer: function snd_ctl_open failed for default: No such file or directory

You don't mention if you did "sudo alsactl store" after alsa was set up and added /usr/local/etc/asound.state to your backup?

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #33 on: May 16, 2015, 05:19:52 AM »
I got error when I placed alsasound start in bootlocal.sh

alsamixer: function snd_ctl_open failed for default: No such file or directory

You don't mention if you did "sudo alsactl store" after alsa was set up and added /usr/local/etc/asound.state to your backup?

Yes I did sudo alsactl store and backup /usr/local/etc/asound.state.

Is this correct or do I need another extension like the sleep command you mentioned in your instructions
Quote
If adding this command to bootlocal.sh, you may need
      to precede it with the sleep command for it to be effective.


Code: [Select]
#!/bin/sh
#Place your onboot code here
sudo /usr/local/etc/init.d/alsasound start
« Last Edit: May 16, 2015, 05:22:56 AM by Stone.Giant »

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Seamonkey 2.33
« Reply #34 on: May 16, 2015, 06:15:32 AM »
I used to do load ALSA like this in /opt/bootlocal.sh (without sudo because bootlocal.sh runs as root)
Code: [Select]
/usr/local/etc/init.d/alsasound start >/dev/null 2>&1 &
For me though thats not needed in 6.x.

Maybe this helps if the settings don't get restored by /etc/udev/rules.d/90-alsa-restore.rules
Code: [Select]
/usr/local/sbin/alsactl restore >/dev/null 2>&1 &
Download a copy and keep it handy: Core book ;)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #35 on: May 16, 2015, 07:35:48 AM »
I used to do load ALSA like this in /opt/bootlocal.sh (without sudo because bootlocal.sh runs as root)
Code: [Select]
/usr/local/etc/init.d/alsasound start >/dev/null 2>&1 &
For me though thats not needed in 6.x.

Maybe this helps if the settings don't get restored by /etc/udev/rules.d/90-alsa-restore.rules
Code: [Select]
/usr/local/sbin/alsactl restore >/dev/null 2>&1 &

Nope still not working. Do I need to backup also my /opt/bootlocal.sh? i find it the script was not save when I execute first the sudo alsactl store berfore saving the /local/etc/init.d/alsasound start to bootlocal.sh

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #36 on: May 16, 2015, 07:51:42 AM »
its really the startup script in bootlocal.sh that causes the problem. I deleted immediately my backups and it functioned immediately after executing alsasound start

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Seamonkey 2.33
« Reply #37 on: May 16, 2015, 02:15:37 PM »
...and it functioned immediately after executing alsasound start

It appears to be the consensus that installing only "alsa-config.tcz" to the onboot.lst is all that is normally required for alsa to load and start on boot all by itself.    I have one PC which requires a command to un-mute the SPDIF after boot, but none of my PC's use or need alsasound start.    So I think everyone is trying to say simply load alsa-config.tcz from the onboot.lst, remove all other alsa related extensions from the boot list.  Then after boot up run " alsamixer " from a command line and check the status..

:)

« Last Edit: May 16, 2015, 02:18:55 PM by coreplayer2 »

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #38 on: May 18, 2015, 12:18:27 AM »
Hi coreplayer2, it's been a year since a I had a few conversations with you- remeber ralink wifi thread?. Here's what I've found out today, I have to start seamonkey first before my alsa go working.


This is the output before I execute seamonkey

Code: [Select]
tc@box:~$ speaker-test [-Ddefault:1] -c2 -t wav -l1

speaker-test 1.0.28

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -2,No such file or directory
tc@box:~$ speaker-test [-Ddefault:1] -c2 -t wav -l1

Then this is the output by a voice-over saying "front left", "front right"
Code: [Select]
tc@box:~$ speaker-test [-Ddefault:1] -c2 -t wav -l1

speaker-test 1.0.28

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 8192
Period size range from 1024 to 1024
Using max buffer size 8192
Periods = 4
was set period_size = 1024
was set buffer_size = 8192
 0 - Front Left
 1 - Front Right
Time per period = 2.854449

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #39 on: May 19, 2015, 11:54:27 PM »
I can't create syslink for official jre8 becauseI can't find /plugins folder in /home/tc/.mozilla. Should I make new directory?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Seamonkey 2.33
« Reply #40 on: May 20, 2015, 12:34:24 AM »
You might need to make a plugin directories here

/usr/local/seamonkey/plugins

/usr/local/lib/mozilla/plugins


BTW getFlash11 will create flash11 extension with correct directories and symlinks for you

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Seamonkey 2.33
« Reply #41 on: May 20, 2015, 12:39:47 AM »
I can't create syslink for official jre8 becauseI can't find /plugins folder in /home/tc/.mozilla. Should I make new directory?
Don't know about jre, try it and see. It's easy to reverse the change.

With a manual Flash install it's a similar process - create a 'plugins' folder in /tc/.mozilla/user_profile/plugins and off to the races.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #42 on: May 20, 2015, 05:20:52 AM »
Its ok now, I can now download youtube videos through keepvid.com. I did make a plugin directory in ~/.mozilla. I can now go back to my original question Why my alsasound only executed if I run Seamonkey first?