discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Funcube Dongle Broken in GUN Radio?


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Funcube Dongle Broken in GUN Radio?
Date: Thu, 25 Aug 2016 14:54:36 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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, address@hidden wrote:

------------------------------

Message: 8
Date: Tue, 23 Aug 2016 10:24:52 +0100
From: Sean Sharkey <address@hidden <mailto:address@hidden>>
To: address@hidden <mailto:address@hidden>
Subject: [Discuss-gnuradio] Funcube Dongle Broken in GUN Radio?
Message-ID: <address@hidden <mailto:address@hidden>>
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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]