-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Description
I get this error message whenever I transmit, but the PTT does trigger and my radio does transmit.
Could not open /dev/hidraw0 for write, errno=13
Type "ls -l /dev/hidraw0" and verify that it has audio group rw similar to this:
crw-rw---- 1 root audio 247, 0 Oct 6 19:24 /dev/hidraw0
rather than root-only access like this:
crw------- 1 root root 247, 0 Sep 24 09:40 /dev/hidraw0
ERROR: PTT for channel 0 has failed. See User Guide for troubleshooting tips.
This is what I get when I run ls -l
. Notice that .
that indicates something SELinux that I don't completely understand.
❯ ls -l /dev/hidraw0
crw-rw----. 1 root audio 241, 0 Jan 10 17:05 /dev/hidraw0
❯ ls -Z /dev/hidraw0
system_u:object_r:usb_device_t:s0 /dev/hidraw0
Other system information:
My udev rules
❯ cat /etc/udev/rules.d/99-direwolf-cmedia-rules.rules
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0d8c", GROUP="audio", MODE="0660"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="7388", GROUP="audio", MODE="0660"
cm108 output
❯ cm108
VID PID Product Sound ADEVICE ADEVICE HID [ptt]
--- --- ------- ----- ------- ------- ---------
** 0d8c 0012 USB Audio Device /dev/snd/controlC0 /dev/hidraw0
** 0d8c 0012 USB Audio Device /dev/snd/pcmC0D0c plughw:0,0 plughw:Device,0 /dev/hidraw0
** 0d8c 0012 USB Audio Device /dev/snd/pcmC0D0p plughw:0,0 plughw:Device,0 /dev/hidraw0
** = Can use Audio Adapter GPIO for PTT.
My config file (stripped of comments)
#ADEVICE plughw:1,0
ADEVICE plughw:0,0
CHANNEL 0
MYCALL redacted
MODEM 1200
PTT CM108
AGWPORT 8000
KISSPORT 8001
IGTXLIMIT 6 10
Dire Wolf version 1.7
OS: Fedora
Ultimately doesn't seem like an actual problem because the PTT works and I can TX, but I would want someone to report this kind of thing to me if it was my project.
Metadata
Metadata
Assignees
Labels
No labels