Meade DSI Linux HOWTO

From OpenAIP

Jump to: navigation, search

This howto is intended for use with Ubuntu 10.10 and should allow you to compile libdsi for use with other software. Libdsi can be downloaded here.

First thing is first you need to install libusb and libusb-dev. You can do it by executing the command:

$ sudo apt-get install libusb-dev;

once that is done you should now be able to compile the meade-dsi code using the usual

$ ./configure; make all

once that is done it is time for the last step which is telling the udev file system how to handle the new device. In the code blob you downloaded there is a usb.ids.patch, to patch your usb.ids file run the command:

$ sudo patch /var/lib/usbutils/usb.ids usb.ids.patch

in the system folder of the mead-dsi directory. Once this is done you can now run:

$ lsusb

and you should see your dsi pro II. Now you need to find a hex dump of an initializes DSI Pro II camera, contact the author if you cannot find one. Once that is done you need to copy your hex file to /lib/firmware/meade-deepskyimager.hex. Once that is done you are ready to write the rule file for your DSI in:

/etc/udev/rules.d/

first you need to create in the above directory a file called 05-meade.rules then edit that file to contain the following rules:

# 1. Pre-renumeration IDs
# Meade DSI Pro II
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="156c", ATTR{idProduct}=="0100", ENV{DEVNAME}!="",\
RUN+="/sbin/fxload -t fx2 -D $env{DEVNAME} -I /lib/firmware/meade-deepskyimager.hex"

# 2. Post-renumeration IDs
# Meade DSI Pro II
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="156c", ATTR{idProduct}=="0101", ENV{DEVNAME}!="",\
MODE="0666", SYMLINK+="deepskyimager.%n"

SUBSYSTEM=="usb", ATTR{idVendor}=="156c", ATTR{idProduct}=="0101",
MODE:="0666"

Once that is done, unplug and plug in your DSI and you should be able to use the code in mead-dsi.

Personal tools