LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-25-2005, 11:18 PM   #1
jnev
Member
 
Registered: Apr 2005
Posts: 158

Rep: Reputation: 30
another sound thread...


i've looked through tons of threads onm this forum (none helped), searched google, asked on many message boards, and none of them could help me. i have kubuntu hoary 5.04 installed on my desktop (in my sig), and i cannot for the life of my get my onboard sound working. no command i know of (alsaconf , sndconfig, etc) works. when i got to run > alsamixer, nothing hapens. when i type alsamixer into konsole it gives me

Code:
alsamixer: function snd_ctl_open failed for default: No such file or directory
PLEASE HELP ME, i'm desperate. i have a few other problems that i may ask later, but this is my main one.


thanks for any and all help
 
Old 04-25-2005, 11:37 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

Could you post the output of 'lspci' as root?

Dave
 
Old 04-25-2005, 11:44 PM   #3
jnev
Member
 
Registered: Apr 2005
Posts: 158

Original Poster
Rep: Reputation: 30
Code:
0000:00:00.0 Host bridge: Intel Corp. 925X Memory Controller Hub (rev 0e)
0000:00:01.0 PCI bridge: Intel Corp. 925X PCI Express Root Port (rev 0e)
0000:00:1b.0 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d4)
0000:00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 04)
0000:00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
0000:00:1f.2 IDE interface: Intel Corp. 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 04)
0000:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0140 (rev a2)
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
0000:02:02.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
 
Old 04-25-2005, 11:54 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
OK. Your sound card is supported.

Could you post the output from lsmod?

Dave
 
Old 04-26-2005, 12:02 AM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Also, what kernel version are you running? (uname -r)

Only the latest kernels have ALSA drivers which can handle your particular sound device:
Quote:
In particular the ICH5 and ICH6 versions of the Intel sound chips is supported only by ALSA versions 1.0.5 or later. In particular, the Linux 2.6 kernels up to version 2.6.8.1 inclusive don't support them because they only have ALSA versions up to 1.0.4; note also that there are very many variants of the ICH6 chipset (check include/linux/pci_ids.h in recent kernel sources), and up to 1.0.8 only the one with device id 8086:266e is recognized.
Dave
 
Old 04-26-2005, 12:20 AM   #6
jnev
Member
 
Registered: Apr 2005
Posts: 158

Original Poster
Rep: Reputation: 30
lsmod:

Code:
Module                  Size  Used by
tun                     8704  0
proc_intf               4100  0
freq_table              4100  0
cpufreq_userspace       4572  0
cpufreq_ondemand        6172  0
cpufreq_powersave       1920  0
video                  16260  0
sony_acpi               6280  0
pcc_acpi               11264  0
button                  6800  0
battery                10244  0
container               4608  0
ac                      4996  0
ipv6                  229504  9
af_packet              20744  2
usblp                  12032  0
ohci1394               31876  0
r8169                  17928  0
i2c_i801                8076  0
i2c_core               21264  1 i2c_i801
ahci                   10500  0
piix                    9988  1
hw_random               5524  0
usbhid                 29376  0
ehci_hcd               29444  0
uhci_hcd               30224  0
usbcore               107384  5 usblp,usbhid,ehci_hcd,uhci_hcd
shpchp                 86116  0
pci_hotplug            30512  1 shpchp
floppy                 54864  0
pcspkr                  3816  0
rtc                    12216  0
nls_cp437               5888  1
ntfs                   97136  1
md                     43856  0
dm_mod                 53116  1
capability              5000  0
commoncap               7808  1 capability
nvidia               3923388  12
agpgart                31784  1 nvidia
sbp2                   22408  0
evdev                   9088  0
tsdev                   7488  0
ieee1394              100408  2 ohci1394,sbp2
psmouse                19336  0
mousedev               11160  1
parport_pc             34372  1
lp                     10792  0
parport                33480  2 parport_pc,lp
ide_generic             1664  0
ide_disk               18176  0
ide_cd                 38532  0
ide_core              118988  4 piix,ide_generic,ide_disk,ide_cd
ext3                  120968  1
jbd                    54168  1 ext3
sr_mod                 16036  0
cdrom                  36508  2 ide_cd,sr_mod
sd_mod                 16784  5
ata_piix                8836  9
libata                 44548  2 ahci,ata_piix
scsi_mod              119936  5 ahci,sbp2,sr_mod,sd_mod,libata
unix                   26164  389
thermal                13576  0
processor              22708  1 thermal
fan                     4612  0
fbcon                  34048  0
font                    8448  1 fbcon
bitblit                 5120  1 fbcon
vesafb                  6948  0
cfbcopyarea             3968  1 vesafb
cfbimgblt               3072  1 vesafb
cfbfillrect             3584  1 vesafb

uname -r :

Code:
2.6.10-5-386
 
Old 04-26-2005, 12:47 AM   #7
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
The module for your sound card isn't loaded. Try the following as root:
Code:
modprobe snd-intel8x0
modprobe snd-pcm-oss
modprobe snd-mixer-oss
modprobe snd-seq-oss
Then try playing some audio.

Dave
 
Old 04-26-2005, 12:57 AM   #8
Groovelab
LQ Newbie
 
Registered: Dec 2004
Distribution: Kubuntu 5.04
Posts: 20

Rep: Reputation: 0
Hey can you guys jump to my thread, I've wrote it clearly and given some initial data and I guarantee I've spent plenty of time researching...

Its the (Kubuntu ALSA thread).

Thanks, John
 
Old 04-26-2005, 08:17 AM   #9
jnev
Member
 
Registered: Apr 2005
Posts: 158

Original Poster
Rep: Reputation: 30
i did those modprobes, but sound still doesn't work. i put in an audio cd, and when i press 'play' on the cd player, the play button's graphic switches to 'pause' like it's playing, but then reverts back to the 'play' graphic almost immediately. also, i tried playing some songs from my windows partition with amarok, and when i pressed play nothing would happen.

btw, alsamixer still doesn't work.
 
Old 04-26-2005, 11:35 AM   #10
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
You could try downloading the latest ALSA kernel modules from the ALSA site, or you could wait for the in-kernel ALSA version to catch up. It appears the intel8x0 module doesn't recognise your sound card as one it should handle. From what I've read, this is fixed in ALSA v.1.0.8

Dave
 
Old 04-26-2005, 01:26 PM   #11
Groovelab
LQ Newbie
 
Registered: Dec 2004
Distribution: Kubuntu 5.04
Posts: 20

Rep: Reputation: 0
To the person with the Intel chipset, I know you're a newbie like me...

Using ALSA version 1.0.8 as Dave has suggested.

Try compiling ALSA against your sound card using the QUICK INSTALL method on their site, its suprisingly easily... Just make sure to run the commands as root "su -" as you know.

http://www.alsa-project.org/alsa-doc...odule=intel8x0

Get the driver Dave mentioned.
ftp://ftp.alsa-project.org/pub/drive...-1.0.8.tar.bz2

Make a directory to store the alsa source code in.

cd /usr/src
mkdir alsa
cd /usr/src/alsa
(copy your file you downloaded "alsa-driver-1.0.8.tar.bz2" to the directory /usr/src/alsa)

Now unzip and install the alsa-driver package

bunzip2 alsa-driver-1.0.8.tar.bz2
tar -xf alsa-driver-1.0.8.tar (or whatever it renames to after unzip)
cd alsa-driver-1.0.8 (or whatever directory it makes after un-tarring)
./configure --with-cards=intel8x0 --with-sequencer=yes;make;make install

Now unzip and install the alsa-lib package

cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure;make;make install

Now unzip and install the alsa-utils package

cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure;make;make install

Now insert the modules into the kernel.

modprobe snd-intel8x0;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

Thats from the site. I suggest you follow the link above and I'm a noob like you, but I had success this way.

John

Last edited by Groovelab; 04-26-2005 at 01:28 PM.
 
Old 04-26-2005, 07:10 PM   #12
jnev
Member
 
Registered: Apr 2005
Posts: 158

Original Poster
Rep: Reputation: 30
where do i get the alsa-lib file?
 
Old 04-26-2005, 08:11 PM   #13
jnev
Member
 
Registered: Apr 2005
Posts: 158

Original Poster
Rep: Reputation: 30
never mind about my above question, i install the libs and utils and everything it said to, but when i did the ./configure thing it said to do, it stopped midway and gave me this error message:

Code:
configure: error: this packages requires a curses library
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
i did everything the way it told me to. i did the modprobe like you said and when i went to try alsamixer, it still gave me the same error message i got before (in the first post).
 
Old 04-26-2005, 08:42 PM   #14
Groovelab
LQ Newbie
 
Registered: Dec 2004
Distribution: Kubuntu 5.04
Posts: 20

Rep: Reputation: 0
curses library.

goto synaptic or kynaptic...

Then hit CTRL-F, type in the keyword "curses"

Install libcurses4, and reinstall libcurses5 (this one should be installed by default).

Then run ./configure;make;make install.

I had the same error.

Now you actually have the "alsaconf" command which comes with alsa-utils, which although ubuntu/kubuntu has a default package is not included for some reason.

John

Last edited by Groovelab; 04-26-2005 at 08:45 PM.
 
Old 04-26-2005, 09:39 PM   #15
jnev
Member
 
Registered: Apr 2005
Posts: 158

Original Poster
Rep: Reputation: 30
i did that, installed libcurses4 and reinstalled libcurses5, and i still have the same problem. also, alsaconf doesn't work, it says 'command not found'
 
  


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
So many AC-97 sound problems, lets bring them to a single thread. nathanmoorehead Linux - Hardware 20 01-03-2007 11:20 AM
Yet Another Sound Blaster Live Thread... Permaximus Linux - Hardware 2 11-16-2005 06:01 PM
No sound - Mandrake 10 - (again a thread on that topic...) toasterbis Linux - Hardware 7 06-06-2005 06:59 PM
Another sound thread Rdream13 Slackware 6 03-31-2005 02:01 AM
another sound card thread tumnus Linux - Hardware 2 05-27-2002 08:48 AM

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

All times are GMT -5. The time now is 05:58 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
Open Source Consulting | Domain Registration