User Tools

Site Tools


3d_druck:das_andere_3d

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
3d_druck:das_andere_3d [2024/03/29 07:21] – [Test] dominik3d_druck:das_andere_3d [2024/03/30 16:05] (current) – [Doom compilieren (chocolate)] dominik
Line 2: Line 2:
  
 ===== Bluetooth aktivieren ===== ===== Bluetooth aktivieren =====
-  * ''sudo apt update && sudo apt upgrade -y && sudo apt install git bluez bluetooth pulseaudio pulseaudio-utils pulseaudio-module-bluetooth blueman pavucontrol pi-bluetooth''+  * ''sudo apt update && sudo apt upgrade -y && sudo apt install git bluez bluetooth pulseaudio pulseaudio-utils pulseaudio-module-bluetooth blueman pavucontrol pi-bluetooth vlc''
   * ''sudo nano /boot/config.txt''   * ''sudo nano /boot/config.txt''
     * Diese beiden Elemente auskommentieren : \\ <code>     * Diese beiden Elemente auskommentieren : \\ <code>
Line 22: Line 22:
     * ''pair DC:0C:2D:5A:FC:EE''     * ''pair DC:0C:2D:5A:FC:EE''
       * <code>       * <code>
-[JBL Charge 3]# pair DC:0C:2D:5A:FC:EE+[bluetooth]# pair DC:0C:2D:5A:FC:EE
 Attempting to pair with DC:0C:2D:5A:FC:EE Attempting to pair with DC:0C:2D:5A:FC:EE
 [CHG] Device DC:0C:2D:5A:FC:EE Connected: yes [CHG] Device DC:0C:2D:5A:FC:EE Connected: yes
Line 30: Line 30:
 [CHG] Device DC:0C:2D:5A:FC:EE Paired: yes [CHG] Device DC:0C:2D:5A:FC:EE Paired: yes
 Pairing successful Pairing successful
-[CHGDevice DC:0C:2D:5A:FC:EE ServicesResolved: no +Authorize service 
-[CHG] Device DC:0C:2D:5A:FC:EE Connected: no</code>+[agentAuthorize service 00001124-0000-1000-8000-00805f9b34fb (yes/no)yes</code>
     * ''trust DC:0C:2D:5A:FC:EE''     * ''trust DC:0C:2D:5A:FC:EE''
       * <code>       * <code>
-[JBL Charge 3]# trust DC:0C:2D:5A:FC:EE+[Wireless Controller]# trust DC:0C:2D:5A:FC:EE
 [CHG] Device DC:0C:2D:5A:FC:EE Trusted: yes [CHG] Device DC:0C:2D:5A:FC:EE Trusted: yes
 Changing DC:0C:2D:5A:FC:EE trust succeeded</code> Changing DC:0C:2D:5A:FC:EE trust succeeded</code>
     * ''connect DC:0C:2D:5A:FC:EE''     * ''connect DC:0C:2D:5A:FC:EE''
-      * +      * <code> 
 +[Wireless Controller]# connect DC:0C:2D:5A:FC:EE 
 +Attempting to connect to DC:0C:2D:5A:FC:EE 
 +Connection successful 
 +</code> 
 + 
 +  * **Gamepad (PS4) testen** 
 +    * Tools installieren \\ ''sudo apt install evtest joystick jstest-gtk -y'' 
 +    * Verfügbare Controller auflisten \\ ''ls /dev/input/js*''  
 +    * Test starten \\ ''jstest /dev/input/js0'' \\ In der Ausgabe nach "Axes" schauen die nicht auf 0 gehen. \\ **Hinweis** : Axes 2 & 5 sind meistens die Shoulderbuttons und stehen auf -32676 \\ {{:hardware:pasted:20231010-052945.png}}
 ===== Lautsprecher koppeln ===== ===== Lautsprecher koppeln =====
   * ''bluetoothctl''   * ''bluetoothctl''
Line 74: Line 83:
 </code> </code>
     * ''exit''     * ''exit''
-  * Lautsprecher testen +  * **Lautsprecher testen** 
     * ''speaker-test -c2 -twav -l3''     * ''speaker-test -c2 -twav -l3''
     * ''wget https://download.samplelib.com/mp3/sample-15s.mp3''     * ''wget https://download.samplelib.com/mp3/sample-15s.mp3''
-    * ''sudo apt install vlc'' 
     * ''cvlc sample-15s.mp3''     * ''cvlc sample-15s.mp3''
 +
 +===== Bluetooth Checkup =====
 +Wenn alles erfolgreich gekoppelt ist, dann solltet ihr jetzt folgende Ausgabe bekommen bei ''bluetoothctl devices'': 
 +<code bash>
 +pi@Pi4Test:~ $ bluetoothctl devices
 +Device DC:0C:2D:5A:FC:EE Wireless Controller
 +Device B8:D5:0B:C7:F1:0A JBL Charge 3
 +</code>
  
 ===== Doom compilieren (chocolate) ===== ===== Doom compilieren (chocolate) =====
   * basierend auf https://www.chocolate-doom.org/wiki/index.php/Building_Chocolate_Doom_on_Debian   * basierend auf https://www.chocolate-doom.org/wiki/index.php/Building_Chocolate_Doom_on_Debian
-  * ''sudo apt install gcc make libsdl2-dev libsdl2-net-dev libsdl2-mixer-dev automake autoconf libtool git pkg-config''+  * ''sudo apt install -y gcc make libsdl2-dev libsdl2-net-dev libsdl2-mixer-dev automake autoconf libtool git pkg-config''
   * ''git clone https://github.com/chocolate-doom/chocolate-doom.git''   * ''git clone https://github.com/chocolate-doom/chocolate-doom.git''
-  * ''cd chocolate-doom'' +  * ''cd chocolate-doom && ./autogen.sh''
-  * ''./autogen.sh''+
   * ''make -j4''   * ''make -j4''
   * ''sudo make install''   * ''sudo make install''
  
-===== WAD Datei kopieren ===== +===== Doom einrichten =====
->**Hinweis** \\ Für Doom braucht es die original WAD Datei. Die habt ihr also entweder gekauft damals oder ihr sucht mal im Netz. Es gibt die Shareware WAD Dateien noch zum Download. Mehr darf ich hier nicht sagen ;-) +
-  * ''doom.wad'' per MobaXTerm auf den Pi kopieren+
  
-  * **Shareware Version**+===== WAD Datei kopieren ===== 
 +Ihr brauch für Doom eine WAD Datei. Darin enthalten sind letztlich die Maps die ihr spielen könnt. Da diese Dateien immer noch unter Copyright stehen habt ihr folgende Möglichkeiten:  
 +  - **Shareware Version**
     * ''wget http://www.doomworld.com/3ddownloads/ports/shareware_doom_iwad.zip''     * ''wget http://www.doomworld.com/3ddownloads/ports/shareware_doom_iwad.zip''
     * ''unzip shareware_doom_iwad.zip''     * ''unzip shareware_doom_iwad.zip''
 +  - **Original Version** \\ Ihr habt das Spiel gekauft und kopiert euch die WAD Datei. 
 +  - **Internet Version** \\ //Zensiert wegen Copyright//
 +
 ===== Klipperscreen stoppen ===== ===== Klipperscreen stoppen =====
   * ''sudo systemctl stop KlipperScreen.service''   * ''sudo systemctl stop KlipperScreen.service''
Line 101: Line 119:
 ===== Test ===== ===== Test =====
   * ''DISPLAY=: chocolate-doom -iwad DOOM1.WAD''   * ''DISPLAY=: chocolate-doom -iwad DOOM1.WAD''
-===== Kein Autoconnect =====+===== Probleme =====
   * ''sudo nano /etc/bluetooth/main.conf''   * ''sudo nano /etc/bluetooth/main.conf''
     * ''FastConnectable = true''     * ''FastConnectable = true''
Line 116: Line 134:
   </policy>   </policy>
 </code> </code>
 +  * <code>[bluetooth]# scan on
 +Failed to start discovery: org.bluez.Error.InProgress</code> \\ https://github.com/Hexxeh/rpi-update \\ kann auch org.bluez.Error.NotReady sein 
 +
3d_druck/das_andere_3d.1711693300.txt.gz · Last modified: 2024/03/29 07:21 by dominik

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki