Home › Forums › Forums › Technical Support for BerryGPS and BerryGPS-IMU › Having trouble getting data › Reply To: Having trouble getting data
sudo lsof /dev/serial0
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
gpsd 403 gpsd 7u CHR 4,64 0t0 1160 /dev/ttyS0
dmesg | grep tty
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 console=ttyS0,115200 root=PARTUUID=3182ef26-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000902] console [tty1] enabled
[ 0.932110] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.939617] console [ttyS0] disabled
[ 0.942576] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 53, base_baud = 31250000) is a 16550
[ 1.978964] console [ttyS0] enabled
[ 4.519258] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 14.525950] pps pps0: source “/dev/ttyS0” added
[ 15.565988] pps pps0: source “/dev/ttyS0” added
Thanks for any help you can offer. I’m thinking this is a configuration/setup issue but I’m not sure from where. The reason I believe this is because when I run cat /dev/serial0 I get good output. I’d just rather not have to code for that.
Thanks.