*lsof /dev/ttyUSB0 shows nothing at all.* On Wednesday, August 28, 2019 at 1:51:27 PM UTC+1, Tom Keffer wrote: > > I doubt this has anything to do with V4, but I could be wrong. Check to > see which process has the port open: > > *lsof /dev/ttyUSB0* > > I'm betting there's another process holding on to the port. > > -tk > > On Wed, Aug 28, 2019 at 4:19 AM steeple ian <steep...@gmail.com > <javascript:>> wrote: > >> Tom, >> >> I am testing WeeWX 4.0.0.a7 with the SDS011 driver. >> >> I am getting the following error: - >> >> weewx.service - LSB: weewx weather system >> Loaded: loaded (/etc/init.d/weewx; generated) >> Active: active (exited) since Wed 2019-08-28 12:07:31 BST; 5s ago >> Docs: man:systemd-sysv-generator(8) >> Process: 1449 ExecStart=/etc/init.d/weewx start (code=exited, >> status=0/SUCCESS) >> >> Aug 28 12:07:31 DietPi weewxd[1463]: weewx[1463]/DEBUG weewx.engine: Debug >> is 1 >> Aug 28 12:07:31 DietPi weewxd[1463]: weewx[1463]/DEBUG weewx.engine: >> Initializing engine >> Aug 28 12:07:31 DietPi weewxd[1463]: weewx[1463]/INFO weewx.engine: Loading >> station type SDS011 (user.sds011) >> Aug 28 12:07:31 DietPi weewxd[1463]: SDS011: driver version is 0.2 >> Aug 28 12:07:31 DietPi weewxd[1463]: SDS011: model is NovaPM >> Aug 28 12:07:31 DietPi weewxd[1463]: SDS011: port is /dev/ttyUSB0 >> Aug 28 12:07:31 DietPi weewxd[1463]: SDS011: poll interval is 10 >> Aug 28 12:07:31 DietPi weewxd[1463]: weewx[1463]/ERROR weewx.engine: Import >> of driver failed: Port is already open. (<class >> 'serial.serialutil.SerialException'>) >> Aug 28 12:07:31 DietPi weewxd[1463]: weewx[1463]/CRITICAL weewx.engine: >> Unable to load driver: Port is already open. >> Aug 28 12:07:31 DietPi weewxd[1463]: weewx[1463]/CRITICAL weewx.engine: >> **** Exiting... >> >> >> RaspberryPi 3, running DietPi Buster (Debian 10). >> >> >> Nothing else connected to the USB ports. >> >> >> The driver works fine with 3.9.2 >> >> >> Thanks, >> >> Ian >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-development" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to weewx-de...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-development/7e25db58-909c-4ca3-a5bb-0beda4cd2458%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-development/7e25db58-909c-4ca3-a5bb-0beda4cd2458%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >
-- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-development+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/584076e2-278f-45b8-9d2b-d94306ecc9d3%40googlegroups.com.