lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <E0D733BB-34CB-47A4-9871-D7F0B2B47DD7@gmail.com>
Date: Wed, 09 Apr 2025 13:42:59 +0300
From: Sergey Ryazanov <ryazanov.s.a@...il.com>
To: Slark Xiao <slark_xiao@....com>
CC: Loic Poulain <loic.poulain@....qualcomm.com>,
 Johannes Berg <johannes@...solutions.net>,
 Andrew Lunn <andrew+netdev@...n.ch>, Eric Dumazet <edumazet@...gle.com>,
 "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
 Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
 Muhammad Nuzaihan <zaihan@...ealasia.net>,
 Qiang Yu <quic_qianyu@...cinc.com>,
 Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
 Johan Hovold <johan@...nel.org>
Subject: Re:Re:[RFC PATCH 4/6] net: wwan: add NMEA port support

On April 9, 2025 11:30:58 AM GMT+03:00, Slark Xiao <slark_xiao@....com> wrote:
>
>Hi Sergey,
>Device port /dev/gnss0 is enumerated . Does it be expected?
>I can get the NMEA data from this port by cat or minicom command.
>But the gpsd.service also can not be initialized normally. It reports:
>
>TriggeredBy: ● gpsd.socket
>    Process: 3824 ExecStartPre=/bin/stty speed 115200 -F $DEVICES (code=exited, status=1/FAILURE)
>        CPU: 7ms
>
>4月 09 16:04:16 jbd systemd[1]: Starting GPS (Global Positioning System) Daemon...
>4月 09 16:04:17 jbd stty[3824]: /bin/stty: /dev/gnss0: Inappropriate ioctl for device
>4月 09 16:04:17 jbd systemd[1]: gpsd.service: Control process exited, code=exited, status=1/FAILURE
>4月 09 16:04:17 jbd systemd[1]: gpsd.service: Failed with result 'exit-code'.
>4月 09 16:04:17 jbd systemd[1]: Failed to start GPS (Global Positioning System) Daemon.
>
>Seems it's not a serial port.

It is a char dev lacking some IOCTLs support. Yeah.

>Any advice?

Yep. Remove that stty invocation from the service definition. For me, gpsd works flawlessly. You can try to start it manually from a terminal.

--
Sergey
Hi Slark,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ