steff2808
17.03.12, 21:29
Hallo, ich habe ein Laptop mit Ubuntu 04/11. Wenn ich zuhause bin schliesse ich immer ein HDMI-Kabel an, damit ich auf einem 23 Zoll-Monitor arbeiten kann. Ubuntu schaltet das auch problemlos mit der richtgen Auflösung 1920x1080 um. Die Lautsprecher sind direkt am Monitor angeschlossen, da klappt das umschalten leider nicht automatisch. Jedesmal muss ich unter "Audio-Einstellungen, Hardware, Profil" wechsen. Ich wähle manuell zwischen:
Digital Stereo (HDMI)Output oder Analog Stereo Output aus.
Es gibt doch bestimmt eine Möglichkeit dieses Umschalten per Script zu erledigen? Was möglichst noch automatisch startet, wenn der HDMI-Stecker gesteckt ist, oder eben nicht mehr?
Hier weitere Systeminfos, vielen Dank
cat /proc/asound/cards:
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0700000 irq 45
uname -a:
2.6.38-13-generic-pae #56-Ubuntu SMP Tue Feb 14 14:32:30 UTC 2012 i686 i686 i386 GNU/Linux
lsmod:
Module Size Used by
michael_mic 12540 8
arc4 12473 4
binfmt_misc 13213 1
parport_pc 32111 0
ppdev 12849 0
snd_hda_codec_hdmi 27535 1
snd_hda_codec_realtek 255882 1
rfcomm 38125 8
joydev 17322 0
sco 17827 2
bnep 17785 2
l2cap 48656 16 rfcomm,bnep
btusb 18160 2
bluetooth 65493 9 rfcomm,sco,bnep,l2cap,btusb
snd_hda_intel 28209 0
snd_hda_codec 90901 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel
snd_hwdep 13274 1 snd_hda_codec
snd_pcm 80042 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi 13132 0
snd_rawmidi 25269 1 snd_seq_midi
lib80211_crypt_tkip 17203 0
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28659 2 snd_pcm,snd_seq
snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq
dell_laptop 13515 0
i915 451088 3
usbhid 41704 0
wl 2642531 0
dell_wmi 12601 0
sparse_keymap 13666 1 dell_wmi
compal_laptop 19283 0
uvcvideo 66851 0
snd 55295 10 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,s nd_seq,snd_timer,snd_seq_device
dcdbas 14054 1 dell_laptop
psmouse 59039 0
hid 77084 1 usbhid
videodev 75143 1 uvcvideo
serio_raw 12990 0
soundcore 12600 1 snd
snd_page_alloc 14073 2 snd_hda_intel,snd_pcm
drm_kms_helper 40971 1 i915
drm 184164 4 i915,drm_kms_helper
lib80211 14570 2 lib80211_crypt_tkip,wl
i2c_algo_bit 13184 1 i915
video 18951 1 i915
lp 13349 0
parport 36746 3 parport_pc,ppdev,lp
usb_storage 43946 0
uas 17676 0
atl1c 36237 0
ahci 21591 3
libahci 25548 1 ahci
Digital Stereo (HDMI)Output oder Analog Stereo Output aus.
Es gibt doch bestimmt eine Möglichkeit dieses Umschalten per Script zu erledigen? Was möglichst noch automatisch startet, wenn der HDMI-Stecker gesteckt ist, oder eben nicht mehr?
Hier weitere Systeminfos, vielen Dank
cat /proc/asound/cards:
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0700000 irq 45
uname -a:
2.6.38-13-generic-pae #56-Ubuntu SMP Tue Feb 14 14:32:30 UTC 2012 i686 i686 i386 GNU/Linux
lsmod:
Module Size Used by
michael_mic 12540 8
arc4 12473 4
binfmt_misc 13213 1
parport_pc 32111 0
ppdev 12849 0
snd_hda_codec_hdmi 27535 1
snd_hda_codec_realtek 255882 1
rfcomm 38125 8
joydev 17322 0
sco 17827 2
bnep 17785 2
l2cap 48656 16 rfcomm,bnep
btusb 18160 2
bluetooth 65493 9 rfcomm,sco,bnep,l2cap,btusb
snd_hda_intel 28209 0
snd_hda_codec 90901 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel
snd_hwdep 13274 1 snd_hda_codec
snd_pcm 80042 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi 13132 0
snd_rawmidi 25269 1 snd_seq_midi
lib80211_crypt_tkip 17203 0
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28659 2 snd_pcm,snd_seq
snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq
dell_laptop 13515 0
i915 451088 3
usbhid 41704 0
wl 2642531 0
dell_wmi 12601 0
sparse_keymap 13666 1 dell_wmi
compal_laptop 19283 0
uvcvideo 66851 0
snd 55295 10 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,s nd_seq,snd_timer,snd_seq_device
dcdbas 14054 1 dell_laptop
psmouse 59039 0
hid 77084 1 usbhid
videodev 75143 1 uvcvideo
serio_raw 12990 0
soundcore 12600 1 snd
snd_page_alloc 14073 2 snd_hda_intel,snd_pcm
drm_kms_helper 40971 1 i915
drm 184164 4 i915,drm_kms_helper
lib80211 14570 2 lib80211_crypt_tkip,wl
i2c_algo_bit 13184 1 i915
video 18951 1 i915
lp 13349 0
parport 36746 3 parport_pc,ppdev,lp
usb_storage 43946 0
uas 17676 0
atl1c 36237 0
ahci 21591 3
libahci 25548 1 ahci