Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

No sound on new install

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

No sound on new install

  • Quote

Post by Speedracer86 » Tue Feb 28, 2006 6:24 pm

I just installed gentoo for the first time and when I final got everything workinga booted up kde I got this error.

Code: Select all

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.
What does this mean exacly and what is the likely problem?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Feb 28, 2006 6:29 pm

Speedracer86,

Either /dev/dsp does not exist, or another program already has it open.
Thats the sound output device that KDE is trying to use.

Look in /dev/snd and /dev/sound they should both contain real device files.
If not, either your sound is not correctly configured or your kernel is not correct, or both.

How did you install sound, kernel sounda as built-in, kernel sound as modules or emerge alsa-drivers alsa-oss ?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

  • Quote

Post by Speedracer86 » Tue Feb 28, 2006 6:40 pm

Here is what is in the to folders

Code: Select all

alex@kingal /dev/sound $ ls
sequencer  sequencer2
and there is no snd folder.

[edit] there is a snd folder and it has seq and timer in it.

My buddy did the install so I am not sure how he got did the sound but he said somthing about alsa
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Feb 28, 2006 7:11 pm

Speedracer86,

Thats the beginnings of sound. Please post the output of

Code: Select all

ls /sbin/modprobe -l -t sound
and the output the lspci. emerge pciutils if you don't have lspci.

Also look at

Code: Select all

rc-update -s
What runlevel (if any) is alsasound in ?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

  • Quote

Post by Speedracer86 » Tue Feb 28, 2006 7:30 pm

Code: Select all

kingal alex # ls /sbin/modprobe -l -t sound
ls: sound: No such file or directory
-rwxr-xr-x  1 root root 27232 Feb 21 03:30 /sbin/modprobe
and lscpi gives me

Code: Select all


kingal alex # lspci
00:00.0 Host bridge: ALi Corporation M1672 Northbridge [CyberALADDiN-P4]
00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller
00:04.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+]
00:08.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:09.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0c.0 USB Controller: NEC Corporation USB (rev 43)
00:0c.1 USB Controller: NEC Corporation USB (rev 43)
00:0c.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
00:10.0 Ethernet controller: Atheros Communications, Inc. AR5211 802.11ab NIC (rev 01)
00:11.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 33)
00:12.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 05)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade XPAi1 (rev 82)
02:00.0 Ethernet controller: D-Link System Inc DFE-690TXD CardBus PC Card (rev 10)
rc-update -s

Code: Select all

kingal alex # rc-update -s
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
            coldplug |      default
         consolefont | boot
         crypto-loop |
               cupsd |
          domainname | boot default
                famd |
                 gpm |
              hdparm |
            hostname | boot
             hotplug |      default
             keymaps | boot
                lisa |
               local |      default nonetwork
          localmount | boot
             modules | boot
            net.eth0 |
            net.eth1 |      default
              net.lo | boot
            netmount |      default
                nscd |
             numlock |
              openct |
              pcmcia |      default
             portmap |
             pwcheck |
             reslisa |
           rmnologin | boot
              rsyncd |
           saslauthd |
                sshd |
           syslog-ng |      default
             urandom | boot
          vixie-cron |      default
                 xdm |
How do i cheek the alsa run level
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Feb 28, 2006 7:55 pm

Speedracer86,

Your ALSA user space software is missing or rc-update -s would have shown alsasound at the top.
Your kernel is not correct either, you have part of kernel alsa correcly installed but no modules to load to complete the rest of it or the rest is incorrectly built into your kernel.

To get the user space software, follow this guide but omit the emerge alsa-drivers and alsa-oss. They will detect you have kernel ASA and fail to run anyway.

To identify what is missing in your kernel, please plost the Sound section of the file /usr/src/linux/.config
Thats a section from your kernel config file.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

  • Quote

Post by Speedracer86 » Tue Feb 28, 2006 8:03 pm

[/code]#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

Code: Select all

Top
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

  • Quote

Post by Speedracer86 » Tue Feb 28, 2006 8:20 pm

Should I follow the kernal alsa guide or the alsa-driver guide?
brb: going to get food
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Feb 28, 2006 8:39 pm

Speedracer86,

You will have kernel ALSA - in fact it looks like you only have one bit missing and thats the kernel driver for you chipset.

From your lspci you have

Code: Select all

00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02) 
This needs the Intel/SiS/nVidia/AMD/ALi AC97 Controller option. Before we delve into your kernel, check the setting with

Code: Select all

/usr/src/linux $ grep SND_INTEL /usr/src/linux/.config
What is the output of that command ?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

  • Quote

Post by Speedracer86 » Tue Feb 28, 2006 9:13 pm

All I get is

Code: Select all

kingal alex # /usr/src/linux $ grep SND_INTEL /usr/src/linux/.config
bash: /usr/src/linux: is a directory
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Feb 28, 2006 9:24 pm

Speedracer86,

Oops I picked up the prompt too. Sorry about that try :-

Code: Select all

grep SND_INTEL /usr/src/linux/.config
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

  • Quote

Post by Speedracer86 » Tue Feb 28, 2006 9:28 pm

Code: Select all

CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
Top
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

  • Quote

Post by Speedracer86 » Tue Feb 28, 2006 10:50 pm

Any more help?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Mar 01, 2006 8:37 pm

Speedracer86,

If you have followed the ALSA guide, your sound should be working now.
You kernel is fine. If

Code: Select all

lsmod
does not show snd-intel8x0, then modprobe it.

Code: Select all

modprobe snd-intel8x0
This will fully populate your /dev/snd and /dev/sound folders. In particular, /dev/sound/dsp should be created.
Now run alsamixer or kmix, unmute your Master and PC (and others as required) and you should be able to play music.

To make sound start at boot, you now need to add alsasound to the boot runlevel

Code: Select all

rc-update add alsasound boot
and edit /etc/modules.d/alsa so it loads your module.
It needs a line that says

Code: Select all

alias snd-card-0 snd-intel8x0
Edit the alias snd-card-0... line already in the file.

Lastly do

Code: Select all

/etc/init.d/alsasound restart 
You can ignore any errors about alsasound not running or modules not loading unless its the snd-intel8x0 module, since all your other sound componets are built into your kernel.
We can edit your /etc/modules.d/alsa to remove the errors later, its just a tidy up.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Speedracer86
n00b
n00b
Posts: 28
Joined: Wed Feb 22, 2006 5:07 am

  • Quote

Post by Speedracer86 » Wed Mar 01, 2006 10:43 pm

Ok thanks I got sound in everything but KsCD for some reason.
Top
Post Reply

15 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic