Hi , Vince this is helpful. I think I am confused as thought PI user ID had full privileges, weewx folder seems to have full read write access. Do I need to set up another user to allow USB comms ?
rw-r--r-- 1 root root 771 Jun 9 2012 staff-group-for-usr-local -rw-r--r-- 1 root root 291 Sep 23 03:52 subgid -rw------- 1 root root 272 Sep 23 03:49 subgid- -rw-r--r-- 1 root root 291 Sep 23 03:52 subuid -rw------- 1 root root 272 Sep 23 03:49 subuid- -r--r----- 1 root root 697 Sep 23 02:38 sudoers drwxr-xr-x 2 root root 4096 Sep 23 02:37 sudoers.d -rw-r--r-- 1 root root 2084 Mar 6 2015 sysctl.conf drwxr-xr-x 2 root root 4096 Sep 23 02:37 sysctl.d drwxr-xr-x 6 root root 4096 Sep 23 02:23 systemd drwxr-xr-x 2 root root 4096 Sep 23 02:21 terminfo -rw-r--r-- 1 root root 14 Sep 23 04:14 timezone drwxr-xr-x 2 root root 4096 Sep 23 03:38 timidity drwxr-xr-x 2 root root 4096 Sep 17 20:20 tmpfiles.d drwxr-xr-x 3 root root 4096 Sep 23 02:27 triggerhappy -rw-r--r-- 1 root root 1260 May 26 2014 ucf.conf drwxr-xr-x 4 root root 4096 Sep 23 02:23 udev drwxr-xr-x 2 root root 4096 Oct 6 2014 udisks2 drwxr-xr-x 3 root root 4096 Sep 23 02:33 ufw -rw-r--r-- 1 root root 888 Aug 18 2014 usb_modeswitch.conf drwxr-xr-x 2 root root 4096 Apr 14 2015 usb_modeswitch.d -rw-r--r-- 1 root root 51 Jan 12 2016 vdpau_wrapper.cfg drwxr-xr-x 2 root root 4096 Sep 23 02:24 vim drwxr-xr-x 4 root root 4096 Sep 23 03:52 vnc drwxr-xr-x 7 root root 4096 Oct 3 15:45 weewx -rw-r--r-- 1 root root 4812 Sep 17 18:33 wgetrc drwxr-xr-x 2 root root 4096 Sep 23 02:56 wildmidi drwxr-xr-x 2 root root 4096 Sep 23 02:39 wpa_supplicant drwxr-xr-x 11 root root 4096 Sep 23 03:36 X11 drwxr-xr-x 10 root root 4096 Sep 23 02:56 xdg drwxr-xr-x 2 root root 4096 Sep 23 02:37 xml drwxr-xr-x 2 root root 4096 Sep 23 02:56 xpdf pi@weatherPi:/etc $ sudo nano /etc/usb_modeswitch.conf On Monday, October 3, 2016 at 7:19:16 PM UTC+1, vince wrote: > I googled for "Unable to claim USB interface 0: could not claim interface > 0: Operation not permitted" and found a 2013 threadd here saying > permissions indeed. > https://groups.google.com/forum/#!topic/weewx-user/mvV-0o9hLgI > > (hint - try 'sudo' on a pi almost always, you are running as a > non-privileged user by default on a pi) > > -- 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.
