Re: [gentoo-user] no sound through headphones (still bad)

2016-07-18 Thread Fernando Rodriguez
On 07/17/2016 01:43 PM, allan gottlieb wrote:
> On Sat, Jul 16 2016, Alec Ten Harmsel wrote:
> 
>> On Sat, Jul 16, 2016 at 04:17:04PM -0400, allan gottlieb wrote:
>>>
>>> To answer Alec's questions this is a 3.5mm jack.  Nothing new in dmesg.
>>> sudo lspci | grep -i audio   shows
>>> 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 
>>> 09)
>>> 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High
>>> Definition Audio Controller (rev 03)
>>>
>>> I think/hope we are getting close and thank everyone for their help.
>>>
>>> allan
>>>
>>
>> Just double checking; what is the value of these config keys in your
>> kernel config?
>>
>> * SND_HDA_INTEL
>> * SND_INTEL* (there are a few of these)
>> * SND_SOC_INTEL* (there are a few of these)
> 
> E7450-wired linux # grep SND_HDA_INTEL .config
> CONFIG_SND_HDA_INTEL=y
> E7450-wired linux # grep 'SND_INTEL*' .config
> # CONFIG_SND_INTEL8X0 is not set
> # CONFIG_SND_INTEL8X0M is not set
> E7450-wired linux # grep 'SND_SOC_INTEL*' .config
> E7450-wired linux # 
> 
> Is this last empty reply significant?

Those are usually for smartphones and other System-On-Chip embedded
system. How about:

# grep CONFIG_SND_HDA_CODEC .config

It is possible that the headset runs off a different chip and
you're missing the codec driver for it. To check enable them all in
the same way you're building your other audio drivers (modules or
builtin). If it works you just need to figure out which one you
need and disable the rest.



>> I'm completely grasping at straws here. Another option may be opening up
>> a terminal and running:
>>
>> pulseaudio --kill
>> pulseaudio --start --daemonize=no --verbose
>>
>> Then try and use audio and see what exactly gets spit out.
>>
>> Audio for me Just Works (tm), so I hope this helps.
>>
>> Alec
> 
> gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --kill
> gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --start 
> --daemonize=no --verbose
> I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation 
> not permitted
> I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation 
> not permitted
> I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No 
> such file or directory
> I: [pulseaudio] main.c: This is PulseAudio 8.0
> I: [pulseaudio] main.c: Page size is 4096 bytes
> I: [pulseaudio] main.c: Machine ID is 6089ce1bfebfff5e96a31beb55b51fc9.
> I: [pulseaudio] main.c: Session ID is 1.
> I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
> I: [pulseaudio] main.c: Using state directory /home/gottlieb/.config/pulse.
> I: [pulseaudio] main.c: Using modules directory /usr/lib64/pulse-8.0/modules.
> I: [pulseaudio] main.c: Running in system mode: no
> E: [pulseaudio] pid.c: Daemon already running.
> 
> Starting audio did not cause anything to be printed.
> 
> allan
> 
> 




Re: [gentoo-user] no sound through headphones (still bad)

2016-07-18 Thread Alec Ten Harmsel
On Sun, Jul 17, 2016 at 01:43:29PM -0400, allan gottlieb wrote:
> 
> E7450-wired linux # grep SND_HDA_INTEL .config
> CONFIG_SND_HDA_INTEL=y

This is good, I guess?

> E7450-wired linux # grep 'SND_INTEL*' .config
> # CONFIG_SND_INTEL8X0 is not set
> # CONFIG_SND_INTEL8X0M is not set
> E7450-wired linux # grep 'SND_SOC_INTEL*' .config
> E7450-wired linux # 
> 
> Is this last empty reply significant?

Maybe? You could try reconfiguring your kernel with all of the Intel
audio-related drivers as modules, and see what happens.

> > I'm completely grasping at straws here. Another option may be opening up
> > a terminal and running:
> >
> > pulseaudio --kill
> > pulseaudio --start --daemonize=no --verbose
> >
> > Then try and use audio and see what exactly gets spit out.
> >
> > Audio for me Just Works (tm), so I hope this helps.
> >
> > Alec
> 
> gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --kill
> gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --start 
> --daemonize=no --verbose
> I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation 
> not permitted
> I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation 
> not permitted
> I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No 
> such file or directory
> I: [pulseaudio] main.c: This is PulseAudio 8.0
> I: [pulseaudio] main.c: Page size is 4096 bytes
> I: [pulseaudio] main.c: Machine ID is 6089ce1bfebfff5e96a31beb55b51fc9.
> I: [pulseaudio] main.c: Session ID is 1.
> I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
> I: [pulseaudio] main.c: Using state directory /home/gottlieb/.config/pulse.
> I: [pulseaudio] main.c: Using modules directory /usr/lib64/pulse-8.0/modules.
> I: [pulseaudio] main.c: Running in system mode: no
> E: [pulseaudio] pid.c: Daemon already running.
> 
> Starting audio did not cause anything to be printed.

It exited immediately because `pulseaudio --kill' did not actually kill
PulseAudio. Maybe try:

pkill -9 pulseaudio
pulseaudio --start --daemonize=no --verbose

Alec



Re: [gentoo-user] no sound through headphones (still bad)

2016-07-17 Thread allan gottlieb
On Sat, Jul 16 2016, Alec Ten Harmsel wrote:

> On Sat, Jul 16, 2016 at 04:17:04PM -0400, allan gottlieb wrote:
>> 
>> To answer Alec's questions this is a 3.5mm jack.  Nothing new in dmesg.
>> sudo lspci | grep -i audio   shows
>> 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
>> 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High
>> Definition Audio Controller (rev 03)
>> 
>> I think/hope we are getting close and thank everyone for their help.
>> 
>> allan
>> 
>
> Just double checking; what is the value of these config keys in your
> kernel config?
>
> * SND_HDA_INTEL
> * SND_INTEL* (there are a few of these)
> * SND_SOC_INTEL* (there are a few of these)

E7450-wired linux # grep SND_HDA_INTEL .config
CONFIG_SND_HDA_INTEL=y
E7450-wired linux # grep 'SND_INTEL*' .config
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
E7450-wired linux # grep 'SND_SOC_INTEL*' .config
E7450-wired linux # 

Is this last empty reply significant?

> I'm completely grasping at straws here. Another option may be opening up
> a terminal and running:
>
> pulseaudio --kill
> pulseaudio --start --daemonize=no --verbose
>
> Then try and use audio and see what exactly gets spit out.
>
> Audio for me Just Works (tm), so I hope this helps.
>
> Alec

gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --kill
gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --start --daemonize=no 
--verbose
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not 
permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not 
permitted
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No 
such file or directory
I: [pulseaudio] main.c: This is PulseAudio 8.0
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 6089ce1bfebfff5e96a31beb55b51fc9.
I: [pulseaudio] main.c: Session ID is 1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/gottlieb/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib64/pulse-8.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.

Starting audio did not cause anything to be printed.

allan




Re: [gentoo-user] no sound through headphones (still bad)

2016-07-16 Thread Alec Ten Harmsel
On Sat, Jul 16, 2016 at 04:17:04PM -0400, allan gottlieb wrote:
> 
> To answer Alec's questions this is a 3.5mm jack.  Nothing new in dmesg.
> sudo lspci | grep -i audio   shows
> 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
> 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition 
> Audio Controller (rev 03)
> 
> I think/hope we are getting close and thank everyone for their help.
> 
> allan
> 

Just double checking; what is the value of these config keys in your
kernel config?

* SND_HDA_INTEL
* SND_INTEL* (there are a few of these)
* SND_SOC_INTEL* (there are a few of these)

I'm completely grasping at straws here. Another option may be opening up
a terminal and running:

pulseaudio --kill
pulseaudio --start --daemonize=no --verbose

Then try and use audio and see what exactly gets spit out.

Audio for me Just Works (tm), so I hope this helps.

Alec



Re: [gentoo-user] no sound through headphones (still bad)

2016-07-16 Thread allan gottlieb
On Sat, Jul 16 2016, Ian Bloss wrote:

> On Sat, Jul 16, 2016 at 8:25 AM allan gottlieb  wrote:
>
>> Hardware: Dell Latitude E7450 laptop
>>
>> Gentoo essentially all stable
>> Gnome / Systemd
>>
>> When I play a movie using totem it sounds fine if no headphones are
>> plugged it.
>>
>> No sound at all with headphones.  I tried a few, one with a microphone
>> several without.
>>
>> The gnome sound settings gui recognizes that the headphones are in but
>> the sound test is silent.  If, with the phones still in, I select the
>> internal speakers, all sounds well.
>>
>> I installed pauvcontrol and selected "Output Devices".
>> When I selected "Speakers" as the port the volume meter moves around
>> normally and the sound is fine.
>> When I selected "Headphones (plugged in)" as the port the volume meter
>> again moves around normally but there is no sound.
>>
>> This laptop dual boots windows.  I played the same movie on windows and
>> sound was normal both with the speakers and the headphones.
>>
>> What should I try next?
>>
>> thanks,
>> allan
>>
>
> check either with alsamixer and make sure the headphone jack isn't muted,
> or look into pulseaudio if you're using that, although I can't help much
> there as I don't use pulse.

I tried alsamixer with interesting results.  I used f3 [playback].

I first unmuted everything and tried to raise the volume of all.
I could raise the volume of all but the first headphone column

The columns from left to right are

Master Headphone Headphone Headphone Speaker PCM Auto-Mute et al
 
   |
   could not raise this column
   
When the headphone is plugged in the second column is set to un-mute and
the speaker column is set to mute.  When the headphone is unplugged the
reverse occurs.  All this looks right.  But I can't raise the volume
setting for the second column (I can and did raise columns 3 and 4.

I sure looks like the headphone gets unmuted but is permanently at
volume 0.

Also the gnome volume control (top bar) shows headphone and when I move
its slider it raises/lowers the first column (master) volume.

To answer Alec's questions this is a 3.5mm jack.  Nothing new in dmesg.
sudo lspci | grep -i audio   shows
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio 
Controller (rev 03)

I think/hope we are getting close and thank everyone for their help.

allan



Re: [gentoo-user] no sound through headphones (still bad)

2016-07-16 Thread Alec Ten Harmsel
Hi,

On Sat, Jul 16, 2016 at 11:24:20AM -0400, allan gottlieb wrote:
> Hardware: Dell Latitude E7450 laptop
> 
> Gentoo essentially all stable
> Gnome / Systemd

This is basically my setup, but I don't run gnome.

> When I play a movie using totem it sounds fine if no headphones are
> plugged it.
> 
> No sound at all with headphones.  I tried a few, one with a microphone
> several without.

USB or 3.5mm jack?

> The gnome sound settings gui recognizes that the headphones are in but
> the sound test is silent.  If, with the phones still in, I select the
> internal speakers, all sounds well.
> 
> I installed pauvcontrol and selected "Output Devices".
> When I selected "Speakers" as the port the volume meter moves around
> normally and the sound is fine.
> When I selected "Headphones (plugged in)" as the port the volume meter
> again moves around normally but there is no sound.
> 
> This laptop dual boots windows.  I played the same movie on windows and
> sound was normal both with the speakers and the headphones.
> 
> What should I try next?
 
What does running `dmesg' output around the time that you plug in and
unplug your headphones? Around the time that you start a movie/music?

What about `lsusb', `lspci', etc?

Alec



Re: [gentoo-user] no sound through headphones (still bad)

2016-07-16 Thread Ian Bloss
check either with alsamixer and make sure the headphone jack isn't muted,
or look into pulseaudio if you're using that, although I can't help much
there as I don't use pulse.

On Sat, Jul 16, 2016 at 8:25 AM allan gottlieb  wrote:

> Hardware: Dell Latitude E7450 laptop
>
> Gentoo essentially all stable
> Gnome / Systemd
>
> When I play a movie using totem it sounds fine if no headphones are
> plugged it.
>
> No sound at all with headphones.  I tried a few, one with a microphone
> several without.
>
> The gnome sound settings gui recognizes that the headphones are in but
> the sound test is silent.  If, with the phones still in, I select the
> internal speakers, all sounds well.
>
> I installed pauvcontrol and selected "Output Devices".
> When I selected "Speakers" as the port the volume meter moves around
> normally and the sound is fine.
> When I selected "Headphones (plugged in)" as the port the volume meter
> again moves around normally but there is no sound.
>
> This laptop dual boots windows.  I played the same movie on windows and
> sound was normal both with the speakers and the headphones.
>
> What should I try next?
>
> thanks,
> allan
>
>


[gentoo-user] no sound through headphones (still bad)

2016-07-16 Thread allan gottlieb
Hardware: Dell Latitude E7450 laptop

Gentoo essentially all stable
Gnome / Systemd

When I play a movie using totem it sounds fine if no headphones are
plugged it.

No sound at all with headphones.  I tried a few, one with a microphone
several without.

The gnome sound settings gui recognizes that the headphones are in but
the sound test is silent.  If, with the phones still in, I select the
internal speakers, all sounds well.

I installed pauvcontrol and selected "Output Devices".
When I selected "Speakers" as the port the volume meter moves around
normally and the sound is fine.
When I selected "Headphones (plugged in)" as the port the volume meter
again moves around normally but there is no sound.

This laptop dual boots windows.  I played the same movie on windows and
sound was normal both with the speakers and the headphones.

What should I try next?

thanks,
allan