Skip to content

Commit 5904d64

Browse files
committed
Update readme.
1 parent 324be8f commit 5904d64

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ This setup should work for a variety of rg351 devices, including the rg351m, rg3
77
3. Put the SD card in your device and boot it up
88
4. Under Ports you should now see an m8 item with a few scripts
99
- SETUP - will install libserialport and add your user to the proper group to interact with serial devices.
10-
- M8 - launches m8c
10+
- M8 - launches m8c (uses alsaloop for audio)
11+
- SETUP_PULSE - installs pulseaudio if you prefer that audio subsystem
12+
- M8_PULSE - run m8c using pulseaudio
1113
- _setup_build_tools.sh - install headers and build tools for compiling m8c
1214
- _build_m8c.sh - build the binary
1315
5. Connect your device to the internet (Wifi dongle or built-in wifi). It's required for SETUP so that packages can be installed, but not for running m8c itself.
14-
6. Run the SETUP task and then reboot the device to ensure the user group changes take effect
15-
7. Now try running M8. If you're lucky it'll all work!
16+
6. Run the SETUP or SETUP_PULSE task and then reboot the device to ensure the user group changes take effect
17+
7. Now try running M8 or M8_PULSE. If you're lucky it'll all work!
1618

1719
## Building
1820

@@ -22,4 +24,18 @@ You can run the `_setup_build_tools.sh` and `_build_m8c.sh` scripts to rebuild m
2224

2325
### No audio
2426

25-
Check alsamixer settings.
27+
The pulseaudio setup uses device numbers to avoid needing to look up device names. It has worked consistently for me but you may need to use different device numbers or names depending on your setup. You can see device names and numbers using these commands:
28+
29+
- sudo pulseaudio --start &
30+
- sudo pacmd list-sources | grep -e 'name:' -e 'index:' -e device.string
31+
- sudo pacmd list-sinks | grep -e 'name:' -e 'index:'
32+
33+
Also check alsamixer settings. You may have a device muted or set to low volume.
34+
35+
### Audio glitches
36+
37+
If the alsaloop setup (default) has audio glitches or crashes, you can use the pulseaudio variant of the commands.
38+
39+
- Connect your device to the internet
40+
- Run the setup_pulse script
41+
- Then you can run the M8_pulse script to run M8 using the pulseaudio subsystem

0 commit comments

Comments
 (0)