Register    Login    Forum    Search    FAQ

Board index » Products » Cameras




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post Posted: Wed Jul 03, 2013 7:48 pm 
Offline
Site Admin
User avatar

Joined: Tue Feb 19, 2013 12:07 pm
Posts: 39
Location: Leyland, UK
The default setup on Linux when you plug in your camera is for it to only be accessible by root, to fix this we need to create a udev rule. I'm using Linux Mint 15, but it should be similar on other distro's.

Create a file in /etc/udev/rules.d/ (i called it 70-myrules.rules) an in this put..

Code:
ATTR{product}=="ASI120MM" ATTR{idVendor}=="03c3" ATTR{idProduct}=="120a" GROUP="users", MODE="0666"


Now plug in your camera and it should be accessible to all users.


Top 
 Profile  
Reply with quote  
 Post Posted: Thu Jul 04, 2013 12:46 am 
Offline
User avatar

Joined: Thu Feb 21, 2013 2:51 am
Posts: 2041
that's great news Stuart!
many thanks

_________________
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China


Top 
 Profile  
Reply with quote  
 Post Posted: Mon Oct 07, 2013 10:01 pm 
Offline

Joined: Wed Feb 20, 2013 10:27 pm
Posts: 80
The ASI120MC needs a slightly different configuration line because the USB product ID is different, so in my udev rules file I now have:

Code:
ATTR{product}=="ASI120MM" ATTR{idVendor}=="03c3" ATTR{idProduct}=="120a" GROUP="users", MODE="0666"
ATTR{product}=="ASI120MC" ATTR{idVendor}=="03c3" ATTR{idProduct}=="120b" GROUP="users", MODE="0666"


Presumably similar changes will be required for the 130, 030 and 035 cameras.

James


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Oct 08, 2013 5:46 pm 
Offline
Site Admin
User avatar

Joined: Tue Feb 19, 2013 12:07 pm
Posts: 39
Location: Leyland, UK
Thanks for that James, I'm sure Sam can supply the product ID's for the rest.


Top 
 Profile  
Reply with quote  
 Post Posted: Thu Jun 16, 2016 3:44 pm 
Offline

Joined: Thu Jun 16, 2016 3:24 pm
Posts: 7
That's very helpful, I'd been wondering whether I could bring the camera into my Linux laptop and that shows me what I need.


Top 
 Profile  
Reply with quote  
 Post Posted: Thu Jun 16, 2016 4:09 pm 
Offline

Joined: Wed Feb 20, 2013 10:27 pm
Posts: 80
This is the udev rules file that will be in the next release. I believe this should cover all the cameras, but I've not really got started with testing yet...

James

Code:
# ASI030MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="030a" GROUP="users", MODE="0666"
# ASI034MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="034b" GROUP="users", MODE="0666"
# ASI035MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="035a" GROUP="users", MODE="0666"
# ASI035MM
ATTR{idVendor}=="03c3" ATTR{idProduct}=="035b" GROUP="users", MODE="0666"
# ASI120MM
ATTR{idVendor}=="03c3" ATTR{idProduct}=="120a" GROUP="users", MODE="0666"
# ASI120MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="120b" GROUP="users", MODE="0666"
# ASI120MM-S
ATTR{idVendor}=="03c3" ATTR{idProduct}=="120d" GROUP="users", MODE="0666"
# ASI120MC-S
ATTR{idVendor}=="03c3" ATTR{idProduct}=="120e" GROUP="users", MODE="0666"
# ASI130MM
ATTR{idVendor}=="03c3" ATTR{idProduct}=="130a" GROUP="users", MODE="0666"
# ASI136MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="136a" GROUP="users", MODE="0666"
# ASI174MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="174a" GROUP="users", MODE="0666"
# ASI174MM
ATTR{idVendor}=="03c3" ATTR{idProduct}=="174b" GROUP="users", MODE="0666"
# ASI174MC-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="174c" GROUP="users", MODE="0666"
# ASI174MM-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="174d" GROUP="users", MODE="0666"
# ASI178MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="178a" GROUP="users", MODE="0666"
# ASI178MC-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="178b" GROUP="users", MODE="0666"
# ASI178MM
ATTR{idVendor}=="03c3" ATTR{idProduct}=="178c" GROUP="users", MODE="0666"
# ASI178MM-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="178d" GROUP="users", MODE="0666"
# ASI185MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="185a" GROUP="users", MODE="0666"
# ASI185MC-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="185b" GROUP="users", MODE="0666"
# ASI224MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="224a" GROUP="users", MODE="0666"
# ASI224MC-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="224b" GROUP="users", MODE="0666"
# ASI290MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="290a" GROUP="users", MODE="0666"
# ASI290MM
ATTR{idVendor}=="03c3" ATTR{idProduct}=="290b" GROUP="users", MODE="0666"
# ASI290MC-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="290c" GROUP="users", MODE="0666"
# ASI290MM-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="290d" GROUP="users", MODE="0666"
# ASI1600MC
ATTR{idVendor}=="03c3" ATTR{idProduct}=="1600" GROUP="users", MODE="0666"
# ASI1600MC-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="1601" GROUP="users", MODE="0666"
# ASI1600MM
ATTR{idVendor}=="03c3" ATTR{idProduct}=="1602" GROUP="users", MODE="0666"
# ASI1600MM-Cool
ATTR{idVendor}=="03c3" ATTR{idProduct}=="1603" GROUP="users", MODE="0666"


Top 
 Profile  
Reply with quote  
 Post Posted: Wed Apr 26, 2017 1:42 pm 
Offline

Joined: Wed Apr 26, 2017 1:40 pm
Posts: 3
Ok, it was very helpful


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 7 posts ] 

Board index » Products » Cameras


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: