diff options
author | Dominig ar Foll <dominig.arfoll@fridu.net> | 2018-03-06 17:34:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 17:34:33 +0100 |
commit | 9a4b7c3ad8b5f95912180a5eefb246caacd737d3 (patch) | |
tree | 9f0b1030f9dfbf4dd2747fb4723dca026f3906e6 /getting-started/troubleshooting.md | |
parent | 3c64d3c7c2dfb227facdd7cfbad605b5e50762a0 (diff) |
presentation
trying to get the MD presentation working on AGL web site as well as in git.
Diffstat (limited to 'getting-started/troubleshooting.md')
-rw-r--r-- | getting-started/troubleshooting.md | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/getting-started/troubleshooting.md b/getting-started/troubleshooting.md index 95a08ac..a9dcaff 100644 --- a/getting-started/troubleshooting.md +++ b/getting-started/troubleshooting.md @@ -107,29 +107,29 @@ If you don’t want to touch the ligthmediascanner service, you can also add a f ## Configuring the Audio hardware AGL uses alsa as Audio configuration master. If the correct HW is not setup, the Audio system will fail to start what will also fails the demo Home Screen launch. You need to configure Audio in 2 places - * alsa - * 4A HAL +* alsa +* 4A HAL ### alsa The file /etc/asound.conf (at the beginning) tells which hardware will be used. For example on an Intel Minnow or UP board your need to enter the following configuration. -```json - pcm.Speakers { - type dmix - slave {pcm "hw:PCH,3"} - ipc_key 1001 # ipc_key should be unique to each dmix -} +```bash + pcm.Speakers { + type dmix + slave {pcm "hw:PCH,3"} + ipc_key 1001 # ipc_key should be unique to each dmix + } ``` The correct value (here hw:PCH,3) can be obtained with the command: ```bash -aplay -l -**** List of PLAYBACK Hardware Devices **** -card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] - Subdevices: 1/1 - Subdevice #0: subdevice #0 -card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] - Subdevices: 1/1 - Subdevice #0: subdevice #0 + aplay -l + **** List of PLAYBACK Hardware Devices **** + card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] + Subdevices: 1/1 + Subdevice #0: subdevice #0 + card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] + Subdevices: 1/1 + Subdevice #0: subdevice #0 ``` Using hw:PCH rather than hw:0 will avoid you many trouble.<br> NOTE that the device number is not always 0. If you give no device number, alsa will assume device 0 (and the not the first available device), what can fail your configuration.<br> @@ -143,11 +143,11 @@ For info HW device for common configuration are: ### 4A HAL configuration AGL 4A needs to know which HAL shall be used. This is configured in the file: -``` +```bash /usr/agl-service-audio-4a/ahl-agl-service-audio-4a-config.json ``` At the beginning of that file you will find the slected HAL (note the there is no correct default value). -```json +```bash { "version": "0.2.0", "policy_module": "AudioPolicy_v1", @@ -189,5 +189,5 @@ Once that you have built your image on the SD card, uncompress the desired map i (YourMountPoint will vary with your build system).<br> You can also use the script from the image to install the Mapdata on your SD card but there is little adavange in using that method. e.g. - * download_mapdata_jp.sh /YourMountPoint +* download_mapdata_jp.sh /YourMountPoint |