Ubuntu 10.04 on HP dv6-2155dx
Sound: Speakers do not turn off when you plug in headphones.
Solution...
in terminal:
gksudo gedit /etc/modprobe.d/alsa-base.conf
add this line to the very bottom:
options snd-hda-intel model=hp-dv5
save and restart :)
Everything else is working great, wireless works out of the box.
Still looking into the remote control. If anyone has any tips on getting the remote buttons to map correctly please comment.
UPDATE 10-19-10
re-installed with Ubuntu 10.10
Got the remote working
basically you need to install lirc and configure 3 files
Install LIRC in terminal
sudo apt-get install lircremote profile: http://lirc.sourceforge.net/remotes/hp/HSTNN-PRO7
add the entire contents of this remote profile page to /etc/lirc/lircd.conf
sudo gedit /etc/lirc/lircd.confconfigure /etc/lirc/hardware.conf
sudo gedit /etc/lirc/hardware.confmake it look like this:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
#REMOTE="HP_RC172308-01B"
REMOTE="ENE KB3926 B/C/D (ENE0100) CIR port"
REMOTE_MODULES="lirc_dev lirc_ene0100"
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="/etc/lirc/lirc.conf"
REMOTE_LIRCD_ARGS="-d /dev/lirc0"
#Enable lircd
START_LIRCD=true
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"now you should restart the computer
after restart you can type irw in terminal to test your remote, just push some buttons on the remote and you should see some codes show up in the terminal.
Now to get the remote to control a program you have to create a file in your home folder home/username/ called .lircrc
mine looks like this:
begin
prog = irexec
remote = *
button = KEY_DISPLAYTOGGLE
config = gnome-display-properties --window &
end
begin
prog = Totem
remote = *
button = KEY_PLAY
repeat = 1
config = play
end
begin
prog = Totem
remote = *
button = KEY_PAUSE
repeat = 0
config = pause
end
begin
prog = Totem
remote = *
button = KEY_STOPCD
repeat = 0
config = stop
end
# For seek_forward and seek_backward you can
# append ":20" to seek 20 seconds in the
# aforementioned direction
#
# Eg. seek_forward:60 -> seek forward 60 seconds
# seek_backward:5 -> seek backwards 5 seconds
begin
prog = Totem
remote = *
button = KEY_FASTFORWARD
repeat = 1
config = seek_forward
end
begin
prog = Totem
remote = *
button = KEY_FORWARD
repeat = 1
config = seek_forward
end
begin
prog = Totem
remote = *
button = KEY_REWIND
repeat = 1
config = seek_backward
end
# FIXME
begin
prog = Totem
remote = *
button = KEY_POWER
repeat = 0
config = fullscreen
end
begin
prog = Totem
remote = *
button = KEY_VOLUMEUP
repeat = 1
config = volume_up
end
begin
prog = Totem
remote = *
button = KEY_VOLUMEDOWN
repeat = 1
config = volume_down
end
begin
prog = Totem
remote = *
button = KEY_NEXTSONG
repeat = 0
config = next
end
begin
prog = Totem
remote = *
button = KEY_PREVIOUSSONG
repeat = 0
config = previous
end
begin
prog = Totem
remote = *
button = KEY_EXIT
repeat = 1
config = quit
end
begin
prog = Totem
remote = *
button = KEY_UP
repeat = 0
config = up
end
begin
prog = Totem
remote = *
button = KEY_DOWN
repeat = 0
config = down
end
begin
prog = Totem
remote = *
button = KEY_LEFT
repeat = 0
config = left
end
begin
prog = Totem
remote = *
button = KEY_RIGHT
repeat = 0
config = right
end
begin
prog = Totem
remote = *
button = KEY_SELECT
repeat = 0
config = select
end
begin
prog = Totem
remote = *
button = KEY_ENTER
repeat = 0
config = select
end
begin
prog = Totem
remote = *
button = KEY_INFO
repeat = 0
config = menu
end
begin
prog = Totem
remote = *
button = KEY_PLAYPAUSE
repeat = 0
config = play_pause
end
begin
prog = Totem
remote = *
button = KEY_SELECT
repeat = 0
config = select
end
begin
prog = Totem
remote = *
button = KEY_EJECTCD
repeat = 1
config = eject
end
begin
prog = Totem
remote = *
button = KEY_DVD
repeat = 0
config = play_dvd
end
begin
prog = Totem
remote = *
button = KEY_MUTE
repeat = 1
config = mute
end
begin
prog = Totem
remote = *
button = KEY_SHUFFLE
repeat = 1
config = setting_shuffle
end
begin
prog = Totem
remote = *
button = KEY_MEDIA_REPEAT
repeat = 1
config = setting_repeat
end
begin
prog = Totem
remote = *
button = KEY_PAGEUP
repeat = 1
config = zoom_up
end
begin
prog = Totem
remote = *
button = KEY_PAGEDOWN
repeat = 1
config = zoom_down
endyou can see that this is configured only for totem (movie player in gnome) and i also created a button to open the monitor display properties
You must restart the computer for the new config to work, and that's all. you can also add support for other programs and even modes where the remote will control different programs depending on the mode its in. totem has an option in its plug-ins to activate remote control, which is where i found the config that i placed in my .lircrc file, other applications may have a similar setting.
Here are some resources:
http://www.g-loaded.eu/2006/01/10/how-to-configure-and-use-lirc/
https://help.ubuntu.com/community/InstallLirc/Hardy
http://ubuntuforums.org/showthread.php?p=9830502
