Home › Forums › Forums › Technical Support for BerryIMU › BerryGPS-IMU V2 @zerow @debian 10 / Kernel 4.19.57+: no data from /dev/serial0
- This topic has 4 replies, 2 voices, and was last updated 3 years, 10 months ago by ralf.schweiger.
- AuthorPosts
- July 19, 2019 at 10:46 am #8656ralf.schweigerParticipant
Hello all,
is there any issue with the latest Kernel 4.19.57+ and raspbian or is something broken?
I’m trying to get any output from /dev/serial0 with no luck.
dmesg has following output:
root@zero1:/home/pi# dmesg |grep “tty\|serial\|uart”
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:2D:61:BD vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=c42d34aa-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000547] console [tty1] enabled
[ 0.784758] uart-pl011 20201000.serial: cts_event_workaround enabled
[ 0.784886] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 92.958784] uart-pl011 20201000.serial: no DMA platform dataThe Fix LED is blinking orange. I`m using your external antenna with switch position “ext”.
If I try to run a “cat /dev/serial0” it hangs forever until I press ^C.
The config.txt parameters are:
core_freq=250
disable_overscan=1
dtoverlay=pi3-disable-bt
dtoverlay=vc4-fkms-v3d
dtparam=audio=on
dtparam=i2c1=on
dtparam=i2c_arm=on
dtparam=spi=on
enable_uart=1
force_turbo=1
gpu_mem=128
max_framebuffers=2
over_voltage=4
start_x=1Thank you in advance.
Ralf
July 19, 2019 at 3:03 pm #8661PeterPParticipantHere are some things to try;
See if it works with minicom;
minicom -b 9600 -o -D /dev/serial0
Try and reset GPS module; (may need to kill gpsd with ‘sudo killall gpsd’)
gpsctl -f -t u-blox -x '\x06\x04\xff\xff\x02\x00' /dev/serial0
Check if you console works;
1. on the Pi, connect TX to RX with a jumper cable.
2. start minicomminicom -b 9600 -o -D /dev/serial0
3. type some characters, if you see them on the screen then your console is working.Peter --OzzMaker.com --
July 19, 2019 at 5:48 pm #8665ralf.schweigerParticipantI tested the first two already.
Minicom does not show anything and the gpsctl command hangs too.
The last test with the jumper between Rx/Tx is showing me my chars what I typing.
This meens the console is working.
Regards
Ralf
July 19, 2019 at 8:45 pm #8668PeterPParticipantCan you send a close up photo of the top half ( near header)of the PCB to sales @ ozzmaker.com. include a link to this post
Peter --OzzMaker.com --
July 20, 2019 at 6:53 am #8679ralf.schweigerParticipantHello Peter,
I just sent two pictures to the mentioned email address.
Hopefully you can see see anything interesting here.
Additionally I will attach one here:
Thank you for your help.
Ralf
- AuthorPosts
- You must be logged in to reply to this topic.