Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there a way to check sound output without speakers?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Thu Jan 01, 2009 6:55 pm    Post subject: Is there a way to check sound output without speakers? Reply with quote

I don't know whether the speakers aren't connected correctly or my sound card is just not outputting anything... so can I check that somehow? Basically, my problem is I can't get sound out of my computer. 01:02.0 Multimedia audio controller: Creative Labs SB Audigy LS. I ran alsa-config and let it do everything by itself, and I modprobed for snd_emu10k1, is there anything else I should do?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Thu Jan 01, 2009 7:09 pm    Post subject: Reply with quote

skrapasor,

Its safe to test by plugging your speakers into each connector on your sound card in turn.
However, they are normally colour coded. The front stereo pair should be connected to the pale green connector.

To check your ALSA setup, look in /dev/snd you should see files like
Code:
controlC0  pcmC0D0c  pcmC0D1c  timer  pcmC0D0p  pcmC0D2p  seq
exactly what you get is sound card dependant but you should have the controlC0 and at least one ending in 'p' for playback.
If thats missing, your kernel and modules are not set up correctly. Pleas post your lspci output.

If all is well so far, keep reading. Is your normal user in the audio group?
Check with the groups command. If you want to play audio CDs, you need to be in the cdrom group too.

Lastly for testing, run alsamixer and mute all controls except Master and PCM and set the sliders to about 70%
Play some sounds - you should hear something from the front speakers.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Thu Jan 01, 2009 8:13 pm    Post subject: Reply with quote

localhost ~ # lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (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.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)
01:01.0 Communication controller: Conexant HSF 56k Data/Fax Modem
01:02.0 Multimedia audio controller: Creative Labs SB Audigy LS
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

what's weird though... its getting to the speakers its just extremely quiet.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Thu Jan 01, 2009 8:21 pm    Post subject: Reply with quote

skrapasor,
You have
Code:
01:02.0 Multimedia audio controller: Creative Labs SB Audigy LS

make menuconfig suggests you need
Code:
<M>   SB Audigy LS / Live 24bit 
rather than
Code:
<M>   Emu10k1 (SB Live!, Audigy, E-mu APS)
but I am aware that both the ca0106 and emu10k1 sound chips were used in your card.

Building both drivers is harmless - other than looking at the writing on the top of the sound chip, its the only way to check.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Thu Jan 01, 2009 8:46 pm    Post subject: Reply with quote

so what should i do?
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Thu Jan 01, 2009 8:51 pm    Post subject: Reply with quote

Seriously I will let you have access to my computer I don't know what I am doing... I tried removing all OSS modules but that didn't help anything.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Thu Jan 01, 2009 9:00 pm    Post subject: Reply with quote

skrapasor wrote:
Seriously I will let you have access to my computer I don't know what I am doing... I tried removing all OSS modules but that didn't help anything.
Seriously even if that issue is like a PITA you never ever should give somebody from the internet access to your computer - and even more not "only" for sound.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Thu Jan 01, 2009 9:05 pm    Post subject: Reply with quote

But I have nothing valuable... no credit card numbers... I wouldn't care if he rm -fr /... what else could I be worried about? All he would know is my password for my root user. So what else could he do?
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Thu Jan 01, 2009 9:07 pm    Post subject: Reply with quote

Whatever happened to trust?
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Thu Jan 01, 2009 9:09 pm    Post subject: Reply with quote

See the thing is, without sound the computer is barely usable to me...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Thu Jan 01, 2009 10:38 pm    Post subject: Reply with quote

skrapasor,

Asking random people to have your root password is a really bad idea.
You should add
Code:
<M>   SB Audigy LS / Live 24bit
to your kernel, using make menuconfig, then do
Code:
make modules
make modules_install
modprobe snd_ca0106
and test your sound again.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Fri Jan 02, 2009 5:36 pm    Post subject: Reply with quote

skrapasor,

Heres some more detail:-
Run
Code:
 uname -a
and make a note of the date/time it shows. We will use it for checking later.
Do
Code:
 cd /usr/src/linux
make menuconfig
to get into your kernel setup and check the following settings:-
Code:
 <M> Sound card support  --->
  │ │    --- Sound card support                                           │ │ 
  │ │    <M>   Advanced Linux Sound Architecture  --->                    │ │ 
  │ │    < >   Open Sound System (DEPRECATED)  --->
Then in the <M> Advanced Linux Sound Architecture ---> menu:-
Code:
  │ │    --- Advanced Linux Sound Architecture                            │ │ 
  │ │    <M>   Sequencer support                                          │ │ 
  │ │    <M>     Sequencer dummy client                                   │ │ 
  │ │    <M>   OSS Mixer API                                              │ │ 
  │ │    <M>   OSS PCM (digital audio) API                                │ │ 
  │ │    [*]     OSS PCM (digital audio) API - Include plugin system      │ │ 
  │ │    [*]   OSS Sequencer API                                          │ │ 
  │ │    [ ]   Dynamic device file minor numbers                          │ │ 
  │ │    [*]   Support old ALSA API                                       │ │ 
  │ │    [ ]   Verbose procfs contents                                    │ │ 
  │ │    [ ]   Verbose printk                                             │ │ 
  │ │    [ ]   Debug                                                      │ │ 
  │ │    [ ]   Generic sound devices  --->                                │ │ 
  │ │    [*]   PCI sound devices  --->                                    │ │ 
  │ │    [*]   USB sound devices  --->                                    │ │ 
  │ │    < >   ALSA for SoC audio support  ---> 
Its essential that
Code:
  │ │    [ ]   Verbose procfs contents                                    │ │ 
  │ │    [ ]   Verbose printk                                             │ │ 
  │ │    [ ]   Debug                                                      │ │
are off - those settings are for developers.
│ │ [ ] Generic sound devices ---> │ │ should also be off but it won't stop your sound from working, it will make it more difficult to confiure.
The settings above with OSS in their name give you ALSAs emulated OSS interface. They are not needed on a pure ALSA system but sadly, not everying is ALSA aware yet. They also depend on the next bit. In the [*] PCI sound devices ---> menu, choose :-
Code:
 <M>   SB Audigy LS / Live 24bit
 <M>   Emu10k1 (SB Live!, Audigy, E-mu APS)
ans set all the other options off. You only need these two because I not sure which of these modules your card needs.
Check you settings once more, save the new config file and rebuild and reinstall your kernel. When you boot into it, run
Code:
uname -a
Check the date/time against the one you noted at the start. It should be different, its the kernel build time. IF its the same, you are still running the old kernel and we need to fix that before making further progress.

Now you need the user space tools. Follow the ALSA Guide with one exception, do *NOT* emerge alsa-drivers. alsa-drivers provides the same functionality as the kernel alsa that we set up earlier.
The instructions in the ALSA Guide should allow you to complete you sound setup.

Good luck - post back with any problems.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Fri Jan 02, 2009 7:34 pm    Post subject: Reply with quote

Okay I saved that .config file, but when I run "make menuconfig" again I have to manually load it... which makes me thing that when I run "make all" it doesn't automatically load the file I just saved. And when I ran "make all" I checked and it didn't do some of the modules that I selected. How do I run make using a certain .config file?
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Fri Jan 02, 2009 7:39 pm    Post subject: Reply with quote

Well I just did it again without saving a separate .config, I just went to exit and saved it.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Fri Jan 02, 2009 8:59 pm    Post subject: Reply with quote

Alright I did that and followed the whole guide and still nothing.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Fri Jan 02, 2009 9:03 pm    Post subject: Reply with quote

skrapasor,

What does
Code:
uname -a
show ?

What is the content of
Code:
/dev/snd


What is in
Code:
lsmod

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Fri Jan 02, 2009 10:52 pm    Post subject: Reply with quote

Code:
skrapasor@localhost ~ $ uname -a
Linux localhost 2.6.27-gentoo-r7 #1 SMP Fri Jan 2 14:56:02 EST 2009 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
skrapasor@localhost ~ $ ls /dev/snd
controlC0  pcmC0D0c  pcmC0D1c  pcmC0D2c  pcmC0D3c  seq
midiC0D0   pcmC0D0p  pcmC0D1p  pcmC0D2p  pcmC0D3p  timer
skrapasor@localhost ~ $ lsmod
Module                  Size  Used by
snd_seq_midi           13856  0
snd_seq_dummy          10884  0
snd_seq_oss            33664  0
snd_seq_midi_event     14720  2 snd_seq_midi,snd_seq_oss
snd_seq                50416  6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            39712  0
snd_mixer_oss          20864  1 snd_pcm_oss
snd_emu10k1           124864  0
snd_util_mem           12288  1 snd_emu10k1
snd_hwdep              14468  1 snd_emu10k1
snd_ca0106             36320  0
snd_rawmidi            27040  3 snd_seq_midi,snd_emu10k1,snd_ca0106
snd_seq_device         14732  6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec         97824  2 snd_emu10k1,snd_ca0106
snd_pcm                67588  4 snd_pcm_oss,snd_emu10k1,snd_ca0106,snd_ac97_codec
snd_timer              26504  3 snd_seq,snd_emu10k1,snd_pcm
snd                    55076  12 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_hwdep,snd_ca0106,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc         15752  3 snd_emu10k1,snd_ca0106,snd_pcm
i915                   34048  0
drm                    74792  1 i915
ipv6                  224164  16
e100                   37772  0
eepro100               34064  0
mii                    13184  2 e100,eepro100
ac97_bus                9856  1 snd_ac97_codec
ppdev                  14852  0
floppy                 56004  0
iTCO_wdt               18212  0
iTCO_vendor_support    11780  1 iTCO_wdt
i2c_i801               16528  0
i2c_core               28948  1 i2c_i801
pcspkr                 10624  0
shpchp                 33812  0
pci_hotplug            32160  1 shpchp
ehci_hcd               37388  0
thermal                23836  0
parport_pc             41028  0
parport                39660  2 ppdev,parport_pc
uhci_hcd               27280  0
usbcore               125680  3 ehci_hcd,uhci_hcd
processor              42284  1 thermal
intel_agp              31300  1
button                 14480  0
agpgart                38356  2 drm,intel_agp
thermal_sys            17832  2 thermal,processor
dcdbas                 14624  0
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Jan 03, 2009 12:22 am    Post subject: Reply with quote

skrapasor,

Thats all good. So your kernel is in good shape.

Do
Code:
/etc/init.d/alsasound restart
then post the /etc/asound.state so I can see how your controls are set.
If
Code:
/etc/init.d/alsasound restart
fails, do
Code:
rc-update add alsasound default
/etc/init.d/alsasound start
/etc/init.d/alsasound restart

Thats the service that preserves your settings over reboots by writing and reading /etc/asound.state.

Theres no hurry - this is my last post tonight.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Sat Jan 03, 2009 6:39 am    Post subject: Reply with quote

Code:
localhost ~ # cat /etc/asound.state
state.CA0106 {
   control.1 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'Analog Front Playback Volume'
      value.0 255
      value.1 255
   }
   control.2 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'Analog Rear Playback Volume'
      value.0 255
      value.1 255
   }
   control.3 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'Analog Center/LFE Playback Volume'
      value.0 255
      value.1 255
   }
   control.4 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'Analog Side Playback Volume'
      value.0 255
      value.1 255
   }
   control.5 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'IEC958 Front Playback Volume'
      value.0 255
      value.1 255
   }
   control.6 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'IEC958 Rear Playback Volume'
      value.0 255
      value.1 255
   }
   control.7 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'IEC958 Center/LFE Playback Volume'
      value.0 255
      value.1 255
   }
   control.8 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'IEC958 Unknown Playback Volume'
      value.0 255
      value.1 255
   }
   control.9 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'CAPTURE feedback Playback Volume'
      value.0 128
      value.1 128
   }
   control.10 {
      comment.access read
      comment.type IEC958
      comment.count 1
      iface PCM
      name 'IEC958 Playback Mask'
      value ffffffff000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000
   }
   control.11 {
      comment.access read
      comment.type IEC958
      comment.count 1
      iface PCM
      name 'IEC958 Playback Mask'
      index 1
      value ffffffff00000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000
   }
   control.12 {
      comment.access read
      comment.type IEC958
      comment.count 1
      iface PCM
      name 'IEC958 Playback Mask'
      index 2
      value ffffffff00000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000
   }
   control.13 {
      comment.access read
      comment.type IEC958
      comment.count 1
      iface PCM
      name 'IEC958 Playback Mask'
      index 3
      value ffffffff00000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000
   }
   control.14 {
      comment.access 'read write'
      comment.type BOOLEAN
      comment.count 1
      iface MIXER
      name 'IEC958 Playback Switch'
      value true
   }
   control.15 {
      comment.access 'read write'
      comment.type ENUMERATED
      comment.count 1
      comment.item.0 'IEC958 out'
      comment.item.1 'i2s mixer out'
      comment.item.2 'IEC958 in'
      comment.item.3 'i2s in'
      comment.item.4 'AC97 in'
      comment.item.5 'SRC out'
      iface MIXER
      name 'Digital Source Capture Enum'
      value 'i2s in'
   }
   control.16 {
      comment.access 'read write'
      comment.type ENUMERATED
      comment.count 1
      comment.item.0 Phone
      comment.item.1 Mic
      comment.item.2 'Line in'
      comment.item.3 Aux
      iface MIXER
      name 'Analog Source Capture Enum'
      value 'Line in'
   }
   control.17 {
      comment.access 'read write'
      comment.type IEC958
      comment.count 1
      iface PCM
      name 'IEC958 Playback Default'
      value '049210020000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000'
   }
   control.18 {
      comment.access 'read write'
      comment.type IEC958
      comment.count 1
      iface PCM
      name 'IEC958 Playback Default'
      index 1
      value '04921002000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000'
   }
   control.19 {
      comment.access 'read write'
      comment.type IEC958
      comment.count 1
      iface PCM
      name 'IEC958 Playback Default'
      index 2
      value '04921002000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000'
   }
   control.20 {
      comment.access 'read write'
      comment.type IEC958
      comment.count 1
      iface PCM
      name 'IEC958 Playback Default'
      index 3
      value '049210020000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000'
   }
   control.21 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -10350
      comment.dbmax 2400
      iface MIXER
      name 'Phone Capture Volume'
      value.0 207
      value.1 207
   }
   control.22 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -10350
      comment.dbmax 2400
      iface MIXER
      name 'Mic Capture Volume'
      value.0 0
      value.1 0
   }
   control.23 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -10350
      comment.dbmax 2400
      iface MIXER
      name 'Line in Capture Volume'
      value.0 207
      value.1 207
   }
   control.24 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -10350
      comment.dbmax 2400
      iface MIXER
      name 'Aux Capture Volume'
      value.0 207
      value.1 207
   }
   control.25 {
      comment.access 'read write'
      comment.type ENUMERATED
      comment.count 1
      comment.item.0 'Line in'
      comment.item.1 'Mic in'
      iface MIXER
      name 'Shared Mic/Line in Capture Switch'
      value 'Line in'
   }
}

Line breaks in the IEC controls added by NeddySeagoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Jan 03, 2009 5:07 pm    Post subject: Reply with quote

skrapasor
Code:
state.CA0106
...
   control.14 {
      comment.access 'read write'
      comment.type BOOLEAN
      comment.count 1
      iface MIXER
      name 'IEC958 Playback Switch'
      value true


This tells us that yor sound chip us a ca0106, not a emu10k1 and that you have set up your card to play sounds over the digital output, which is not what you want. In alsamixer, find the control called 'IEC958 Playback Switch' and turn it off. You will need to turn off (mute) all controls that have IEC958 in their names - these controls all relate to digital output and yu don't want any of that.
Most sound cards can do either digital or analogue output but few can do both at the same time and digital takes priority, it its on, analogue is off.

How to read this file
Code:
   control.1 {
      comment.access 'read write'
      comment.type INTEGER
      comment.count 2
      comment.range '0 - 255'
      comment.dbmin -5175
      comment.dbmax 1200
      iface MIXER
      name 'Analog Front Playback Volume'
      value.0 255
      value.1 255
   }
The comments are just that - alsa ignores them but they provide information to human readers.
iface - MIXER its a mixer type interface
name 'Analog Front Playback Volume' - this is what you see as the control name in alsamixer
value.0 255 the left slider is full up (255)
value.1 255 the right slider is full up (255)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Sat Jan 03, 2009 6:07 pm    Post subject: Reply with quote

I can't find anything called 'IEC958 Playback Switch,' but if I use the volume control panel in XFCE it's there. All I could find was something that just said "IEC958," and I muted that along with all the other IEC958 settings. But when I check asound.state the playback switch is still on, so maybe I will just have to change it in XCFE.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Jan 03, 2009 6:30 pm    Post subject: Reply with quote

skrapasor,

The file /etc/asound.state is written only when the alsasound service is stopped and its read when the service starts.
You can force the write/read by doing
Code:
/etc/init.d/alsasound restart

If you want to edit the file and have your edits take effect, you need to do
Code:
/etc/init.d/alsasound stop
so the file is written.
Edit the file
Code:
/etc/init.d/alsasound start


If you mess up, delete the file. Starting alsasound with a blank or missing /etc/asound.state will mute everything ans turn the sliders down.

Actually, thats not such a bad idea. Do
Code:
/etc/init.d/alsasound stop
mv /etc/asound.state /etc/asound.state_broken
/etc/init.d/alsasound start
Now we have everything muted and your old state saved in /etc/asound.state_broken
Unmute and set the sliders to about 70% *only* 'Analog Front Playback Volume', that will be the pale green connector on your sound card.
Does that work ?
If not, do
Code:
/etc/init.d/alsasound restart
and post the new /etc/asound.state file
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Sat Jan 03, 2009 6:39 pm    Post subject: Reply with quote

OMG THANK YOU! I actually took the monitor off the computer and have been accessing through ssh... and I ran mpg123 on some mp3 and it works! Oh yeah and I had the speaker connected to the dark green, not the pale green, and it didn't work until I switched it to the pale green. Even if you had control of my computer you couldn't have done that remotely. Thanks so much for your help! You are the most kind, helpful, and persistent person I have ever talked to on a forum. If anyone needs help getting their sound working, this is the thread. You went through every possible step with me. Again, thanks so much!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Jan 03, 2009 10:27 pm    Post subject: Reply with quote

skrapasor,

Now it works, you can practice breaking it under control

As you have the front stereo working, you can operate the other controls in alsamixer to observe their effect.
Some will stop it working. When you know what they are, by testing slowly, one at a time, leave them set for working.

You have also learned how to recover a working state, that makes it much easier.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum