LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-08-2005, 05:48 PM   #1
bhomass
Member
 
Registered: Nov 2005
Posts: 69

Rep: Reputation: 15
sound on Debian kernel 2.4.27


I am not able to play the music player application on my Debian. the sound card works, because I can hear the game sound files. When I try to play a radio station, it says cannot open device "/dev/dsp" for writing. I check /dev/dsp, it is there with root audio as owner and group and rw priviledges for both. I am in the audio group, so I should be allowed to write to it.

lsmod produces this output
Module Size Used by Not tainted
input 3040 0 (autoclean)
apm 8428 1 (autoclean)
ds 5844 1
tuner 8872 0 (unused)
bttv 89984 0
i2c-algo-bit 6376 1 [bttv]
i2c-core 11748 0 [tuner bttv i2c-algo-bit]
videodev 5344 2 [bttv]
btaudio 9788 2
usb-uhci 19504 0 (unused)
usbcore 52268 1 [usb-uhci]
via82cxxx_audio 17404 1
ac97_codec 11252 0 [via82cxxx_audio]
uart401 5860 0 [via82cxxx_audio]
sound 48872 0 [via82cxxx_audio uart401]
soundcore 3268 7 [bttv btaudio via82cxxx_audio sound]
ide-scsi 8272 0
scsi_mod 86052 1 [ide-scsi]
tulip 35168 1
crc32 2848 0 [tulip]
yenta_socket 8804 1
pcmcia_core 38020 0 [ds yenta_socket]
ide-cd 27072 0
cdrom 26212 0 [ide-cd]
rtc 5768 0 (autoclean)
ext3 65388 1 (autoclean)
jbd 34628 1 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
via82cxxx 9256 1 (autoclean)
ide-disk 12448 2 (autoclean)
ide-core 91832 2 (autoclean) [ide-scsi ide-cd ide-detect via82cxxx ide-disk]
unix 12752 217 (autoclean)

are there other modules required?

related question. there are 3 RCA ports on the sound card. what configuration tool can I use to set the port for the speaker output?

Last edited by bhomass; 12-08-2005 at 06:55 PM.
 
Old 12-09-2005, 06:02 AM   #2
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
There is a little utility called modconf use that for checking for sound modules which are needed to be loaded.
workaround may be like disabling the default alsa startup.here is the link http://lists.atrpms.net/pipermail/at...ly/003462.html
Another advanterous method is module compiling for ur kernel.This is especially a great boon for newer audio/gfx cards based pc owners without needing to compile kernel.For eg;
In my case i want to get sound and graphics support indegeniously on sarge with default kernel-2.6.8-2-686-smp.For graphics i got dri snapshots complied and installed.For sound,u need kernel source of your running kernel in my case 2.6.8 source.ALSA Source also should be installed.unbzip it and a folder 'modules' must be there. i copied the default config from /boot and saved in /usr/src/kernel-source...
Code:
#ln -s /usr/src/kernel-source-whatever /usr/src/linux
#cd linux
#cp /boot/config-2.x.x /usr/src/linux/.config
#make-kpkg --append-to-version=-2-686-smp  modules_image
#cd ..
#ls
 alsa-modules-2.6.8-2-686-smp_1.0.8-7+10.00.Custom_i386.deb
#dpkg -i alsa-modules-2.6.8-2-686-smp_1.0.8-7+10.00.Custom_i386.deb
here make sure the appending part be same as the appending on the kernel.
Now You can restart 'alsa' and may be even configure with 'alsaconf'.
For this to work have alsa-source package installed.unbzip it and a folder
'modules' must be there.if available try latest alsa-source and others..best of Luck....

Last edited by deepclutch; 12-09-2005 at 06:09 AM.
 
  


Reply



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
help debian sound issue after kernel upgrade Lleb_KCir Linux - Software 6 07-11-2005 10:34 AM
how to configure sound in GNU/debian sarge kernel 2.6 for toshiba satellite m30x-160 manda-chuva Linux - Laptop and Netbook 1 04-13-2005 08:47 PM
Sound in Debian Sarge Kernel 2.6 quentusrex Debian 13 08-13-2004 11:44 PM
No sound on Debian sarge, kernel 2.6.5.1-k7 bruno buys Debian 4 07-12-2004 07:47 PM
After compiling the 2.6.2 kernel with Debian (sound)... meastp Linux - Hardware 4 02-18-2004 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:30 AM.

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
Open Source Consulting | Domain Registration