You are not logged in.
When I plug in my headphones and all the capture sliders are on full (including boost), my mic will record something, because I can hear a crackling sound in my headphones, a bit like the noise OSS4 would produce when testing that out... : \
Offline
For me the recording problem is not the hardware but the way alsa did things, I would get dropouts periodically (it would make any voice call unbearable) it seemed like there was some kind of buffer underrun, with exactly the same hardware oss works fine (using my notebook, can't change anything).
As for most programs things went well and I could get sound from many programs at once, and I did mention that, but if I used skype for example it would hijack the soundcard. I know there is the workaround of defining the default device to use dmix so it works better, but even in that case sometimes flash would hijack my soundcard sometimes (programs using alsa should use dmix by themselfs but some don't). As for playback quality, the culprit of bad quality with alsa is the crappy resampling algorithm that is used by default, I also tried changing that following some "tutorials" to no avail. As for oss4 not coping well with standby or hibernation (in my case at least) is that if I put my pc in standby and wake it up then all the sound settings go haywire, I have also seen in some other threads that for oss people would need to write a small script to stop the daemon before standby and start it again when resuming.
As for oss taking the whole system down ... it happened to me once and it had some help from me and mplayer.
As for your case of having better sound from an old soundblaster, its perfectly understandable, onboard cards can never sound as good as addon ones, you have lots of noisy stuff really near the onboard card, so this noise will affect the sound quality. If you use an addon card then it is a bit further away from the noisy stuff and in an addon card the engineers will not save on proper filtering and can do a proper pcb layout.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I don't know what else to think of. A forum search under 'no sound hda intel' gives many messages with problems similar to the one you're having, maybe you can find a solution there. EDIT : For example , this :
"I added
options snd-hda-intel probe_mask=1
to mobprobe.conf and now my sound works"
If nothing goes, I'd do a tabula rasa and start again from zero.
ROOKIE, sound and printing can get pretty complicated, thank god for alsa and cups ! I started using linux some five years ago, and back then it was a real nightmare.
Last edited by michaelks (2009-02-03 17:38:55)
Offline
Yes I can believe that, I have started with working with linux seriously maybe one and a half years ago and most things work fine now but some like you say can drive anyone crazy. Sound already drove me crazy but I have it working as I want now (if it works don't mess it with ) and printing was easy too but .... I'm considering to buy a new printer and a new scanner .... I know trouble is waiting for me
Anyway back on topic, I don't know if your laptop had vista installed (and if it still does), if the answer is yes try the sound there ... if it doesn't work its a hardware problem otherwise its just a software problem. If nothing worked so far I would want to clear that doubt out of my mind.
Also in alsamixer try to unmute the surround channel (if that control is there), I've seen people solving no sound problems that way ... and stupid question now ... you unmuted the sound outputs right?
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Basically, yes to all
I've just did a complete whipe of my HD and reinstalled Arch, tried to start with OSS instead of alsa this time, but OSS wouldn't recognize the modules, so I went back to alsa, which is now still mute. Checked if everything was muted, or not, Vista had sound, but I don't have the surround channel controller.
And yes, you're right, some things can drive you crazy in Linux. Last time it was wifi on xubuntu which drove me nuts. Strangely, that worked almost out of the box on Arch, but now sound is giving me almost as much trouble. Having no sound in Arch is pretty much no-go for me, so if I can't get it work at all, I'll have to reinstall Windows... Think of the horror! I need help! I beg you! *offers his firstborn*
Offline
Listen, may i suggest, since you've wiped everything out, why don't you try good old slackware, just to clear matters. It comes with a 'huge' kernel (drivers even for your refrigerator included), and it is the most stable linux distro. You only need the first two isos for a complete install. I think it's worth a try. Now it's at version 12.2. Maybe you can find someone who has the disks, they used to come with some pc magazines, so you don't have to download them.
EDIT : Oh wait, I remember now reading that module snd_pcm was the cause of no sound for many people. Have you tried removing it ?
Last edited by michaelks (2009-02-04 00:34:07)
Offline
Will do when downgrading the kernel isn't going to work
Offline
Tried downgrading the kernel, but ofcourse I got some weird ramfs boot error, after which I tried to remove snd-pcm without killing off snd-hda-intel, which proved impossible.
Not going to go for anything less than Arch at this point, if it's Linux, though. None of the search-results about similar problems yield any results like my problem, atleast, none of the solutions work for me.
Offline
Well at least you could try a live cd of another distro and see what gives.
EDIT : A spinoff to all this : i installed oss and in fact the sound is much better !
Last edited by michaelks (2009-02-04 04:15:06)
Offline
Speaking of modules .... try blacklisting pcspkr or any other similar to this one, sometimes it causes problems, also try to remove any modules that are related to sound and leave only the ones you need to load manually.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Did all of that Seems my problem is pretty exotic lol, nothing will work : \
Edit: SEMI-progress! When I play a music file, and have my sound on the highest volume possible, ear damaging high, I can VERY faintly hear the song played. Volume is something like hearing music played with a headphone from 2 metres away.
Last edited by Gandalf515 (2009-02-04 12:15:16)
Offline
That may well be a software problem, but you might like to try a couple of things:
#1 Try pulling your headphone plug out of the socket half-way. Be prepared for the volume to possibly skyrocket to whatever setting you have it at, so you might want to set the headphones somewhere where you could hear them or turn the volume down. On the other hand, however, this might not work at all.
#2 Check if your headphones are plugged into the mic or line out ports - Plugging non-line-level speakers into a line out port, at least, will produce the exact same problem as you're facing.
If #1 works by the way, and you don't have your headphones in the line out port, it's likely some kind of bizarre hardware issue and I've no idea what to do next.
-dav7
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline
It seems I got myself a new card... o.O
This was my old output:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC660-VD Analog [ALC660-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
This is my new one:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC660-VD Analog [ALC660-VD Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC660-VD Digital [ALC660-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
All I changed was my modprobe, from model=3stack-660 to auto.
I'm not actually using headphones, I've my speakerset plugged into the headphone jacked, with volume all the way to max, and the system settings to max as wel. Changing the input jacks doesn't work.
Offline
So, noone able to help me? : \
Offline
1)Are you SURE there's no 'azalia codec' or such onboard sound device, default enabled on your mobo bios ?? As stated, if onboard device is enabled on my gigabyte board, i get no sound from the card.
2)Did you try removing your sound card and using the onboard sound, if any ? (Then of course bios enabled).
3)Did you try a third sound board ?
If it's not a hardware problem, it SHOULD work. Yesterday i installed oss, substituted alsa for oss /etc/rc.conf, rebooted and everything worked. By the way, this is what oss said after install :
Open Sound System was installed. Now you should add 'oss'
to your DAEMONS variable at /etc/rc.conf, and start the
daemon by running /etc/rc.d/oss start.
Note that OSS can't currently work together with kernel
ALSA modules, so they were moved out by the OSS install
scripts. If you want the ALSA kernel modules back, you can
just remove this package using pacman.
Please note that OSS stores some of its configuration files
at /usr/lib/oss. If you are upgrading from an older OSS
release and it doesn't work properly, try removing that
directory and reinstall this package.
Hope this helps.
EDIT : Not a single module beginning with snd_ was left. I had to remove those from the module section of /etc/rc.conf so as not to get a boot message about them.
Oh, and did you set the audio driver to oss or alsa on whatever sound app you were trying to use (sorry if this sounds stupid) ?
Last edited by michaelks (2009-02-05 03:27:54)
Offline
I can't remove my hardware, since I'm on a laptop. I'll try OSS again, and like you said remove the snd-modules, because I can remember my screen being spammed with not being able to find those modules at boot. I'm pretty sure it's not my hardware, since it all worked on Windows Vista. Nothing in my bootscreen about the soundcard either, so that's not an option.
With alsa, I just used aplay to test if I had sound, and everytime I used it, I wouldn't get any errors, and dmesg would show this:
]$ dmesg | grep HDA
HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
HDA Intel 0000:01:00.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
HDA Intel 0000:01:00.1: setting latency timer to 64
Edit: Installed OSS now, and dmesg gives me the old and known:
$ dmesg | grep hda
oss_hdaudio 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
oss_hdaudio: Unknown HDA codec 0x10ec0660
oss_hdaudio: Unknown HDA codec 0x15433155
oss_hdaudio: Unknown HDA codec 0x10ec0660
oss_hdaudio: Unknown HDA codec 0x15433155
oss_hdaudio 0000:00:14.2: PCI INT A disabled
oss_hdaudio 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
oss_hdaudio: Unknown HDA codec 0x10ec0660
oss_hdaudio: Unknown HDA codec 0x15433155
oss_hdaudio: Unknown HDA codec 0x10ec0660
oss_hdaudio: Unknown HDA codec 0x15433155
Another edit: If I clear dmesg, and run osstest again, dmesg stays cleared of anything to do with HDA. Sound production seems a bit better than alsa, when I plug in my speakers, but still way too low and distorted. When using osstest like:
$ osstest
Sound subsystem and version: OSS 4.1 (b 1051/200901021429) (0x00040100)
Platform: Linux/i686 2.6.28-ARCH #1 SMP PREEMPT Sun Jan 25 10:13:11 UTC 2009
*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 0): HD Audio play pcm1
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47961.00 Hz (-0.08%)>
/dev/oss/oss_hdaudio0/pcm1 (audio engine 1): HD Audio play pcm2
- Performing audio playback test...
<left> ^C
... it doesn't get past the first test, when it plays pcm0. The rest I can't hear. I also decided to let osstest loop on pcm0, and I can mute everything, and turn all the sliders down, except for pcm1-mute, and the pcm1 slider. Which is odd, since it won't play pcm1 in osstest.
Yet another edit: Hmm, when I try looping osstest into playing pcm1 it spams my terminal with this:
*** Some errors were detected during the tests ***
*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm1 (audio engine 1): HD Audio play pcm2
- Performing audio playback test... ^C
Killed every process related to oss, and it's strange that it says HD Audio play pcm2, when I selected card nr. 1 via osstest -lV 1
Last edited by Gandalf515 (2009-02-05 14:59:57)
Offline
Okay, after some Googling, I solve one not-found codec, by adding a line in the OSS source and rebuilding, and now this is the output:
$ ossinfo -v3
Version info: OSS 4.1 (b 1051/200902041430) (0x00040100) GPL
Platform: Linux/i686 2.6.28-ARCH #1 SMP PREEMPT Sun Jan 25 10:13:11 UTC 2009 (nealhost)
Number of audio devices: 6
Number of audio engines: 10
Number of mixer devices: 1
Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=430031 (470455)
HD Audio controller ATI HD Audio
Vendor ID 0x10024383
Subvendor ID 0x10431339
Codec 0: ALC660 (0x10ec0660/0x10431339)
Codec 1: Unknown (0x15433155)
2: oss_usb0 USB audio core services
Mixer devices
0: High Definition Audio ALC660 (Mixer 0 of device object 1)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCI13391043-0000:00:14.2-mx01
Device priority: 10
Audio devices
HD Audio play front /dev/oss/oss_hdaudio0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Out engine 1: 0/HD Audio play front
Available for use
Engine 2: 6/HD Audio play front (vmix)
Available for use
Engine 3: 7/HD Audio play front (vmix)
Available for use
Engine 4: 8/HD Audio play front (vmix)
Available for use
Engine 5: 9/HD Audio play front (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI13391043-0000:00:14.2-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play rear /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/HD Audio play rear
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI13391043-0000:00:14.2-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play center/LFE /dev/oss/oss_hdaudio0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/HD Audio play center/LFE
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI13391043-0000:00:14.2-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play pcm /dev/oss/oss_hdaudio0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 3/HD Audio play pcm
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI13391043-0000:00:14.2-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play spdif-out /dev/oss/oss_hdaudio0/spdout0 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 4/HD Audio play spdif-out
Available for use
Input formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI13391043-0000:00:14.2-au05
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin0 (device index 5)
Legacy device /dev/dsp5
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 5/HD Audio rec mix
Available for use
Engine 2: 6/HD Audio play front (vmix)
Available for use
Engine 3: 7/HD Audio play front (vmix)
Available for use
Engine 4: 8/HD Audio play front (vmix)
Available for use
Engine 5: 9/HD Audio play front (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI13391043-0000:00:14.2-au06
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
As you can see, it still doesn't recognize some codec, which would be the one for the Si3054 modem thing... any way to remove the whole thing? The change to the source didn't affect sound btw, although it did give me a few new options in ossxmix.
Offline
Your problem should not be connected with it not knowing the codec (I'm either lucky because in my case it does work well or it really doesn't matter). If you get sound from pcm0 then its an advance, I get sound only from pcm0 too. I'm inclined to say it must be some configuration but like is said before its a trial and error process with ossxmix.
Here's the output of my ossinfo (oh and I have an usb headset plugged in now but sound works fine without it, just use it for calls):
$ ossinfo
Version info: OSS 4.1 (b 1051/200901021429) (0x00040100) GPL
Platform: Linux/i686 2.6.28-ARCH #1 SMP PREEMPT Sun Jan 25 10:13:11 UTC 2009 (archlinux)
Number of audio devices: 6
Number of audio engines: 10
Number of mixer devices: 2
Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=7322723 (9996856)
HD Audio controller ATI HD Audio
Vendor ID 0x10024383
Subvendor ID 0x1631c109
Codec 0: Unknown (0x10ec0660/0x1631c109)
2: oss_usb0 USB audio core services
3: usb046d0a0b-0 USB sound device
4: usb046d0a0b-1 USB sound device
5: usb046d0a0b-2 USB sound device
Mixer devices
0: High Definition Audio 0x10ec066 (Mixer 0 of device object 1)
1: USB sound device (Mixer 0 of device object 3)
Audio devices
HD Audio play pcm1 /dev/oss/oss_hdaudio0/pcm0 (device index 0)
HD Audio play pcm2 /dev/oss/oss_hdaudio0/pcm1 (device index 1)
HD Audio play pcm3 /dev/oss/oss_hdaudio0/pcm2 (device index 2)
HD Audio rec mix5 /dev/oss/oss_hdaudio0/pcmin0 (device index 3)
USB sound device play /dev/oss/usb046d0a0b-1/pcm0 (device index 4)
USB sound device rec /dev/oss/usb046d0a0b-2/pcmin0 (device index 5)
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
One thing that bothers me though, is that OSS shows the Si3054 modem as an audio device... For one I have no idea why that is : \ Would it perhaps be better to find an external usb audio device?
Offline
One thing that bothers me though, is that OSS shows the Si3054 modem as an audio device... For one I have no idea why that is : \ Would it perhaps be better to find an external usb audio device?
Because it behaves like and audio device, it is just a DAC and an ADC (which is the same as a soundcard). For the modem the rest of the processing is done in software so it is cheaper to manufacture. I wouldn't worry about that as long as I had sound in the speakers and headphones
Google around for winmodem or softmodem and you will get the idea.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Fair enough, thinking of setting up a dualboot with Windows so I can atleast play games properly. Spent hours googling everything about my card, errors given to me and such and I'm only slightly closer to getting sound.
Offline
Slightly closer is better I'm sure you are just missing some detail ..... I guess that if you don't quit completely to try and solve that problem eventually you will be able to solve it. Maybe one day you will think, let me give it another try and do something I haven't done before and it will work .... it's known to happen (with me at least )
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
It seems I have a similar laptop hardware setup with a HDA ati sb.. using ALSA..
I hops this helps someone. I tried lots on different modules and model= settings before figuring this one out..
[fainted@equilibrium ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC861VD Analog [ALC861VD Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC861VD Digital [ALC861VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: pcsp [pcsp], device 0: pcspeaker [pcsp]
Subdevices: 1/1
Subdevice #0: subdevice #0
/etc/modprobe.conf
options snd-hda-intel model=6stack-digout
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
These modules load in rc.conf
snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore
Also load alsa in daemons array.
in alsamixer I have 6ch setup, where Front is internal speakers and Surround is headphone jack.
Offline