WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Seamonkey 2.33  (Read 10550 times)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #15 on: May 12, 2015, 07:25:40 AM »
I just heard a short high-pitch sound like a mosquito repellant

Code: [Select]
[tc@box:~$ sudo 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.853463
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
amixer: Mixer attach default error: No such file or directory
Something went wrong, sound was not set up.
/code]

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14847
Re: Seamonkey 2.33
« Reply #16 on: May 12, 2015, 07:37:33 AM »
instead of running alsasound start, it would have been good to use alsamixer to check if the volume was muted...

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #17 on: May 12, 2015, 07:43:50 AM »
I got error when I run alsamixer. I gonna reboot

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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14847
Re: Seamonkey 2.33
« Reply #18 on: May 12, 2015, 07:46:20 AM »
OK, try loading alsa and alsa-config, running alsamixer to unmute the volume and then speaker-test - all without running alsasound start.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #19 on: May 12, 2015, 07:48:50 AM »
whats the command to load alsa-config?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14847
Re: Seamonkey 2.33
« Reply #20 on: May 12, 2015, 07:56:04 AM »
Code: [Select]
$ tce-load -i alsa-config

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Seamonkey 2.33
« Reply #21 on: May 12, 2015, 08:01:50 AM »
Might be needed to load it onboot.
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14847
Re: Seamonkey 2.33
« Reply #22 on: May 12, 2015, 08:06:02 AM »
"onboot" is more for convenience once things work - to test it's better to do things manually from a terminal window.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #23 on: May 12, 2015, 08:22:02 AM »
yes i placed my alsa-conf in on-boot. do i still need to execute this command?

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #24 on: May 12, 2015, 08:27:26 AM »
I ticked all the speakers in my alsamixer and still to no avail. my soundcard is SigmaTel STAC9752,53. I think it uses AC '97 in Windows.

Code: [Select]
tc@box:~$ tce-load -i alsa-config
alsa-config is already installed!
tc@box:~$ sudo 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.855054
tc@box:~$ sudo 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.855835
tc@box:~$ sudo 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.855743
tc@box:~$ sudo 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.855723
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
rmmod: can't unload 'snd_intel8x0': Resource temporarily unavailable
rmmod: can't unload 'snd_ac97_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
tc@box:~$

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14847
Re: Seamonkey 2.33
« Reply #25 on: May 12, 2015, 08:56:00 AM »
If speaker-test (which does not need "sudo") works without error, then I believe things are configured properly without needing "alsasound start", but instead there is a volume setting problem somewhere preventing you from hearing anything.

From alsamixer, are you sure that the "master" is un-muted (i.e. no "MM" under the volume bar) and that "headphones", if any, is muted?
« Last Edit: May 12, 2015, 09:05:09 AM by Juanito »

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Seamonkey 2.33
« Reply #26 on: May 12, 2015, 04:23:29 PM »
Stone.Giant

To confirm alsa-config is loaded, otherwise output empty:
Quote
tce-status -i | grep alsa

When running alsamixer in terminal, press F6 to confirm the correct sound device is selected.

For me, if 'PCM' is muted (MM) i don't get sound.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #27 on: May 15, 2015, 10:25:27 PM »
It is working after some configurations. I have to unmute PCM, then I have to execute first alsa sound start and go to speaker test. How can I make this setting in consistency after reboot? Should I now execute the "sudo alsactl store"?


Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Seamonkey 2.33
« Reply #28 on: May 16, 2015, 01:15:35 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.

If you want sound every boot, add 'alsa-config' to your onboot.lst via an onboot.lst edit or the Apps GUI. Select Apps > Maintenance > OnBoot Maintenance, select alsa-config.tcz and click Add Item. Reboot and sound should work.

Not sure how others do it, i just open alsamixer in terminal manually to adjust sound during the session. If the alsamixer command doesn't tab-autocomplete, then i know i forgot to load alsa-config.

For persistent sound settings, check these links:
https://www.google.ca/search?q=persistent+sound+site%3Aforum.tinycorelinux.net&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb&gfe_rd=cr&ei=KdJWVZfsOeOV8QeuwoGwAw
« Last Edit: May 16, 2015, 01:17:38 AM by nitram »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14847
Re: Seamonkey 2.33
« Reply #29 on: May 16, 2015, 01:23:46 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.