Comments (14)
@gschwim, I think Iknow where is the problem.
can you try something for me:
-
start indiserver by hand as root:
$ sudo indiserver -v indi_fli_ccd -
Connect to this server using Ekos...
-
Report if it is detected or not
from indi.
I added more debug statements to the driver. In tomorrow's PPA update, please first open a console window to monitor syslog:
tail -f /var/log/syslog
Then start Ekos/INDI as usual, but before you connect go to INDI FLI tab in the INDI COntrol panel --> Options --> Enable Debug, and check all boxes for Verbose..etc, then try connecting. See what syslog spits out in addition to INDI log as it might help identify the cause of this issue.
from indi.
I will try this soon. In the meanwhile I have new information.
I decided to load the TSX-provided fliusb kernel module and try using Ekos/indi. I'm able to connect to both the filter wheel and the camera. Interesting. Looks like the source is the same so not surprising I guess.
Digging further, I see the fliusb-dkms package installed. However, the module is not showing up in lsmod. If I run "modprobe fliusb" I get the following:
modprobe: ERROR: could not insert 'fliusb': Exec format error
Trying with insmod gives me:
insmod: ERROR: could not insert module /lib/modules/4.4.0-57-generic/kernel/fliusb.ko: Invalid module format
I tried dpkg-reconfigure fliusb-dkms. No help.
Error! Module version 1.3 for fliusb.ko
is not newer than what is already found in kernel 4.4.0-57-generic (1.3).
You may override by specifying --force.
I've verified that secureboot is disabled.
from indi.
Thanks, there was indeed some recent changes to the FLI DKMS module to make it compile on more recent kernels. So maybe this broke it under 4.4
@rumengb Can you please take a look at this?
from indi.
Jasem,
Just tried the most recent DKMS on 4.4.0-78-generic and it works. maybe the issue is somewhere else. I will try to figure it out...
from indi.
Rumen,
Yes root might help in this case. Permission issue is always second to power issues. We do not have a udev rules for FLI, maybe we should create one for it. Can you control your FLI equipment without root?
from indi.
I tried starting indiserver as root. Didn't help.
If I install the fliusb module provided with TSX complied for my kernel (4.4.0-57-generic) using 'insmod fliusb.ko' things seem to work.
I also tried starting kstars as root but no luck there.
from indi.
i do not understand. thing seem to work with what software? Ekos?
from indi.
Sorry! I was unclear. Yes, if I load the kernel module provided with TSX, the indiserver seems to be able to use it. I can connect to both the camera and the filterwheel using it. It creates devices /dev/fliusb0 and /dev/fliusb1. Starting indiserver with Ekos allows me to connect to both the camera and filter wheel.
Not sure why I can load that module but not the dkms module.
from indi.
you said dpkg-reconfigure fliusb-dkms returns this:
Error! Module version 1.3 for fliusb.ko
is not newer than what is already found in kernel 4.4.0-57-generic (1.3).
You may override by specifying --force.
can you try "sudo rmmod fliusb" and try again?
from indi.
Yep - same result. No module loads and no devices created.
from indi.
In this case, where can i send you a tarball so that you can try it?
from indi.
Schwim ....
from indi.
Rumen - Thanks for the help. Findings for documentation purposes are below.
I built the module you sent and insmod-ed it. It worked fine. This confirms your point that the TSX install was causing the problem. Upon investigating deeper to find out how, I found the TSX install script had this line:
sudo cp ./installfiles/fliusb.ko /lib/modules/$(uname -r)/kernel
The install script has this in spite of it not knowing whether the kernel matches or not. The module it copies over is built on a somewhat older version of the kernel, although the documentation suggests recompiling the module. I removed the fliusb.ko file that it installed completely and the dkms version now works. Interestingly, TSX works with the dkms version as well, so their install doesn't actually require what they do above. Their linux build of TSX is still very new - I'm one of a few really even testing it as far as I can tell. I'll provide feedback to them shortly. My goal is to just let TSX control the mount w/ TPoint models and let Ekos do all the imaging work. So far things are progressing nicely in that direction.
Thanks much for your help and all the work you do on indi.
from indi.
Related Issues (20)
- Updating from 1.9.6 to 2.0.2 HOT 1
- hotplug detecting issue: is it possible to automatically match a device to its INDI driver and device-name by program? HOT 2
- Sesto Senso 2 - cannot process position info HOT 7
- INDI build on Windows HOT 13
- Crash on indi connection HOT 6
- INDI Control Panel doesn't persistently save camera gain and offset from session to session HOT 2
- Typo in drivers/weather/uranusmeteo.cpp HOT 1
- indiserver is stopped if remote slave indiserver is stopped through indiwebmanager HOT 5
- Onstep controller Indi issue HOT 2
- Bypass saving to local when DSLR SD-Card is the target
- Rainbow Astro Simulate Pier Side not changing Pier Side on Meridian Flip HOT 11
- Falcon Rotator only de-rotates in one direction HOT 8
- 10micron mount doesn't stop tracking when commanded HOT 3
- INDI indi_v4l2_ccd segfault when exposing a GRBG formated frame in Ekos HOT 2
- Orion Astroshoot All-in-One Astronomy Camera HOT 2
- Can't save configuration because indipropertybasic's & overload is protected HOT 4
- Following the script in the readme to set up my Raspberry to try and start development gives error : Note, selecting 'libgsl-dev' instead of 'libgsl0-dev' E: Unable to locate package libdc1394-dev HOT 2
- Esatto focuser driver temperature does not update. HOT 7
- EQMod Goto Slew Rate
- ZWO CCD driver alters biases and darks HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indi.