GithubHelp home page GithubHelp logo

FLI ML16200 not detected about indi HOT 14 CLOSED

indilib avatar indilib commented on July 22, 2024
FLI ML16200 not detected

from indi.

Comments (14)

rumengb avatar rumengb commented on July 22, 2024 1

@gschwim, I think Iknow where is the problem.

can you try something for me:

  1. start indiserver by hand as root:
    $ sudo indiserver -v indi_fli_ccd

  2. Connect to this server using Ekos...

  3. Report if it is detected or not

from indi.

knro avatar knro commented on July 22, 2024

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.

gschwim avatar gschwim commented on July 22, 2024

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.

knro avatar knro commented on July 22, 2024

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.

rumengb avatar rumengb commented on July 22, 2024

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.

knro avatar knro commented on July 22, 2024

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.

gschwim avatar gschwim commented on July 22, 2024

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.

rumengb avatar rumengb commented on July 22, 2024

i do not understand. thing seem to work with what software? Ekos?

from indi.

gschwim avatar gschwim commented on July 22, 2024

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.

rumengb avatar rumengb commented on July 22, 2024

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.

gschwim avatar gschwim commented on July 22, 2024

Yep - same result. No module loads and no devices created.

from indi.

rumengb avatar rumengb commented on July 22, 2024

In this case, where can i send you a tarball so that you can try it?

from indi.

gschwim avatar gschwim commented on July 22, 2024

Schwim ....

from indi.

gschwim avatar gschwim commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.