~ubuntu-branches/ubuntu/quantal/sbig/quantal

« back to all changes in this revision

Viewing changes to 99-sbig.rules

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2009-02-13 23:46:34 UTC
  • Revision ID: james.westby@ubuntu.com-20090213234634-16q6d1779wxe0u09
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Name:      99-sbig.rules 
 
2
# Version:   1.7
 
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
 
6
 
 
7
# Description: This script defines the udev rules for SBIG USB CCD cameras.
 
8
 
 
9
# History:
 
10
 
 
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.
 
15
#
 
16
# 2007-05-10: pure udev only, tested on Suse 10.2 & 10.1.
 
17
#
 
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 
 
20
#             cameras).
 
21
#
 
22
#
 
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 
 
27
#             3) Attention:
 
28
#                ----------
 
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
 
32
#
 
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!
 
41
#
 
42
# 2006-08-20: The version 1.0 released.
 
43
#
 
44
#=================================
 
45
# SUSE 11/Others
 
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}"
 
51
 
 
52
# SBIG ST-L cameras
 
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}"
 
56
 
 
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}"