Re: Laptop speaker vs earphone

2007-01-11 Thread Giorgos Keramidas
On 2007-01-11 00:29, "Lion G." <[EMAIL PROTECTED]> wrote:
> Hi all, I have a weird question.
> 
> In my previous many laptops, whenever I plug in the earphone, the
> laptop speaker would stop (and I would only hear music through the
> earphone)

Which is what *should* happen.  After all, when you plug headphones into
the proper jack, it's a sort of 'signal' that you want to hear something
without disturbing all the people around with it too :)

When I asked:

"Is automute of headphone/speakers always handled by the snd_hda
driver?"

Ariff explained why this happens to me by writing:

"It all depends on the internal wiring, codecs, vendor preferences,
etc, but mostly yes, it is handled by the driver itself: cheaper,
flexible."

> With my newest laptop (Acer Aspire 5050), the laptop speaker stays on
> no-matter-what.  I would hear the same music in both the speaker and
> the earphone.
> 
> I'm using Ariff Abdullah's snd_hda driver on 6.2-RC2.
> The driver reports:
> pcm0:  mem 
> 0xc000-0xc0003fff irq 16 at device 20.2 on pci0
> pcm0: 
> pcm0: 

Try contacting Ariff.  He is pretty responsive and he will most probably
reply with a patch that fixes the problem for you.  This is *exactly*
what happened when I asked him about my own laptop, a Toshiba Satellite
U200, which had the same 'bug'.

The fix for my laptop is now part of FreeBSD 7.0-CURRENT:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pci/hda/hdac.c?rev=1.21&content-type=text/x-cvsweb-markup

Before contacting Ariff, it will be helpful (and will save you at least
one round-trip of email exchanges), if you boot in ``verbose mode'', and
save a copy of ``/var/run/dmesg.boot''.

Then, make sure you include this file and the output of ``pciconf -lv''
in your report.

Good luck,
Giorgos



pgpHInfAMaoEj.pgp
Description: PGP signature


RESOLVED (RE: Laptop speaker vs earphone)

2007-01-11 Thread Lion G.

Thanks everyone, and especially a big thank
to awesome Ariff Abdullah who solved it and
confirmed it was software-based on this laptop!

Lion Tanker wrote:
In my previous many laptops, whenever I plug in the earphone, the laptop 
speaker

would stop (and I would only hear music through the earphone)
With my newest laptop (Acer Aspire 5050), the laptop speaker stays on 
no-matter-what.

I would hear the same music in both the speaker and the earphone.


Ariff Abdullah wrote:

Yes, it is done purely in software i.e the driver.
Basically the hardware will notify the driver whether
it can sense anything that is plug in or out, and the driver
must be made ready to handle such situation: mute/unmute
specific pin that connect to headphone plug or speakers.


Ariff will commit the extra check into 7-CURRENT,
so other users with Acer Aspire 5050 (or laptops like it)
won't have to suffer the confusion I did.

:)

_
Dave vs. Carl: The Insignificant Championship Series.  Who will win? 
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptop speaker vs earphone

2007-01-11 Thread Vince
Jerry McAllister wrote:
> On Thu, Jan 11, 2007 at 12:29:45AM -0500, Lion G. wrote:
> 
>> Hi all, I have a weird question.
>>
>> In my previous many laptops, whenever I plug in
>> the earphone, the laptop speaker would stop
>> (and I would only hear music through the earphone)
>>
>> With my newest laptop (Acer Aspire 5050),
>> the laptop speaker stays on no-matter-what.
>> I would hear the same music in both
>> the speaker and the earphone.
>>
>> I'm using Ariff Abdullah's snd_hda driver on 6.2-RC2.
>> The driver reports:
>> pcm0:  mem 
>> 0xc000-0xc0003fff irq 16 at device 20.2 on pci0
>> pcm0: 
>> pcm0: 
>>
>> Another piece of info:
>> The microphone hole has both the microphone symbol
>> and the SPDIF symbol on it. Apparently the laptop
>> uses the same hole for both plugging in a stereo microphone
>> and plugging in a SPDIF device.
>>
>> Also, none of the items in the mixer helps:
>> they raise or drop both the speaker+earphone volume simultaneously.
> 
> This is not a software issue.
> Some jacks are built with a make-and-break setup.  With that, when
> the plug goes in, it presses back a contact that functions as a
> switch for some other circuit - in this case, one that drives
> the onboard speaker - thus disconnecting it whil the plug is in.
> Apparently your new piece of hardware does not have that feature.
> Probably they were cheaping out by a few cents.
> The only fix is to replace the jack.   Unfortunately it is probably
> built in, in such a way as to be very difficult to replace.

Actually i had this same problem with the first version of Ariff's
driver which went away when I used a later version. I would have thought
it a hardware issue as Jerry suggests if I didnt have my system as a
dual boot (it worked fine in windows.)
are you using the latest version from
http://people.freebsd.org/~ariff/

if not then its worth a try. it could be worth asking on
[EMAIL PROTECTED] (the link listed suggests the the
information you should supply.


Vince


> 
> jerry
> 
>> I'm out of ideas. Has any one seen something like this?
>>
>> Thanks all!
>>
>> _
>> Get live scores and news about your team: Add the Live.com Football Page 
>> www.live.com/?addtemplate=football&icid=T001MSN30A0701
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptop speaker vs earphone

2007-01-11 Thread Jerry McAllister
On Thu, Jan 11, 2007 at 12:29:45AM -0500, Lion G. wrote:

> Hi all, I have a weird question.
> 
> In my previous many laptops, whenever I plug in
> the earphone, the laptop speaker would stop
> (and I would only hear music through the earphone)
> 
> With my newest laptop (Acer Aspire 5050),
> the laptop speaker stays on no-matter-what.
> I would hear the same music in both
> the speaker and the earphone.
> 
> I'm using Ariff Abdullah's snd_hda driver on 6.2-RC2.
> The driver reports:
> pcm0:  mem 
> 0xc000-0xc0003fff irq 16 at device 20.2 on pci0
> pcm0: 
> pcm0: 
> 
> Another piece of info:
> The microphone hole has both the microphone symbol
> and the SPDIF symbol on it. Apparently the laptop
> uses the same hole for both plugging in a stereo microphone
> and plugging in a SPDIF device.
> 
> Also, none of the items in the mixer helps:
> they raise or drop both the speaker+earphone volume simultaneously.

This is not a software issue.
Some jacks are built with a make-and-break setup.  With that, when
the plug goes in, it presses back a contact that functions as a
switch for some other circuit - in this case, one that drives
the onboard speaker - thus disconnecting it whil the plug is in.
Apparently your new piece of hardware does not have that feature.
Probably they were cheaping out by a few cents.
The only fix is to replace the jack.   Unfortunately it is probably
built in, in such a way as to be very difficult to replace.

jerry

> 
> I'm out of ideas. Has any one seen something like this?
> 
> Thanks all!
> 
> _
> Get live scores and news about your team: Add the Live.com Football Page 
> www.live.com/?addtemplate=football&icid=T001MSN30A0701
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptop speaker vs earphone

2007-01-10 Thread Lion G.

Olivier Nicole wrote:

According to a quick google at SPDIF, it is a digital signal plug, so
noting where you can connect earphone...


I know... but earphone sounded great when
plugging into it. (And it does have a earphone graphical
symbol right on it)

Also, I don't have the user manual with me
(I formatted the harddrive to get rid of Windows,
and I put away the Windows CD and user manual
long ago...), but I think it may have said
it was a dual use plug, for plugging
in either earphone or a digital external multimedia system
(using I guess the SPDIF convention I guess)

_
The MSN Entertainment Guide to Golden Globes is here.  Get all the scoop. 
http://tv.msn.com/tv/globes2007/?icid=nctagline2


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptop speaker vs earphone

2007-01-10 Thread Olivier Nicole
> on other plugs. The plug I was trying had a graphics of
> a microphone on it, and SPDIF written next to it also.

According to a quick google at SPDIF, it is a digital signal plug, so
noting where you can connect earphone...

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptop speaker vs earphone

2007-01-10 Thread Lion G.

Bob McIsaac wrote:

A headphone plugged into a speaker line would blast
your ears because of the extreme difference
in sensitivity unless the jack switches in a series
resistor to reduce the level.  If you notice poor low-freq
response in your phones, that implies it is a line jack
intended for an external speaker amplifier..


Unfortunately that was not the cause this time.

:(

I did see separate "line in" and "line out" symbols
on other plugs. The plug I was trying had a graphics of
a microphone on it, and SPDIF written next to it also.
(In any case, I did try putting earphone into
each plug, and none of it stopped the speaker)

I really appreciate the rapid response so far;
the user community of FreeBSD is truly awesome!

_
Your Hotmail address already works to sign into Windows Live Messenger! Get 
it now 
http://clk.atdmt.com/MSN/go/msnnkwme002001msn/direct/01/?href=http://get.live.com/messenger/overview


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptop speaker vs earphone

2007-01-10 Thread Bob McIsaac

Olivier Nicole wrote:

I'm using Ariff Abdullah's snd_hda driver on 6.2-RC2.
The driver reports:
pcm0:  mem 0xc000-0xc0003fff 
irq 16 at device 20.2 on pci0

pcm0: 
pcm0: 



I'd tend to that that the thing that stop the speaker when you plug in
the earphone is purely mechanical/analog electornic, it is not even at
the digital electronic level, your OS cannot detect that an earphone
has been pluged in, it is like your home stereo.

It ust be a feature of Acer!

Olivier

  

A headphone plugged into a speaker line would blast your ears because of
the extreme difference in sensitivity unless the jack switches in a series
resistor to reduce the level.  If you notice poor low-freq response in
your phones, that implies it is a line jack intended for an external
speaker amplifier..  -BobMc-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptop speaker vs earphone

2007-01-10 Thread Olivier Nicole
> I'm using Ariff Abdullah's snd_hda driver on 6.2-RC2.
> The driver reports:
> pcm0:  mem 0xc000-0xc0003fff 
> irq 16 at device 20.2 on pci0
> pcm0: 
> pcm0: 

I'd tend to that that the thing that stop the speaker when you plug in
the earphone is purely mechanical/analog electornic, it is not even at
the digital electronic level, your OS cannot detect that an earphone
has been pluged in, it is like your home stereo.

It ust be a feature of Acer!

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Laptop speaker vs earphone

2007-01-10 Thread Lion G.

Hi all, I have a weird question.

In my previous many laptops, whenever I plug in
the earphone, the laptop speaker would stop
(and I would only hear music through the earphone)

With my newest laptop (Acer Aspire 5050),
the laptop speaker stays on no-matter-what.
I would hear the same music in both
the speaker and the earphone.

I'm using Ariff Abdullah's snd_hda driver on 6.2-RC2.
The driver reports:
pcm0:  mem 0xc000-0xc0003fff 
irq 16 at device 20.2 on pci0

pcm0: 
pcm0: 

Another piece of info:
The microphone hole has both the microphone symbol
and the SPDIF symbol on it. Apparently the laptop
uses the same hole for both plugging in a stereo microphone
and plugging in a SPDIF device.

Also, none of the items in the mixer helps:
they raise or drop both the speaker+earphone volume simultaneously.

I'm out of ideas. Has any one seen something like this?

Thanks all!

_
Get live scores and news about your team: Add the Live.com Football Page 
www.live.com/?addtemplate=football&icid=T001MSN30A0701


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"