hi!

> I blacklisted the kernel module dvb_usb_rtl28xxu in  
/etc/modprobe.d/blacklist using sudo nano 
> /etc/modprobe.d/blacklist and adding in blacklist dvb_usb_rtl28xxu but 
this didn't work.

you might have to unplug then replug the device.  worst case you can 
reboot.  but be sure there is no other process using the SDR.

> On another Rspberry pi everything on ChrisM510 instructions installed and 
also installed weewx-mqtt but the only time 
> the broker will get information from the raspberry pi is when I run weewx 
directly and not as a daemon.

this sounds like the user running weewx does not have permission to 
read/write to the SDR.  when you install the rtl-sdr software, that adds 
*you* to whatever group can read/write to the SDR.  so if my guess is 
correct, you must add weewx to whatever group the rtl-sdr software created.

1) find the group by looking at the sdr udev rules:

more /etc/udev/rules.d/rtl-sdr.rules

you should see likes something like this:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2832", 
ENV{ID_SOF
TWARE_RADIO}="1", MODE="0660", GROUP="plugdev"

in this case, the group is "plugdev"

2) add the weewx user to that group:

sudo usermod -aG plugdev weewx

then when you run weewxd as 'weewx', it should be able to read the SDR

m

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/56aabc7c-68c0-4fb6-8dab-9e050de78077n%40googlegroups.com.

Reply via email to