LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Sound Card not worked properly :( (https://www.linuxquestions.org/questions/debian-26/sound-card-not-worked-properly-4175525662/)

jokar.mohsen 11-17-2014 10:22 AM

Sound Card not worked properly :(
 
Hello all.
I Reinstall my Kernel and Debian can detect my Sound card but when I play a Video or audio file, sound have very noise :(
some information are :

cat /proc/asound/cards :
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf7a14000 irq 46
1 [Intel_1 ]: HDA-Intel - HDA Intel
HDA Intel at 0xf7a10000 irq 46
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17

aplay -l :

**** List of PLAYBACK Hardware Devices ****
card 1: Intel_1 [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Intel_1 [HDA Intel], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

I used "alasamixer" to choose my sound card and everything is OK but Voice is noisily. According to the "http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel", I installed all Alsa manually but "/etc/​modutils/" not found and it is for Old Debian!!!. How can I solve my problem?

Cheers.

ondoho 11-17-2014 12:38 PM

Quote:

Originally Posted by jokar.mohsen (Post 5270925)
According to the http://www.alsa-project.org/main/ind...dule-hda-intel, I installed all Alsa manually

any reason why you want to compile from source things that should already be on your sytem?
alsa is pretty much part of the kernel these days and should work out of the box.
seeing, however, how you tinkered with things before, e.g. this thread - i'd say your best bet is to re-install debian and everything should work.
if not, at least install from the debian repos via apt.
if necessary.

jokar.mohsen 11-18-2014 05:09 AM

Quote:

Originally Posted by ondoho (Post 5270978)
any reason why you want to compile from source things that should already be on your sytem?
alsa is pretty much part of the kernel these days and should work out of the box.
seeing, however, how you tinkered with things before, e.g. this thread - i'd say your best bet is to re-install debian and everything should work.
if not, at least install from the debian repos via apt.
if necessary.

Yes, But as you know I never take any reply. Yes, It is part of Kernel but I don't know why my sound has noise :(. I guess that I need a correct configuration file.Can you tell me?

TB0ne 11-23-2014 10:43 AM

Quote:

Originally Posted by jokar.mohsen (Post 5271333)
Yes, But as you know I never take any reply.

Right...so why should we waste our time trying to help you?
Quote:

Yes, It is part of Kernel but I don't know why my sound has noise :(
Because you didn't install the libraries/modules correctly, against the advice you were given, which is not surprising given your posting history.
Quote:

I guess that I need a correct configuration file.Can you tell me?
As was said to you before, you need to do a total, fresh reinstall of things. Again, as with most of your threads (this one, and the other sound-related thread), you provide NO useful details. You don't tell us why you were installing from source, what you were trying to accomplish, if you tried using the config statement prefixes you were given, did a re-install of the modules after being GIVEN that information, or if you updated any of the other pieces. Yet you come back to ask for a 'correct configuration file'...which won't matter, since you have manually corrupted your system.

Doing a fresh re-installation is your best bet, given how you reply to people here.

jokar.mohsen 12-02-2014 10:27 AM

2 Attachment(s)
Quote:

Originally Posted by TB0ne (Post 5273837)
Right...so why should we waste our time trying to help you?

Because you didn't install the libraries/modules correctly, against the advice you were given, which is not surprising given your posting history.

As was said to you before, you need to do a total, fresh reinstall of things. Again, as with most of your threads (this one, and the other sound-related thread), you provide NO useful details. You don't tell us why you were installing from source, what you were trying to accomplish, if you tried using the config statement prefixes you were given, did a re-install of the modules after being GIVEN that information, or if you updated any of the other pieces. Yet you come back to ask for a 'correct configuration file'...which won't matter, since you have manually corrupted your system.

Doing a fresh re-installation is your best bet, given how you reply to people here.

Hey, I can't re-install my Debian because of some Applications and services. It is impossible for me. Can you tell me how can I re-install Kernel or Modules to fix it? Alsamixer can detect my sound card very nice. Please see the attachments. I wrote a config file for my sound :

cat /etc/asound.conf

pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}

after it my Player can Player Mp3 and other multimedia files but it has very noise and panic :(. Any idea to solve it?

TB0ne 12-02-2014 01:10 PM

Quote:

Originally Posted by jokar.mohsen (Post 5278244)
Hey, I can't re-install my Debian because of some Applications and services. It is impossible for me. Can you tell me how can I re-install Kernel or Modules to fix it? Alsamixer can detect my sound card very nice. Please see the attachments. I wrote a config file for my sound :

after it my Player can Player Mp3 and other multimedia files but it has very noise and panic :(. Any idea to solve it?

Again, as with many, MANY of your threads, you omit details, and make things VERY hard to understand. You mention both Intel and nVidia hardware, but don't actually SAY which hardware you're using or having problems with. You mention hda-intel, but that can be one of NUMEROUS different cards.

Again, Alsa support is built into the kernel. A config file won't solve anything, since that just SELECTS the hardware to use. Since you've done this, you've either corrupted the kernel module, compiled it with bad options, or have installed an earlier version. NONE of which are good things, nor are they easy to remedy.

As ondoho and myself have said: the only way to recover from what you've done, is to REINSTALL. It is not "impossible" to reload an OS, and since you should have backups of config files and scripts anyway, a fresh installation should take no more than 30 minutes. You also don't say what the "some applications and services" preventing you from the reload are. Also, knudfl pointed out in your other thread that you may have had issues with your manual installation...but you didn't respond to/acknowledge that, either.

You may not WANT to reload, but given the fact that you've gone out of your way to do this, rather than updating through the repos (as you've been told before), there's not alot more anyone can tell you.

EDDY1 12-02-2014 01:25 PM

Try lowering the output volumes

TB0ne 12-02-2014 02:44 PM

Quote:

Originally Posted by EDDY1 (Post 5278340)
Try lowering the output volumes

Maybe..COULD just be distortion, but the OP only has said "very noise and panic". Assuming that meant static or some other artifacting on playback, but it's dangerous to assume. Also, this would have had to follow the OP from before the manual build of the alsa modules.

EDDY1 12-02-2014 05:52 PM

Just looking at the output levels displayed. Also I just think that it's worth a "Try". I never did ask if the speakers were new or used.

TB0ne 12-03-2014 09:18 AM

Quote:

Originally Posted by EDDY1 (Post 5278458)
Just looking at the output levels displayed. Also I just think that it's worth a "Try". I never did ask if the speakers were new or used.

Absolutely worth a try..I didn't even think of that, since it would not occur to me to NOT try that first...or even ask about the speakers. The volume would cause distortion, but not a 'panic', if the OP is reporting things accurately. Bad speakers/connection would also cause noise, but the panic part is what caught my eye.

Always worth trying the easiest things first.

jokar.mohsen 12-05-2014 03:50 AM

Quote:

Originally Posted by TB0ne (Post 5278812)
Absolutely worth a try..I didn't even think of that, since it would not occur to me to NOT try that first...or even ask about the speakers. The volume would cause distortion, but not a 'panic', if the OP is reporting things accurately. Bad speakers/connection would also cause noise, but the panic part is what caught my eye.

Always worth trying the easiest things first.

I tested the Speaker and it is OK and I use HDA intel device. I installed the last version of ALSA and I have same problem now :(

TB0ne 12-05-2014 09:00 AM

Quote:

Originally Posted by jokar.mohsen (Post 5279886)
I tested the Speaker and it is OK and I use HDA intel device. I installed the last version of ALSA and I have same problem now :(

And we go back to "You need to re-install, since you've manually updated those modules". You *COULD* theoretically remove them manually, but it would take a pretty good while, and chances are remnants of what you did will remain, and cause even MORE problems. This is why you don't build such things manually, and why we suggested to you AT THE VERY BEGINNING, to reload your system.

That said, you STILL don't provide details, despite being asked numerous times. HDA/Intel is fine...but you don't say what KIND of sound card this is, what kind of system it's in, or if you've tried that card on a different system or not. And can you remove the Intel card and get sound from nVidia? Can you try another sound card???

jokar.mohsen 12-07-2014 05:27 AM

Quote:

Originally Posted by TB0ne (Post 5280017)
And we go back to "You need to re-install, since you've manually updated those modules". You *COULD* theoretically remove them manually, but it would take a pretty good while, and chances are remnants of what you did will remain, and cause even MORE problems. This is why you don't build such things manually, and why we suggested to you AT THE VERY BEGINNING, to reload your system.

That said, you STILL don't provide details, despite being asked numerous times. HDA/Intel is fine...but you don't say what KIND of sound card this is, what kind of system it's in, or if you've tried that card on a different system or not. And can you remove the Intel card and get sound from nVidia? Can you try another sound card???

Can I restore my previous modules or install a new kernel with old configuration?

TB0ne 12-07-2014 09:26 AM

Quote:

Originally Posted by jokar.mohsen (Post 5280797)
Can I restore my previous modules or install a new kernel with old configuration?

If you have a backup of your entire system, it is *POSSIBLE* to restore the previous modules....but you would have to know EACH AND EVERY FILE and LIBRARY that you modified with the manual installation. Do you know that? Because if you don't, then you can't.

And why would you want to install a new kernel with the OLD configuration??? AGAIN, as you've been asked SEVERAL TIMES NOW, what are you trying to accomplish??? Why are you installing new kernels and building ALSA from source???? Did you read/understand the questions asked previously? Did you try a different sound card? The nVidia output? That sound card in another machine? Do ANY basic diagnostics before manually breaking your system?

jokar.mohsen 12-08-2014 04:20 AM

I men is that I configure a new kernel with old Kernel configuration.I guess that when I install anew kernel, All modules are separate from old Kernel.


All times are GMT -5. The time now is 02:54 PM.