Menu

#2 Needs superuser privileges (fix proposed)

open-later
nobody
None
5
2009-12-25
2009-10-28
gatopeich
No

With provided udev rules in hantekdso v0.5.3, only superuser can run the software. By adding this rule to udev, any user in the group "plugdev" will be able to do it:

SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="4b5/*", MODE="0660", GROUP="plugdev"

Note the VendorId is different from the initial one before loading firmware "4b4". This has given me a little bit of a headache!

Assumptions:
* Every device with VendorId=4b5 requires access by "plugdev" group.
* Group "plugdev" is the right one for this task, at least in Debian/Ubuntu to my understanding.

Discussion

  • prcoder

    prcoder - 2009-12-25

    I use Fedora Core 8 distro to build and run HantekDSO and it works fine without root priveleges (under user rights). I think it is dstro-dependent issue. I'll try to fix it later. Thanks for the inforamtion.

     
  • prcoder

    prcoder - 2009-12-25
    • status: open --> open-later
     
  • Ian Dall

    Ian Dall - 2010-03-12

    This is indeed going to be distribution dependant. I had success configuring PolicyKit so that console users can access the dso usb device same as soundcards and optical disks etc. Probably the best way would be to just have a directory with system configuration examples in it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.