d566 microphone problem - snd_hda 7.2 stable - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > System Hardware

System Hardware Internal storage, motherboards, PCI cards, stuff inside the case.

Reply
 
Thread Tools Display Modes
  #1  
Old November 9th, 2009, 02:20
rdunkle rdunkle is offline
Junior Member
 
Join Date: Apr 2009
Posts: 27
Thanks: 1
Thanked 0 Times in 0 Posts
Default microphone problem - snd_hda 7.2 stable

I am unable to get the microphone to record with the HDA Realtek ALC883. The mic works if I use an ancient SoundBlaster (snd_emu10k1).
Code:
7.2-STABLE FreeBSD 7.2-STABLE #2: Sat Nov  7 18:26:28 PST 2009

# mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  59:59
Mixer speaker  is currently set to  75:75
Mixer line     is currently set to  75:75
Mixer mic      is currently set to 100:100
Mixer mix      is currently set to  50:50
Mixer rec      is currently set to  40:100
Recording source: mic

kernel: hdac0: HDA Codec #0: Realtek ALC883
kernel: pcm0: <HDA Realtek ALC883 PCM #0 Analog> at cad 0 nid 1 on hdac0
kernel: pcm1: <HDA Realtek ALC883 PCM #1 Analog> at cad 0 nid 1 on hdac0
kernel: pcm2: <HDA Realtek ALC883 PCM #2 Digital> at cad 0 nid 1 on hdac0
The sound works on /dev/dsp1.0 to the front panel
The sound works on /dev/dsp0.0 to the rear panel
The mic works on neither the front or rear.

Last edited by DutchDaemon; November 9th, 2009 at 02:29. Reason: use [code] tags!
Reply With Quote
  #2  
Old November 9th, 2009, 04:47
Bunyan's Avatar
Bunyan Bunyan is offline
Member
 
Join Date: Jan 2009
Posts: 139
Thanks: 7
Thanked 16 Times in 15 Posts
Default

This is what I did with my snd_ich:
echo "dev.pcm.0.vchans.play=4" >> /boot/loader.conf
Then sysctl dev.pcm.0.vchans.play=4
The microphone works and I can play up to 4 sound files at the same time.

Last edited by DutchDaemon; November 9th, 2009 at 11:53.
Reply With Quote
  #3  
Old November 18th, 2009, 08:59
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 554
Thanks: 0
Thanked 136 Times in 119 Posts
Default

When checking front connector, make sure you are using /dev/mixer1 mixer with /dev/dsp1 device.

Also check that in file hdac.c in function hdac_vendor_patch_parse() part about HDA_CODEC_ALC883 is commented out.
Reply With Quote
  #4  
Old November 18th, 2009, 09:34
expl's Avatar
expl expl is offline
Member
 
Join Date: Oct 2009
Location: In your shell, stealing your cookies.
Posts: 639
Thanks: 0
Thanked 113 Times in 104 Posts
Default

I tried to make my mic work on HDA for a while but did not manage. So I just bought a high quality USB mic, oh well...
Reply With Quote
  #5  
Old November 22nd, 2009, 19:04
rdunkle rdunkle is offline
Junior Member
 
Join Date: Apr 2009
Posts: 27
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I tried the parameters for:
dev.pcm.0.play.vchans:
No luck.

Tried using the different mixers: /dev/mixer1

The mic does not work in front panel or rear panel sockets.
Tried the

I looked at:
Also check that in file hdac.c in function hdac_vendor_patch_parse() part about HDA_CODEC_ALC883 is NOT commented out.

Not sure how to fix that until the next time I build new kernel.

I have found that the mic works with the CMedia CMI8738.
I have the CMedia card in the system until I can figure this out.
Reply With Quote
  #6  
Old December 18th, 2009, 06:29
callado callado is offline
Junior Member
 
Join Date: Dec 2009
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
Default A solution

My mic did not work either with FreeBSD 7.2 or 8.0. I have Intel ICH8 HDA with Sigmatel 9227 codec.
So a kind of newbie solution:
I installed the 'oss' package in FreeBSD 8.0. At first kernel sources should be installed: Guide. Then the binary of the latest version of OSS can be downloaded from the OSS website:Download. After that the package can be installed with 'pkg_add oss-freebsdYOURVERSION' as root from the download directory. One can also use 'pkg_add -r oss' for an earlier version or use the '/usr/ports/audio/oss' port.
The sound card should be detected automatically and the system should be rebooted.
At this point I had still no mic input.
Then I launched 'ossxmix' (if you do not have gtk, use 'ossmix' from command line). I realized that my pink jack was set to 'rear'. I changed it to 'input'. Now the mic worked, but the input was distorted. After the reduction of the mic volume level, it is now OK.
In Skype one can also try to enable or disable the automatic adjustment of mixer levels.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
snd_hda lin-in bluetick Multimedia 3 November 12th, 2009 20:22
snd_hda but no pcm stuart Multimedia 1 October 28th, 2009 12:52
problem with the snd_hda z0ran Multimedia 10 April 25th, 2009 07:45
Internal Microphone sramaswamy System Hardware 14 March 24th, 2009 02:22
Problem booting 7 Stable francach Installing & Upgrading 3 November 25th, 2008 19:45


All times are GMT +1. The time now is 01:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0