LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-05-2009, 11:21 AM   #1
platti
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Unhappy nothing happens when I plugin my headphones ???


When I plug in my headphones, nothing happens at all, and when I listen to some music, and deside to mute it with the FN + key buttons, nothing happens. I've tried some programs, but I can never seem to raise nor lower the volume like when you want to adjust the master volume or something like that.

All I know is that I have Realtek ALC888 driver. PLEASE help me :P
 
Old 10-05-2009, 11:26 AM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
which is your distro? you can't hear any sound at all? no system sounds or just no music ?
 
Old 10-05-2009, 11:43 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
These are probably the XFree86 key symbols you are interested in.

Code:
egrep '(Volume|Mute)' XF86keysym.h
#define XF86XK_AudioLowerVolume 0x1008FF11   /* Volume control down        */
#define XF86XK_AudioMute        0x1008FF12   /* Mute sound from the system */
#define XF86XK_AudioRaiseVolume 0x1008FF13   /* Volume control up          */
Run the `xev' program to determine the keycode for your Mute, Volume Up, and Volume Down keys.
Code:
KeyRelease event, serial 34, synthetic NO, window 0x3c00001,
    root 0x65, subw 0x0, time 7945382, (122,65), root:(127,605),
    state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:                                   
    XFilterEvent returns: False
Then create a file in your home directory. I use ~/.Xmodmap
Code:
cat .Xmodmap
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute
Replace the XF86XK_ with XF86, from the keysym definitions, for the right hand side value. Use the values you learn from using xev for the keycodes.

Now run xmodmap ~/.Xmodmap. If these keys still don't have an effect, make sure you have a mixer running, such as kmix if you are using KDE.

---
Two things I will do to try to fix various sound problems is running "alsaconf" as root, and then my distro's sound configuration tool. After updating a kernel, alsa may be muted, and you may need to run "alsamixer" to unmute the sound.
 
Old 10-05-2009, 12:03 PM   #4
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by platti View Post
When I plug in my headphones, nothing happens at all, and when I listen to some music, and deside to mute it with the FN + key buttons, nothing happens. I've tried some programs, but I can never seem to raise nor lower the volume like when you want to adjust the master volume or something like that.

All I know is that I have Realtek ALC888 driver. PLEASE help me :P
You have left out a crucial bit of information -- what kind of headphones? If they are analog headphones with a tip jack, they should have automatically cut off your system's speakers and taken over. But if they are USB headphones, that's a different problem with a different solution.
 
Old 10-05-2009, 12:32 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,465

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
and WHAT distro are you using ???
also the make and model of the computer .
 
Old 10-06-2009, 05:59 AM   #6
platti
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
kk, first off all don'T know what distro means ^^
and I got jack plugin, ipod headphones
I can'T hear anything at all, not system nor music sounds.
I have a Acer Aspire 6530G
and I got no control of the computer speakers with the fn buttons

this is what I meant in the first post =)

Quote:
Originally Posted by jschiwal View Post
These are probably the XFree86 key symbols you are interested in.

Code:
egrep '(Volume|Mute)' XF86keysym.h
#define XF86XK_AudioLowerVolume 0x1008FF11   /* Volume control down        */
#define XF86XK_AudioMute        0x1008FF12   /* Mute sound from the system */
#define XF86XK_AudioRaiseVolume 0x1008FF13   /* Volume control up          */
Run the `xev' program to determine the keycode for your Mute, Volume Up, and Volume Down keys.
Code:
KeyRelease event, serial 34, synthetic NO, window 0x3c00001,
    root 0x65, subw 0x0, time 7945382, (122,65), root:(127,605),
    state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:                                   
    XFilterEvent returns: False
Then create a file in your home directory. I use ~/.Xmodmap
Code:
cat .Xmodmap
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute
Replace the XF86XK_ with XF86, from the keysym definitions, for the right hand side value. Use the values you learn from using xev for the keycodes.

Now run xmodmap ~/.Xmodmap. If these keys still don't have an effect, make sure you have a mixer running, such as kmix if you are using KDE.

---
Two things I will do to try to fix various sound problems is running "alsaconf" as root, and then my distro's sound configuration tool. After updating a kernel, alsa may be muted, and you may need to run "alsamixer" to unmute the sound.
I will try this later to day, thx for the info
 
Old 10-06-2009, 06:40 AM   #7
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by platti View Post
kk, first off all don'T know what distro means ^^
and I got jack plugin, ipod headphones
I can'T hear anything at all, not system nor music sounds.
I have a Acer Aspire 6530G
and I got no control of the computer speakers with the fn buttons
Analog headphones are the most trivial, low-tech thing you can imagine. When you plug them in, they mechanically switch the audio output from the system speakers to the headphones.

If you plug in the headphones and the system speakers stop emitting sound, that's one low-tech hurdle and an interesting piece of information, but you don't provide it.

If the headphones are meant to be used with any MP3 player or radio, they should work with your computer, but you don't say what kind of headphones they are except to say they're "ipod headphones", a category that has no consistent meaning.

So please answer these questions:

1. Is the headphone tip jack the same size as the headphone socket, so the tip jack cannot be moved laterally after insertion?

2. When you plug in the headphones, do the system's main speakers stop emitting sound?

3. What happens when you adjust the controls using the volume control applet that is a standard feature of every modern desktop environment?

4. Have you ever successfully used headphones with this system? If so, what kind of headphones were they?
 
Old 10-06-2009, 08:09 AM   #8
platti
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lutusp View Post
Analog headphones are the most trivial, low-tech thing you can imagine. When you plug them in, they mechanically switch the audio output from the system speakers to the headphones.

If you plug in the headphones and the system speakers stop emitting sound, that's one low-tech hurdle and an interesting piece of information, but you don't provide it.

If the headphones are meant to be used with any MP3 player or radio, they should work with your computer, but you don't say what kind of headphones they are except to say they're "ipod headphones", a category that has no consistent meaning.

So please answer these questions:

1. Is the headphone tip jack the same size as the headphone socket, so the tip jack cannot be moved laterally after insertion?

2. When you plug in the headphones, do the system's main speakers stop emitting sound?

3. What happens when you adjust the controls using the volume control applet that is a standard feature of every modern desktop environment?

4. Have you ever successfully used headphones with this system? If so, what kind of headphones were they?
kk,
1. http://gizmodo.com/186599/sennheiser-cx-300-headphones these headphones, with the regular jack size, works fine on my laptop with windows :S

2. nothing happens, it's like the computer doesn't know I plugged anything in

3. I can adjust the computer speakers in system > Preferences > sounds that's not a problem, but when I adjust it with my fn buttons, the volume BAR increases and decreases, sometimes without the sound accually going up or down and sometimes the sound does go up and down (now when I talk about sound, I'm talking about any sound coming from the computer, music, system sounds, anything at all)

4. no headphones have worked :/

and I got Ubuntu 9.04 I think, atleast the new version
 
Old 10-06-2009, 01:34 PM   #9
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
so your laptop internal speakers are working, but anything(headphones, pc speakers etc) that plugs into your green output port is working.right?

After plugging the headphones, open Sound Preferences and look in the outputs(or something similar). do you only see internal audio?

distro means your linux distribution, like ubuntu or fedora. Ubuntu is a distro, fedora is a distro, Slackware is a distro,..

Last edited by j_jerry; 10-06-2009 at 01:38 PM.
 
Old 10-06-2009, 11:36 PM   #10
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,003
Blog Entries: 1

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
May not apply, but some of the dells had headphone channels that only appear in alsamixer(not aumix, gmix, kmix or others). As far as the hot keys, I never really figured that stuff out.

$ alsamixer -c 0
 
Old 10-07-2009, 04:43 AM   #11
platti
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I'm going to try to make this as simple as I can make it :P
since I'm not so good in linux (just started using it, have been a windows man all my life)

when I enter alsamixer and kmix I get this windows
Picture!!!

if you tell me to do some programming or just give me codes I'm afraid
that it wont help me much :/ I need the instructions where to put codes etc

Quote:
Originally Posted by j_jerry View Post
so your laptop internal speakers are working, but anything(headphones, pc speakers etc) that plugs into your green output port is working.right?

After plugging the headphones, open Sound Preferences and look in the outputs(or something similar). do you only see internal audio?

distro means your linux distribution, like ubuntu or fedora. Ubuntu is a distro, fedora is a distro, Slackware is a distro,..
and yes, anything related pluging n the jack, does not work only the built in computer speakers :l

and my distro is ubuntu 9.04 I think :P

Last edited by platti; 10-07-2009 at 05:03 AM.
 
Old 10-07-2009, 10:32 AM   #12
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
In alsa mixer, select the headphones (second from the left) and press the up arrow. I think they are potted down.
 
Old 10-07-2009, 03:51 PM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,003
Blog Entries: 1

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
linux has many parallels to windows. F1 on the PC side generally brings up a help screen.

As far as alsamixer. left and right to bump between channels. up and down to increase / decrease. "M" to mute/unmute. ESC to exit. Really not much more to it, to use it. "TAB" to switch between playback / capture / all on what the mixer shows you in terms of mixer channels. But it should default to playback which should be what you're needing.

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Headphones / Limewire jrjone Linux - Newbie 4 05-12-2009 05:30 AM
Headphones as microphone. portamenteff Linux - Hardware 6 01-26-2009 07:20 PM
sound but no headphones flury Linux - Laptop and Netbook 1 05-29-2007 12:28 PM
No sound from headphones:( in 6.10 sagar.1986 Ubuntu 6 02-18-2007 08:27 PM
Headphones Grisnak Slackware 10 02-20-2004 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration