You are not logged in.

#1 2009-04-11 22:32:25

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Sound coming from headphone & speaker at same time // OSS

Hi all,
I have searched the forums but have not found any posts pertaining to my situation, only on other forums and those users were running ALSA and a different system (usually Ubuntu). So, I purchased a new laptop--HP Pavilion dv2000--and immediately installed Archlinux-2009.02 x86_64 onto the hard drive. No major problems with configuring the system to my liking except that I can't seem to get OSS to work with my output devices properly. Well, to clarify, I have added OSS support for all the sound applications that I use and have it as my system-wide sound 'device'. But..

As stated in the topic title, I receive sound from both Headphones and Speakers at the same time. If I plug in the headphones I can hear just fine but I can also hear the sound coming from the speaker as well. The only way I have figured to get sound from Headphones specifically is to open OSSXMIX and change: int-speaker mode from pcm1 to pcm2.  And the way I have figured to get sound from Speakers specifically is to change: jack green mode from pcm1 to pcm2. But I have to reverse these variables to do the opposite. It's just a pain and I was wondering if there was a remedy.

EDIT: Also, I do not have ALSA installed and have made sure by disabling it (I believe) by adding !soundcore.. to the MODULES in /etc/rc.conf if that has any bearing on the situation.

$ dmesg | grep audio
oss_hdaudio 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 19 (level, low) -> IRQ 19
oss_hdaudio: Unknown HDA codec 0x14f15051
oss_hdaudio: Unknown HDA codec 0x14f150
# ossdetect -v
Detected Nvidia High Definition Audio (MCP67)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)
$ ossinfo
Version info: OSS 4.1 (b 1052/200903300132) (0x00040100) GPL
Platform: Linux/x86_64 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:39:28 CEST 2009 (neverland)

Number of audio devices:        5
Number of audio engines:        9
Number of mixer devices:        1


Device objects
 0: osscore0 OSS core services
 1: oss_hdaudio0 nVidia HD Audio interrupts=2157423 (2157423)
    HD Audio controller nVidia HD Audio
    Vendor ID    0x10de055c
    Subvendor ID 0x103c30d6
     Codec  0: Unknown (0x14f15051/0x103c30d6)
 2: oss_usb0 USB audio core services


Mixer devices
 0: High Definition Audio 0x14f1505 (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 rec rec1                 /dev/oss/oss_hdaudio0/pcmin0  (device index 3)
HD Audio rec pcm3                 /dev/oss/oss_hdaudio0/pcmin1  (device index 4)

  /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

Laptop information:

Product Name:  dv2719nr
Product Number: KC462UA#ABA
Microprocessor: 2.2 GHz AMD Turion 64 X2 Dual-Core Mobile Technology TL-64
Microprocessor Cache: 512KB+512KB L2 Cache
Memory: 4 GB
Video Graphics: NVIDIA GeForce 7150M
Video Memory: Up to 799 MB
Hard Drive: 250 GB (5400RPM)
Multimedia Drive: LightScribe Super Multi 8X DVD±RW with Double Layer Support
Display: 14.1" WXGA High-Definition BrightView Widescreen Display (1280 x 800)
Sound: Altec Lansing speakers

This may sound stupid but from my understanding I'm using the Internal Sound card, correct? I was hoping to use my Nvidia card to play sounds.

Last edited by milomouse (2009-04-11 22:35:46)

Offline

#2 2009-04-12 12:23:23

lssjbrolli
Member
Registered: 2007-12-16
Posts: 26

Re: Sound coming from headphone & speaker at same time // OSS

OSS does not support jack sensing for HDAudio yet, so it does not know that you inserted the headphones to stop playing back to the speakers. So for the moment you wil have to do that manualy every time you insert the headphones.

Offline

#3 2009-04-12 14:47:15

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Sound coming from headphone & speaker at same time // OSS

Not a bad thing too as you can keep the speakers quiet even if you don't have your headphones plugged in smile
A good thing to keep you from getting embarrassed if you forget to plug your headphones big_smile


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2009-04-12 15:39:18

Frots
Member
Registered: 2008-10-02
Posts: 57

Re: Sound coming from headphone & speaker at same time // OSS

I got used to it too and am relying on this 'disfunctionality' now tongue

Offline

#5 2009-04-13 02:18:28

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: Sound coming from headphone & speaker at same time // OSS

I figured as much. And yeah, R00kIE, I can see the benefits of a manual transition.
No big deal, was just curious. smile

Offline

Board footer

Powered by FluxBB