Direwolf issue and solution - jharwinbarrozo/rotcontrol GitHub Wiki

cd ~
git clone https://www.github.com/wb2osz/direwolf
cd direwolf
git checkout dev
mkdir build && cd build
cmake ..
make -j4
sudo make install
make install-conf

sudo chmod -R 777 /dev/hidraw*

  • if direwolf is saying you need to rebuild direwolf to support CM108 PTT, just install libudev-dev and rebuild direwolf again.
    sudo apt-get install libudev-dev
  • https://github.com/wb2osz/direwolf/pull/168/files this will fix the problem ioctl HIDIOCGRAWINFO failed for /dev/hidraw0. errno = 0 keeps on appearing when after PTT is engaged.
  • In the udev rules /etc/udev/rules.d/99-direwolf-cmedia.rules, make sure to change "0660" to "0666". 0666 means rewritabble by anyone.
    SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0d8c", GROUP="audio", MODE="0660"