Tiny Core Linux
General TC => General TC Talk => Topic started 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:
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
$ pwd
/home/tc/seamonkey
-
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.
-
If you make it an extension, it would work with flash as well.
Or you could edit the ondemand script for seamonkey located at
/etc/sysconfig/tcedir/ondemand/seamonkey
And change it from this
#!/bin/sh
ondemand -e seamonkey.tcz "$@"
To something like this
#!/bin/sh
~/seamonkey/seamonkey "$@"
-
If you make it an extension, it would work with flash as well.
Or you could edit the ondemand script for seamonkey located at
/etc/sysconfig/tcedir/ondemand/seamonkey
And change it from this
#!/bin/sh
ondemand -e seamonkey.tcz "$@"
To something like this
#!/bin/sh
~/seamonkey/seamonkey "$@"
I tried but it did not work and it gave me an error
[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.
-
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
#!/bin/sh
tce-load -i libasound dbus-glib gtk2.tcz
~/seamonkey/seamonkey "$@"
-
Should I really have to include the "$@"? I did not see it in my original #!bin bash file
-
The '$@' passes arguments to the command.
This would be needed if the first invocation included a URL, such as in a launch from email.
-
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
#!/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...
-
I did not install flash yet but I can view youtube videos though no sounds what shud I install next?
-
alsa - then use alsamixer to unmute the volume
-
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
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.
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
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
}
}
}
-
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: $ speaker-test -c2 -t wav -l1
..do you get sound?
-
The sleep needs to be on its own line and takes an optional argument of the number of seconds to sleep.
-
I failed from the start..
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
[
-
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?
-
I just heard a short high-pitch sound like a mosquito repellant
[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]
-
instead of running alsasound start, it would have been good to use alsamixer to check if the volume was muted...
-
I got error when I run alsamixer. I gonna reboot
alsamixer: function snd_ctl_open failed for default: No such file or directory
-
OK, try loading alsa and alsa-config, running alsamixer to unmute the volume and then speaker-test - all without running alsasound start.
-
whats the command to load alsa-config?
-
$ tce-load -i alsa-config
-
Might be needed to load it onboot.
-
"onboot" is more for convenience once things work - to test it's better to do things manually from a terminal window.
-
yes i placed my alsa-conf in on-boot. do i still need to execute this command?
-
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.
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:~$
-
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?
-
Stone.Giant
To confirm alsa-config is loaded, otherwise output empty:
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.
-
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"?
-
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
-
As per the info file:
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.
-
As per the info file: 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
-
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
-
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?
-
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
If adding this command to bootlocal.sh, you may need
to precede it with the sleep command for it to be effective.
#!/bin/sh
#Place your onboot code here
sudo /usr/local/etc/init.d/alsasound start
-
I used to do load ALSA like this in /opt/bootlocal.sh (without sudo because bootlocal.sh runs as root)
/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
/usr/local/sbin/alsactl restore >/dev/null 2>&1 &
-
I used to do load ALSA like this in /opt/bootlocal.sh (without sudo because bootlocal.sh runs as root)
/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
/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
-
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
-
...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..
:)
-
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
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"
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
-
I can't create syslink for official jre8 becauseI can't find /plugins folder in /home/tc/.mozilla. Should I make new directory?
-
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
-
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.
-
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?