×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

command line client for indiserver + indi_sx_ccd

  • Posts: 12
  • Thank you received: 1
I have indiserver + indi-sx working fine on a Raspberry Pi now - taking images with the setup I uploaded previosuly. It has to be installed from source - the ppa does not seem to have wheezy any more?

The RPi is slow, so a larger timeout has to be set.

I am happy that it works on RPi - but why does it not work in straight Ubuntu? The problem seems related to USB port problems.

Anyway, thanks for the help and the RPi suggestion!

Peter T.
9 years 4 months ago #237

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
I'm not quite sure which version of SX driver is distributed with Ubuntu. If you can it's always better to checkout most recent source from SVN and build it yourself.

Peter
9 years 4 months ago #238

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 1
When I plug the camera into a USB port on my big computer (not the little RPi where things work, now), I get this with dmesg:

[25194.576083] usb 2-5: USB disconnect, device number 6
[25201.620053] usb 2-5: new high-speed USB device number 7 using ehci_hcd
[25201.752439] usb 2-5: config 1 has an invalid interface number: 1 but max is 0
[25201.752446] usb 2-5: config 1 has no interface number 0

I am unsure what this "config 1 has an invalid interface number: 1 but max is 0" is about - but I think it is central to the problems I have.

I installed from source both on the RPi and now on the big computer - so I think the problem is not related to indiserver or indi-sx but rather to something about how USB ports are handled by Ubuntu vs the version on RPi. This is probably off-topic for this Forum. Not sure where to go with it: the topic "config 1 has an invalid interface number: 1 but max is 0" is unsolved but common if you Google.
9 years 4 months ago #239

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
If you can build it from source open file sxccdusb.cpp, find function sxOpen() and lines

#ifdef __APPLE__
rc=usb_claim_interface(handle,0);
#else
rc = usb_claim_interface(handle, 1);
#endif

Try to change 1 to 0 and build it again but I don't believe it will help.

You can also try to run test executable (in 3rdpart/indi-sx) before and after the change to see the difference...

What version of Ubuntu are you running? I'm testing on virtualised 11.10 both 32 and 64 bit.

Peter
9 years 4 months ago #240

Please Log in or Create an account to join the conversation.

Time to create page: 0.360 seconds