This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raspberry Pi 4 released!
#61
(2019-07-12, 02:58 PM)Sailoog Wrote:
(2019-07-10, 08:04 PM)MatsA Wrote:
(2019-07-10, 05:34 PM)Sailoog Wrote:
(2019-07-09, 10:44 AM)Luckbert Wrote:
(2019-07-05, 01:22 PM)Sailoog Wrote: Yes it was done some time ago. In OpenPlotter 2 is possible to get data from both AIS channels simultaneously using only one device. But at this moment only in Raspberry 3.
The commit you are referring to is the fix for gqrx for buster (SDR Radio reception)

Hello, Saillog, 
I have already worked with AISDeco2 (http://xdeco.org/?page_id=30#ai2_id=30#ai2) in the last OP versions. It always worked very well and can also receive signals on 2 channels. 
I just tested the program with a RPI3+ and Buster. 
It seems to work. I just had to install the required packages and then it worked. 
Unfortunately I am not able to test it with real ships at the moment. 

Is this an option?
Greetings Jürgen

It could be an option but we use https://github.com/sailoog/rtl-ais and aisdecoder and it is already working really well.

Checked aisdeco2 and it doesn't work on RPi 4, and is not open source !! Error "rtlsdr_read_reg failed with -7".

that is the error on RPI4 using SDR devices. No matter what soft you use.
Yes that right, but it seems to be solved, but not yet merged.
https://github.com/raspberrypi/linux/issues/3060
Heads up for compiling rtl-ais. Check https://github.com/dgiardini/rtl-ais/pull/15
/Mats
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#62
MatsA, thanks for your work on this issue.
Reply
#63
(2019-07-17, 03:01 PM)Sailoog Wrote: MatsA, thanks for your work on this issue.

Hi !

The  the rtl-sdr works !! with updated RPi 4 firmware.

Before update 
uname -a
Linux zest 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l GNU/Linux

and after 
sudo rpi-update
uname -a
Linux zest 4.19.58-v7l+ #1245 SMP Fri Jul 12 17:31:45 BST 2019 armv7l GNU/Linux

Will make an update after more tests.
/Mats
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#64
(2019-07-18, 02:01 PM)MatsA Wrote:
(2019-07-17, 03:01 PM)Sailoog Wrote: MatsA, thanks for your work on this issue.

Hi !

The  the rtl-sdr works !! with updated RPi 4 firmware.

Before update 
uname -a
Linux zest 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l GNU/Linux

and after 
sudo rpi-update
uname -a
Linux zest 4.19.58-v7l+ #1245 SMP Fri Jul 12 17:31:45 BST 2019 armv7l GNU/Linux

Will make an update after more tests.
/Mats

Great!

For people tempted to do this, remember that rpi-update loads the beta kernel and you can not go back to the stable kernel, only for developing. Do not do this in a working openplotter installation.
Reply
#65
(2019-07-18, 04:07 PM)Sailoog Wrote:
(2019-07-18, 02:01 PM)MatsA Wrote:
(2019-07-17, 03:01 PM)Sailoog Wrote: MatsA, thanks for your work on this issue.

Hi !

The  the rtl-sdr works !! with updated RPi 4 firmware.

Before update 
uname -a
Linux zest 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l GNU/Linux

and after 
sudo rpi-update
uname -a
Linux zest 4.19.58-v7l+ #1245 SMP Fri Jul 12 17:31:45 BST 2019 armv7l GNU/Linux

Will make an update after more tests.
/Mats

Great!

For people tempted to do this, remember that rpi-update loads the beta kernel and you can not go back to the stable kernel, only for developing. Do not do this in a working openplotter installation.

Point taken !

Should have informed that this will install the unstable/test kernel and adding that 

sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel

will revert to current stable kernel. 
But was so exited .... Done some more testing an it works very well. My blogpost is now updated

https://pysselilivet.blogspot.com/2018/0...berry.html

And as said before, thanks for Your fantastic work and looking forward to OP V2
/Mats
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#66
Kernel now updated to 

Linux raspberrypi 4.19.58-v7l+ #1245 SMP Fri Jul 12 17:31:45 BST 2019 armv7l GNU/Linux

Update with ordinary 

sudo apt update
sudo apt upgrade

sudo apt clean

/Mats
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#67
SDR working
Reply
#68
(2019-07-23, 01:13 PM)Sailoog Wrote: SDR working

To try my present OpenPlotter system with the new Buster version, I have done the simple transition by changing the name stretch to buster in the server location etc/apt/sources.list.

then apt update and apt dist-upgrade. And most the OpenPlotter items seem to work right out of the box. Also the DSR dongle for AIS reception.

It is quite a long update. And you have to remove the old files: apt autoremove.

To get the data from Kplex to OpenCPN I had to change the port adres from 10110 to 30330.

OpenCPN with the Oesenc charts works.

However SignalK does not yet work.

kernel is 4.19.58.

Regards,

Bram
Reply
#69
i would call that a successful test, your sys. is broken. i hope you backed it up first. signalk is an important part of op.
unless you are doing testing it's a bad idea to upgrade any systems OS outside its intended config. it breaks things like dependency's and repo's that may not be up to date..
especially true on critical systems like navigation fire suppression or payment systems to name a few..
i cant wait to start breaking i mean testing v2 Smile
Reply
#70
At first I had upgraded the OpenPlotter RPI3 Stertch version to Buster. That worked but without SignalK. Because Buster was compatible with the RPI 4. I put the SD card in the PI 4. However that does not work.

If I take the original Buster version it works in the RPI4 as well as in the RPI3.

Bram
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)