LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 01-22-2013, 04:27 PM   #1
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Rep: Reputation: Disabled
Need help troubleshooting ALSA in Debian please!


Hey guys, I've installed a minimal Debian system from netinstall, then installed gnome-core.

I have installed alsa-base, alsa-mixer and other alsa tools, but cannot get any sound. Trying to change volume gives me a "no device detected" or similar.

Trying to run alsamixer gives me "cannot open mixer: No such file or directory" both as user and root

My user is already added to 'audio' group

Speakers are all plugged in/turned up

Somehow, I don't think it is detecting my audio device

Output of lspci (in regards to audio) is as follows

00:1b.0 Audio device: Intel Corporation Device 1e20 (rev 04)
Subsystem: Giga-byte Technology Device a002
Flags: bus master, fast devsel, latency 0, IRQ 3
Memory at f6110000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link

01:00.1 Audio device: nVidia Corporation GF104 High Definition Audio Controller (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device 2166
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at f6080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>

Any help is greatly appreciated
 
Old 01-23-2013, 06:16 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,783

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
What does '/sbin/lsmod | grep snd' show?
 
Old 01-23-2013, 10:04 AM   #3
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
What does '/sbin/lsmod | grep snd' show?
Code:
/sbin/lsmod | grep snd
Gives no output
 
Old 01-23-2013, 01:18 PM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,783

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Since you have done a minimal install, I would guess you have not installed alsa, and the sound drivers. I think the driver snd-hda-intel.ko would be the correct driver. You will also need soundcore and snd loaded.

Try a 'locate snd-hda-intel.ko' to see if you have the driver. If not, you will have to find it in the deb packages and install it. That is a common driver, so it should be in a .deb package. I believe sound and snd are also needed.
 
Old 01-24-2013, 12:17 PM   #5
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
'locate snd-hda-intel.ko'

gives

'locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory'

I can't find snd-hda-intel.ko for my kernel. I'm using Squeeze with 2.6.32-5-amd64
 
Old 01-24-2013, 02:45 PM   #6
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,783

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
That driver should be in the repos. Look there first. I don't run debain, so I can not tell you what the package will be called.
 
Old 01-25-2013, 02:34 PM   #7
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
Unfortunately, the snd-hda-intel.ko package is not in the repos. In all fairness, I don't even know what I'm looking for.

Any other ideas?

Cheers
 
Old 01-25-2013, 02:40 PM   #8
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
Ah, here's an update...

I used 'sudo updatedb'

Then I used 'locate snd-hda-intel.ko' which returned '/lib/modules/2.6.32-5-amd64/kernel/sound/pci/hda/snd-hda-intel.ko'

So it appears I have this file. What next?
 
Old 01-25-2013, 02:46 PM   #9
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,783

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
As root, three commands should load it.

1. 'modprobe soundcore'

2. 'modprobe snd'

3. 'modprobe snd-hda-intel'

All commands without the quotes, just what is between them. You should get no feedback. In this case, no news is good news. If everything loads, then bring up a mixer, make sure nothing is muted, turn up the sound and see if it works.

If anything fails, copy and paste the errors.
 
Old 01-25-2013, 03:01 PM   #10
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
I ran

'modprobe soundcore'

'modprobe snd'

'modprobe snd-hda-intel'

as root. I received no error messages.

Running alsamixer returns 'cannot open mixer: No such file or directory'
 
Old 01-25-2013, 04:39 PM   #11
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,783

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
It appears you do not have alsamixer installed. Install it, or any other mixer will do.

I would guess alsamixer is part of asla-utils. You should have sound now.

Last edited by camorri; 01-25-2013 at 04:42 PM.
 
  


Reply

Tags
alsa, audio, debian, sound


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting random reboots, Debian 6 kernel 3.2, Xeon E5-1650 ctrlbrk Debian 4 05-01-2012 11:29 PM
Hardware troubleshooting of motherboard on Debian shayno90 Debian 1 05-28-2011 10:54 PM
Debian doesn't read USB devices, need troubleshooting ideas....PLEASE?! tmick Debian 8 03-18-2010 01:39 PM
Please Kindly Assist with Debian Crash/Freeze Troubleshooting dannybuntu Debian 5 04-23-2008 04:22 PM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM


All times are GMT -5. The time now is 09:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration