Author Topic: Got Sound but not Through Headphones  (Read 2293 times)

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Got Sound but not Through Headphones
« on: January 09, 2012, 08:23:34 PM »
PCLinuxOS KDE 2011 Desktop.

First time install which was very easy. Good job.  :)

Problem I can't solve is that I have sound through the speakers but cannot get it through my headphones. I have no idea what I'm looking at. Still fairly new to Linux.

lspcidrake -v | fgrep -i AUDIO
Code: [Select]
snd_hda_intel   : ATI Technologies Inc|Cypress HDMI Audio [Radeon HD 5800 Series] (vendor:1002 device:aa50 subv:1043 subd:aa50)
snd_hda_intel   : Intel Corporation|5 Series/3400 Series Chipset High Definition Audio (vendor:8086 device:3b56 subv:1043 subd:8375) (rev: 05)

grep sound-slot /etc/modprobe.conf
Code: [Select]
alias sound-slot-1 snd_hda_intel
alias sound-slot-0 snd_hda_intel

/sbin/lsmod
Code: [Select]
Module                  Size  Used by
ipt_IFWLOG              1954  0
ipt_psd                43091  0
cls_flow                7339  0
cls_fw                  3341  0
cls_u32                 5696  0
sch_htb                12842  0
sch_hfsc               16679  0
sch_ingress             1452  0
sch_sfq                 5390  0
xt_time                 1671  0
xt_connlimit            2646  0
xt_realm                 715  0
iptable_raw             1024  0
xt_comment               687  18
xt_recent               6594  0
xt_policy               2158  0
ipt_ULOG                4181  0
ipt_REJECT              2029  4
ipt_REDIRECT             915  0
ipt_NETMAP               909  0
ipt_MASQUERADE          1302  0
ipt_ECN                 1540  0
ipt_ecn                 1092  0
ipt_CLUSTERIP           4965  0
ipt_ah                   865  0
ipt_addrtype            1597  2
nf_nat_tftp              682  0
nf_nat_snmp_basic       7109  0
nf_nat_sip              5664  0
nf_nat_pptp             2014  0
nf_nat_proto_gre        1021  1 nf_nat_pptp                                                                               
nf_nat_irc              1058  0                                                                                           
nf_nat_h323             5299  0                                                                                           
nf_nat_ftp              1288  0
nf_nat_amanda            844  0
ts_kmp                  1571  5
nf_conntrack_amanda     1721  1 nf_nat_amanda
nf_conntrack_sane       2796  0
nf_conntrack_tftp       2505  1 nf_nat_tftp
nf_conntrack_sip       16096  1 nf_nat_sip
nf_conntrack_proto_sctp     5838  0
nf_conntrack_pptp       3898  1 nf_nat_pptp
nf_conntrack_proto_gre     3177  1 nf_conntrack_pptp
nf_conntrack_netlink    15775  0
nf_conntrack_netbios_ns     1110  0
nf_conntrack_irc        2615  1 nf_nat_irc
nf_conntrack_h323      36604  1 nf_nat_h323
nf_conntrack_ftp        4797  1 nf_nat_ftp
ipt_set                 1084  2
ipt_SET                 1275  0
ip_set_nethash          7349  0
ip_set_iptreemap        8084  0
ip_set_iptree           4622  2
ip_set_ipporthash       6507  0
ip_set_portmap          2912  0
ip_set_macipmap         2797  0
ip_set_ipmap            2758  0
ip_set_iphash           6124  0
ip_set                 11168  18 ipt_set,ipt_SET,ip_set_nethash,ip_set_iptreemap,ip_set_iptree,ip_set_ipporthash,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
xt_TPROXY               4147  0
nf_tproxy_core           832  1 xt_TPROXY,[permanent]
ip6_tables             10542  1 xt_TPROXY
nf_defrag_ipv6          4857  1 xt_TPROXY
xt_tcpmss               1133  0
xt_pkttype               815  0
xt_physdev              1376  0
xt_owner                 875  0
xt_NFQUEUE              1489  0
xt_NFLOG                 842  0
nfnetlink_log           6675  1 xt_NFLOG
xt_multiport            1530  4
xt_mark                  897  1
xt_mac                   807  0
xt_limit                1455  0
xt_length                872  0
xt_iprange              1324  0
xt_helper               1071  0
xt_hashlimit            6289  0
xt_DSCP                 1711  0
xt_dscp                 1239  0
xt_dccp                 1775  0
xt_conntrack            2245  12
xt_connmark             1529  0
xt_CLASSIFY              689  0
ipt_LOG                 6518  5
xt_tcpudp               1947  11
xt_state                 971  0
iptable_nat             3396  0
nf_nat                 12512  12 ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat
nf_conntrack_ipv4       9733  15 iptable_nat,nf_nat
nf_defrag_ipv4          1055  2 xt_TPROXY,nf_conntrack_ipv4
nf_conntrack           49505  30 xt_connlimit,ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_sane,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle          1260  1
nfnetlink               2510  2 nf_conntrack_netlink,nfnetlink_log
iptable_filter          1100  1
ip_tables               9331  4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables               11866  50 ipt_IFWLOG,ipt_psd,xt_time,xt_connlimit,xt_realm,iptable_raw,xt_comment,xt_recent,xt_policy,ipt_ULOG,ipt_REJECT,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,ipt_set,ipt_SET,xt_TPROXY,ip6_tables,xt_tcpmss,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_mark,xt_mac,xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_connmark,xt_CLASSIFY,ipt_LOG,xt_tcpudp,xt_state,iptable_nat,iptable_mangle,iptable_filter,ip_tables
snd_usb_audio          70631  0
snd_usbmidi_lib        15440  1 snd_usb_audio
snd_rawmidi            15287  1 snd_usbmidi_lib
af_packet              17321  2
ipv6                  266689  44 xt_TPROXY,nf_defrag_ipv6
snd_hda_codec_hdmi     20480  1
snd_hda_codec_via      45102  1
snd_hda_intel          19109  7
snd_hda_codec          66310  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep               4820  2 snd_usb_audio,snd_hda_codec
snd_seq_dummy           1135  0
snd_seq_oss            25264  0
snd_seq_midi_event      4648  1 snd_seq_oss
snd_seq                42136  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4457  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33854  0
snd_pcm                60446  6 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              15383  3 snd_seq,snd_pcm
ide_pci_generic         2108  0
snd_mixer_oss          12981  1 snd_pcm_oss
ide_core               80166  1 ide_pci_generic
sg                     23483  0
snd                    43189  27 snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
r8169                  34277  0
pata_acpi               2428  0
sr_mod                 13510  0
i2c_i801                7002  0
cdrom                  31506  1 sr_mod
i2c_core               16500  1 i2c_i801
iTCO_wdt                9145  0
iTCO_vendor_support     1585  1 iTCO_wdt
soundcore               5025  1 snd
serio_raw               3462  0
mii                     3382  1 r8169
snd_page_alloc          5877  2 snd_hda_intel,snd_pcm
binfmt_misc             5850  1
cpufreq_ondemand        7592  0
cpufreq_conservative     7612  0
cpufreq_powersave        714  0
acpi_cpufreq            5117  0
freq_table              2087  2 cpufreq_ondemand,acpi_cpufreq
mperf                   1003  1 acpi_cpufreq
firewire_ohci          25329  0
dm_mod                 58938  0
firewire_sbp2          11541  0
firewire_core          43040  2 firewire_ohci,firewire_sbp2
crc_itu_t               1103  1 firewire_core
fuse                   59455  3
fglrx                2547889  419
xhci_hcd               57381  0
asus_atk0110            9335  0
wmi                     7495  0
button                  4021  1 fglrx
joydev                  7663  0
processor              22399  1 acpi_cpufreq
evdev                   7275  8
ata_generic             2527  0
pata_jmicron            1684  0
ata_piix               18602  0
ahci                   17997  4
libahci                16163  1 ahci
libata                154591  6 pata_acpi,ata_generic,pata_jmicron,ata_piix,ahci,libahci
sd_mod                 31682  6
scsi_mod              150520  5 sr_mod,sg,firewire_sbp2,libata,sd_mod
crc_t10dif              1104  1 sd_mod
ext4                  312169  2
jbd2                   59959  1 ext4
crc16                   1099  1 ext4
uhci_hcd               19499  0
ohci_hcd               19566  0
ehci_hcd               35439  0
usbhid                 31267  0
hid                    63565  1 usbhid
usbcore               117639  8 snd_usb_audio,snd_usbmidi_lib,xhci_hcd,uhci_hcd,ohci_hcd,ehci_hcd,usbhid

/sbin/chkconfig --list soundcore
Code: [Select]
sound           0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
Hope that's the right information to get things rolling.

I am trying to use the 5 Series/3400 Series Chipset High Definition Audio.

Any clues as to what to do?

KDE4 FullMonty 2011

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #1 on: January 09, 2012, 10:37:18 PM »
This is driving me nuts.   :-\

I managed to get system sounds through the headphones. Music still goes to the speakers. Then when I test the sound again I've lost it from the headphones.

Took a screenshot of what I have been trying to configure.
http://my.opera.com/XJR1300X/albums/showpic.dml?album=10343992&picture=139689922

Seems to work with the analog setting but then it loses it after a while. Then I have nothing but trouble getting it back. Then I lose it again.

Again only the system sounds come through, that is the 'test' sound.
KDE4 FullMonty 2011

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #2 on: January 09, 2012, 11:29:29 PM »
OK. May have narrowed it down to a software issue.

When I open a mp3 clementine opens up & starts playing it. Problem is that it comes through the speakers but not the headphones.

Then I open up Kmix sound settings an in the screenshot & when I click 'test' I get the test sound through the headphones while clememtine still goes through the speakers.

Also with clementine playing if I pick another mp3 from the playlist it comes through the speakers & the headphones. Stop clememtine & hit play again & it only comes through the speakers.

This is a fresh install of pslinuxos. Is there another player that recommendation?
KDE4 FullMonty 2011

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #3 on: January 10, 2012, 12:23:05 AM »
Sorry for all the updates but I think I'm getting closer. I have updated the system. (hopefully)

Still had the same problem.

Opened VLC media player & opened a movie. NO SOUND THROUGH HEADPHONES

While that was playing I opened clementine & it worked as it should. No problems. SOUND THROUGH HEADPHONES

Did it the other way round and it seems that the first player goes to the speakers, second to the headphones.

The system is picking up two sound devices. How do I set one as default? Even better disable one of them?

Code: [Select]
snd_hda_intel   : ATI Technologies Inc|Cypress HDMI Audio [Radeon HD 5800 Series] (vendor:1002 device:aa50 subv:1043 subd:aa50)
snd_hda_intel   : Intel Corporation|5 Series/3400 Series Chipset High Definition Audio (vendor:8086 device:3b56 subv:1043 subd:8375) (rev: 05)

I think the 5 Series/3400 Series Chipset High Definition Audio would be the go as the hdmi is for the TV which I will not be using with linux.
KDE4 FullMonty 2011

Offline aguila

  • Hero Member
  • *****
  • Posts: 1210
  • soaring high = no Windows here :-D
Re: Got Sound but not Through Headphones
« Reply #4 on: January 10, 2012, 01:12:46 AM »
Did you try alsamixer?

Open a terminal window (e.g. konsole in KDE) and type

alsamixer

You will find options for different devices. Maybe your headphone is muted.
All that is is good. PCLinuxOS is.

Thinkpad X61 Tablet, Core2Duo 1.66 MHz, 4 GB Ram, Intel onboard Graphics, Plextor PX-256M3 256 GB SSD; Thinkpad R61i, Core2Duo 1.66 MHz, 2 GB Ram, Intel onboard graphics, 120 GB HDD

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10631
  • MLUs Forever!
Re: Got Sound but not Through Headphones
« Reply #5 on: January 10, 2012, 04:39:39 AM »
I suggest installing task-pulseaudio and also  pavucontrol

Launching pavucontrol after PulseAudio is set (needs reboot after setting in PCC) will give you control over which sound sink (speakers or other) each application uses.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2408
Re: Got Sound but not Through Headphones
« Reply #6 on: January 10, 2012, 05:11:25 AM »
If you start the players from Terminal there may be an useful information in the output.

Start them by vlc and clementine and look for error output. You can copy it and paste in an answer here.

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #7 on: January 10, 2012, 01:08:56 PM »
Got other problems as of now. Can't boot up. Might have to start again & this time watch things more closely.
KDE4 FullMonty 2011

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #8 on: January 10, 2012, 06:07:38 PM »
I started fresh again. This time I unplugged the hdmi. Didn't make a difference. I have updated the system.

As of now I have no sound anywhere.

VLC Media PLayer
Code: [Select]
VLC media player 1.1.13 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x8e33914] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")

Clementine
Code: [Select]
12:02:16.386 DEBUG NetworkProxyFactory:30           Detected system proxy URLs: ("", "", "", "")
12:02:16.386 DEBUG CoverProviders:34                Registered cover provider "Amazon"
12:02:16.402 INFO  Player:533                       Registered URL handler for "di"
12:02:16.402 DEBUG InternetModel:94                 Adding internet service: "DigitallyImported"
12:02:16.427 DEBUG InternetModel:94                 Adding internet service: "Icecast"
12:02:16.433 DEBUG InternetModel:94                 Adding internet service: "Jamendo"
12:02:16.445 INFO  Player:533                       Registered URL handler for "lastfm"
12:02:16.445 DEBUG CoverProviders:34                Registered cover provider "last.fm"
12:02:16.445 DEBUG InternetModel:94                 Adding internet service: "Last.fm"
12:02:16.445 INFO  Player:533                       Registered URL handler for "grooveshark"
12:02:16.445 INFO  PlaylistManager:417              Registered special playlist type "grooveshark-search"
12:02:16.445 DEBUG InternetModel:94                 Adding internet service: "Grooveshark"
12:02:16.448 INFO  Player:533                       Registered URL handler for "magnatune"
12:02:16.449 DEBUG InternetModel:94                 Adding internet service: "Magnatune"
12:02:16.450 DEBUG InternetModel:94                 Adding internet service: "SavedRadio"
12:02:16.450 INFO  Player:533                       Registered URL handler for "sky"
12:02:16.450 DEBUG InternetModel:94                 Adding internet service: "SKY.fm"
12:02:16.450 INFO  Player:533                       Registered URL handler for "somafm"
12:02:16.450 DEBUG InternetModel:94                 Adding internet service: "SomaFM"
12:02:16.459 WARN  IconLoader:54                    Couldn't load icon "clementine-panel"
12:02:16.464 WARN  IconLoader:54                    Couldn't load icon "clementine-panel-grey"
12:02:16.480 DEBUG GnomeGlobalShortcutBackend:50    registering
12:02:16.480 WARN  GnomeGlobalShortcutBackend:53    gnome settings daemon not registered
12:02:16.480 DEBUG QxtGlobalShortcutBackend:32      registering
12:02:16.516 DEBUG MainWindow:209                   Starting
12:02:16.520 WARN  DeviceKitLister:56               Error enumerating DeviceKit-disks devices: "org.freedesktop.DBus.Error.ServiceUnknown" "The name org.freedesktop.UDisks was not provided by any .service files"
12:02:16.555 WARN  IconLoader:54                    Couldn't load icon "find"
12:02:16.563 WARN  unknown                          Application asked to unregister timer 0x2b00000c which is not registered in this thread. Fix application.
12:02:16.593 DEBUG MainWindow:267                   Initialising player
12:02:16.593 DEBUG MainWindow:273                   Creating models
12:02:16.595 DEBUG MainWindow:296                   Creating UI
12:02:16.613 DEBUG MainWindow:663                   Creating equalizer
12:02:16.613 DEBUG MainWindow:678                   Creating now playing widget
12:02:16.664 DEBUG MainWindow:715                   Loading settings
12:02:16.677 DEBUG MainWindow:761                   Initialising library
12:02:16.679 DEBUG MainWindow:774                   Started
12:02:16.689 INFO  DeviceManager:411                Device added: "/dev/sr0"

Can't see anything wrong in alsamixer. PCM does not have the small bar at the bottom like the rest do.

I'll try installing task-pulseaudio and also  pavucontrol & see what happens.




KDE4 FullMonty 2011

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10631
  • MLUs Forever!
Re: Got Sound but not Through Headphones
« Reply #9 on: January 10, 2012, 06:20:29 PM »
Quote
I'll try installing task-pulseaudio and also  pavucontrol & see what happens.

On the config tab of pavucontrol you can turn off the HDMI sink if you are not using it.

On the playback tab you should be able to choose which sink to use on an app by app basis.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #10 on: January 10, 2012, 06:29:39 PM »
Just so I've got this right.

Use synaptic to download, one at a time both of those programs. Set the first, reboot, then install the other?
KDE4 FullMonty 2011

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #11 on: January 10, 2012, 07:30:56 PM »
Think I got it right, downloading anyway.

Initially I had no sound no matter what I did.

Enabled pulseaudio, it downloaded then I had sound through the headphones if I played around with like yesterday.

Installed pulseaudio, started it up & got 'connection failed: Conection refused.' In the playback tab it says, 'No application is currently playing audio.' But there is & I can hear it through the headphones but only if I do what was happening yesterday. By default it goes to the speakers only.
KDE4 FullMonty 2011

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #12 on: January 10, 2012, 07:53:24 PM »
Do these packages need installing?

libpulseaudio-devel

libpulsezeroconf0

pulseaudio-client-config

pulseaudio-esound-compat

pulseaudio-module-bluetooth

pulseaudio-module-gconf

pulseaudio-module-jack

pulseaudio-module-lirc

pulseaudio-module-x11

pulseaudio-module-zeroconf

pulseaudio-utils
KDE4 FullMonty 2011

Offline Proletariat

  • Full Member
  • ***
  • Posts: 51
    • My Bike
Re: Got Sound but not Through Headphones
« Reply #13 on: January 10, 2012, 08:19:43 PM »
I suggest installing task-pulseaudio and also  pavucontrol
Woops. Forgot the 'task' before pulseaudio. Installed now. Pulseaudio set but still get the error.
KDE4 FullMonty 2011

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10631
  • MLUs Forever!
Re: Got Sound but not Through Headphones
« Reply #14 on: January 11, 2012, 05:40:32 AM »
I suggest installing task-pulseaudio and also  pavucontrol
Woops. Forgot the 'task' before pulseaudio. Installed now. Pulseaudio set but still get the error.

You need to enable PulseAudio through PCC - Hardware - Sound and then immediately reboot.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT