On 08/25/2016 12:06 PM, Sean Sharkey wrote:
Hi Marcus,
Thank you for this.
Marcus' chiming in here.
I think gr-osmosdr has support for FCDs now, so as long as you have the
right libs when gr-osmosdr builds, it'll support FCD.
I think the gr-fcd code is "old".
But perhaps someone from the gr-osmosdr side of the house could make a
comment?
Hi Sean,
could you tell us your GNU Radio version?
Best regards,
Marcus
I?m using version 3.7.10 of gunradio.
I get the impression that this bug might have been introduced some
time ago. If I understand what I?ve been reading correctly the code
for FCD was
initially standalone and some were around version 3.5 gr-fcd was
incorporated into gnuradio. I could be wrong.
What seems to have happened is that the hidmac.c code seems to be
trying to set the length of the string to the length of the buffer, rather
than setting the buffer to the length of the device string.
I assume that from the file in question, hidmac.c, as in
gnuradio/gr-fcd/lib/hid/hidmac.c, the bug only effects Mac OS
platforms using the FunCube Dongle. Perhaps that why it hasn?t
shown up before.
Any help would be gratefully appreciated.
Kind regards,
Sean.
On 23 Aug 2016, at 17:00, [email protected]
<mailto:[email protected]> wrote:
------------------------------
Message: 8
Date: Tue, 23 Aug 2016 10:24:52 +0100
From: Sean Sharkey <[email protected]
<mailto:[email protected]> <mailto:[email protected]>>
To: [email protected]
<mailto:[email protected]> <mailto:[email protected]>
Subject: [Discuss-gnuradio] Funcube Dongle Broken in GUN Radio?
Message-ID: <[email protected]
<mailto:[email protected]> <mailto:[email protected]>>
Content-Type: text/plain; charset="utf-8"
Morning Everyone.
I?m having trouble getting the original Funcube Dongle recognised in
GNU Radio and GNU Radio Companion.
For example when I run Companion and try to select FCD as the source
I get an error saying that the ?Port is not connected.?
My computer recognises the FCD and any number of other programs work
just fine so the problem would appear to be isolated to GNU Radio.
The following post from the GQRX group suggests that a bug may have
been introduced when the original FCD code was incorporated into GNU
Radio about 2 years ago.
Apparently there might be a problem with the hidmac.c file located
at gnuradio/gr-fcd/lib/hid/hidmac.c
See this post for details
https://github.com/csete/gqrx/issues/358 <https://github.com/csete/gqrx/issues/358>
<https://github.com/csete/gqrx/issues/358<https://github.com/csete/gqrx/issues/358>>
"range.length is set to the len of buf we got by the caller of our
function, instead of the length of the string we got from
IOHIDDeviceGetProperty(). range.length
has to be the length of that source string, not that of the
destination buffer.?
Might anyone be able to help?
Thank you in advance for any help.
Kind regards,
Sean.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio