Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...

TOPIC: ZWO EFWmini (filter wheel)

ZWO EFWmini (filter wheel) 1 year 9 months ago #13610

I had the same idea. ( KERNEL=="hidraw*", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", MODE="0666" )
So I tried the KERNEL rule without user, then adding myself to the users group, then changing the GROUP="users" parameter to my primary group.

Non of that worked on two Kubuntu systems. I have not tried on Rasbian yet, but might get the chance on saturday. When I'm at my obsy I will try on my Odroid with Lubuntu too. Thats my imaging server.

The ACTION=="add" rule does not name a group, so that should be fine.

Please Log in or Create an account to join the conversation.

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
Last Edit: by Magnus_e.

ZWO EFWmini (filter wheel) 1 year 9 months ago #13611

Sorry Rumen, you posted while I was composing my masterpiece.

I have thought of the group problem and had put myself in the group users to make sure this was not the issue.

Anyhow as requested I have tried the modifed rule
# ZWO filterwheel
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", MODE="0666", SYMLINK+="ZWO_EFW"

This gives the same report when I start indiserver as a normal user and try to connect to it in EKOS
2017-01-05T22:03:33: Connect(): EFWOpen() = 4

P.S Magnus this is on my raspberry PI running Jessie
P.P.S more /etc/issue
Raspbian GNU/Linux 8 \n \l

Please Log in or Create an account to join the conversation.

Last Edit: by procras. Reason: Stipluate Raspbian

ZWO EFWmini (filter wheel) 1 year 9 months ago #13612

  • rumen
  • rumen's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 73
  • Karma: 5
  • Thank you received: 18
I guess this must be the rule....
try this and report please, and I will add it to the repo
ACTION=="add", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", GROUP="users", MODE="0666"

Please Log in or Create an account to join the conversation.

Last Edit: by rumen.

ZWO EFWmini (filter wheel) 1 year 9 months ago #13613

rumen wrote: I guess this must be the rule....
try this and report please, and I will add it to the repo
ACTION=="add", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", GROUP="users", MODE="0666"


Still works (Kubuntu).
May I ask what the importance of the GROUP="users" is for? 0666 is (6 = 4 + 2 [r+w]), so owner rw, group rw, everyone rw? Should not make a difference?

//Edit: To require a user to be member of users to have access to device it should be 0660

Please Log in or Create an account to join the conversation.

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
Last Edit: by Magnus_e. Reason: more info

ZWO EFWmini (filter wheel) 1 year 9 months ago #13614

  • rumen
  • rumen's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 73
  • Karma: 5
  • Thank you received: 18
Just for consistency with other rules :)

Please Log in or Create an account to join the conversation.

ZWO EFWmini (filter wheel) 1 year 9 months ago #13615

  • rumen
  • rumen's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 73
  • Karma: 5
  • Thank you received: 18
Created pull request... waiting for Jasem to merge it...
Thank you everyone for testing and fixing this! :)
The following user(s) said Thank You: procras

Please Log in or Create an account to join the conversation.

ZWO EFWmini (filter wheel) 1 year 9 months ago #13616

Both of these rules work on my pi 3 Raspbian GNU/Linux 8, Kernel 4.438-v7+

My indiserver is
indiserver -v
2017-01-06T07:29:10: startup: indiserver -v
Usage: indiserver [options] driver [driver ...]
Purpose: server for local and remote INDI drivers
INDI Library: 1.3.1
Code $Rev$. Protocol 1.7.
...

I can use the wheel with
$ indiserver -v indi_asi_wheel
as my ordinary user without sudo
#ACTION=="add", ATTR{idVendor}=="03c3", ATTR{idProduct}=="1f01", MODE="0666"
# Filter Wheel
ACTION=="add", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", GROUP="users", MODE="0666"

Super!

Please Log in or Create an account to join the conversation.

Last Edit: by procras. Reason: Typo pi 3 not pi 2
Time to create page: 0.141 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica