So, as I understand it there's currently already driver FM support for the GCW Zero. Unfortunately, a quick check with a compile of fmtools
, a command-line fm radio, and I get:
opendingux:/media/sdcard # ./fmscan
./fmscan: VIDIOC_G_TUNER: No such device or address
Further, an strace reveals...
open("/dev/radio0", O_RDONLY) = 3
ioctl(3, VIDIOC_QUERYCTRL, 0x7ffc3460) = 0
ioctl(3, VIDIOC_G_TUNER, 0x7ffc34a4) = -1 ENXIO (No such device or address)
Ie, it's not a permission problem per se. So, I'm not sure what's up with that. Under /sys/... I find:
opendingux:/sys/devices/virtual/video4linux/radio0 # cat name
RDA5807 FM receiver
And it appears that said device isn't supported under the main kernel tree, but there's xburst cpu rda5807 driver
and I presume the code for the gcw zero comes from here or another similar line and a quick skim at least looks like it's generally right in supporting the needed IOCTLs, so I again presume that's not the issue.
I guess what I'm getting at is, um, so does the FM radio actually work and if so what am I doing wrong? Before going much further in attempting to make some sort of FM Radio GUI, I'd like to at least make sure my FM radio is actually working. So, any ideas on what to try next?
PS - If this at all matters, this is a black kickstarter gcw zero.