SC16IS752 Driver not reporting Modem control correctly on PI model 4 #5506
Labels
Close within 30 days
Issue will be closed within 30 days unless requested to stay open
Waiting for external input
Waiting for a comment from the originator of the issue, or a collaborator.
Describe the bug
The modem signal lines are not being reported properly on the Raspberry PI 4. RTS,CTSDSR,DCD,DTR and RI are always reported as true using statserial. PI 3-B 1.2 and PI 2-B 1.2 report status and change in status correctly. RX/TX seem to work properly on all.
Steps to reproduce the behaviour
Run "statserial /dev/ttySC0" on PI 4 with sc16is752 attached via spi.
(All lines are NOT asserted)
output
Device: /dev/ttySC0
Signal Pin Pin Direction Status Full
Name (25) (9) (computer) Name
FG 1 - - - Frame Ground
TxD 2 3 out - Transmit Data
RxD 3 2 in - Receive Data
RTS 4 7 out 1 Request To Send
CTS 5 8 in 1 Clear To Send
DSR 6 6 in 1 Data Set Ready
GND 7 5 - - Signal Ground
DCD 8 1 in 1 Data Carrier Detect
DTR 20 4 out 1 Data Terminal Ready
RI 22 9 in 1 Ring Indicator
Device (s)
Raspberry Pi 4 Mod. B
System
root@raspberrypi:/home/pi# cat /etc/rpi-issue
Raspberry Pi reference 2023-05-03
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 638c7521ee0c431fafca1e2bd4fd25705b37ea5b, stage2
root@raspberrypi:/home/pi# vcgencmd version
Mar 17 2023 10:50:39
Copyright (c) 2012 Broadcom
version 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean) (release) (start)
root@raspberrypi:/home/pi# uname -a
Linux raspberrypi 5.10.103-v8+ #1529 SMP PREEMPT Tue Mar 8 12:26:46 GMT 2022 aarch64 GNU/Linux
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: