Skip to content
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

add deps install details #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

tripflex
Copy link
Collaborator

No description provided.

@duanev
Copy link

duanev commented Apr 9, 2014

With gr-osmosdr 0.1.1-5 (current as of April 9, 2014 on Arch Linux)

$ tpms_rx --source rtlsdr
linux; GNU C++ version 4.8.2 20140206 (prerelease); Boost_105500; UHD_003.006.002-0-unknown

gr-osmosdr v0.1.0-44-g0d10f5e9 (0.1.1git) gnuradio 3.7.2.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf netsdr
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
Traceback (most recent call last):
File "/usr/local/bin/tpms_rx", line 482, in
main()
File "/usr/local/bin/tpms_rx", line 473, in main
tb = top_block(source, args)
File "/usr/local/bin/tpms_rx", line 439, in init
self.source = source_rtlsdr()
File "/usr/local/bin/tpms_rx", line 138, in init
self.source.set_gain_mode(0, 0)
File "/usr/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 1205, in set_gain_mode
return _osmosdr_swig.source_sptr_set_gain_mode(self, _args, *_kwargs)
TypeError: in method 'source_sptr_set_gain_mode', argument 2 of type 'bool'
rtlsdr_read_async returned with -5
$

At line 138 in tpms_rx, "self.source.set_gain_mode(False, 0)" appears to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants