You can see which processes are using /dev/ttyUSB0 with the following command:
lsof /dev/ttyUSB0 -tk On Thu, Jan 5, 2017 at 11:02 AM, Hardy <[email protected]> wrote: > > with dpkg --get-selections | grep -v deinstall i checked what is > installed, modem_manager is not installed. > > I'm not shure, how to check, what could use /dev/ttyUSB0. On my rasperry > ar several usb devices like a cul or a arduino. If i (un-)plug the vantage > from/to the rasperry, it seems like it was/become /dev/ttyUSB0: > > Jan 5 19:59:27 Raspi2 kernel: [25554.713411] cp210x ttyUSB0: > usb_serial_generic_read_bulk_callback - urb stopped: -32 > Jan 5 19:59:27 Raspi2 kernel: [25554.713513] cp210x ttyUSB0: > usb_serial_generic_read_bulk_callback - urb stopped: -32 > Jan 5 19:59:27 Raspi2 kernel: [25554.965639] usb 1-1.4: USB disconnect, > device number 8 > Jan 5 19:59:27 Raspi2 kernel: [25554.972622] cp210x ttyUSB0: cp210x > converter now disconnected from ttyUSB0 > Jan 5 19:59:27 Raspi2 kernel: [25554.972742] cp210x 1-1.4:1.0: device > disconnected > Jan 5 19:59:32 Raspi2 kernel: [25559.812410] usb 1-1.4: new full-speed > USB device number 9 using dwc_otg > Jan 5 19:59:32 Raspi2 kernel: [25559.918871] usb 1-1.4: New USB device > found, idVendor=10c4, idProduct=ea60 > Jan 5 19:59:32 Raspi2 kernel: [25559.918896] usb 1-1.4: New USB device > strings: Mfr=1, Product=2, SerialNumber=3 > Jan 5 19:59:32 Raspi2 kernel: [25559.918934] usb 1-1.4: Product: CP2102 > USB to UART Bridge Controller > Jan 5 19:59:32 Raspi2 kernel: [25559.918951] usb 1-1.4: Manufacturer: > Silicon Labs > Jan 5 19:59:32 Raspi2 kernel: [25559.918967] usb 1-1.4: SerialNumber: 0001 > Jan 5 19:59:32 Raspi2 kernel: [25559.922457] cp210x 1-1.4:1.0: cp210x > converter detected > Jan 5 19:59:32 Raspi2 kernel: [25559.922984] usb 1-1.4: cp210x converter > now attached to ttyUSB0 > > > > > > Am Donnerstag, 5. Januar 2017 19:34:20 UTC+1 schrieb Hardy: >> >> Hi, >> >> i used weewx with a ws 3080, everything works fine for round about a >> year. Now i bought a vantage pro2, i changed the configuration using >> wee_config with the --reconfigure option from FineOffsetUSB to Vantage. >> After that, weewx starts an stops a few seconds later. >> >> I installed weewx on my raspberry pi using the deb package with dpkg -i. >> >> With the brandnew vantage i use the weatherlink usb. The hardware is ok, >> with a windows 10 pc the davis software communicates with the station. >> >> In /var/log/syslog i found the following: >> >> Jan 5 16:50:19 Raspi2 weewx[6271]: engine: Using configuration file >> /etc/weewx/weewx.conf >> Jan 5 16:50:19 Raspi2 weewx[6271]: engine: Initializing engine >> Jan 5 16:50:19 Raspi2 weewx[6271]: engine: Loading station type Vantage >> (weewx.drivers.vantage) >> Jan 5 16:50:19 Raspi2 weewx[6271]: vantage: driver version is 3.0.9 >> Jan 5 16:50:19 Raspi2 weewx[6271]: vantage: Opened up serial port >> /dev/ttyUSB0; baud 19200; timeout 5.00 >> Jan 5 16:50:19 Raspi2 weewx[6271]: vantage: SerialException on read. >> Jan 5 16:50:19 Raspi2 weewx[6271]: **** device reports readiness to >> read but returned no data (device disconnected?) >> Jan 5 16:50:19 Raspi2 weewx[6271]: **** Is there a competing process >> running?? >> Jan 5 16:50:19 Raspi2 weewx[6271]: vantage: retry #0 failed >> Jan 5 16:50:19 Raspi2 weewx[6271]: vantage: gentle wake up of console >> successful >> Jan 5 16:50:24 Raspi2 weewx[6271]: vantage: determine_hardware; retry #0 >> Jan 5 16:50:29 Raspi2 weewx[6271]: vantage: determine_hardware; retry #1 >> Jan 5 16:50:34 Raspi2 weewx[6271]: vantage: determine_hardware; retry #2 >> Jan 5 16:50:39 Raspi2 weewx[6271]: vantage: determine_hardware; retry #3 >> Jan 5 16:50:39 Raspi2 weewx[6271]: vantage: _setup; unable to read >> hardware type; raise WeeWxIOError >> Jan 5 16:50:39 Raspi2 weewx[6271]: import of driver failed: Unable to >> read hardware type (<class 'weewx.WeeWxIOError'>) >> Jan 5 16:50:39 Raspi2 weewx[6271]: engine: Unable to load driver: Unable >> to read hardware type >> Jan 5 16:50:39 Raspi2 weewx[6271]: **** Exiting... >> >> What can i do? >> >> Greetings, >> Hardy >> >> -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
