Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652374 - net-wireless/rtl-ais A simple AIS tuner and generic dual-frequency FM demodulator (sci-geosciences/opencpn data source)
Summary: net-wireless/rtl-ais A simple AIS tuner and generic dual-frequency FM demodul...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Marc Schiffbauer
Depends on:
Blocks: 663676
  Show dependency tree
Reported: 2018-04-03 22:20 UTC by Philippe Trottier
Modified: 2023-12-03 23:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

ebuild for -9999 and tested with -0.2 (rtl-ais-9999.ebuild,843 bytes, text/plain)
2018-04-03 22:20 UTC, Philippe Trottier
Fixed ebuild (rtl-ais-9999.ebuild,836 bytes, text/plain)
2018-04-04 00:43 UTC, Philippe Trottier
New ebuild 0.3 and 9999 (rtl-ais-0.3.ebuild,840 bytes, text/plain)
2018-08-15 14:56 UTC, Philippe Trottier

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Trottier 2018-04-03 22:20:55 UTC
Created attachment 526496 [details]
ebuild for -9999 and tested with -0.2

Useful data source for OpenCPN, decodes ship information, a little bit like dump1090.

Tested on amd64, arm and arm64.

v0.2 is also working and merge-able.

$ rtl_air -n
Edge tuning disabled.
DC filter enabled.
RTL AGC disabled.
Internal AIS decoder enabled.
Buffer size: 163.84 mS
Downsample factor: 64
Low pass: 25000 Hz
Output: 48000 Hz
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Log NMEA sentences to console ON
AIS data will be sent to port 10110
Tuner gain set to automatic.
Tuned to 162000000 Hz.
Sampling at 1600000 S/s.
Comment 1 Jonas Stein gentoo-dev 2018-04-04 00:23:22 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

• Please test the ebuild with repoman full -x
• you can use SRC_URI="mirror://github/... 
• which GPL?
• please fix the header. (see /usr/portage/skel.ebuild and
Comment 2 Jonas Stein gentoo-dev 2018-04-04 00:24:16 UTC
...and eutils is not required anymore in EAPI=6 for your needs
Comment 3 Philippe Trottier 2018-04-04 00:43:26 UTC
Created attachment 526504 [details]
Fixed ebuild

A better ebuild for -9999 and -0.2
Comment 4 Philippe Trottier 2018-04-04 00:44:33 UTC
The GPL is GPL-2 or above as stated in the header of his rtl_ais.c file.
Comment 5 Marc Schiffbauer gentoo-dev 2018-05-03 07:55:28 UTC
Thanks Philippe for your contribution. Are you willing to proxy maintain this package? I personally am not very interested in it, but I'd add it if you would take of it in the future.
Comment 6 Philippe Trottier 2018-05-03 11:56:27 UTC
Hello Marc, I would be happy to take care of this package. 

I plan on using it a lot with my sail boat. I am guessing the opencpn crowd might be interested in it too and more willing to keep it in sync. 

I guess I'll have to create a Gentoo Opencpn wiki somewhere. If I wasn't unsure about the next few months and access to IT ressources while sailing in Greenland, I'd even ask to get back in the dev gang. But for now, I may have to be a vagabond for a while.
Comment 7 Philippe Trottier 2018-08-15 14:56:01 UTC
Created attachment 543508 [details]
New ebuild 0.3 and 9999

Small update for rtl-ais to make it work properly with opencpn-plugin-rtlsdr
Comment 8 Marc Schiffbauer gentoo-dev 2023-12-03 23:29:41 UTC
Hi Philippe, sorry, this bug got totally out of my mind. Are you still around and still would update/maintain it?