From 051a2e73d031475e08e37953007fbb7869515fb6 Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 14 Mar 2019 15:51:15 -0700 Subject: add ASI controls --- lib/README.txt | 13 +++++++++++++ lib/armv5/libASICamera2.a | Bin 0 -> 2796192 bytes lib/armv5/libASICamera2.so | 1 + lib/armv5/libASICamera2.so.1.13.0930 | Bin 0 -> 1712638 bytes lib/armv6/libASICamera2.a | Bin 0 -> 2537816 bytes lib/armv6/libASICamera2.so | 1 + lib/armv6/libASICamera2.so.1.13.0930 | Bin 0 -> 1560231 bytes lib/armv7/libASICamera2.a | Bin 0 -> 2266780 bytes lib/armv7/libASICamera2.so | 1 + lib/armv7/libASICamera2.so.1.13.0930 | Bin 0 -> 1296159 bytes lib/armv8/libASICamera2.a | Bin 0 -> 3272552 bytes lib/armv8/libASICamera2.so | 1 + lib/armv8/libASICamera2.so.1.13.0930 | Bin 0 -> 1784822 bytes lib/asi.rules | 3 +++ lib/mac/libASICamera2.a | Bin 0 -> 4973896 bytes lib/mac/libASICamera2.dylib | 1 + lib/mac/libASICamera2.dylib.1.13.0930 | Bin 0 -> 2967648 bytes lib/x64/libASICamera2.a | Bin 0 -> 3354576 bytes lib/x64/libASICamera2.so | Bin 0 -> 1799059 bytes lib/x64/libASICamera2.sobut_actually_a_symlink | 1 + lib/x86/libASICamera2.a | Bin 0 -> 2757456 bytes lib/x86/libASICamera2.so | 1 + lib/x86/libASICamera2.so.1.13.0930 | Bin 0 -> 1799009 bytes 23 files changed, 23 insertions(+) create mode 100755 lib/README.txt create mode 100644 lib/armv5/libASICamera2.a create mode 120000 lib/armv5/libASICamera2.so create mode 100755 lib/armv5/libASICamera2.so.1.13.0930 create mode 100644 lib/armv6/libASICamera2.a create mode 120000 lib/armv6/libASICamera2.so create mode 100755 lib/armv6/libASICamera2.so.1.13.0930 create mode 100644 lib/armv7/libASICamera2.a create mode 120000 lib/armv7/libASICamera2.so create mode 100755 lib/armv7/libASICamera2.so.1.13.0930 create mode 100644 lib/armv8/libASICamera2.a create mode 120000 lib/armv8/libASICamera2.so create mode 100755 lib/armv8/libASICamera2.so.1.13.0930 create mode 100755 lib/asi.rules create mode 100644 lib/mac/libASICamera2.a create mode 120000 lib/mac/libASICamera2.dylib create mode 100755 lib/mac/libASICamera2.dylib.1.13.0930 create mode 100644 lib/x64/libASICamera2.a create mode 100755 lib/x64/libASICamera2.so create mode 120000 lib/x64/libASICamera2.sobut_actually_a_symlink create mode 100644 lib/x86/libASICamera2.a create mode 120000 lib/x86/libASICamera2.so create mode 100755 lib/x86/libASICamera2.so.1.13.0930 (limited to 'lib') diff --git a/lib/README.txt b/lib/README.txt new file mode 100755 index 0000000..96eaa5f --- /dev/null +++ b/lib/README.txt @@ -0,0 +1,13 @@ +Applicable platform: +ubuntu:x86, x64 +armv6: raspberry pi +armv5: armv5 Soft-Float +mac os: mac +armv7: raspberry pi2 +armv8: arm 64bit + +$ sudo install asi.rules /lib/udev/rules.d +or +$ sudo install asi.rules /etc/udev/rules.d +and reconnect camera, then the camera can be opened without root +and run 'cat /sys/module/usbcore/parameters/usbfs_memory_mb' to make sure the result is 200 diff --git a/lib/armv5/libASICamera2.a b/lib/armv5/libASICamera2.a new file mode 100644 index 0000000..d7f797c Binary files /dev/null and b/lib/armv5/libASICamera2.a differ diff --git a/lib/armv5/libASICamera2.so b/lib/armv5/libASICamera2.so new file mode 120000 index 0000000..7484397 --- /dev/null +++ b/lib/armv5/libASICamera2.so @@ -0,0 +1 @@ +libASICamera2.so.1.13.0930 \ No newline at end of file diff --git a/lib/armv5/libASICamera2.so.1.13.0930 b/lib/armv5/libASICamera2.so.1.13.0930 new file mode 100755 index 0000000..cbe9e9c Binary files /dev/null and b/lib/armv5/libASICamera2.so.1.13.0930 differ diff --git a/lib/armv6/libASICamera2.a b/lib/armv6/libASICamera2.a new file mode 100644 index 0000000..0db5ba2 Binary files /dev/null and b/lib/armv6/libASICamera2.a differ diff --git a/lib/armv6/libASICamera2.so b/lib/armv6/libASICamera2.so new file mode 120000 index 0000000..7484397 --- /dev/null +++ b/lib/armv6/libASICamera2.so @@ -0,0 +1 @@ +libASICamera2.so.1.13.0930 \ No newline at end of file diff --git a/lib/armv6/libASICamera2.so.1.13.0930 b/lib/armv6/libASICamera2.so.1.13.0930 new file mode 100755 index 0000000..bf78ef6 Binary files /dev/null and b/lib/armv6/libASICamera2.so.1.13.0930 differ diff --git a/lib/armv7/libASICamera2.a b/lib/armv7/libASICamera2.a new file mode 100644 index 0000000..63633c2 Binary files /dev/null and b/lib/armv7/libASICamera2.a differ diff --git a/lib/armv7/libASICamera2.so b/lib/armv7/libASICamera2.so new file mode 120000 index 0000000..7484397 --- /dev/null +++ b/lib/armv7/libASICamera2.so @@ -0,0 +1 @@ +libASICamera2.so.1.13.0930 \ No newline at end of file diff --git a/lib/armv7/libASICamera2.so.1.13.0930 b/lib/armv7/libASICamera2.so.1.13.0930 new file mode 100755 index 0000000..35a93b0 Binary files /dev/null and b/lib/armv7/libASICamera2.so.1.13.0930 differ diff --git a/lib/armv8/libASICamera2.a b/lib/armv8/libASICamera2.a new file mode 100644 index 0000000..8279d42 Binary files /dev/null and b/lib/armv8/libASICamera2.a differ diff --git a/lib/armv8/libASICamera2.so b/lib/armv8/libASICamera2.so new file mode 120000 index 0000000..7484397 --- /dev/null +++ b/lib/armv8/libASICamera2.so @@ -0,0 +1 @@ +libASICamera2.so.1.13.0930 \ No newline at end of file diff --git a/lib/armv8/libASICamera2.so.1.13.0930 b/lib/armv8/libASICamera2.so.1.13.0930 new file mode 100755 index 0000000..cd28d1a Binary files /dev/null and b/lib/armv8/libASICamera2.so.1.13.0930 differ diff --git a/lib/asi.rules b/lib/asi.rules new file mode 100755 index 0000000..579503b --- /dev/null +++ b/lib/asi.rules @@ -0,0 +1,3 @@ +ACTION=="add", ATTR{idVendor}=="03c3", RUN+="/bin/sh -c '/bin/echo 200 >/sys/module/usbcore/parameters/usbfs_memory_mb'" +# All ASI Cameras and filter wheels +SUBSYSTEMS=="usb", ATTR{idVendor}=="03c3", MODE="0666" diff --git a/lib/mac/libASICamera2.a b/lib/mac/libASICamera2.a new file mode 100644 index 0000000..45e81a8 Binary files /dev/null and b/lib/mac/libASICamera2.a differ diff --git a/lib/mac/libASICamera2.dylib b/lib/mac/libASICamera2.dylib new file mode 120000 index 0000000..8c31f99 --- /dev/null +++ b/lib/mac/libASICamera2.dylib @@ -0,0 +1 @@ +libASICamera2.dylib.1.13.0930 \ No newline at end of file diff --git a/lib/mac/libASICamera2.dylib.1.13.0930 b/lib/mac/libASICamera2.dylib.1.13.0930 new file mode 100755 index 0000000..3516d53 Binary files /dev/null and b/lib/mac/libASICamera2.dylib.1.13.0930 differ diff --git a/lib/x64/libASICamera2.a b/lib/x64/libASICamera2.a new file mode 100644 index 0000000..2a36a9b Binary files /dev/null and b/lib/x64/libASICamera2.a differ diff --git a/lib/x64/libASICamera2.so b/lib/x64/libASICamera2.so new file mode 100755 index 0000000..4a3a7c9 Binary files /dev/null and b/lib/x64/libASICamera2.so differ diff --git a/lib/x64/libASICamera2.sobut_actually_a_symlink b/lib/x64/libASICamera2.sobut_actually_a_symlink new file mode 120000 index 0000000..7484397 --- /dev/null +++ b/lib/x64/libASICamera2.sobut_actually_a_symlink @@ -0,0 +1 @@ +libASICamera2.so.1.13.0930 \ No newline at end of file diff --git a/lib/x86/libASICamera2.a b/lib/x86/libASICamera2.a new file mode 100644 index 0000000..95f4753 Binary files /dev/null and b/lib/x86/libASICamera2.a differ diff --git a/lib/x86/libASICamera2.so b/lib/x86/libASICamera2.so new file mode 120000 index 0000000..7484397 --- /dev/null +++ b/lib/x86/libASICamera2.so @@ -0,0 +1 @@ +libASICamera2.so.1.13.0930 \ No newline at end of file diff --git a/lib/x86/libASICamera2.so.1.13.0930 b/lib/x86/libASICamera2.so.1.13.0930 new file mode 100755 index 0000000..9338ca6 Binary files /dev/null and b/lib/x86/libASICamera2.so.1.13.0930 differ -- cgit v1.1