linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Laptop internal speakers now always on


From: Andreas Markmann
Subject: [Linphone-users] Laptop internal speakers now always on
Date: Wed, 1 Feb 2006 09:35:00 +0100 (CET)

Hello all,

I have no experience with VoIP but will get a headset soon, as I am in
Japan right now and want to stay in touch with people at home.

I just wanted to check out the UI of linphone, so I fired it up briefly.

To my surprise, my laptops internal speakers came on, even though I had
earphones plugged in. This gave my colleagues in the office quite a start.
I then shut down linphone but the speakers were still on.

I suppose that you do this to allow people to hear the "phone ring" even
without wearing headphones but don't understand why it stays this way.

Now I have the problem that I cannot reactivate the function of the sound
chip that switches off the internal speakers when having the earphones
plugged in. That means no sound for me at the office.
This behaviour remains even after reboots (had this for a few days now
while playing around with the sound driver to see if I can fix this
myself).

Unfortunately, my sound driver does not expose this function (i.e. switch
off when plugged in) to the mixer apps (I've tried many).

Now since your program made this switch, I suppose you know how to swisch
back and forth between these function (change some file in /proc ?).

Otherwise, could you perhaps direct me to a sound driver that exposes this
function to the mixer apps?

Using headphones is no fun right now, so thank you very much for any help
you can provide.

Andreas

System details below
____________________________________________________________________________

Laptop: Dell Inspiron 1300
System: SuSE 9.3 with 2.6.11.4-21.10-default.
(Sorry, I have no choice of these ones, as it is a university-owned
laptop).

Sound: Intel ICH6 HDA
Chip: SigmaTel STAC9200

> amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 25 [81%] [on]
  Front Right: Playback 25 [81%] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Front Left: Playback 203 [80%]
  Front Right: Playback 203 [80%]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Input Mux',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 4
  Mono: 0 [0%]
  Front Left:
  Front Right:
Simple mixer control 'Input Source',0
  Capabilities:
  Mono:
____________________________________________________________________________

> more /proc/asound/Intel/codec#0
Codec: SigmaTel STAC9200
Address: 0
Vendor Id: 0x83847690
Subsystem Id: 0x0
Revision Id: 0x102201
Default PCM: rates 0x7e0, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Node 0x02 [Audio Output] wcaps 0xd0401: Stereo
Node 0x03 [Audio Input] wcaps 0x1d0541: Stereo
  Connection: 1
     0x0a
Node 0x04 [Audio Input] wcaps 0x140311: Stereo Digital
  PCM: rates 0x160, bits 0x0e, types 0x5
  Connection: 1
     0x08
Node 0x05 [Audio Output] wcaps 0x40211: Stereo Digital
  PCM: rates 0x1e0, bits 0x0e, types 0x5
Node 0x06 [Vendor Defined Widget] wcaps 0xf30201: Stereo Digital
Node 0x07 [Audio Selector] wcaps 0x300901: Stereo
  Connection: 3
     0x02* 0x08 0x0a
Node 0x08 [Pin Complex] wcaps 0x430681: Stereo Digital
  Pincap 0x0810024: IN
  Pin Default 0x40c001fb: [N/A] SPDIF In at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
Node 0x09 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x404001fa: [N/A] SPDIF Out at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
  Connection: 2
     0x05* 0x0a
Node 0x0a [Audio Selector] wcaps 0x30090d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals: 0x00 0x00
  Connection: 1
     0x0c
Node 0x0b [Audio Selector] wcaps 0x300105: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals: 0x19 0x19
  Connection: 1
     0x07
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals: 0x00 0x00
  Connection: 5
     0x10 0x0f 0x0e 0x0d 0x12*
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x083f: IN OUT HP
  Pin Default 0x0321401f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Green
  Pin-ctls: 0xc0: OUT HP
  Connection: 1
     0x0b
Node 0x0e [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x083f: IN OUT HP
  Pin Default 0x90100110: [Fixed] Speaker at Int N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0837: IN OUT
  Pin Default 0x03a11023: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0b
Node 0x10 [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x081737: IN OUT
  Pin Default 0x03811020: [Jack] Line In at Ext Left
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0b
Node 0x11 [Pin Complex] wcaps 0x400104: Mono Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals: 0x00
  Pincap 0x0810: OUT
  Pin Default 0x401001fd: [N/A] Speaker at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
  Connection: 1
     0x13
Node 0x12 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x409001fc: [N/A] Aux at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
Node 0x13 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x07
Node 0x14 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals: 0x00
____________________________________________________________________________

> more /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  6 lp
  7 vcs
  9 st
 10 misc
 13 input
 14 sound
 21 sg
 29 fb
116 alsa
128 ptm
136 pts
171 ieee1394
180 usb
188 ttyUSB

Block devices:
  1 ramdisk
  3 ide0
  7 loop
  8 sd
  9 md
 11 sr
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
253 device-mapper
254 mdp
____________________________________________________________________________

> more /proc/interrupts
           CPU0
  0:   10927829          XT-PIC  timer
  1:      36731          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  7:          0          XT-PIC  uhci_hcd
  8:          2          XT-PIC  rtc
  9:     299881          XT-PIC  acpi, uhci_hcd, eth0
 10:          0          XT-PIC  uhci_hcd
 11:     351317          XT-PIC  uhci_hcd, HDA Intel, ehci_hcd
 12:       2193          XT-PIC  i8042
 14:      33672          XT-PIC  ide0
NMI:          0
LOC:          0
ERR:          0
MIS:          0
____________________________________________________________________________

> lsmod|grep -i snd
snd_pcm_oss            57888  0
snd_mixer_oss          18944  1 snd_pcm_oss
snd_hda_intel          16640  5
snd_hda_codec          72832  1 snd_hda_intel
snd_pcm                92680  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              24580  2 snd_pcm
snd                    60292  14
snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               8928  1 snd
snd_page_alloc          9988  2 snd_hda_intel,snd_pcm
____________________________________________________________________________

Hope this helps.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]