-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ioctl HIDIOCGRAWINFO error using CM108 PTT #136
Comments
Hey guys, I have same issue here - after every PTT I get: 73, DO6DAD |
I had the same issue. The ID of my device was not included in the test to recognize the device in cm108.c. |
This is fixed by #168 |
For anyone else coming across this issue, I found that changing the permissions of hidraw0 stopped the errors, despite the PTT functioning.
The proper fix is to amend the udev rules, as discussed. |
My cm108 sound card won't fire beacons,Notice:failed for /dev/hidraw0. errno = 0." |
yjf007: Please provide the following information to help troubleshoot the issue: (1) operating system. 73, |
to:John WB2OSZ ** = Can use Audio Adapter GPIO for PTT. |
Looks like a permission problem. |
I've been using the DireWolf 1.5 Beta for the CM108 PTT feature (Thank you!), but it shows an error in the logs even though it seems to work and triggers my PTT just fine. The error message may be a false positive.
The exact error message is "ioctl HIDIOCGRAWINFO failed for /dev/hidraw0. errno = 0.", and it repeats multiple times during a session. I'm using RMS Express on Windows 10, and am connecting to DireWolf on my Raspberry Pi 3 over TCP KISS. I'm using the latest build of Raspbian Stretch Lite with all updates applied. The error only appears when I transmit. I've tried running DireWolf as "root", and as the "pi" user, but it makes no difference.
When I first used the CM108 adapter for PTT I simply used
PTT CM108
in my config file as described in the user guide, but DireWolf gave this error in the logs:So I changed the config line to
PTT CM108 3 /dev/hidraw0
and now it works, but gives the error message.Here's some typical log output:
Here's my config file:
Output from your cm108 application:
lsusb:
uname:
dmesg:
This is the USB CM108 audio adapter I am using:
https://www.sanwulasers.org/product/hf07
Let me know if there's any other details I can provide.
73,
VA7ACQ
The text was updated successfully, but these errors were encountered: