Now I installed Ubuntu parallel to Windows 10 and all works so far.
I create and test a new firmware for my old DSO-2100 oscilloscope (with USB an cypress fx chip) and use the fxload command to upload the new firmware as Intel hex file.
Here are the Ubuntu man page for the fxload command: http://manpages.ubuntu.com/manpages/har ... oad.8.html
and my entry in /etc/udev/rules.d
Code: Select all
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ENV{ID_VENDOR}=="0547" ENV{ID_MODEL}=="1006", GROUP="plugdev", RUN+="/sbin/fxload -m 0777 -t an21 -I /usr/share/dso2100/DSO2100_firmware.hex -D $env{DEVNAME}"
The problem are I can use my FreeBASIC DSO application only with extended rights like root.
sudo ./DSO2100
If I run it as "normal" user I can enumerate the USB device but open device will fail.
My questions are:
[solved] Is GROUP="plugdev" the right USB group for all normal users on Ubuntu ?
The option -m from fxload command I use -m 0777 for full access is it right ?
On slackware a normal user is automatic a member of the plugdev group and can use all USB devices (cameras, scanners, sticks ...) without the need to be root or use sudo.
Thank you.
Joshy