3
# Author: Jan Soldan (JS) jsoldan AT asu DOT cas DOT cz
4
# Author: Roland B. Roberts (RR) roland AT astrofoto DOT org
5
# Author: Jasem Mutlaq (JM) mutlaqja AT ikarustech DOT com
7
# Description: This script defines the udev rules for SBIG USB CCD cameras.
11
# 2008-10-13: Updating script for SUSE 11. Forcing permission change since MODE="0XXX" has no effect.
12
# 2007-12-20: Tested on SUSE 10.3 & Kubuntu 7.10, works okay (JM).
13
# 2007-11-04: revison.
14
# 2007-08-01: tested with KUbuntu 7.04, works fine.
16
# 2007-05-10: pure udev only, tested on Suse 10.2 & 10.1.
18
# 2006-08-23: Simplified according to Roland B. Roberts recommendation and
19
# talk to Matt Longmire (stfga.bin gate array for ST-402 family
23
# File locations for all distributions of Linux kernels 2.6:
24
# ============================================================
25
# 1) /usr/lib/libsbigudrv.so
26
# 2) All *.hex & *.bin files in: /lib/firmware
29
# JS still needs the following line inside the /etc/fstab
30
# for Suse 10.1 & 10.2:
31
# usbfs /proc/bus/usb/ usbfs defaults 0 0
33
# Note for ST-402 family cameras - SBIG ST-402/1603/3200 cameras:
34
# ============================================================
35
# We have moved the stfga.bin file to the recommended /dev/firmware
36
# directory. If not there, the ST-402 family cams. will not work
37
# properly. There may be a lot of RX_TIMEOUT errors during the readout
38
# of the CCD chip! You have to hear sound of several shutter clicks
39
# when you establish link to the camera for the _first_ time.
40
# If not, the stfga.bin gate array was not uploaded!
42
# 2006-08-20: The version 1.0 released.
44
#=================================
46
#=================================
47
# SBIG ST-7/8/9/10/2K cameras
48
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0d97", SYSFS{idProduct}=="0001" , ENV{DEVTYPE}="usb_device", \
49
RUN+="/sbin/fxload -I /lib/firmware/sbigucam.hex -D $env{DEVNAME}"
50
RUN+="/bin/chmod 0666 $env{DEVNAME}"
53
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0d97", SYSFS{idProduct}=="0002" , ENV{DEVTYPE}="usb_device", \
54
RUN+="/sbin/fxload -I /lib/firmware/sbiglcam.hex -D $env{DEVNAME}"
55
RUN+="/bin/chmod 0666 $env{DEVNAME}"
57
# SBIG ST-402/1603/3200 cameras
58
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0d97", SYSFS{idProduct}=="0003" , ENV{DEVTYPE}="usb_device", \
59
RUN+="/sbin/fxload -I /lib/firmware/sbigfcam.hex -D $env{DEVNAME}"
60
RUN+="/bin/chmod 0666 $env{DEVNAME}"