3d_druck:das_andere_3d
This is an old revision of the document!
Table of Contents
Das andere 3d
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 nano /boot/config.txt
- Diese beiden Elemente auskommentieren :
enable_uart=1 dtoverlay=disable-bt
- Treiber laden
sudo nano /etc/modules-load.d/modules.conf
btusb
einfügen
- Dienste aktivieren
sudo systemctl enable hciuart.service
sudo systemctl enable bluetooth.service
sudo usermod -a -G bluetooth pi
sudo reboot
Joystick koppeln
bluetoothctl
scan on
[NEW] Device DC:0C:2D:5A:FC:EE Wireless Controller
pair DC:0C:2D:5A:FC:EE
[JBL Charge 3]# pair 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 UUIDs: 00001124-0000-1000-8000-00805f9b34fb [CHG] Device DC:0C:2D:5A:FC:EE UUIDs: 00001200-0000-1000-8000-00805f9b34fb [CHG] Device DC:0C:2D:5A:FC:EE ServicesResolved: yes [CHG] Device DC:0C:2D:5A:FC:EE Paired: yes Pairing successful [CHG] Device DC:0C:2D:5A:FC:EE ServicesResolved: no [CHG] Device DC:0C:2D:5A:FC:EE Connected: no
trust DC:0C:2D:5A:FC:EE
[JBL Charge 3]# trust DC:0C:2D:5A:FC:EE [CHG] Device DC:0C:2D:5A:FC:EE Trusted: yes Changing DC:0C:2D:5A:FC:EE trust succeeded
connect DC:0C:2D:5A:FC:EE
- Test
Lautsprecher koppeln
bluetoothctl
scan on
[NEW] Device B8:D5:0B:C7:F1:0A JBL Charge 3
pair B8:D5:0B:C7:F1:0A
[bluetooth]# pair B8:D5:0B:C7:F1:0A Attempting to pair with B8:D5:0B:C7:F1:0A [CHG] Device B8:D5:0B:C7:F1:0A Connected: yes [CHG] Device B8:D5:0B:C7:F1:0A UUIDs: 00001101-0000-1000-8000-00805f9b34fb [CHG] Device B8:D5:0B:C7:F1:0A UUIDs: 00001108-0000-1000-8000-00805f9b34fb [CHG] Device B8:D5:0B:C7:F1:0A UUIDs: 0000110b-0000-1000-8000-00805f9b34fb [CHG] Device B8:D5:0B:C7:F1:0A UUIDs: 0000110c-0000-1000-8000-00805f9b34fb [CHG] Device B8:D5:0B:C7:F1:0A UUIDs: 0000110e-0000-1000-8000-00805f9b34fb [CHG] Device B8:D5:0B:C7:F1:0A UUIDs: 0000111e-0000-1000-8000-00805f9b34fb [CHG] Device B8:D5:0B:C7:F1:0A UUIDs: 00001200-0000-1000-8000-00805f9b34fb [CHG] Device B8:D5:0B:C7:F1:0A UUIDs: 00001801-0000-1000-8000-00805f9b34fb [CHG] Device B8:D5:0B:C7:F1:0A ServicesResolved: yes [CHG] Device B8:D5:0B:C7:F1:0A Paired: yes Pairing successful
trust B8:D5:0B:C7:F1:0A
[JBL Charge 3]# trust B8:D5:0B:C7:F1:0A [CHG] Device B8:D5:0B:C7:F1:0A Trusted: yes Changing B8:D5:0B:C7:F1:0A trust succeeded
connect B8:D5:0B:C7:F1:0A
[bluetooth]# connect B8:D5:0B:C7:F1:0A Attempting to connect to B8:D5:0B:C7:F1:0A [CHG] Device B8:D5:0B:C7:F1:0A Connected: yes Connection successful [CHG] Device B8:D5:0B:C7:F1:0A ServicesResolved: yes [JBL Charge 3]#
exit
- Lautsprecher testen
speaker-test -c2 -twav -l3
sudo apt install vlc
cvlc sample-15s.mp3
Doom compilieren (chocolate)
sudo apt install gcc make libsdl2-dev libsdl2-net-dev libsdl2-mixer-dev automake autoconf libtool git pkg-config
cd chocolate-doom
./autogen.sh
make -j4
sudo make install
WAD Datei kopieren
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
unzip shareware_doom_iwad.zip
Klipperscreen stoppen
sudo systemctl stop KlipperScreen.service
Test
DISPLAY=:0 chocolate-doom -iwad DOOM1.WAD
Kein Autoconnect
sudo nano /etc/bluetooth/main.conf
FastConnectable = true
- Probleme mit Audio :
sudo nano /etc/pulse/default.pa
# automatically switch to newly-connected devices load-module module-switch-on-connect
sudo nano /etc/dbus-1/system.d/bluetooth.conf
<!-- allow users of bluetooth group to communicate with hcid --> <policy group="bluetooth"> <allow send_destination="org.bluez"/> </policy>
3d_druck/das_andere_3d.1711693331.txt.gz · Last modified: 2024/03/29 07:22 by dominik