Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi, I am a to the Linux OS, the problem is that i cant hear any sound, itīs like there is a conflict or something,
I am using Mandrake Linux v9.2 , kernel: 2.4.22-10mdk
Oh, as an additional information, i must say that i messed around a little bit with the /etc/modules.conf i was trying to erase the onboard snd-via82xx but that doesnt worked, i got some tips from the IRC and the Internet, but itīs still doesnt working , I hope some of you guys could help me out , One more thing In Win2000 is working fine.
Ok, here it is:
And here is the modules.conf --> Note: I edited this in the past, and i erased a line related with the snd-via82xx ( i did this trying to fix the problem, but no luck )
[root@localhost sbin]# vi /etc/modules.conf
alias autofs autofs4
probeall usb-interface usb-uhci
above snd-emu10k1 snd-pcm-oss
alias eth0 via-rhine
alias sound-slot-0 snd-via82xx
alias sound-slot-1 snd-emu10k1
probeall scsi_hostadapter ide-scsi
Oh, The VIA onboard sound card, is disabled, i did this when i installed Mandrake, because i want to use the Suond Blaster 16 Live!.
Here is the output of the /sbin/lspci
[root@localhost sbin]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AG P]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40 )
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/ C/VT8235 PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
00:08.0 VGA compatible controller: Trident Microsystems TGUI 9660/938x/968x (rev d3)
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
00:0b.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
I used XMMS, Totem Media Player,... to play a mp3 file, of course no sound
Thatīs It guys, if you need any additional information, please tell me,
I hope one of you could help me out with this, couse i tried a lot of stuff and nothing seems to work.
Anyway i hope this post could be usefull in the future for someone that maybe will have the same problem.
Thanks For your help,
Greetings, |||Electronkz||| firstname.lastname@example.org
Linux Registered User: # 344616
The card_device_id is the card number for your Soundblaster LIVE! it will be 1 and your VIA sound is 0. The sset tells amixer set the following settings for the desired device. The word Master,0 is listed in the amixer output which is the Master volume. 85%,85% is the volume for the left and right channel. unmute is pretty common sense. amixer has a good example in its man pages.
Please Forgive me if i put uneeded information
Oh, i also try this:
[root@localhost sound]# modprobe emu10k1
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/emu10k1/emu10k1.o.gz: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.22-10mdk/kernel/drivers/sound/emu10k1/emu10k1.o.gz failed
modprobe: insmod emu10k1 failed
I checked at /dev and i have: dsp dsp1
both of them are symbolick links to /dev/sound/dsp and /dev/sound/dsp1
i went to /dev/sound and tried to read them to see what they were with the less -f command but i didnt saw anything,
Anyway, i dont understand what you mean when you say:
go through each dsp until sound is played.
I cheked the permission on /dev for dsp and dsp1
[root@localhost dev]# ls -l dsp dsp1
lr-xr-xr-x 1 root root 9 Mar 27 21:14 dsp -> sound/dsp
lr-xr-xr-x 1 root root 10 Mar 27 21:14 dsp1 -> sound/dsp1
Should i change the permissions???
Another thing i a little from the tldp web site www.tldp.org/HOWTO/Sound-HOWTO/x320.html
and i tried dmesg, and i searched for something similar to the example at section 4.5
but i didnt find anything like that, i do find something related to the snd-via82xx
Here is part of the Output of dmesg:
via-rhine.c:v1.10-LK1.1.19 July-12-2003 Written by Donald Becker
PCI: Found IRQ 11 for device 00:0b.0
PCI: Sharing IRQ 11 with 00:07.2
PCI: Sharing IRQ 11 with 00:07.3
eth0: VIA VT6105 Rhine-III at 0xe400, 00:08:54:08:5d:25, IRQ 11.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 0021.
inserting floppy driver for 2.4.22-10mdk
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: Each connection entry needs 116 bytes at least
IPVS: ipvs loaded.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
Installing knfsd (copyright (C) 1996 email@example.com).
PCI: Found IRQ 12 for device 00:07.5
PCI: Sharing IRQ 12 with 00:0a.0
PCI: Setting latency timer of device 00:07.5 to 64
PCI: Found IRQ 12 for device 00:0a.0
PCI: Sharing IRQ 12 with 00:07.5
parport0: PC-style at 0x378 [PCSPP,EPP]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
NET4: Linux IPX 0.47 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
NET4: AppleTalk 0.18a for Linux NET4.0
devfs_register(sound/audio): could not append to parent, err: -17
Creative EMU10K1 PCI Audio Driver, version 0.20, 12:42:13 Sep 18 2003
Thatīs all, any idea what to do to fix it?? oh and what does dsp means? is it a driver or something that converts digital information to analoge so the sound comes out from the speakers??
Both of your sound cards have their modules (drivers) running. You do not need to run modprobe emu10k1. Even if you do you will have problems because snd-emu10k1 (ALSA module) is the one being used for your Creative Labs Soundblaster LIVE!. You can add the lines below in your modules.conf.
# VIA Technologies VT82C686 ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# Creative Labs Soundblaster LIVE ALSA portion
alias char-major-116 snd
alias snd-card-1 snd-emu10k1
# VIA Technologies VT82C686 OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# Creative Labs Soundblaster LIVE OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-1 snd-card-1
# VIA Technologies VT82C686
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
# Creative Labs Soundblaster LIVE
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
Disable the lines that begin with above using # in front of it. It should work after you reboot. You should see emu10k1 and via82xx during the boot sequence. Go in Kmix and you should see two seperate mixer tabs. One for the Soundblaster Live and the other is for the Via VT82C686. Probably /dev/dsp is for the via sound board and /dev/dsp1 is for Soundblaster LIVE.
In /home/user_dir/.asoundrc. Add the lines below so XMMS doesn't complain.
Your motherboard could be a version that you have to move a jumper to disable sound instead of disabling it in the BIOS.
Ok, I added the lines at /etc/modules.conf and i Disabled the lines that begin with above using # in front of it, as you told me, all happened like you said it will, i saw the two tabs at Kmix, and everything, but no sound, i couldnīt edit the ./asoundrc because i canīt find it.
If you can't find a file, create it. The file .asoundrc goes in /home/user_name.
Go into Mandrake Control Center and go into system then services. Make sure alsa is turn on but don't turn on alsasound. Also make sure sound is activated. Turn off artsd. Turn up wav, pcm, master controls on both devices and save the changes. Play a sound file.
play -d /dev/dsp sound_file
play -d /dev/dsp1 sound_file
HOUSTON WE HAVE SOUND!!!
Thanks a LOT!! Electro for your help,
Resume of what i did:
I created the file .asoundrc
But in Mandrake Control settings i couldn't turn on alsa, it said that it was already running, but it was showed as stopped, and alsasound i couldnīt find it.
This is what it said when i tried to turn on alsa:
Doing alsactl to store mixer settings...[ OK ]
Shutting down ALSA sound driver (version 0.9.6): no. (sound is being used by pid 2296 ))[FAILED]
ALSA driver (version 0.9.6) is already running
Anyway, i went into Configuration-->KDE-->Sound-->Sound System
and i disabled the check box that says "Starts aRTs soundserver on KDE startup"
I modify the pcm and master controls on KMix
and finally i tried the commands you told me,
the only one that worked was the play -d /dev/dsp1
And i checked modifying the volume in Kmix and dsp1 belongs to SB Live
Then in XMMX i went to options-->preferences-->Configure Output plugin
in my case OSS driver 1.2.7 then i checked the check box that says: "Use Alternative Device:" and i wrote in there /dev/dsp1
I am writing this in case somebody else in the future will have a similar problem
It seems that big part of the problem was aRTs,
I have one final doubt, is there a way to make /dev/dsp1 as the default device??
Anyway, Thanks A lot Electron