LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2004, 10:07 PM   #1
Trev_71
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Rep: Reputation: 0
Exclamation Debian Sound Newbee


Thanks in Advance..
I want to HEAR the web... as well as see it =)

I started a thread perhaps a month back or soo concerning this. Though I have been busy and have not gotten back to the issue of setting up sound on my Debian Sarge System.

I am clueless with linux sound systems..

I've tried a few website guides as well.. and I have the distinct feeling that I am setting up stuff that is actually conflicting with eachother...

Anyhow, here is a load of details I hope someone can assist me with.


KDE 3.2
I dunno, I just thought I would mention I was using KDE

Kernal
Debian GNU/Linux, kernel 2.6.8-1-k7

/etc/modutils/alsa
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

/etc/modutils/alsa-base

above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss

/etc/modules.conf
### update-modules: start processing /etc/modutils/alsa
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


### update-modules: end processing /etc/modutils/alsa

### update-modules: start processing /etc/modutils/alsa-base
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss


modinfo soundcore

filename: /lib/modules/2.6.8-1-k7/kernel/sound/soundcore.ko
description: Core sound module
author: Alan Cox
license: GPL
alias: char-major-14-*
vermagic: 2.6.8-1-k7 preempt K7 gcc-3.3
depends:


lspci

0000:01:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
0000:01:07.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)

lsmod

Module Size Used by
snd_seq_oss 34368 0
snd_seq_midi_event 7936 1 snd_seq_oss
snd_seq 53648 4 snd_seq_oss,snd_seq_midi_event
ipv6 262340 24
lp 10920 2
usblp 13056 1
af_packet 22600 2
eth1394 21768 0
ohci1394 35588 0
ieee1394 111352 2 eth1394,ohci1394
emu10k1_gp 3648 0
shpchp 100780 0
pciehp 97388 0
pci_hotplug 34352 2 shpchp,pciehp
nvidia_agp 7836 1
analog 11872 0
gameport 4736 2 emu10k1_gp,analog
parport_pc 36932 1
parport 41544 2 lp,parport_pc
floppy 60304 0
tsdev 7360 0
mousedev 10444 1
psmouse 20232 0
pcspkr 3688 0
rtc 12728 0
evdev 9600 0
ehci_hcd 31364 0
ohci_hcd 21380 0
usbcore 118308 6 usblp,ehci_hcd,ohci_hcd
snd_emu10k1 98312 1
snd_rawmidi 25380 1 snd_emu10k1
snd_pcm_oss 54312 0
snd_mixer_oss 19904 2 snd_pcm_oss
snd_pcm 97480 2 snd_emu10k1,snd_pcm_oss
snd_timer 25540 2 snd_seq,snd_pcm
snd_seq_device 8264 3 snd_seq_oss,snd_emu10k1,snd_rawmidi
snd_ac97_codec 69572 1 snd_emu10k1
snd_page_alloc 11720 2 snd_emu10k1,snd_pcm
snd_util_mem 4608 1 snd_emu10k1
snd_hwdep 9476 1 snd_emu10k1
snd 57380 13 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_emu10k1,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd _timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
soundcore 10400 2 snd
forcedeth 17792 0
agpgart 34536 1 nvidia_agp
dm_mod 59644 0
md 49544 0
capability 4616 0
commoncap 7296 1 capability
ide_cd 42528 0
cdrom 40284 1 ide_cd
ext2 71720 0
ext3 126760 2
jbd 61784 1 ext3
mbcache 9220 2 ext2,ext3
ide_generic 1472 0
ide_disk 19264 4
amd74xx 14108 1
ide_core 138724 4 ide_cd,ide_generic,ide_disk,amd74xx
unix 28596 269
font 8448 0
vesafb 6688 0
cfbcopyarea 3776 1 vesafb
cfbimgblt 3072 1 vesafb
cfbfillrect 3712 1 vesafb
 
Old 12-16-2004, 01:05 AM   #2
jmr71769
Member
 
Registered: Jun 2003
Location: East Coast, USA
Distribution: Gentoo, Debian, Slack, FreeBSD
Posts: 82

Rep: Reputation: 15
as root:

adduser <username> audio

logout...

login as user...

try audio.

 
Old 12-16-2004, 04:33 AM   #3
netcoffee
LQ Newbie
 
Registered: Sep 2004
Location: Shenzhen.PRC
Distribution: Debian GNU/Linux
Posts: 3

Rep: Reputation: 0
Yes,add this user into the group "audio" and everything will be OK.
 
Old 12-16-2004, 09:42 AM   #4
Noostroi
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Make sure that you've ran a mixer (e.g. alsamixer if you're using alsa) and increased the volumes that the system uses...

This may not be your problem, but its something that may be a problem for some people...

Noos
 
Old 12-18-2004, 08:10 PM   #5
Trev_71
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jmr71769
as root:

adduser <username> audio

logout...

login as user...

try audio.

# adduser trev audio
The user `trev' is already a member of `audio'.


Hrmmm....
 
Old 12-18-2004, 08:14 PM   #6
Trev_71
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Noostroi
Make sure that you've ran a mixer (e.g. alsamixer if you're using alsa) and increased the volumes that the system uses...

This may not be your problem, but its something that may be a problem for some people...

Noos
I've turned every possible setting in alsa mixer to mid level or higher.. green-red

Still nothing...
 
Old 12-18-2004, 08:27 PM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
I've had problems with the alsamixer so try typing this at a console
Code:
# amixer set Master 100 unmute
# amixer set PCM 100 unmute
and see how you go, there are other channels for surround and center but that's enough to get you started anyway
 
Old 12-18-2004, 08:42 PM   #8
Trev_71
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Trev_71
I've turned every possible setting in alsa mixer to mid level or higher.. green-red

Still nothing...
# amixer set PCM 100 unmute
amixer: Unknown playback setup 'unmute'..

# amixer set Master 100 unmute
amixer: Unknown playback setup 'unmute'..



Also, what is the suggested means of testing ?

KDE - Control Panel - Test Audio ??

I've tried that and gone to various websites that I know have sound ->Laptop accessing<-
 
Old 12-18-2004, 08:46 PM   #9
Trev_71
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Just for the heck of it..

YES the soundcard works fine -Just converted this pc from XP where it worked normal-
Yes I am in the right output port

Yes the speakers work.. If I plug them into the digital output port I get static.. nothing from any of the other ports however. They also work fine on other systems ->laptop<-.. ect..
 
Old 12-19-2004, 01:05 AM   #10
neil gow
LQ Newbie
 
Registered: Dec 2004
Distribution: mandrake 10.0
Posts: 2

Rep: Reputation: 0
also a newbie, but after a week on the sound problems i don't feel clueless so much as i feel like i have too many clues.

i was reading your earlier thread to get my own ideas for the same kind of weirdness under mandrake 10.0 (with CS4236B soundcard). it looks like we've tried some of the same kinds of things and we were the same kind of confused. mine did work, at least for a while, so fwiw here's what i did:

btw, you asked about where to test. me, i went very lowlevel to start with and worked my way up. that's partly because i inherited this box and this linux installation, so i didn't even know for sure if there was a card in there, on top of not knowing if linux knew it was there.

a) - i used the pnp stuff to make sure the card was there and/or linux at least knew it was there. pnpdump was the one that answered that question for sure, i think. it showed me an actual string with the card name in it. i didn't try to use the pnp utilities to configure the card, but pnpdump gives you a whole range of multiple-choice options, which were useful as a ball-park for the next level of guessing/testing.

b) to tackle the low-level configuration of interrupts etc, i ran sndconfig. alsaconfig just didn't do it for me. it froze my box any time i set it to probe for legacy cards. no diss to asla; it could be either because my alsa isn't the latest or because my card has that strange B suffix in its name. sndconfig found my card (ymmv), and then i used some of the multiple choice ranges from pnpdump to try various combinations of irq/dma etc.

that's what worked. sndconfig is nice because it tests the card directly. if your setting's good, you hear it.

i think i still had some trouble in kde etc, with getting various apps to play things. that was more a matter of messing around with the settings and picking the correct architecture. i had most of them set to alsa still, but once i a) lost my temper and uninstalled alsa completely, and b) changed the app-specific settings to use oss, things started to shape up.


nb: if you've already got past all this first-find-your-card stuff: once i found mine with sndconfig it was fine until i got too ambitious with a few other things, and then it stopped working again (back to no sound at all). in my case, i'm still just a new kind of lost. but dmesg says my system is still loading the same stuff at boot and the card driver is failing when it tries to initialise the irq i selected for it. go figure, but at least i know which part of the process is the problem. if you've already done the probe/configure thing, you could run dmesg too just for kicks to see if your settings are 'taking' with the system at boot time.

hth
 
Old 12-19-2004, 01:15 AM   #11
Trev_71
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Ok,

I went ahead and installed rexima mixer. It opens fine without errors. This Ithink is telling me its setup sort of properly..

My digital output port dumps static if I run sound... not my normal output though.. that is dead silent still.

How can I dial that portion in ??
 
Old 12-19-2004, 08:42 AM   #12
Trev_71
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Original Poster
Rep: Reputation: 0
# modinfo soundcore
filename: /lib/modules/2.6.8-1-k7/kernel/sound/soundcore.ko
description: Core sound module
author: Alan Cox
license: GPL
alias: char-major-14-*
vermagic: 2.6.8-1-k7 preempt K7 gcc-3.3
depends:


/etc/modules.conf
### update-modules: start processing /etc/modutils/alsa
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


### update-modules: end processing /etc/modutils/alsa
### update-modules: start processing /etc/modutils/alsa-base
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
post-install snd-ad1816a /usr/lib/alsa/modprobe-post-install snd-ad1816a
post-install snd-ad1848 /usr/lib/alsa/modprobe-post-install snd-ad1848
post-install snd-ali5451 /usr/lib/alsa/modprobe-post-install snd-ali5451
post-install snd-als100 /usr/lib/alsa/modprobe-post-install snd-als100
post-install snd-als4000 /usr/lib/alsa/modprobe-post-install snd-als4000
post-install snd-asihpi /usr/lib/alsa/modprobe-post-install snd-asihpi
post-install snd-atiixp /usr/lib/alsa/modprobe-post-install snd-atiixp
post-install snd-au8810 /usr/lib/alsa/modprobe-post-install snd-au8810
post-install snd-au8820 /usr/lib/alsa/modprobe-post-install snd-au8820
post-install snd-au8830 /usr/lib/alsa/modprobe-post-install snd-au8830
post-install snd-audigyls /usr/lib/alsa/modprobe-post-install snd-audigyls
post-install snd-azt2320 /usr/lib/alsa/modprobe-post-install snd-azt2320
post-install snd-azt3328 /usr/lib/alsa/modprobe-post-install snd-azt3328
post-install snd-azx /usr/lib/alsa/modprobe-post-install snd-azx
post-install snd-bt87x /usr/lib/alsa/modprobe-post-install snd-bt87x
post-install snd-bt87x-overclock /usr/lib/alsa/modprobe-post-install snd-bt87x-overclock
post-install snd-cmi8330 /usr/lib/alsa/modprobe-post-install snd-cmi8330
post-install snd-cmipci /usr/lib/alsa/modprobe-post-install snd-cmipci
post-install snd-cs4231 /usr/lib/alsa/modprobe-post-install snd-cs4231
post-install snd-cs4232 /usr/lib/alsa/modprobe-post-install snd-cs4232
post-install snd-cs4236 /usr/lib/alsa/modprobe-post-install snd-cs4236
post-install snd-cs4281 /usr/lib/alsa/modprobe-post-install snd-cs4281
post-install snd-cs46xx /usr/lib/alsa/modprobe-post-install snd-cs46xx
post-install snd-dt019x /usr/lib/alsa/modprobe-post-install snd-dt019x
post-install snd-emu10k1 /usr/lib/alsa/modprobe-post-install snd-emu10k1
post-install snd-emu10k1x /usr/lib/alsa/modprobe-post-install snd-emu10k1x
post-install snd-ens1370 /usr/lib/alsa/modprobe-post-install snd-ens1370
post-install snd-ens1371 /usr/lib/alsa/modprobe-post-install snd-ens1371
post-install snd-es1688 /usr/lib/alsa/modprobe-post-install snd-es1688
135
post-install snd-es18xx /usr/lib/alsa/modprobe-post-install snd-es18xx
post-install snd-es1938 /usr/lib/alsa/modprobe-post-install snd-es1938
post-install snd-es1968 /usr/lib/alsa/modprobe-post-install snd-es1968
post-install snd-es968 /usr/lib/alsa/modprobe-post-install snd-es968
post-install snd-fm801 /usr/lib/alsa/modprobe-post-install snd-fm801
post-install snd-fm801-tea575x /usr/lib/alsa/modprobe-post-install snd-fm801-tea575x
post-install snd-gusclassic /usr/lib/alsa/modprobe-post-install snd-gusclassic
post-install snd-gusextreme /usr/lib/alsa/modprobe-post-install snd-gusextreme
post-install snd-gusmax /usr/lib/alsa/modprobe-post-install snd-gusmax
post-install snd-harmony /usr/lib/alsa/modprobe-post-install snd-harmony
post-install snd-hdsp /usr/lib/alsa/modprobe-post-install snd-hdsp
post-install snd-hdspm /usr/lib/alsa/modprobe-post-install snd-hdspm
post-install snd-ice1712 /usr/lib/alsa/modprobe-post-install snd-ice1712
post-install snd-ice1724 /usr/lib/alsa/modprobe-post-install snd-ice1724
post-install snd-intel8x0 /usr/lib/alsa/modprobe-post-install snd-intel8x0
post-install snd-interwave /usr/lib/alsa/modprobe-post-install snd-interwave
post-install snd-interwave-stb /usr/lib/alsa/modprobe-post-install snd-interwave-stb
post-install snd-korg1212 /usr/lib/alsa/modprobe-post-install snd-korg1212
post-install snd-maestro3 /usr/lib/alsa/modprobe-post-install snd-maestro3
post-install snd-mixart /usr/lib/alsa/modprobe-post-install snd-mixart
post-install snd-mpu401 /usr/lib/alsa/modprobe-post-install snd-mpu401
post-install snd-msnd-pinnacle /usr/lib/alsa/modprobe-post-install snd-msnd-pinnacle
post-install snd-mtpav /usr/lib/alsa/modprobe-post-install snd-mtpav
post-install snd-nm256 /usr/lib/alsa/modprobe-post-install snd-nm256
post-install snd-opl3sa2 /usr/lib/alsa/modprobe-post-install snd-opl3sa2
post-install snd-opti92x-ad1848 /usr/lib/alsa/modprobe-post-install snd-opti92x-ad1848
post-install snd-opti92x-cs4231 /usr/lib/alsa/modprobe-post-install snd-opti92x-cs4231
post-install snd-opti93x /usr/lib/alsa/modprobe-post-install snd-opti93x
post-install snd-pc98-cs4232 /usr/lib/alsa/modprobe-post-install snd-pc98-cs4232
post-install snd-pdaudiocf /usr/lib/alsa/modprobe-post-install snd-pdaudiocf
post-install snd-pdplus /usr/lib/alsa/modprobe-post-install snd-pdplus
post-install snd-portman2x4 /usr/lib/alsa/modprobe-post-install snd-portman2x4
post-install snd-powermac /usr/lib/alsa/modprobe-post-install snd-powermac
post-install snd-rme32 /usr/lib/alsa/modprobe-post-install snd-rme32
post-install snd-rme96 /usr/lib/alsa/modprobe-post-install snd-rme96
post-install snd-rme9652 /usr/lib/alsa/modprobe-post-install snd-rme9652
post-install snd-sa11xx-uda1341 /usr/lib/alsa/modprobe-post-install snd-sa11xx-uda1341
post-install snd-sb16 /usr/lib/alsa/modprobe-post-install snd-sb16
post-install snd-sb16-csp /usr/lib/alsa/modprobe-post-install snd-sb16-csp
post-install snd-sb8 /usr/lib/alsa/modprobe-post-install snd-sb8
post-install snd-sbawe /usr/lib/alsa/modprobe-post-install snd-sbawe
post-install snd-serialmidi /usr/lib/alsa/modprobe-post-install snd-serialmidi
post-install snd-serial-u16550 /usr/lib/alsa/modprobe-post-install snd-serial-u16550
post-install snd-sgalaxy /usr/lib/alsa/modprobe-post-install snd-sgalaxy
post-install snd-sonicvibes /usr/lib/alsa/modprobe-post-install snd-sonicvibes
post-install snd-sscape /usr/lib/alsa/modprobe-post-install snd-sscape
post-install snd-sun-amd7930 /usr/lib/alsa/modprobe-post-install snd-sun-amd7930
post-install snd-sun-cs4231 /usr/lib/alsa/modprobe-post-install snd-sun-cs4231
post-install snd-trident /usr/lib/alsa/modprobe-post-install snd-trident
post-install snd-usb-audio /usr/lib/alsa/modprobe-post-install snd-usb-audio
post-install snd-usb-usx2y /usr/lib/alsa/modprobe-post-install snd-usb-usx2y
post-install snd-via82xx /usr/lib/alsa/modprobe-post-install snd-via82xx
post-install snd-vx222 /usr/lib/alsa/modprobe-post-install snd-vx222
post-install snd-vxp440 /usr/lib/alsa/modprobe-post-install snd-vxp440
post-install snd-vxpocket /usr/lib/alsa/modprobe-post-install snd-vxpocket
post-install snd-wavefront /usr/lib/alsa/modprobe-post-install snd-wavefront
post-install snd-ymfpci /usr/lib/alsa/modprobe-post-install snd-ymfpci
alias ac97 off
alias ac97_codec off
alias ac97_plugin_ad1980 off
alias ac97_plugin_wm97xx off
alias ad1816 off
alias ad1848 off
alias ad1889 off
alias adlib_card off
alias aedsp16 off
alias ali5455 off
alias audio off
alias awe_wave off
alias bt878 off
alias btaudio off
alias cmpci off
alias cs4232 off
alias cs4281 off
alias cs46xx off
alias dmasound_core off
alias dmasound_pmac off
alias emu10k1 off
alias es1370 off
alias es1371 off
alias esssolo1 off
alias forte off
alias gus off
alias harmony off
alias i810_audio off
alias kahlua off
alias mad16 off
alias maestro off
alias maestro3 off
alias maui off
alias mpu401 off
alias nm256_audio off
alias opl3 off
alias opl3sa off
alias opl3sa2 off
alias pas2 off
alias pss off
alias rme96xx off
alias sb off
alias sequencer off
alias sgalaxy off
alias sonicvibes off
alias sound off
alias soundcard off
alias sscape off
alias trident off
alias trix off
alias uart401 off
alias uart6850 off
alias v_midi off
alias via82cxxx_audio off
alias wavefront off
alias ymfpci off

### update-modules: end processing /etc/modutils/alsa-base
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another Newbee ? Sparkalinda Mandriva 1 02-17-2005 08:08 PM
Best os for a newbee?? eastsidecrew Linux - Newbie 10 04-21-2004 01:22 PM
newbee help p4 mcslinux Mandriva 3 10-23-2003 11:21 AM
For a newbee, cause newbee is a friend, and we must take care of friends. neo77777 Linux - Newbie 4 01-20-2002 12:01 AM
newbee MISTER_HEKTO Linux - Newbie 1 10-26-2001 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration