The Jack Sensing is not working on my gentoo box of HP NX6325, the OSS4 version is from oss-overlay, i know there is problem of jack sensing of HD audio chips, but i hope this could be fixed someday.
- Code: Select all
postgres@localhost ~/.config $ eix -I oss-devel
[I] media-sound/oss-devel [1]
Available versions: (~)4.2_rc1!m (~)9999
Installed versions: 9999(07:16:34 PM 09/16/2009)
Homepage: http://developer.opensound.com/
Description: Open Sound System - portable, mixing-capable, high quality sound system for Unix.
the ossinfo -v2 output:
- Code: Select all
Version info: OSS 4.1 (b 1052/200909160443) (0x00040100) GPL
Platform: Linux/x86_64 2.6.30-gentoo-r4 #4 Sat Aug 29 13:11:08 CST 2009 (localhost)
Number of audio devices: 4
Number of audio engines: 8
Number of MIDI devices: 0
Number of mixer devices: 1
Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=8098294 (8261504)
HD Audio controller ATI HD Audio
Vendor ID 0x1002437b
Subvendor ID 0x30b0103c
Codec 0: AD1981 (0x11d41981/0x103c30b0)
Codec 1: Conexant2bfa (0x14f12bfa)
2: oss_usb0 USB audio core services
MIDI devices (/dev/midi*)
Mixer devices
0: High Definition Audio AD1981 (Mixer 0 of device object 1)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCI103c30b0-ð+ÿÿÿÿð+ÿÿÿÿ-mx0
Device priority: 10
Audio devices
HD Audio play play /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 play
Busy (OUT) label 'VMIX'
Engine 2: 4/HD Audio play play (vmix)
Busy (OUT) by PID 27707 / mplayer label 'mplayer'
Engine 3: 5/HD Audio play play (vmix)
Available for use
Engine 4: 6/HD Audio play play (vmix)
Available for use
Engine 5: 7/HD Audio play play (vmix)
Available for use
Formats: 0x1010 in, 0x1010 out
Device handle: PCI103c30b0-ð+ÿÿÿÿð+ÿÿÿÿ-au0
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): 8000 - 48000 (8000,11025,16000,22050,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated
and the ossmix output:
- Code: Select all
Selected mixer 0/High Definition Audio AD1981
Known controls are:
jack.int-green.mode <play|rec-mix|input> (currently input)
jack.int-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.int-green.int-speaker [<leftvol>:<rightvol>] (currently 77.9:77.9 dB)
jack.gray.mode <play|rec-mix> (currently play)
jack.gray.headphone [<leftvol>:<rightvol>] (currently 77.9:77.9 dB)
jack.gray [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mode <play|rec-mix|input> (currently play)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.linein [<leftvol>:<rightvol>] (currently 58.4:58.4 dB)
jack.int-pink.mode <play|rec-mix|input> (currently play)
jack.int-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.int-pink.int-mic [<leftvol>:<rightvol>] (currently 53.9:53.9 dB)
misc.mono-sel <play|mic-mix|linein|rec-mix|int-mic> (currently play)
misc.mic-mix <mic|int-mic> (currently mic)
misc.pcbeep-sel <monovol> (currently 32.9 dB)
misc.rec-mix <pcbeep-sel|play|mic|linein|int-speaker|int-mic> (currently pcbeep-sel)
misc.play [<leftvol>:<rightvol>] (currently 35.9:35.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 35.9:35.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 35.9:35.9 dB)
misc.rec-sel1 [<leftvol>:<rightvol>] (currently 19.4:19.4 dB)
misc.rec-sel2 <mic-mix|linein|rec-mix|mono-sel|int-mic> (currently mic-mix)
misc.int-speaker [<leftvol>:<rightvol>] (currently 35.9:35.9 dB)
misc.int-mic [<leftvol>:<rightvol>] (currently 40.4:40.4 dB)
misc.mute1 ON|OFF (currently OFF)
misc.mute2 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|Low|Medium|High|High+|Production|OFF> (currently Production)
vmix0-outvol <monovol> (currently 19.0 dB)
vmix0-invol <monovol> (currently 19.3 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 22.0:22.0 dB) ("mplayer")
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 22.0:22.0 dB)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 22.0:22.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 22.0:22.0 dB)
see, i have got to set the green as input to mute the notebook while my earphone is inserted.
Thanks all on board!
