Linux and Astronomy Frustration

Anyone that follows me knows that I have been relentlessly (bashing my head against the wall) trying to get Linux as my main astrophotography setup. I can successfully plug in my Canon 350D and download images instantly onto my computer with just a USB cable and the software Entangle: http://entangle-photo.org/ I do not use it as my means of controlling the shutter since I have an intervalometer that controls the shutter for imaging.

I use an Orion StarshootAutoguider (SSAG) as my guiding camera and a CG-5 mount, which I am attempting to control using Lin_Guider: http://sourceforge.net/projects/linguider/ I have successfully gotten the SSAG working to show me the stars it is imaging, but I still can't get the program to talk to the mount and send pulses. I can't calibrate or guide with it yet. This is the last thing I need to get working before I can be completely up and running in Linux, and finally be able to ditch Windows all-together.

I have been trying like crazy to get the computer to talk to the guide camera and mount, but I just can't get them to work yet. I'm probably missing something extremely simple.

#Linux   #Astrophotography    #Autoguiding   #Astronomy   #Lin_Guider  

12 thoughts on “Linux and Astronomy Frustration

    • Thats nonsense²
      stop talking.
      i suppose an hardware issue.
      windows cant resolve hardware issues. only linux can.
      without helpful comments do NOT post anything again. Tnx.
      —————-
      Have you ever tried to drive your mount with for example stellarium DIRECT?
      How do you connet your autoguider to your mount?
      Autoguiders need a connection from cam to mount – not from pc to mount.
      Did you follow the readme of linguider?
      all of you replyers:
      didnt you notice, the canon cam is NOT the point?
      *facepalm*
      For DSLR control i suggest a hardware timer, which usually can use exposure time more than 30 sec.
      Almost no software can handle than. Maybe only gphoto2 from console/terminal.

  1. 350D has no drivers in Win7, only in XP. Plus I'd also need to get the cable for the 350D which would have an RS232 connection, then I'd have to get the RS232 to USB connector to plug it into my computer. I'm a broke astronomer, that's why I struggle and fight with the free method :) 

  2. I can confirm the 350d works very well on win7 32bit, a mini usb cable will get you up to 30 sec and a easily built bulb cable will get you further. Just getting a copy of win7 will be the expensive bit

  3. Now why can't that work like that in Windows 8? I don't even need it to control the bulb, just automatically download the images to the computer. 

    The only reason I even have Windows is because of guiding, there is absolutely nothing else I use Windows for, so that is why I'd like to move guiding to Linux more than I'd like to try and get my camera working on Windows.

  4. As much as I like Linux, and dislike Windows, I just bite the bullet and by a refurb pc for about $150 that includes Windows just for running my astro programs.

    I have enough pc issues as is! My main Linux box bit the dust last week.

  5. groups?  permissions on the device?  what does dmesg say?  what does the application log, if any say?  can you call the application from a terminal with a 'verbose' tag (generally -v) to get more data on what is going on?

  6. Here are the readings from the terminal.

    lsusb reads back:
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 005: ID 0bda:58c2 Realtek Semiconductor Corp. 
    Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
    Bus 001 Device 006: ID 0cf3:0036 Atheros Communications, Inc. 
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 003: ID 16c0:296d Van Ooijen Technische Informatica 
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    dmesg reads back:
    [  233.974896] usb 3-2: new high-speed USB device number 2 using xhci_hcd
    [  233.990993] usb 3-2: New USB device found, idVendor=1856, idProduct=0011
    [  233.990998] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [  234.089373] usb 3-2: USB disconnect, device number 2
    [  235.822262] usb 3-2: new high-speed USB device number 3 using xhci_hcd
    [  235.838711] usb 3-2: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
    [  235.839056] usb 3-2: New USB device found, idVendor=16c0, idProduct=296d
    [  235.839061] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  235.839064] usb 3-2: Product: QHY5-CMOS
    [  235.839066] usb 3-2: Manufacturer: QHY_CAMS

    When I first start lin_guider:
    sudo ./lin_guider
    [1437322072:898] Starting Lin_guider…
    [1437322072:908] lusb::initialize(): Success
    [1437322072:908] qhy5_core_shared object successfully opened.
    [1437322072:908] mapped =0
    [1437322072:908] Trying QHY5…
    [1437322072:908] Control gain id=9963795
    [1437322072:908] Gain supported
    [1437322072:908] Control exposure id=9963793
    [1437322072:908] Exposure supported
    [1437322072:908]   Frame rate:   1/2 fps
    [1437322072:908] Sending send command 0x42, 0x13, 0xf63c, 0x0018, 19 bytes

    [1437322073:140] Sending send command 0x42, 0x14, 0x31a5, 0x0000, 0 bytes

    [1437322073:151] Sending send command 0x42, 0x16, 0x0001, 0x0000, 0 bytes

    [1437322073:171] Sending recv command 0xc2, 0x12, 0x07d0, 0x0000, 2 bytes

    [1437322073:171] Exposure started
    [1437322075:171] Exposure finished. Reading 1635900 bytes
    [1437322075:281] Downloading finished. Read: 1635900 bytes
    [1437322075:281] Sending send command 0x42, 0x13, 0xf63c, 0x0018, 19 bytes

    [1437322075:594] Sending send command 0x42, 0x14, 0x31a5, 0x0000, 0 bytes

    [1437322075:605] Sending send command 0x42, 0x16, 0x0000, 0x0000, 0 bytes

    [1437322075:605] Sending send command 0x42, 0x13, 0xf63c, 0x0018, 19 bytes

    [1437322075:917] Sending send command 0x42, 0x14, 0x31a5, 0x0000, 0 bytes

    [1437322075:929] Sending send command 0x42, 0x16, 0x0000, 0x0000, 0 bytes

    [1437322075:931] SRV: listening on Unix socket /tmp/lg_ss
    [1437322075:952] Started successfully
    [1437322075:977] Sending recv command 0xc2, 0x12, 0x07d0, 0x0000, 2 bytes

    [1437322075:977] Exposure started
    [1437322077:977] Exposure finished. Reading 1635900 bytes
    [1437322078:087] Downloading finished. Read: 1635900 bytes
    [1437322078:110] Sending recv command 0xc2, 0x12, 0x07d0, 0x0000, 2 bytes

    When I press the RA button in Driver Setup, and shutdown the lin_guider:
    [1437321950:123] outp tick 123445299
    [1437321950:123] mapped =0
    [1437321950:123] Sending recv command 0xc2, 0x18, 0x0000, 0x0000, 2 bytes

    [1437321950:307] outp tick 307199988
    [1437321950:307] mapped =1
    [1437321950:307] Sending recv command 0xc2, 0x18, 0x0000, 0x0000, 2 bytes

    [1437321950:307] Sending send command 0x42, 0x10, 0x0000, 0x0010, 8 bytes

    [1437321950:308] outp tick 308392070
    [1437321950:308] mapped =0
    [1437321950:308] Sending recv command 0xc2, 0x18, 0x0000, 0x0000, 2 bytes

    [1437321951:681] mapped =0
    [1437321951:681] Sending recv command 0xc2, 0x18, 0x0000, 0x0000, 2 bytes

    [1437321951:745] Exposure finished. Reading 1635900 bytes
    [1437321951:854] Downloading finished. Read: 1635900 bytes
    [1437321951:879] Sending recv command 0xc2, 0x12, 0x07d0, 0x0000, 2 bytes

    [1437321951:879] Exposure started
    [1437321953:879] Exposure finished. Reading 1635900 bytes
    [1437321953:948] Downloading finished. Read: 1635900 bytes
    [1437321953:971] Sending recv command 0xc2, 0x12, 0x07d0, 0x0000, 2 bytes

    [1437321953:971] Exposure started
    [1437321955:387] Device config saved
    [1437321955:972] Exposure finished. Reading 1635900 bytes
    [1437321956:040] Downloading finished. Read: 1635900 bytes
    [1437321956:043] qhy5_core_shared::close_device(): Success
    [1437321956:043] lusb::release(): Success
    [1437321956:073] SRV:in_queue.size(): 0
    [1437321956:073] SRV:out_queue.size(): 0
    [1437321956:073] SRV:stopped
    [1437321956:074] Terminated successfully.

Leave a Reply

Your email address will not be published. Required fields are marked *