LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Internal Microphone not working on Sony VAIO SR16 with ALC262 (https://www.linuxquestions.org/questions/linux-newbie-8/internal-microphone-not-working-on-sony-vaio-sr16-with-alc262-701142/)

greengrocer 01-30-2009 07:54 PM

Internal Microphone not working on Sony VAIO SR16 with ALC262
 
Hello everyone,

I have a Sony VAIO SR16 series notebook computer.

It has an Intel 82801i (ICH9) family HD audio controller which is using ALC262 codec.

My /etc/modeprobe.d/alsa-base file looks like this:

Code:

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
#  Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
#  non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# options snd-hda-intel model=sony-assamd
options snd-hda-intel model=hippo

I have tried specifying several models and have found that either hippo or sony-assamd produce working sound, working external mic, working headphones and working headphone jack sense.

The only problem is I just cannot get the internal mic working. All other devices are working on this notebook and it would be nice to have the internal mic working to make it 100% Linux compatible.

I have tested the internal mic with Windows Vista and it is working in Vista O/S.

I have found that if I open Sound Recorder I can record from Capture device and there is some signal heard and if a tap the top left corner of the computer, the recording does detect a faint tapping noise, so I figure something is trying to work.

I have set the Mic to Capture and un-muted the capture device. (the capture device mutes by default, not sure why or if that is supposed to be the correct behaviour).

So I am wondering if anybody else knows any other config files, packages, new kernels or some solution that I can tinker with that might get the internal mic working.

Am using Ubuntu 8.10 Intrepid, kernel is 2.6.27-11-generic

Regards,
Greenie

Drakeo 02-04-2009 03:00 PM

if you have the external mic plugged in then internal does not work. ok now open your terminal and type alsamixer then enable the on board input devices. another thing now that you are not using windows in bios set it to non windows OS or non OS. now bios runs your computer and linux try to watch and interact. where as windows runs bios. so you may find that you will have to enable that port. or set that port. if these options are not in bios this means sony sucked up to Microsoft and wrote bios for Microsoft. which sucks.

HarshReality 07-31-2009 08:49 PM

My VAIO VGN-NS325J has no OS options in BIOS or for the integrated parts..Just date/Time boot order and security. Next suggestion?

Drakeo 08-01-2009 08:39 PM

sorry to hear that some one built a computer like that have a great day.

greengrocer 08-02-2009 07:05 AM

Quote:

Originally Posted by Drakeo (Post 3628097)
sorry to hear that some one built a computer like that have a great day.

Hehe, well the Sony has been more reliable than my DELL notebook of roughly the same vintage.

The DELL Studio 1535 that I have has been repaired 4 times already and is about to get its 5th repair job. Piece of unreliable DELL junk.

The Sony has not required repair. The only thing that sucks about the Sony is the internal mic not working under Linux.

It's not just DELL and Sony I have experience with, it seems the entire computer hardware industry sucks. You have a choice of unreliable junk or reliable junk that doesn't quite work 100% with what you want to do with it.

Drakeo 08-03-2009 07:40 AM

After a clean restart
open a terminal and assume root or sudo and type lspci. post it. then type lsmod post it.
then type dmesg and post it. most likely you are using Pulse sound system.
while you have the terminal open type alsamixer and make sure alsa is reading the mic.
Pulse just reads alsa .If you are using gnome on a debian type system then I will be lost in that element. Navigating gnome gui I will be lost.

greengrocer 08-18-2009 07:21 AM

Quote:

Originally Posted by Drakeo (Post 3629487)
After a clean restart
open a terminal and assume root or sudo and type lspci. post it. then type lsmod post it.
then type dmesg and post it. most likely you are using Pulse sound system.
while you have the terminal open type alsamixer and make sure alsa is reading the mic.
Pulse just reads alsa .If you are using gnome on a debian type system then I will be lost in that element. Navigating gnome gui I will be lost.

lspci output
Code:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)
05:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
07:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
07:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
07:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)

lsmod output
Code:

Module                  Size  Used by
ipv6                  263972  14
cifs                  254372  1
af_packet              25728  4
binfmt_misc            16904  1
rfcomm                44560  2
sco                    18308  2
bridge                56980  0
stp                    10628  1 bridge
bnep                  20480  2
l2cap                  30464  16 rfcomm,bnep
sonypi                26648  0
ppdev                  15748  0
acpi_cpufreq          15500  1
cpufreq_userspace      11396  0
cpufreq_ondemand      14988  1
cpufreq_stats          13188  0
freq_table            12672  3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_powersave      9856  0
cpufreq_conservative    14600  0
pci_slot              12680  0
container              11520  0
sbs                    19464  0
sbshc                  13440  1 sbs
wmi                    14504  0
iptable_filter        10752  0
ip_tables              19600  1 iptable_filter
x_tables              22916  1 ip_tables
nls_iso8859_1          12032  1
nls_cp437              13696  2
vfat                  18944  1
fat                    57376  1 vfat
sbp2                  29324  0
parport_pc            39332  0
lp                    17156  0
parport                42604  3 ppdev,parport_pc,lp
joydev                18368  0
snd_hda_intel        384176  3
arc4                    9984  2
ecb                    10880  2
uvcvideo              63624  0
snd_pcm_oss            46848  0
snd_mixer_oss          22784  1 snd_pcm_oss

crypto_blkcipher      25476  1 ecb
serio_raw              13444  0
sdhci_pci              15360  0
compat_ioctl32          9344  1 uvcvideo
sdhci                  23940  1 sdhci_pci
evdev                  17696  15
btusb                  19736  3
psmouse                45200  0
videodev              41344  1 uvcvideo
video                  25232  0
pcspkr                10624  0
iwlagn                99844  0
mmc_core              58268  1 sdhci
bluetooth              61924  11 rfcomm,sco,bnep,l2cap,btusb
v4l1_compat            22404  2 uvcvideo,videodev
iwlcore                94532  1 iwlagn
fglrx                1813960  31
rfkill                17176  2 iwlcore
sony_laptop            39132  0
output                11008  1 video
snd_pcm                83204  2 snd_hda_intel,snd_pcm_oss
tpm_infineon          17064  0
tpm                    22848  1 tpm_infineon
led_class              12164  1 iwlcore
snd_seq_dummy          10884  0
tpm_bios              14080  1 tpm
mac80211              216820  2 iwlagn,iwlcore
snd_seq_oss            38528  0
snd_seq_midi          14336  0
snd_rawmidi            29824  1 snd_seq_midi
cfg80211              32392  3 iwlagn,iwlcore,mac80211
snd_seq_midi_event    15232  2 snd_seq_oss,snd_seq_midi
snd_seq                57776  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              29960  2 snd_pcm,snd_seq
button                14224  0
ac                    12292  0
snd_seq_device        15116  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
battery                18436  0
intel_agp              33724  0
snd                    63268  15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              15328  1 snd
agpgart                42184  2 fglrx,intel_agp
snd_page_alloc        16136  2 snd_hda_intel,snd_pcm
shpchp                38036  0
pci_hotplug            34976  1 shpchp
ext3                  133256  1
jbd                    55828  1 ext3
mbcache                16004  1 ext3
sr_mod                22212  0
cdrom                  43168  1 sr_mod
sd_mod                42392  4
crc_t10dif              9984  1 sd_mod
sg                    39732  0
ahci                  37132  3
ohci1394              37936  0
libata                178208  1 ahci
ieee1394              96324  2 sbp2,ohci1394
scsi_mod              155212  5 sbp2,sr_mod,sd_mod,sg,libata
dock                  16656  1 libata
sky2                  53380  0
ehci_hcd              43788  0
uhci_hcd              30864  0
usbcore              149488  5 uvcvideo,btusb,ehci_hcd,uhci_hcd
thermal                23708  0
processor              42156  4 acpi_cpufreq,thermal
fan                    12548  0
fbcon                  47648  0
tileblit              10880  1 fbcon
font                  16512  1 fbcon
bitblit                13824  1 fbcon
softcursor              9984  1 bitblit
fuse                  60828  3

The sound control panel in Gnome is all set to ALSA and "alsamixer" fro the command line, shows one capture mixer.

Drakeo 08-19-2009 10:17 AM

pulse audio is the server. it reads alsa. so now open pulse and select pcm. in alsa enable the output jack . turn the volume up. In theory when you plug your jack in it will then change the circuit to the jack. By looking at your lspci read out.
Quote:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
linux see the device. lsmod output shows it is loaded but you never posted the dmesg I use the same snd card onboard as you and it works perfect in all slackware mandriva and kubuntu demesg will show errors while loading the card . your lsmod is a standard ubuntu load everything on the shelf needed or not. https://help.ubuntu.com/community/HdaIntelSoundHowto


All times are GMT -5. The time now is 05:06 PM.