67comet wrote:Any ideas? It's still not playing nice on it's internal speakers. It plays fine on it's headphone jack however.
Hi,
Sorry I haven't followed up on my initial response.
If you look at your output of the "aplay -l" command, you can see a list of all the devices that ALSA recognizes. The nomenclature for identifying one of these devices is
hw:X,Y, where X is the card number, and Y is the device number. As such, from your output, it looks like you have three devices:
Code: Select all
card 0: ICH6 [Intel ICH6], device 0: Intel ICH [Intel ICH6]
card 0: ICH6 [Intel ICH6], device 4: Intel ICH - IEC958 [Intel ICH6 - IEC958]
card 1: Modem [Intel ICH6 Modem], device 0: Intel ICH - Modem [Intel ICH6 Modem - Modem]
...with the ALSA identifiers
hw:0,0,
hw:0,4, and
hw:1,0, respectively.
ALSA playback automatically uses
hw:0,0 by default, and
hw:1,0 is a modem, which you don't care about in this context. That leaves
hw:0,4, which could possibly be the device identifier of the laptop speakers.
So, what you can do to find out is create an /etc/asound.conf file with the following contents:
Code: Select all
pcm.!default {
type plug
slave {
pcm "hw:0,4"
}
}
...and restart ALSA:
See if that enables the speakers. Assuming this works, it may, however, disable headphone jack output. If you want to keep both outputs functional and be able to select which one you want, you can make an asound.conf like this:
Code: Select all
pcm.!default {
type plug
slave {
pcm "hw:0,4"
}
}
pcm.!headphones {
type plug
slave {
pcm "hw:0,0"
}
}
...and then when you want to use the headphones instead of the speakers, reference the ALSA device "headphones" in your playback application; for example:
Note that many popular media players, such as xmms and mplayer, allow you to select an ALSA device through their GUI interface.
Hope that helps.