Tiny Core Linux

General TC => General TC Talk => Topic started by: Stone.Giant on May 02, 2015, 11:37:52 PM

Title: Seamonkey 2.33
Post by: Stone.Giant on May 02, 2015, 11:37:52 PM
Hello I successfully updated my browser to Seamonkey 2.33 and followed its installation instruction in their site, in reference to my current browser installed from the tiny core repo which is a two-year old app (Seamonkey 2.22). The problem is I can only execute this app in command line using the ./seamonkey command instead of using the right-click>OnDemand menu. Is there a way to replace the Seamonkey 2.22 in the OnDemand directory?


These are the location folders of seamonkey 2.22 installed from tiny core repo:

Code: [Select]
tc@box:~$ sudo find / -name seamonkey
/home/tc/seamonkey
/home/tc/seamonkey/seamonkey
/home/tc/.cache/mozilla/seamonkey
/home/tc/.mozilla/seamonkey
/home/tc/.wmx/OnDemand/seamonkey
/tmp/tcloop/seamonkey
/tmp/tcloop/seamonkey/usr/bin/seamonkey
/tmp/tcloop/seamonkey/usr/seamonkey
/tmp/tcloop/seamonkey/usr/seamonkey/seamonkey
/usr/seamonkey
/usr/seamonkey/seamonkey
/usr/local/tce.installed/seamonkey
/usr/bin/seamonkey
/mnt/sda2/tce/ondemand/seamonkey


This is the location folder of my seamonkey 2.33

Code: [Select]
$ pwd
/home/tc/seamonkey
Title: Re: Seamonkey 2.33
Post by: Juanito on May 02, 2015, 11:41:31 PM
Did you package your new version of seamonkey as an extension to replace the older version from the repo?

Whilst you could hack things to work without making an extension, things would work better if you did.
Title: Re: Seamonkey 2.33
Post by: Misalf on May 03, 2015, 03:40:21 AM
If you make it an extension, it would work with flash as well.

Or you could edit the ondemand script for seamonkey located at
Code: [Select]
/etc/sysconfig/tcedir/ondemand/seamonkey

And change it from this
Code: [Select]
#!/bin/sh
ondemand -e seamonkey.tcz "$@"

To something like this
Code: [Select]
#!/bin/sh
~/seamonkey/seamonkey "$@"
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 03, 2015, 05:59:08 PM
If you make it an extension, it would work with flash as well.

Or you could edit the ondemand script for seamonkey located at
Code: [Select]
/etc/sysconfig/tcedir/ondemand/seamonkey

And change it from this
Code: [Select]
#!/bin/sh
ondemand -e seamonkey.tcz "$@"

To something like this
Code: [Select]
#!/bin/sh
~/seamonkey/seamonkey "$@"


I tried but it did not work and it gave me an error

Code: [Select]
[tc@box:~$ seamonkey
XPCOMGlueLoad error for file /home/tc/seamonkey/libxul.so:
libasound.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.


tc@box:~$ cd seamonkey
tc@box:~/seamonkey$ ./seamonkey
XPCOMGlueLoad error for file /home/tc/seamonkey/libxul.so:
libasound.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
Title: Re: Seamonkey 2.33
Post by: Misalf on May 04, 2015, 03:59:04 AM
You might want to add  libasound.tcz  to  /etc/sysconfig/tcedir/onboot.lst .
As well as other dependencies from the current Seamonkey extension.

Or you could add the deps to the seamonkey ondemand script
Code: [Select]
#!/bin/sh
tce-load -i libasound dbus-glib gtk2.tcz
~/seamonkey/seamonkey "$@"
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 04, 2015, 10:02:43 AM
Should I really have to include the "$@"? I did not see it in my original #!bin bash file
Title: Re: Seamonkey 2.33
Post by: gerald_clark on May 04, 2015, 11:01:28 AM
The '$@' passes arguments to the command.
This would be needed if the first invocation included a URL, such as in a launch from email.
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 04, 2015, 11:32:13 PM
You might want to add  libasound.tcz  to  /etc/sysconfig/tcedir/onboot.lst .
As well as other dependencies from the current Seamonkey extension.

Or you could add the deps to the seamonkey ondemand script
Code: [Select]
#!/bin/sh
tce-load -i libasound dbus-glib gtk2.tcz
~/seamonkey/seamonkey "$@"

Yes finally it worked.
(http://i62.tinypic.com/2wfljs5.jpg)


Now I'm gonna try to install flash. In my previous version (Seamonkey 2.22 w/ flash 11) i don't have audio when I visit Youtube...
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 05, 2015, 10:04:19 PM
I did  not install flash yet but I can view youtube videos  though no sounds what shud I install next?
Title: Re: Seamonkey 2.33
Post by: Juanito on May 05, 2015, 10:05:27 PM
alsa - then use alsamixer to unmute the volume
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 07, 2015, 12:52:05 AM
Still no sound. I already installed alsa and alsa mixer. Is alsa compatible with HTML5 player -this is the current platform that Youtube is using in playing videos? I also installed flash11 for assurance but still to no avail. I also followed the alsa instructions

Quote
Install the alsaconf.tcz extension if you need the alsaocnfscript.
      To initialize alsa without having to use alsaconf, there is a
      script that will do that.
      It can be placed in /opt/bootlocal.sh so it alsa will be setup
      on boot with no user interaction required.  The command to do this is:
      /usr/local/etc/init.d/alsasound start
      If adding this command to bootlocal.sh, you may need
      to precede it with the sleep command for it to be effective.
      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.



Code: [Select]
tc@box:~$ sudo vi /opt/bootlocal.sh


#!/bin/sh
# put other system startup commands here
sleep /usr/local/etc/init.d/alsasound start
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
- /opt/bootlocal.sh 1/2 50%


here is the asound.state

Code: [Select]
state.ICH5 {
control.1 {
iface MIXER
name 'Master Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.2 {
iface MIXER
name 'Master Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -4650
dbmax 0
dbvalue.0 -4650
dbvalue.1 -4650
}
}
control.3 {
iface MIXER
name 'Headphone Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'Headphone Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -4650
dbmax 0
dbvalue.0 -4650
dbvalue.1 -4650
}
}
control.5 {
iface MIXER
name 'Master Mono Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.6 {
iface MIXER
name 'Master Mono Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin -4650
dbmax 0
dbvalue.0 -4650
}
}
control.7 {
iface MIXER
name 'Beep Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'Beep Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 15'
dbmin -4500
dbmax 0
dbvalue.0 -4500
}
}
control.9 {
iface MIXER
name 'Phone Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.10 {
iface MIXER
name 'Phone Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
}
}
control.11 {
iface MIXER
name 'Mic Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.12 {
iface MIXER
name 'Mic Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
}
}
control.13 {
iface MIXER
name 'Mic Boost (+20dB)'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.14 {
iface MIXER
name 'Line Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.15 {
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.16 {
iface MIXER
name 'CD Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.17 {
iface MIXER
name 'CD Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.18 {
iface MIXER
name 'Video Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.19 {
iface MIXER
name 'Video Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.20 {
iface MIXER
name 'Aux Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.21 {
iface MIXER
name 'Aux Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.22 {
iface MIXER
name 'PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.23 {
iface MIXER
name 'PCM Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.24 {
iface MIXER
name 'Capture Source'
value.0 Phone
value.1 Mic
comment {
access 'read write'
type ENUMERATED
count 2
item.0 Mic
item.1 CD
item.2 Video
item.3 Aux
item.4 Line
item.5 Mix
item.6 'Mix Mono'
item.7 Phone
}
}
control.25 {
iface MIXER
name 'Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.26 {
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 15'
dbmin 0
dbmax 2250
dbvalue.0 0
dbvalue.1 0
}
}
control.27 {
iface MIXER
name 'PCM Out Path & Mute'
value 'pre 3D'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'pre 3D'
item.1 'post 3D'
}
}
control.28 {
iface MIXER
name '3D Control - Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.29 {
iface MIXER
name 'Mono Output Select'
value Mix
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mix
item.1 Mic
}
}
control.30 {
iface MIXER
name 'Mic Select'
value Mic1
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mic1
item.1 Mic2
}
}
control.31 {
iface MIXER
name '3D Control - Center'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 15'
}
}
control.32 {
iface MIXER
name '3D Control - Depth'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 15'
}
}
control.33 {
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.34 {
iface MIXER
name 'IEC958 Playback Pro Mask'
value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
comment {
access read
type IEC958
count 1
}
}
control.35 {
iface MIXER
name 'IEC958 Playback Default'
value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.36 {
iface MIXER
name 'IEC958 Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.37 {
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 3
comment {
access 'read write'
type INTEGER
count 1
range '0 - 3'
}
}
control.38 {
iface MIXER
name 'External Amplifier'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}



Title: Re: Seamonkey 2.33
Post by: Juanito on May 07, 2015, 01:24:16 AM
What sound hardware do you have (you can use lspci or lsusb to find out)?

The reason I ask is that with recent hardware no alsa configuration or scripts are required, you load alsa, run alsamixer, un-mute the volume master and it just works.

If you start seamonkey from a terminal window then try to play something, are there any error messages?

If you load alsa-config and then:
Code: [Select]
$ speaker-test -c2 -t wav -l1..do you get sound?
Title: Re: Seamonkey 2.33
Post by: gerald_clark on May 07, 2015, 05:50:26 AM
The sleep needs  to be on its own line and takes an optional argument of the number of seconds to sleep.
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 12, 2015, 03:50:19 AM
I failed from the start..

Code: [Select]
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.
tc@box:~$ lsmod
Module                  Size  Used by    Not tainted
snd_seq_dummy          12288  0
snd_seq_oss            24576  0
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                32768  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         12288  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            32768  0
snd_pcm                49152  1 snd_pcm_oss
snd_timer              20480  2 snd_seq,snd_pcm
snd_mixer_oss          16384  1 snd_pcm_oss
snd                    40960  7 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
speedstep_lib          12288  0
cpufreq_stats          12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
ns558                  12288  0
gameport               12288  1 ns558
ac97_bus               12288  0
soundcore              12288  1 snd
squashfs               24576 96
ppdev                  12288  0
parport_pc             24576  0
floppy                 45056  0
parport                24576  2 ppdev,parport_pc
loop                   20480 192
e100                   28672  0
mii                    12288  1 e100
pcspkr                 12288  0
lpc_ich                16384  0
mfd_core               12288  1 lpc_ich
tc@box:~$ lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P AGP Bridge (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation NV34 [GeForce FX 5500] (rev a1)
03:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

Kindly see my syslog attached

[
Title: Re: Seamonkey 2.33
Post by: Juanito on May 12, 2015, 03:55:40 AM
Did you try loading alsa and alsa-config and then without running any scripts (i.e. don't run alsasound start), trying the speaker-test?
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 12, 2015, 04: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]
Title: Re: Seamonkey 2.33
Post by: Juanito on May 12, 2015, 04:37:33 AM
instead of running alsasound start, it would have been good to use alsamixer to check if the volume was muted...
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 12, 2015, 04: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
Title: Re: Seamonkey 2.33
Post by: Juanito on May 12, 2015, 04: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.
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 12, 2015, 04:48:50 AM
whats the command to load alsa-config?
Title: Re: Seamonkey 2.33
Post by: Juanito on May 12, 2015, 04:56:04 AM
Code: [Select]
$ tce-load -i alsa-config
Title: Re: Seamonkey 2.33
Post by: Misalf on May 12, 2015, 05:01:50 AM
Might be needed to load it onboot.
Title: Re: Seamonkey 2.33
Post by: Juanito on May 12, 2015, 05:06:02 AM
"onboot" is more for convenience once things work - to test it's better to do things manually from a terminal window.
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 12, 2015, 05:22:02 AM
yes i placed my alsa-conf in on-boot. do i still need to execute this command?
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 12, 2015, 05: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:~$
Title: Re: Seamonkey 2.33
Post by: Juanito on May 12, 2015, 05: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?
Title: Re: Seamonkey 2.33
Post by: nitram on May 12, 2015, 01: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.
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 15, 2015, 07: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"?

Title: Re: Seamonkey 2.33
Post by: nitram on May 15, 2015, 10:15:35 PM
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
Title: Re: Seamonkey 2.33
Post by: Juanito on May 15, 2015, 10:23:46 PM
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.
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 16, 2015, 01: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
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 16, 2015, 01: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
Title: Re: Seamonkey 2.33
Post by: Juanito on May 16, 2015, 01: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?
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 16, 2015, 02: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
Title: Re: Seamonkey 2.33
Post by: Misalf on May 16, 2015, 03: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 &
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 16, 2015, 04: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
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 16, 2015, 04: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
Title: Re: Seamonkey 2.33
Post by: coreplayer2 on May 16, 2015, 11:15:37 AM
...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..

:)

Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 17, 2015, 09:18:27 PM
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
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 19, 2015, 08: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?
Title: Re: Seamonkey 2.33
Post by: coreplayer2 on May 19, 2015, 09:34:24 PM
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
Title: Re: Seamonkey 2.33
Post by: nitram on May 19, 2015, 09:39:47 PM
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.
Title: Re: Seamonkey 2.33
Post by: Stone.Giant on May 20, 2015, 02: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?