General TC > General TC Talk
Seamonkey 2.33
Stone.Giant:
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.
--- End quote ---
--- Code: ---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%
--- End code ---
here is the asound.state
--- Code: ---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
}
}
}
--- End code ---
Juanito:
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: ---$ speaker-test -c2 -t wav -l1
--- End code ---
..do you get sound?
gerald_clark:
The sleep needs to be on its own line and takes an optional argument of the number of seconds to sleep.
Stone.Giant:
I failed from the start..
--- Code: ---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)
--- End code ---
Kindly see my syslog attached
[
Juanito:
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?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version