You can set the config.txt so the default is using the audio jack by setting
the following two methods
hdmi_ignore_edid_audio
Setting hdmi_ignore_edid_audio to 1 pretends that all audio formats are
unsupported by the display. This means ALSA will default to the analogue
audio (headphone) jack.
hdmi_drive
The hdmi_drive command allows you to choose between HDMI and DVI output
modes.
hdmi_drive
result
1
Normal DVI mode (no sound)
2
Normal HDMI mode (sound will be sent if supported and enabled)
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.
This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of the
Foundation.
Mike Ray, list creator, January 2013