blessedone
blessedone

Reputation: 170

Linux device driver for a gps module

I am fairly new to linux, I am currently trying to integrate a gps module to a linux ARM controller. The gps is ublox NEO M8N and I have it connected to UART6. I need help to start communicating to the gps. I have searched for some documents but I couldn't find any relevant ones. I understand that I first need to write a kernel device driver for it, however I have no idea where to start. Could somebody point me to the right direction or tell me how I can write the device driver and start reading the latitude and longitude from gps.

Upvotes: 1

Views: 6832

Answers (1)

user656347
user656347

Reputation:

The ublox GNSS receiver support seems to be available from 4.19 Linux kernel release. You can see the driver here and it's device tree compatible ID's points to the support of ublox Neo M8 here.

Also have a look at the device tree binding documentation here.

If you need help understanding device trees, see Thomas Petazzoni's presentation here. I am assuming you know how to know compile and deploy custom kernel images for your device.

Upvotes: 6

Related Questions