Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:raspberrypi [2017/04/03 06:22] – [Real-time kernel] Added link to my repo for realtime kernel compilation. Feel free to remove if you feel it doesn't add anything. cheekyisgreatwiki:raspberrypi [2017/09/29 19:31] – added descrepency I found with new raspbian colinsullivan
Line 221: Line 221:
   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket
  
-And then add the following lines to ''/etc/dbus-1/system.conf'':+And then add the following lines to ''/etc/dbus-1/system.conf'' before the closing ''</busconfig>'' tag:
     <policy user="pi">     <policy user="pi">
 +          <allow own="org.freedesktop.ReserveDevice1.Audio0"/>
           <allow own="org.freedesktop.ReserveDevice1.Audio1"/>           <allow own="org.freedesktop.ReserveDevice1.Audio1"/>
     </policy>     </policy>
 +    
 +WARNING: In Raspbian Stretch I had to do the following instead of modifying ''system.conf'':
 +
 +Create a new file ''/etc/dbus-1/system-local.conf'' with the following contents:
 +
 +    <?xml version="1.0"?> <!--*-nxml-*-->
 +    <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 +            "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 +    
 +    <busconfig>
 +    
 +            <policy context="default">
 +                    <allow own="org.freedesktop.ReserveDevice1.Audio0"/>
 +                    <allow own="org.freedesktop.ReserveDevice1.Audio1"/>
 +            </policy>
 +    
 +    </busconfig>
 +
 +
  
 === Using an external USB audio interface === === Using an external USB audio interface ===
Line 245: Line 265:
 [[http://wiki.linuxaudio.org/wiki/system_configuration#build_your_own_real-time_kernel|Building a real-time kernel]] [[http://wiki.linuxaudio.org/wiki/system_configuration#build_your_own_real-time_kernel|Building a real-time kernel]]
  
-[[https://github.com/dddomin3/DSPi/|Instructions from about modernized for Pi 3]]+[[https://github.com/dddomin3/DSPi/|Instructions for kernel compilation modernized for Pi 3]]
  
 {{tag>hardware_linux usb_audio_midi raspberry_pi howtos_and_faqs}} {{tag>hardware_linux usb_audio_midi raspberry_pi howtos_and_faqs}}
wiki/raspberrypi.txt · Last modified: 2020/03/15 17:50 by autostatic