LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2014, 03:48 AM   #1
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Rep: Reputation: 6
Question After trying to work a microphone on slackware eventually broke with alsamixer


Dear everyone,
Well it all started with the purchase of new microphone worked good in windows7 and i gave a shot to work with slackware32 3.2.29smp, i plugged in the microphone slot, i could here music which is fine and set a go with Skype.. there i found the trouble my mic didn't record any of the sound..

After googling the below links..
link1. http://www.linuxquestions.org/questi...-a-4175437726/
link2. http://www.linuxquestions.org/questi...o-woes-752863/

>> I checked my alsamixer config enabled and adjusted all configurations relating to mic and volume settings.

>> Further as per the post #7 link1 followed the allend's link http://docs.slackware.com/howtos:har..._snd-hda-intel
tried all instructions and found out my codec
Code:
$cat /proc/asound/card*/codec* | grep Codec
Codec: Realtek ALC888 
Codec: Intel IbexPeak HDMI
and realized there was no model as close possible listed at/usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt

>> then i google'd my codec for the model and came across the link
https://help.ubuntu.com/community/HdaIntelSoundHowto
where at the bottom of the page i found under the heading "Another Solution" which is similar to my audio codec(ofcourse!).. followed the procedure and installed the asladriver from the link posted there.. and rebooted.

>> while booting i figured no alsa modules loaded and running following commands even as root returned common results as " No such file or Directory"

#alsamixer
#cat /proc/asound/card0/codec* | grep Codec
#cat /proc/asound/card*/codec* | grep Codec

>> now problem is no audio output even with normal speakers or headphone.

I think i broke my alsa configuration or I am not sure what I have done..
But when i try to find out the alsadriver recently that i installed i deleted the directory unfortunately(/home/../alsa-driver(where i installed the realtek alsadriver))..


I hope someone could help me to return back to normal and also to make the mic work. And any technical info needed to repair, i am happy to provide..

Thanks in advance.


P.S. please forgive me if i ask any noob question.. I am just a newbie

Last edited by slappisMekaniker; 09-28-2014 at 11:04 PM.
 
Old 09-28-2014, 04:07 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,565

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
I had that - the mic was turned off in asound.state

Check /etc/asound.state. You can edit it manually and then run 'alsactl restore' to fix issues.
 
Old 09-28-2014, 04:27 AM   #3
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
thankyou for replying business kid
...

i am not sure what to check in etc/asound.state and for running "$alsactl restore" i got
"alsactl: load_state:1696: No soundcards found..."

but /etc/asound.state goes like this
Code:
state.Intel {
	control.1 {
		iface MIXER
		name 'Channel Mode'
		value '6ch'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 '2ch'
			item.1 '4ch'
			item.2 '6ch'
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.3 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Center Playback Volume'
		value 31
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'LFE Playback Volume'
		value 31
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
		}
	}
	control.8 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.12 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.13 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.14 {
		iface MIXER
		name 'Rear Mic Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 1200
			dbvalue.1 1200
		}
	}
	control.15 {
		iface MIXER
		name 'Rear Mic Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.16 {
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 21
		value.1 21
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -300
			dbvalue.1 -300
		}
	}
	control.17 {
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.18 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 1200
			dbvalue.1 1200
		}
	}
	control.19 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.21 {
		iface MIXER
		name 'Rear Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.22 {
		iface MIXER
		name 'Front Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.25 {
		iface MIXER
		name 'Capture Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -1650
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.26 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -1650
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.27 {
		iface MIXER
		name 'Input Source'
		value 'Rear Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Rear Mic'
			item.1 'Front Mic'
			item.2 Line
		}
	}
	control.28 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Rear Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Rear Mic'
			item.1 'Front Mic'
			item.2 Line
		}
	}
	control.29 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface MIXER
		name 'Master Playback Volume'
		value 31
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
		}
	}
	control.35 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.37 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.38 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.39 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access read
			type BYTES
			count 0
		}
	}
	control.41 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.42 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 120
		value.1 120
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
}

Last edited by slappisMekaniker; 09-28-2014 at 06:01 AM. Reason: added /etc/asound.state
 
Old 09-28-2014, 04:54 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,072
Blog Entries: 3

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
Quote:
i could here music which is fine and set a go with Skype
are you saying in skype it is not using your mic.
Is that the question.
if it is I can help you but the question should be how to get my mic to work with skype and pulseaudio.

if not please clarify this for me.

open a terminal and type.
Code:
arecord -l
now look for your device. Now if you have a full install of pulseaudio and pavucontrol let me know. that's what we are going to need for selecting different devices for skype. Then we will need to set up /etc/pulse/default.pa

as you should know slackware does not use pulseaudio because there is nothing nice about it.
if this is about skype and your mic. let me know.
I have set up a build for it and it works.

you may want to add this to your./etc/pulse/default.pa before you do anything.

Code:
load-module module-alsa-sink device=dmix
set-default-sink alsa_output.dmix
this way it will lock your default microphone.
if using kde go to "system settings" "multimedia" "phonon". now Select "Audio Recording"
on the left now on the right move the recording device to the top. if you have a round plug mic. that is using
your soundcard move that sound card to the top. again highlight "Audio Recording" now below click set to device list.

If it is a usb mic then find that usb mic like your webcam or your usb mic and put that device to the top.
these become your default devices.
you need to reboot after making changes to you ./etc/pulse/default.pa and just reboot
after setting up phonon. when you see the warnings you can ignore them.

Quote:
I had that - the mic was turned off in asound.state

Check /etc/asound.state. You can edit it manually and then run 'alsactl restore' to fix issues.
if you never have done a alsactl store then alsa will reset to default.
open a terminal a terminal and assume root
Code:
bash-4.2# rm /var/lib/alsa/asound.state
bash-4.2# rm /var/lib/alsa/asound.state.lock
now reboot. if you have a~/.asoundrc set up let me know. I do not use one.

Last edited by Drakeo; 09-28-2014 at 05:17 AM.
 
Old 09-28-2014, 05:24 AM   #5
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Quote:
are you saying in skype it is not using your mic.
Is that the question.
if it is I can help you but the question should be how to get my mic to work with skype and pulseaudio.

if not please clarify this for me
Quote:
if this is about skype and your mic. let me know.
Right from the beginning my mic didn't work at all in slackware.. so tried to chagne settings in alsamixer. But that didn't work. I will use it not only with skype but for other recording also. I hope you are clear with this..

Next,
Code:
bash-4.2# arecord -l
arecord: device_list:256: no soundcards found...
this is my recent... becoz, as I stated in the post #1
Quote:
>> then i google'd my codec for the model and came across the link
https://help.ubuntu.com/community/HdaIntelSoundHowto
where at the bottom of the page i found under the heading "Another Solution" which is similar to my audio codec(ofcourse!).. followed the procedure and installed the asladriver from the link posted there.. and rebooted.
followed this step and finally on rebooting...I noticed that no alsa program loaded and then I realized that i could neither hear music with my microphone nor with speaker.. Totally!!
Code:
bash-4.2# alsamixer
cannot open mixer: No such file or directory
Quote:
if using kde go to "system settings" "multimedia" "phonon". now Select "Audio Recording"
I use xmonad.


Also that.. It says no sound card found when i command "
Code:
#alsactl restore
" as I stated in my previous post
 
Old 09-28-2014, 05:30 AM   #6
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
And i forgot .. I don't have pulseaudio nor pavumeter.. Just alsamixer.
Quote:
if you never have done a alsactl store then alsa will reset to default.
I have done alsactl store and it loads everytime on booting.. I have noticed... But after following the Ubuntu link for realtek alsadriver as I posted #1, I do not see alsactl or alsamixer loading in the boot menu, which is unusual!..


Quote:
if you have a~/.asoundrc set up let me know
after removing that file and rebooted.. But no ~/.asoundrc I found!

Last edited by slappisMekaniker; 09-28-2014 at 05:40 AM.
 
Old 09-28-2014, 06:33 AM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,072
Blog Entries: 3

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
ok you have no sound card enabled you may want to check your bios.
make sure it is enabled.
and
Quote:
lsmod | grep snd
but your first post shows you have a card. now when you set up your user did you give it audio permissions.? and plug devices you may log in as root see if you have these problems.

you can also check your kuser. in System. or in system settings.
alsactl store is used after you have set your mixer setting like you want. then as root
you do a alsactl store this creates a copy and when you reboot your machine or
restart alsa such as /etc/rc.d/rc.alsa restart it will automatically run a alsactl restore
and copy your setting back.
Quote:
>> then i google'd my codec for the model and came across the link
https://help.ubuntu.com/community/HdaIntelSoundHowto
where at the bottom of the page i found under the heading "Another Solution" which is similar to my audio codec(ofcourse!).. followed the procedure and installed the asladriver from the link posted there.. and rebooted.
lets focus on slackware here ok ubuntu sound system is different ok.

Last edited by Drakeo; 09-28-2014 at 06:56 AM.
 
Old 09-29-2014, 12:05 AM   #8
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Quote:
check your bios
checked audio is enabled.

Code:
bash-4.2$ lsmod | grep snd 
bash-4.2$ su
Password: 
bash-4.2# lsmod | grep snd 
bash-4.2#
both as normal and su user returned nothing but another prompt.

I have given my user account into audio group already before the breakdown itself.

Code:
bash-4.2# /etc/rc.d/rc.alsa restart
bash-4.2# alsamixer
cannot open mixer: No such file or directory
bash-4.2#
Code:
bash-4.2# alsactl store
alsactl: save_state:1580: No soundcards found...
bash-4.2#
alsactl store returns the above strings..


Quote:
lets focus on slackware here ok ubuntu sound system is different ok
I didn't focus on ubuntu sound system. I quoted that ubuntu link because the solution posted over there matched my codec configuration since they are of same.. I tried that solution obviously.. this is what said in that forum https://help.ubuntu.com/community/HdaIntelSoundHowto

Quote:
Another solution

Check if your device card model is a Realtek and download alsa from Realtek site:

Quote:
cat /proc/asound/card0/codec* | grep Codec
Codec: Realtek ALC888
Realtek High Definition Audio Codecs

Explained at this ubuntu forums thread
moreover my codec is that same Realtek ALC888 where i did not find any matching model as listed in /usr/src/linux-3.2.29/Documentation/sound/alsa/HD-Audio-Models.txt left me to try out that procedure explained !!

Last edited by slappisMekaniker; 09-29-2014 at 12:14 AM.
 
Old 09-29-2014, 12:20 AM   #9
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Post

The pity thing is that same command does not works now..
Quote:
bash-4.2# cat /proc/asound/card0/codec* | grep Codec
cat: /proc/asound/card0/codec*: No such file or directory
bash-4.2#
this is the result i do get..

And for your more information
Code:
bash-4.2# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:16.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset PT IDER Controller (rev 06)
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82578DC Gigabit Network Connection (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
Code:
bash-4.2# lsmod
Module                  Size  Used by
pci_stub                 961  1 
vboxpci                15028  0 
vboxnetadp             19239  0 
vboxnetflt             17331  0 
vboxdrv               234485  3 vboxnetflt,vboxnetadp,vboxpci
ipv6                  238549  46 
xt_tcpudp               1803  1 
nf_conntrack_ipv4       9556  1 
nf_defrag_ipv4          1007  1 nf_conntrack_ipv4
xt_state                 955  1 
nf_conntrack           44077  2 xt_state,nf_conntrack_ipv4
iptable_filter          1084  1 
ip_tables               9154  1 iptable_filter
x_tables               11437  4 ip_tables,iptable_filter,xt_state,xt_tcpudp
lp                      7119  0 
fuse                   58282  5 
usbhid                 31118  0 
hid                    65824  1 usbhid
processor              23020  0 
i915                  372988  2 
drm_kms_helper         22825  1 i915
drm                   151850  3 drm_kms_helper,i915
video                   9938  1 i915
ppdev                   4710  0 
parport_pc             16755  1 
thermal_sys            12122  2 video,processor
parport                26159  3 parport_pc,ppdev,lp
hwmon                   1033  1 thermal_sys
i2c_algo_bit            4543  1 i915
mei                    27885  0 
intel_agp               8712  1 i915
intel_gtt              11571  3 intel_agp,i915
e1000e                128963  0 
i2c_i801                6952  0 
agpgart                22087  3 intel_gtt,intel_agp,drm
i2c_core               16454  5 i2c_i801,i2c_algo_bit,drm,drm_kms_helper,i915
evdev                   7314  6 
button                  3665  1 i915
loop                   14650  0
 
Old 09-29-2014, 12:24 AM   #10
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
I think more or less my state is more similar to this thread explained at Arch forum except that the problem had occured as kernel bug but as for me i broke alsamixer which was working fine untill when I was trying to install the realtek alc888 driver I guess..!

Last edited by slappisMekaniker; 09-29-2014 at 12:28 AM.
 
Old 10-15-2014, 02:20 PM   #11
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Lightbulb

HI all,
After googling for a long time these days i finally found something missing when i eventually running the command
Code:
bash-4.2# lspci -v
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, fast devsel, latency 0, IRQ 42
	Memory at fe000000 (64-bit, non-prefetchable) [size=4M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f160 [size=8]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915

00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, fast devsel, latency 0, IRQ 40
	Memory at fe429000 (64-bit, non-prefetchable) [size=16]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: mei

00:16.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset PT IDER Controller (rev 06) (prog-if 85 [Master SecO PriO])
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 18
	I/O ports at f150 [size=8]
	I/O ports at f140 [size=4]
	I/O ports at f130 [size=8]
	I/O ports at f120 [size=4]
	I/O ports at f110 [size=16]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Kernel driver in use: ata_generic

00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06) (prog-if 02 [16550])
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
	I/O ports at f100 [size=8]
	Memory at fe428000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Kernel driver in use: serial

00:19.0 Ethernet controller: Intel Corporation 82578DC Gigabit Network Connection (rev 06)
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, fast devsel, latency 0, IRQ 41
	Memory at fe400000 (32-bit, non-prefetchable) [size=128K]
	Memory at fe427000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at f020 [size=32]
	Capabilities: [c8] Power Management version 2
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] PCI Advanced Features
	Kernel driver in use: e1000e

00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, medium devsel, latency 0, IRQ 16
	Memory at fe426000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCI Advanced Features
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at fe420000 (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

00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at fe425000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCI Advanced Features
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	Capabilities: [50] Subsystem: Intel Corporation Device 0036

00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, medium devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=10 <?>

00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
	I/O ports at f0f0 [size=8]
	I/O ports at f0e0 [size=4]
	I/O ports at f0d0 [size=8]
	I/O ports at f0c0 [size=4]
	I/O ports at f0b0 [size=16]
	I/O ports at f0a0 [size=16]
	Capabilities: [70] Power Management version 3
	Capabilities: [b0] PCI Advanced Features
	Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
	Subsystem: Intel Corporation Device 0036
	Flags: medium devsel, IRQ 18
	Memory at fe424000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f000 [size=32]
	Kernel driver in use: i801_smbus

00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06) (prog-if 85 [Master SecO PriO])
	Subsystem: Intel Corporation Device 0036
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f070 [size=8]
	I/O ports at f060 [size=4]
	I/O ports at f050 [size=16]
	I/O ports at f040 [size=16]
	Capabilities: [70] Power Management version 3
	Capabilities: [b0] PCI Advanced Features
	Kernel driver in use: ata_piix

3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0
yeah, in the audio device section i see no kernel driver in use. Is that eventually means kernel has failed to load audio driver which is why I don´t see any alsa drivers loaded during the boot.. I guess fixing this will make me to get back audio working?? Any suggestions or what did I missed???
 
Old 10-15-2014, 02:33 PM   #12
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Also while checking out the various forums regarding this problem, crossed across this forum and just out of curiosity i checked the command ¨modprobe sb ¨ returned me
Quote:
bash-4.2# modprobe sb
FATAL: Module sb not found.
has this got anything to do with my problem?
 
Old 10-15-2014, 11:56 PM   #13
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
And finally It is clear that audio driver(kernel module for intel onboard audio) has not loaded during the boot as I suspected.
And it is ridiculous that I failed to notice that no audio driver has got loaded, while checking with lsmod command in post #9. Anyways, I think I have found out my problem, for sure?

Maybe, and right now i am working on it.. If someone could help at all I guess I gonna solve this problem very quickly.

Last edited by slappisMekaniker; 10-15-2014 at 11:59 PM.
 
Old 10-16-2014, 01:14 AM   #14
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,072
Blog Entries: 3

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
sure well make sure that the kernel module is there is this a stock kernel or did you rebuild it. ?? if it is a stock kernel then I am lost I have that same card.
Code:
1. Check bios make sure it is enabled
2. make sure you are running slackware stock kernel
3. make sure you have the /etc/modprobe.d/ snd-hda-intel.conf and in it options snd-hda-intel model=auto 
4. you may want to make it slot=0 in your sound.conf
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel
this makes it the default device
after that I am lost because I have the same card on my slack14.0 that is my set up.
here is a copy of my actual /etc/modprob.d sound.conf
Code:
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel,snd-usb-audio,snd-usb-audio
I have multiple usb sound devices I want loaded first after my built in card then I want my nvidia hdmi after them.

Last edited by Drakeo; 10-16-2014 at 01:30 AM.
 
Old 10-16-2014, 03:20 AM   #15
slappisMekaniker
Member
 
Registered: Nov 2013
Location: The Blue planet
Distribution: Slackware 14.0
Posts: 64

Original Poster
Rep: Reputation: 6
Angry

Hi Drakeo...
I am happy at least that someone replied after a long time.. First of all thanks to you...
Coming back to your suggested hints,
1.bios is enabled
2.I am using slackware stock kernel only...
3.I have the /etc/modprobe.d/ snd-hda-intel.conf and in it options snd-hda-intel model=auto
4.And for this part i don´t have any other lines in sound.conf except for 3 point above.

And as I suspected in the post #13 kernel didnot load any audio driver right when I tried to get my microphone work..

Anyhow after getting to know the problem from my last post, i gathered my courage to install the driver right away from the source (as I could not find any .txz files in slackware cd) and followed the instructions at tldp and for now i can run alsa commands successfully.

And so i ran alsamixer and adjusted the sound card for hda intel and ran test with kmix. It works but when i opened a movie in mplayer and found no sound from it
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
AlsaMixer Lacks Microphone Items OtagoHarbour Linux - Hardware 4 05-08-2014 08:35 AM
FC17 Gnome login - every keystroke beeped, but eventually registers. What broke? ivordurham Fedora 3 03-13-2013 02:52 PM
Idle speculation: who will eventually take over Slackware? dugan Slackware 29 04-21-2012 08:45 PM
Microphone bar does not exist on alsamixer menu phys Slackware 9 02-14-2009 11:36 AM
microphone doesn't work, shown red in alsamixer ryukun Linux - Hardware 0 09-29-2006 07:15 PM


All times are GMT -5. The time now is 02:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration