Difference between revisions of "Sound problems"
m (→solution) |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{cleanup}} | |
− | |||
− | ==solution== | + | ==Before you get fancy== |
− | In a [[FreekBox]], this is generally a hardware problem with your | + | ===Avoid the Root Account=== |
+ | The root account, accessibly from recovery mode does not have default access to sound. This poses a problem when attempting to diagnose issues that should not happen and are often due to user error. | ||
+ | |||
+ | ===Be one with the User=== | ||
+ | Use the root account to backup the "/etc/shadow" file. Then change the users password to "freegeek" and reboot. This will allow you to view and manipulate any relevant settings the user has changed. | ||
+ | |||
+ | ==Things to Check== | ||
+ | ===Check the Obvious=== | ||
+ | Sound is something that seems to break when its actually working perfectly well. Check the volume. Check the Mute checkbox. Check in sound preferences that it is set to use "Stereo Duplex Mode" | ||
+ | |||
+ | It would also be a good idea to check that the user does have speakers. | ||
+ | |||
+ | ==Gateway laptop with no sound== | ||
+ | ===symptoms=== | ||
+ | This is a problem that seems to be related to Gateway laptop computers not producing sound. | ||
+ | |||
+ | ===solution=== | ||
+ | Open up "Volume Control" and click "Preferences." Find and check the selection called "External Amplifier." Return to "Volume Control" and go to the "Switches" tab. Uncheck the new "External Amplifier" selection and test the audio. | ||
+ | |||
+ | ==/dev/dsp can't be opened (debian sarge)== | ||
+ | ===symptoms=== | ||
+ | When KDE starts, an error message pops up saying "Error while initializing the sound driver: device /dev/dsp can't be opened (no such device)". Then sound no work. Wah. | ||
+ | |||
+ | ===solution=== | ||
+ | In a [[FreekBox]], this is generally a hardware problem with your sound card. But if you're working on a non-freekbox system, here's a method for troubleshooting this error: | ||
* make sure /dev/dsp exists, and that the group has write access: | * make sure /dev/dsp exists, and that the group has write access: | ||
− | guest@freekbox:~$ | + | guest@freekbox:~$ ls -l /dev/dsp |
lrwxrwxrwx 1 root root 9 May 3 17:37 /dev/dsp -> /dev/dsp0 | lrwxrwxrwx 1 root root 9 May 3 17:37 /dev/dsp -> /dev/dsp0 | ||
the lrwxlrwxlrwx bit means everyone in the world has read/write/execute permission on the file, which is a link to /dev/dsp0. | the lrwxlrwxlrwx bit means everyone in the world has read/write/execute permission on the file, which is a link to /dev/dsp0. | ||
* If /dev/dsp doesn't exist, you can use ln to create it (as root) | * If /dev/dsp doesn't exist, you can use ln to create it (as root) | ||
− | freekbox:~# | + | freekbox:~# ln -s /dev/dsp0 /dev/dsp |
* But you need to make sure /dev/dsp0 exists too: | * But you need to make sure /dev/dsp0 exists too: | ||
guest@freekbox:~$ ls -l /dev/dsp | guest@freekbox:~$ ls -l /dev/dsp | ||
Line 16: | Line 39: | ||
* You can make /dev/dsp0 with MAKEDEV if it doesn't exist. | * You can make /dev/dsp0 with MAKEDEV if it doesn't exist. | ||
freekbox:/dev# ./MAKEDEV audio | freekbox:/dev# ./MAKEDEV audio | ||
− | * Finally, make sure the user is in the audio | + | * Finally, make sure the user is in the audio group: |
− | guest@freekbox:~$ | + | guest@freekbox:~$ groups |
guest dialout cdrom floppy audio dip video games users | guest dialout cdrom floppy audio dip video games users | ||
On a FreekBox-type computer, it's rare that users will be added improperly and not be in the audio group. | On a FreekBox-type computer, it's rare that users will be added improperly and not be in the audio group. | ||
Line 27: | Line 50: | ||
[[Category:Build]][[Category:Tech support]] | [[Category:Build]][[Category:Tech support]] | ||
+ | [[Category:Needs updating]] |
Latest revision as of 17:31, 19 October 2013
This page or section appears to be out of date or otherwise inaccurate.
Please edit as seems necessary, removing the {{cleanup}} tag when you are through.
Before you get fancy
Avoid the Root Account
The root account, accessibly from recovery mode does not have default access to sound. This poses a problem when attempting to diagnose issues that should not happen and are often due to user error.
Be one with the User
Use the root account to backup the "/etc/shadow" file. Then change the users password to "freegeek" and reboot. This will allow you to view and manipulate any relevant settings the user has changed.
Things to Check
Check the Obvious
Sound is something that seems to break when its actually working perfectly well. Check the volume. Check the Mute checkbox. Check in sound preferences that it is set to use "Stereo Duplex Mode"
It would also be a good idea to check that the user does have speakers.
Gateway laptop with no sound
symptoms
This is a problem that seems to be related to Gateway laptop computers not producing sound.
solution
Open up "Volume Control" and click "Preferences." Find and check the selection called "External Amplifier." Return to "Volume Control" and go to the "Switches" tab. Uncheck the new "External Amplifier" selection and test the audio.
/dev/dsp can't be opened (debian sarge)
symptoms
When KDE starts, an error message pops up saying "Error while initializing the sound driver: device /dev/dsp can't be opened (no such device)". Then sound no work. Wah.
solution
In a FreekBox, this is generally a hardware problem with your sound card. But if you're working on a non-freekbox system, here's a method for troubleshooting this error:
- make sure /dev/dsp exists, and that the group has write access:
guest@freekbox:~$ ls -l /dev/dsp lrwxrwxrwx 1 root root 9 May 3 17:37 /dev/dsp -> /dev/dsp0
the lrwxlrwxlrwx bit means everyone in the world has read/write/execute permission on the file, which is a link to /dev/dsp0.
- If /dev/dsp doesn't exist, you can use ln to create it (as root)
freekbox:~# ln -s /dev/dsp0 /dev/dsp
- But you need to make sure /dev/dsp0 exists too:
guest@freekbox:~$ ls -l /dev/dsp crw-rw-rw- 1 root audio 14, 3 Mar 23 12:28 /dev/dsp0
- You can make /dev/dsp0 with MAKEDEV if it doesn't exist.
freekbox:/dev# ./MAKEDEV audio
- Finally, make sure the user is in the audio group:
guest@freekbox:~$ groups guest dialout cdrom floppy audio dip video games users
On a FreekBox-type computer, it's rare that users will be added improperly and not be in the audio group.
The last set of possibilities are all hardware problems, so if you've gotten this far, try a different sound card. User:Dave says that the AE Vortex PCI sound card is a frequent culprit, so if you've got one of these, offer it to Dave to see if it will help him.
--ideath 12:46, 5 Aug 2005 (PDT) Jeff 03:09, 6 Aug 2005 (PDT)