deskpi

About the DeskPi Pro

The DeskPi Pro is a hardware kit for converting a standard Raspberry Pi 4 from a naked SBC, with limited storage, into a mini PC complete with a power button, cooling, better ports and, via SATA then USB3, 2.5” or M.2 SSD storage.

Youtube Tutorial

Youtube video

Currently tested operating systems that can support Deskpi scripts

Please Read this section carefully

How to install it.

For example:

For Raspbian OS 64bit (bookworm)

git clone https://github.com/DeskPi-Team/deskpi.git 
cd ~/deskpi/installation/RaspberryPiOS/64bit/
sudo ./install-raspios-64bit.sh 

For Volumio OS Version: 2021-04-24-Pi

###Setting Fan Speed Manually

NOTE: Once you execute this deskpi-config command, the deskpi.service will be stopped at background.

you will need to execute sudo systemctl restart deskpi.service to re-activate it.

If deskpi.service is in a stopped state, it will not read the configuration in the /etc/deskpi.conf file to control the fan.

Therefore, if you want the fan to operate automatically according to your custom temperature settings, please ensure that the deskpi.service is always running in the background, especially after executing the deskpi-config command, you need to manually restart the deskpi.service by executing sudo systemctl restart deskpi.service command in a terminal.

How to control fan speed mannualy.

NOTE: 50% Speed level means you have already send PWM50 to /dev/ttyUSB0 port, and this port will available when you add dtoverlay=dwc2,dr_mode=host to /boot/firmware/config.txt file and reboot your DeskPi.

How to boot from USB SSD/HDD?

After initial Raspberry Pi Configuration and once you have Internet Connectivity established, Install the DeskPi Pro Utilities from https://github.com/DeskPi-Team/deskpi.git Open a Terminal / Console and run the following commands:

sudo apt update
sudo apt full-upgrade
sudo rpi-update

When complete, run:

sudo reboot

Upon reboot, open Terminal again:

sudo raspi-config

Reboot again (to restart with new settings)

sudo reboot 

After reboot, re-open Terminal again

sudo -E rpi-eeprom-config --edit

• do not change anything, it is unnecessary • press Ctrl-X to save, answer Y to overwrite file.

sudo reboot    

Now you are ready to install Raspberry-OS onto your USB Boot Device. You can use the Raspberry Imager from www.raspberrypi.org website. Depending on device the new SD Card Copier can transfer the SD-Card image to the USB Device (ensure you select generate a new UUID). Once your USB drive is imaged & ready to boot, shutdown your Deskpi-Pro, remove the SD-Card and power-up to boot from the USB Boot drive, once running & configured you can install your additional software and proceed as usual.

How to Use IR function onboard.

  1. You need to enable gpio-ir function by modify /boot/config.txt file. uncomment this line if not exsit please add it.
    dtoverlay=gpio-ir,gpio_pin=17 
    
  2. Install lirc package:
    sudo apt-get install lirc
    
  3. Modify configuration file on location: /etc/lirc/lirc_options.conf and make sure it has following parameters:
    driver          = default
    device          = /dev/lirc0
    
  4. Reboot your Raspberry Pi and test it with following command:
    mode2 -d /dev/lirc1
    

    LOGO