Asrock N68-S / via vt1708s , cannot enable the mic

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Asrock N68-S / via vt1708s , cannot enable the mic

Postby andreasf » Thu Oct 29, 2009 11:24 am

hello,

im a linux newb and i cannot get the microphone at Ubuntu 9.04 working. i installed oss4 and the sound works. i want to use teamspeak.

thats my ossmix output

ossinfo
Version info: OSS 4.2 (b 2001/200910230435) (0x00040100) TRIAL
Platform: Linux/i686 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 (lol-desktop)

Number of audio devices: 6
Number of audio engines: 10
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 nVidia HD Audio interrupts=4793 (4793)
HD Audio controller nVidia HD Audio
Vendor ID 0x10de03f0
Subvendor ID 0x18490397
Codec 0: Unknown (0x11060397/0x18490397)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio 0x1106039 (Mixer 0 of device object 1)

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 play pcm4 /dev/oss/oss_hdaudio0/pcm3 (device index 3)
HD Audio rec select1 /dev/oss/oss_hdaudio0/pcmin0 (device index 4)
HD Audio rec jack6 /dev/oss/oss_hdaudio0/pcmin1 (device index 5)

Nodes
/dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0

any tips?

regards,
andreasf
New Member
 
Posts: 1
Joined: Thu Oct 29, 2009 11:06 am

Re: Asrock N68-S / via vt1708s , cannot enable the mic

Postby cesium » Thu Oct 29, 2009 11:46 pm

Can you post output of 'ossmix' command?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Asrock N68-S / via vt1708s , cannot enable the mic

Postby Maxa » Thu Nov 19, 2009 11:52 pm

I have the same problem with the same sound card (M4A785TD-V EVO motherboard). Seems that as the outputs are programmable, mic and line-in are being used as stereo output

That's also what happens with osstest. pcm1 is speaker output+headphones, pcm2 outputs mic, pcm3 outputs to line-in jack in backpanel, pcm4 is headphones in front panel. Jack5 and 6 don't seem to affect anything.
Any way to force "correct"/wanted behaviour?


dmesg:
oss_hdaudio 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
oss_hdaudio: HDA codec 0x11060397 not known yet
oss_hdaudio: HDA codec 0x11060397 not known yet
------
lspci -vvv:
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
Subsystem: ASUSTeK Computer Inc. Device 836c
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fe8f4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: oss_hdaudio
Kernel modules: snd-hda-intel
------
~ $ ossmix
Selected mixer 0/High Definition Audio 0x11060397
Known controls are:
jack.jack1c.mute ON|OFF (currently OFF)
jack.jack1c.pcm11 [<leftvol>:<rightvol>] (currently 55.4:55.4 dB)
jack.jack1c.pcm12 [<leftvol>:<rightvol>] (currently 40.4:40.4 dB)
jack.jack1c.pcm3 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.pcm2 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.jack6 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.jack5 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.pcm4 [<leftvol>:<rightvol>] (currently 40.4:40.4 dB)
jack.jack1d.mute ON|OFF (currently OFF)
jack.jack1e.mute ON|OFF (currently OFF)
record.select1.select1 <pcm3|pcm2|jack6|jack5|mix> (currently jack6)
record.select1 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
record.jack6 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
misc.pcm2 [<leftvol>:<rightvol>] (currently 62.9:62.9 dB)
misc.mute1 ON|OFF (currently OFF)
misc.pcm3 [<leftvol>:<rightvol>] (currently 62.9:62.9 dB)
misc.pcm4 [<leftvol>:<rightvol>] (currently 55.4:55.4 dB)
misc.mute2 ON|OFF (currently OFF)
misc.mute3 ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
---------
~ $ ossinfo
Version info: OSS 4.2 (b 2002/200911172222) (0x00040100) GPL
Platform: Linux/x86_64 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:01:40 CET 2009

Number of audio devices: 8
Number of audio engines: 12
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=1262478 (1383003)
HD Audio controller ATI HD Audio
Vendor ID 0x10024383
Subvendor ID 0x1043836c
Codec 0: Unknown (0x11060397/0x1043836c)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio 0x1106039 (Mixer 0 of device object 1)

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 play pcm4 /dev/oss/oss_hdaudio0/pcm3 (device index 3)
HD Audio play spdifout1 /dev/oss/oss_hdaudio0/spdout0 (device index 4)
HD Audio play spdifout2 /dev/oss/oss_hdaudio0/spdout1 (device index 5)
HD Audio rec select1 /dev/oss/oss_hdaudio0/pcmin0 (device index 6)
HD Audio rec jack6 /dev/oss/oss_hdaudio0/pcmin1 (device index 7)

Nodes
/dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
/dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0
Maxa
New Member
 
Posts: 3
Joined: Thu Nov 19, 2009 9:58 pm

Re: Asrock N68-S / via vt1708s , cannot enable the mic

Postby cesium » Fri Nov 20, 2009 3:46 pm

If I understand correctly, the problem is the recording doesn't work. Hmm.. You can try modifying record.select1.select1 in the mixer (with oss(x)mix), while testing recording on pcmin0 and pcmin1 using "ossrecord -d6 - | ossplay -" (-d7 for pcmin1) and testing for echo. You can edit /usr/lib/oss/conf/oss_hdaudio.conf and add the line "hdaudio_noskip=7", and after OSS restart ("sudo soundoff" and "sudo soundon"), you may have more controls in the mixer.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Asrock N68-S / via vt1708s , cannot enable the mic

Postby Maxa » Sat Nov 21, 2009 9:26 am

I tried with the options in oss_hdaudio.conf, changed options in ossxmix while echoing with ossrecord+ossplay d6/d7... and still nothing gets ever echoed from any jack (except oscillation with mix :) ). Actually I'm more interested in playback than recording, I'd like to hear my preamplified guitar through computer (either line-in or mic); that setup isn't the problem as it works with other software and I can't hear my headset mike either.

I think what's described here is the root of the problem http://manuals.opensound.com/usersguide ... audio.html
The Intel HDA mixer is a new type of mixer that doesn't have the normal volume controls found on AC97 or legacy SB devices. The HDA mixer presents a concept of Jacks and you can configure any jack to be either an output or an input jack.
---
There is a function selector for most of the analog audio jacks (for example connector.pink.mode). This selector is used to control if the jack is used as an input (microphone or line in) or output (front, rear, side, speaker, etc).
However, there are no switches in oss(x)mix that could be used, and looks like by default all jacks are output (osstest).

One thing also comes to mind, chipset is AMD 785G/SB710, sound card is VIA VT1708S, so should it really be ATI HDAudio, not VIA HDAudio (kernel/drv/oss_hdaudio/.devices) or am i mixing oranges and apples?
Maxa
New Member
 
Posts: 3
Joined: Thu Nov 19, 2009 9:58 pm

Re: Asrock N68-S / via vt1708s , cannot enable the mic

Postby cesium » Mon Nov 23, 2009 1:19 am

No, it doesn't have to be ATI (some vendors mix-and-match hdaudio and board). Per the id, it looks to be VIA-based.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron