Raspberry Pi 4 + WMR89 = CP210X driver problem

69 views
Skip to first unread message

Dani Macías Perea

unread,
Jan 23, 2021, 5:38:47 AM1/23/21
to weewx-user
Hello,

I have a Raspberry Pi 4 model B 8GB running 5.4.79-v7l+. I have bought it to replace my previous Raspberry Pi 3. The Pi 3 was connected via USB with an Oregon Scientific Weather Station (WMR89) and used CP210X driver to communicate with it. As the pair Vendor/Product ID wasn't registered in the driver CP210x.c, I added it using

echo 0fde ca0a > /sys/bus/usb-serial/drivers/cp210x/new_id

in boot (rc.local). With the Raspberry Pi 3 the weather station was always automatically recognised, drivers loaded and accesible though /dev/ttyUSB and weewx run without problems.

However, I am unable to get the same results with the Raspberry Pi 4. I have to unplug and plug manually every time the device to get it loaded. I have even built a new cp210x module including oregon's pair vendor/product ID to see if it helps but I am still stuck in the same point: I need to plug and unplug the USB cable from the weather station to make it work. Replugging the type A connector in the Raspberry Pi will make no difference. I have to replug the mini USB in the weather station to make it work (what seems really strange). 

Does anybody has an idea on how to solve this problem?

Thanks!

Daniel  

rob.s...@googlemail.com

unread,
Jan 23, 2021, 6:54:02 AM1/23/21
to weewx-user
I had similar problems. In the end I opted for to use sdr interface and pick up the signal dorect from the sensors. Added a BME280 to the RPi for pressure and greenhouse temperature. Very pleased with the result.

Dani Macías Perea

unread,
Jan 23, 2021, 1:35:20 PM1/23/21
to weewx-user
Thanks for the answer Rob. That is exactly what I was planning to do, I already have in my shopping cart an SDR doongle + a GME280 sensor. I had an WMR88 station that showed reception problems after some years (RF antenna reception in the console was loosing sensitivity) and using an external SDR doongle will avoid this problem.
If I may ask, what SDR are you using? I have picked this one Nooelec NESDR SMArt v4 Bundle, but I have read that some people have drivers issues (probably old versions). What model have you used?

Thanks in advance,

Daniel
Reply all
Reply to author
Forward
0 new messages