Just instaleld OSS4 and have several issues
Moderators: dev, hannu, cesium
Just instaleld OSS4 and have several issues
I just intalled OSS4, replacing annoying ALSA. However, there are several problems.
1. Sound works only with VLC and flash. It does not work in mplayer, Virtualbox etc.
I tried switching devices from ALSA to OSS in Sound control panel, but it didn't change anything.
2. When I plug in my headphones, the sounds is still coming from both headphones and laptop speakers. How can I make it right? I think I tried all the switches in ossxmix but at best, I would have to manually mute speakers every time I plug in the headphone jack.
1. Sound works only with VLC and flash. It does not work in mplayer, Virtualbox etc.
I tried switching devices from ALSA to OSS in Sound control panel, but it didn't change anything.
2. When I plug in my headphones, the sounds is still coming from both headphones and laptop speakers. How can I make it right? I think I tried all the switches in ossxmix but at best, I would have to manually mute speakers every time I plug in the headphone jack.
Re: Just instaleld OSS4 and have several issues
Sound works only with VLC and flash. It does not work in mplayer, Virtualbox etc.
Virtualbox has an ALSA/OSS option in the audio setup of a virtual machine. Have you tried OSS?
For Mplayer: http://www.opensound.com/wiki/index.php ... v4#MPlayer
Re: Just instaleld OSS4 and have several issues
Temüjin wrote:Sound works only with VLC and flash. It does not work in mplayer, Virtualbox etc.
Virtualbox has an ALSA/OSS option in the audio setup of a virtual machine. Have you tried OSS?
For Mplayer: http://www.opensound.com/wiki/index.php ... v4#MPlayer
Thanks, that worked.
However, I still do not have jacksense, recording and if I close the screen lid, mic and speakers go into sync and laptop starts beeping like a banshee.
Re: Just instaleld OSS4 and have several issues
Can you paste here output of "ossmix" and of "ossinfo -v3"?
Re: Just instaleld OSS4 and have several issues
Naturally.
Code: Select all
$ ossmix
Selected mixer 0/High Definition Audio CX20548
Known controls are:
jack.int-speaker.mode <pcm1|mix> (currently mix)
jack.int-speaker.int-speaker [<leftvol>:<rightvol>] (currently 52.4:52.4 dB)
jack.fp-black.mode <pcm1|mix|input> (currently pcm1)
jack.fp-black.fp-headphone [<leftvol>:<rightvol>] (currently 52.4:52.4 dB)
jack.black.mode <pcm2|input> (currently pcm2)
record.rec1 [<leftvol>:<rightvol>] (currently 28.4:28.4 dB)
record.rec1.rec1 <mix|fp-mic> (currently mix)
misc.beep <monovol> (currently 17.9 dB)
misc.pcm1 [<leftvol>:<rightvol>] (currently 52.4:52.4 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 52.4:52.4 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 52.4:52.4 dB)
misc.mix <pcm1|fp-mic> (currently pcm1)
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 7.5 dB)
vmix0-invol <monovol> (currently 20.5 dB)
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("operapluginwrap")
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("VirtualBox")
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("VirtualBox")
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
Code: Select all
$ ossinfo -v3
Version info: OSS 4.2 (b 2002/200911060720) (0x00040100) TRIAL
Platform: Linux/x86_64 2.6.32.9-newyork #1 SMP Sat Feb 27 22:34:59 GMT 2010 (Beyond2000)
Number of audio devices: 5
Number of audio engines: 9
Number of MIDI devices: 0
Number of mixer devices: 1
Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 nVidia HD Audio interrupts=2358807 (2358974)
HD Audio controller nVidia HD Audio
Vendor ID 0x10de026c
Subvendor ID 0x103c30b7
Codec 0: CX20548 (0x14f15045/0x103c30b7)
2: oss_usb0 USB audio core services
MIDI devices (/dev/midi*)
Mixer devices
0: High Definition Audio CX20548 (Mixer 0 of device object 1)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCI30b7103c-0000:00:10.1-mx01
Device priority: 10
Audio devices
HD Audio play pcm1 /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 pcm1
Busy (OUT) label 'VMIX'
Engine 2: 5/HD Audio play pcm1 (vmix)
Busy (OUT) by PID 5851 / operapluginwrap label 'operapluginwrap'
Engine 3: 6/HD Audio play pcm1 (vmix)
Busy (IN) by PID 12440 / VirtualBox label 'VirtualBox'
Engine 4: 7/HD Audio play pcm1 (vmix)
Busy (OUT) by PID 12440 / VirtualBox label 'VirtualBox'
Engine 5: 8/HD Audio play pcm1 (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI30b7103c-0000:00:10.1-au01
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): 48000 - 192000 (48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play pcm2 /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/HD Audio play pcm2
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Device handle: PCI30b7103c-0000:00:10.1-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 16000 - 48000 (16000,48000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play spdifout /dev/oss/oss_hdaudio0/spdout0 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/HD Audio play spdifout
Available for use
Input formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI30b7103c-0000:00:10.1-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 48000 - 48000 (48000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec rec1 /dev/oss/oss_hdaudio0/pcmin0 (device index 3)
Legacy device /dev/dsp3
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 3/HD Audio rec rec1
Busy (IN) label 'VMIX_IN'
Engine 2: 5/HD Audio play pcm1 (vmix)
Busy (OUT) by PID 5851 / operapluginwrap label 'operapluginwrap'
Engine 3: 6/HD Audio play pcm1 (vmix)
Busy (IN) by PID 12440 / VirtualBox label 'VirtualBox'
Engine 4: 7/HD Audio play pcm1 (vmix)
Busy (OUT) by PID 12440 / VirtualBox label 'VirtualBox'
Engine 5: 8/HD Audio play pcm1 (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI30b7103c-0000:00:10.1-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 48000 - 96000 (48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec pcm2 /dev/oss/oss_hdaudio0/pcmin1 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 4/HD Audio rec pcm2
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Device handle: PCI30b7103c-0000:00:10.1-au05
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 16000 - 48000 (16000,48000)
HW Type: Not indicated.
Minimum latency: Not indicated
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/pcm0Re: Just instaleld OSS4 and have several issues
Try this:
And then test recording with
(should give an echo). If that command doesn't work, try instead.
Code: Select all
ossmix jack.fp-black.mode input
ossmix jack.black.mode input
ossmix misc.mix fp-micCode: Select all
ossrecord - | ossplay -Code: Select all
ossrecord -d4 - | ossplay -Re: Just instaleld OSS4 and have several issues
Hmm, after that my jack stopped working at all and I can only hear sound from my speakers at all times.
Microphone is recording fine (as it has before) but it is in recording mode at all times, which causes the pitching noise when I put the mic closer to speakers (while closing the lid).
Microphone is recording fine (as it has before) but it is in recording mode at all times, which causes the pitching noise when I put the mic closer to speakers (while closing the lid).
Re: Just instaleld OSS4 and have several issues
Lockheed wrote:However, I still do not have jacksense, recording and if I close the screen lid, mic and speakers go into sync and laptop starts beeping like a banshee.
Lockheed wrote:Microphone is recording fine (as it has before)
Err.. I thought recording didn't work... Anyhow, since you pasted the previous settings here it should be easy to go back.
Re: Just instaleld OSS4 and have several issues
What happens when you close the lid is interesting... Try muting stuff in ossxmix (by lowering sliders). Maybe "ossmix misc.fp-mic 0" would do it?
Re: Just instaleld OSS4 and have several issues
cesium wrote:What happens when you close the lid is interesting... Try muting stuff in ossxmix (by lowering sliders). Maybe "ossmix misc.fp-mic 0" would do it?
Hmmm, I think it helped.
But I still have no sound on headphone jack.
Scratch that. Now mic doesn't work.
Re: Just instaleld OSS4 and have several issues
OK. Try "ossmix jack.fp-black.fp-headphone 0" instead. If that doesn't work, try this: Edit /usr/lib/oss/conf/oss_hdaudio.conf and add the line "hdaudio_noskip=7". Restart OSS with "sudo soundoff" and "sudo soundon", and see if you new controls (like jack.black for example). Try mute these controls in oss(x)mix.
Re: Just instaleld OSS4 and have several issues
I did this all and I still have no sound from the jack.
There is new position "jack-black", but I can only select mode: 'imput' or 'pcm2'
I cannot see mute anywhere.
There is new position "jack-black", but I can only select mode: 'imput' or 'pcm2'
I cannot see mute anywhere.
Re: Just instaleld OSS4 and have several issues
I'm a bit confused: "no sound from the jack" is what I was aiming for (to suppress noise when closing lid). I guess another issue was introduced? If so, just return to the ossmix settings you pasted above. A simple way to achieve this would be to turn off OSS with soundoff, erase the /usr/lib/oss/etc/mixer.save file, and then run soundon again - this will restore default mixer settings. Save these mixer settings (using "sudo savemixer -f filename" command). Then you can try muting stuffing in oss(x)mix. Use "sudo savemixer -L -f filename" to restore to working setting if you changed too much for it too work.
Re: Just instaleld OSS4 and have several issues
Ok, let me clarify. After erasing /usr/lib/oss/etc/mixer.save, the chief problem is:
I have sound from both speakers and headphone jack. I want speakers to mute as soon as I plug in headphones.
I have sound from both speakers and headphone jack. I want speakers to mute as soon as I plug in headphones.
Re: Just instaleld OSS4 and have several issues
The other problems you mentioned in the thread can be solved, but I don't think we can make jacksense work. AFAIK, the driver doesn't support it for most codecs, and in all likelihood not this one.
Who is online
Users browsing this forum: No registered users and 4 guests