Solved noise on VIA VT1708S

Hallo!
I have a problem on my ASUS P8H61-MX with Celeron SandyBridge and VIA VT1708S audiocodec. I use integrated GPU in processor and don't have videocard...

So when I tried to record my voice from microphone I record distorted voice and some noise...
If I select for example "mixer igain 50" I hear the same - myself distorted voice and some noise. This noise like a processor working or something like this. When I move mouse it change, when i type on keyboard I hear knocks. Even if I unplug microphone i hear the same (without my voice, of cause).
And if igain=0 with big volume (mixer vol 80, for example) I hear the white noice...

I tried everything values of mixer...

Does somebody know that this may be? :\
 
Maybe its picking up the sound of a fan in the background/or in the case or maybe a hard drive. Thats the only thing I can figure.
 
On Linux or Windows there is no problems with sound...
I have FreeBSD 9.1 RC2 amd64...

[CMD="sysctl -a | grep snd"][/CMD]

Code:
device  snd_cmi
device  snd_csa
device  snd_emu10kx
device  snd_es137x
device  snd_hda
device  snd_ich
device  snd_uaudio
device  snd_via8233
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 0
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: 1

Code:
cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <VIA VT1708S_0 (Analog 2.0+HP/2.0)> (play/rec) default
pcm1: <VIA VT1708S_0 (Digital)> (play)

And why I don't see any sound module in kldstat?
Code:
Id Refs Address            Size     Name
 1   21 0xffffffff80200000 1323288  kernel
 2    1 0xffffffff81612000 5fa8a    i915kms.ko
 3    1 0xffffffff81672000 1238     iicbb.ko
 4    4 0xffffffff81674000 1301     iicbus.ko
 5    1 0xffffffff81676000 dc9      iic.ko
 6    1 0xffffffff81677000 2bf3a    drm2.ko
 
matoatlantis said:
It's probably compiled into kernel, check with:

# kldstat -vi 1 | grep -i snd

oh thanks
could this problem with sound be because of it's not module but compiled into kernel?
 
kakao said:
oh thanks
could this problem with sound be because of it's not module but compiled into kernel?

No. It's still the same code.

I don't know why you have that noise though.
 
I previously had an issue with audio output that was due to the line to the speakers being next to the wireless antennae. Radio Frequency Interference (RFI) can be generated by other devices including Network interface cables, fluorescent lights etc. This possibility is less likely if recorded audio works fine in Linux/Windows but IMHO it is worth checking before getting into FBSD kernel internals.
 
ohh... in FreeBSD 8.3 the same (driver snd_hda is module)
that's not an antennas or internet cables or HDD... i turned off that...
i tried to play with device.hints file to disable some pins like cd, line-out, spdif, digital lines..
i tried to plug microphone to front panel...
everything the same..
in linuxmint with pulseaudio i have something like this if i disable mic boost... there's strange noises like UFO )))

i installed OSS but couldn't find a microphone in mixer o_O

does anyone know how to enable micboost? maybe some patch...
or i may write to commiter?
 
I muted all of inputs exclude rec and mic and this noise don't change. When I plug/unplug the ethernet cable this noise changes and when I bought and installed new power unit noise changed too. But it stays very loud.

This means that some pin in my codec is not disabled and gathers electromagnetic fields from other computer components like ethetnet card, processor etc.

I posted a piece of my verbose log here.

I added this to /boot/device.hints to disable pins:
Code:
hint.hdac.0.cad0.nid16.config="as=0"
hint.hdac.0.cad0.nid17.config="as=0"
hint.hdac.0.cad0.nid18.config="as=0"
hint.hdac.0.cad0.nid19.config="as=0"
hint.hdac.0.cad0.nid20.config="as=0"
hint.hdac.0.cad0.nid21.config="as=0"
hint.hdac.0.cad0.nid22.config="as=0"
hint.hdac.0.cad0.nid23.config="as=0"
hint.hdac.0.cad0.nid24.config="as=0"
hint.hdac.0.cad0.nid25.config="as=0"
hint.hdac.0.cad0.nid27.config="as=0"
hint.hdac.0.cad0.nid29.config="as=0"
hint.hdac.0.cad0.nid30.config="as=0"
hint.hdac.0.cad0.nid31.config="as=0"
hint.hdac.0.cad0.nid32.config="as=0"
hint.hdac.0.cad0.nid33.config="as=0"
hint.hdac.0.cad0.nid34.config="as=0"
hint.hdac.0.cad0.nid35.config="as=0"
hint.hdac.0.cad0.nid36.config="as=0"
hint.hdac.0.cad0.nid37.config="as=0"
hint.hdac.0.cad0.nid38.config="as=0"
hint.hdac.0.cad0.nid39.config="as=0"
and this
Code:
hint.hdac.0.cad0.nid27.config="conn=None"
hint.hdac.0.cad0.nid29.config="conn=None"
hint.hdac.0.cad0.nid30.config="conn=None"
hint.hdac.0.cad0.nid32.config="conn=None"
Nothing changed. Maybe I try to disable pins the wrong way.
 
This means that some pin in my codec is not disabled and gathers electromagnetic fields from other computer components like ethernet card, processor etc.

I had an irritating whine in an ECS desknote that only occurred in FreeBSD. It went away when I lowered the kernel interrupts setting as described in this prior thread: Thread 19971. It was also interesting to play with - the lower the number the lower the pitch of the whine. I suspect that at 100 it is too low for me to hear. If that works you can make the change permanent by putting the command in your /etc/sysctl.conf.

If that does not work, you could try re-routing, if possible, some of the internal cables? If you have movable PCI cards can they be moved away from the audio jacks?
 
Back
Top