Krzysztof thanked Jasem Mutlaq in topic SkySafari middleware? 3 months ago
Krzysztof replied to the topic 'Raspbian and indiserver issues' in the forum. 7 months ago

Thanks for the tip. I will check it.
Highly possible indeed. That would be 2nd time for me (it still "does breathe" so i haven't thought about that).

Read More...

Krzysztof replied to the topic 'Raspbian and indiserver issues' in the forum. 7 months ago

This is how indi-bin installation look like

pi@rpi:~/bin/indilib/libindi_1.4.1_rpi $ sudo dpkg -i indi-bin_1.4.1_armhf.deb 
Selecting previously unselected package indi-bin.
(Reading database ... 129218 files and directories currently installed.)
Preparing to unpack indi-bin_1.4.1_armhf.deb ...
Unpacking indi-bin (1.4.1) over (1.4.1) ...
dpkg: error processing archive indi-bin_1.4.1_armhf.deb (--install):
 unable to create `/usr/bin/indi_simulator_ccd.dpkg-new' (while processing `./usr/bin/indi_simulator_ccd'): Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of `/usr/bin/indi_simulator_ccd': Read-only file system
dpkg: error while cleaning up:
 unable to restore backup version of `/usr/bin/indi_joystick': Read-only file system
dpkg: error while cleaning up:
 unable to restore backup version of `/lib/udev/rules.d/99-perfectstar.rules': Read-only file system
dpkg: error while cleaning up:
 unable to restore backup version of `/lib/udev/rules.d/99-hitecastrodcfocuser.rules': Read-only file system
dpkg: error while cleaning up:
 unable to restore backup version of `/lib/udev/rules.d/99-gpusb.rules': Read-only file system
dpkg: error while cleaning up:
 unable to restore backup version of `/lib/udev/rules.d/99-flipflat.rules': Read-only file system
dpkg: error while cleaning up:
 unable to restore backup version of `/lib/udev/rules.d/99-vantage.rules': Read-only file system
dpkg: error while cleaning up:
 unable to securely remove '/var/lib/dpkg/tmp.ci': Read-only file system
dpkg: error while cleaning up:
 unable to securely remove '/var/lib/dpkg/reassemble.deb': Read-only file system
dpkg: error: unable to create new file '/var/lib/dpkg/status-new': Read-only file system
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
After this command all I can do is power off raspberry and turn it on again, nothing else is possible.

Read More...

Krzysztof created a new topic ' Raspbian and indiserver issues' in the forum. 7 months ago

Hi
Are there any know issues with current Raspbian and indiserver release?
I had one of those bad ideas - update everything on my raspberry pi and hence my problem.
After updating raspbian with apt-get I went for newest indiserver 1.4.1 and the problem started. Currently when I try to install indiserver deb files my raspbian literally dies.
What it looks like now:

pi@rpi:~/bin/indilib/libindi_1.4.1_rpi $ uname -a
Linux rpi 4.9.22-v7+ #987 SMP Fri Apr 14 23:23:05 BST 2017 armv7l GNU/Linux
pi@rpi:~/bin/indilib/libindi_1.4.1_rpi $ sudo dpkg -r --force-depends indi-bin
dpkg: indi-bin: dependency problems, but removing anyway as you requested:
 libindi1:armhf depends on indi-bin (>= 1.4.1).

dpkg: error processing package indi-bin (--remove):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
Errors were encountered while processing:
 indi-bin
Any tips how can I remove whole indiserver installation and install it again?

Read More...

Krzysztof replied to the topic 'Indi duino and sensors' in the forum. 1 year ago

I have used arduino sketch/code from examples included in arduino-ide (or did I download it additionaly? Can't remember to be honest) to test both (different for each one). Both sketches did include some additional libraries which give functions that allow You just to read temperature value and not "some value" that You have to recalculate to get actual temperature value. Although if I would get "some value" that would be something, currently all I see is constant "0" no matter which one I use.
I am trying to understand how does it all work with firmata and indi_duino so currently I am thinking that this might be the problem - both of the sensors which I have are digital, one works on OneWire bus and second on I2C bus (Here I am not sure if firmata code can distinguish that and use proper). From what I understand You do not just read value from these sensors and recalculate it. You have to query them with kind of sequenced signal to get response / read out.
Maybe I should look around for some simple analog sensor and try it? Simple thermistor or something like that...
From the other side in indiduino Meteostation there is exactly the same sensor which I have - DHT22 so it should work I suppose. I just don't know where to look to find out how to configure it all properly... there is not much information how it should be done.
I hope You understand my descriptions, i am really green in this matter.

Read More...

Krzysztof replied to the topic 'Indi duino and sensors' in the forum. 1 year ago

Yes, sensor is attached to pin 2. (Data channel ofcourse)

Read More...

Krzysztof created a new topic ' Indi duino and sensors' in the forum. 1 year ago

Hello Guys
I would preciate if someone could give me some clues about using sensors with indi duino driver.
Currently I have successfully connected and used power relays but I am stuck at next step - temperature sensors. I have two for testing purposes - DHT22 and DS1820. I have successfully used both alone with arduino and some simple arduino sketch so i can safely assume that both seem to work properly. I can not however get them to work with standard firmata arduino firmware and indi duino driver. I get no readings at all.
Should there be any changes made in standard firmata firmware code/sketch for arduino? How should skeleton definition look like for such sensor?
If it does make any difference my arduino is connected to Raspberry Pi where I run indiserver.

Read More...

Krzysztof replied to the topic 'Starlight Xpress Trius 825 Mono not detected' in the forum. 2 years ago

I have updated indilib on my RPi2 today.
1. sx_ccd_test (1.12) doesn't show any errors now, only bunch of OK's and numbers (that's good I guess).
2. "indiserver -vv indi_sx_ccd" starts without problems
3. AI 2.0(59) and 2.1(90) connects to SX-825 on RPi2-indiserver without any issues and camera is fully operational
4. Test with lodestar x2 connected - also no problem, everything works

Thank You :)

Read More...

Krzysztof replied to the topic 'Starlight Xpress Trius 825 Mono not detected' in the forum. 2 years ago

AI2.1_90 beta - works :)
I'll wait till Jasem black box will compile new release and hopefully try it tomorrow.
Thanks!

Read More...

Krzysztof replied to the topic 'Starlight Xpress Trius 825 Mono not detected' in the forum. 2 years ago

Peter
So far i have tested this camera with:
- indiserver on RPi2 (arm) - doesn't work
- indiserver on PC (x86) - doesn't work
- built-in AstroImager 2.0 drivers on OS X - doesn't work
- USBoverIP on RPi2 (arm) + windows client machine - does work
- INDI Server (2.2.5) on OS X (10.11) - does work

doesn't work = detected but not useful

I can make more tests if it might be helpful just let me know exactly what tests are needed.

Read More...

Krzysztof replied to the topic 'Starlight Xpress Trius 825 Mono not detected' in the forum. 2 years ago

I have just made test on "conventional" PC with kubuntu installed. After updating packages i started with sx_ccd_test which gave me exactly the same error (only SX-825 physically connected).

sx_ccd_test version 1.11

sxList: 'SX-825' #1 [0x1278, 0x189] found
sxList() -> 1

testing SX-825 -----------------------------------

sxOpen: libusb_open -> LIBUSB_ERROR_ACCESS
sxOpen() -> 0

Segmentation fault (core dumped)


Read More...

Krzysztof replied to the topic 'Starlight Xpress Trius 825 Mono not detected' in the forum. 2 years ago

I've disconnected (physically) everything except SX-825 and run indiserver on rpi only with indi_sx_ccd. It still behaves the same - detected but not useful.
sx_ccd_test gives the same result

pi@pi:~ $ sx_ccd_test 
sx_ccd_test version 1.11

sxList: 'SX-825' #1 [0x1278, 0x189] found
sxList() -> 1

testing SX-825 -----------------------------------

sxOpen: libusb_open -> LIBUSB_ERROR_ACCESS
sxOpen() -> 0

Segmentation fault
pi@pi:~ $ 


Read More...

Krzysztof replied to the topic 'Starlight Xpress Trius 825 Mono not detected' in the forum. 2 years ago

No one else has access to this and messages are silent about any other connections, i think it might be only some software which uses it for some reason. Still can't figure it out, what it might be is a true mystery.

Read More...

Krzysztof replied to the topic 'Starlight Xpress Trius 825 Mono not detected' in the forum. 2 years ago

I thought there was something done because i can see it detected and listed in astroimager.


However when I select it nothing happens and none of the options are active (it does work with local os x indi server).
Seems like there is some clue in sx_ccd_test but i really have no idea where to look further.
sx_ccd_test output:
pi@pi:~ $ sx_ccd_test
sx_ccd_test version 1.11

sxList: 'LodeStar' #1 [0x1278, 0x507] found
sxList: 'SX-825' #1 [0x1278, 0x189] found
sxList() -> 2

testing LodeStar -----------------------------------

sxOpen: libusb_open -> OK
sxOpen: libusb_get_config_descriptor -> OK
sxOpen: libusb_claim_interface(1) -> OK
sxOpen() -> 1

sxGetCameraModel: libusb_control_transfer -> OK
sxGetCameraModel: libusb_control_transfer -> OK
sxGetCameraModel: INTERLACED MONO model 6
sxGetCameraModel() -> 70

sxGetCameraParams: libusb_control_transfer -> OK
sxGetCameraParams: libusb_control_transfer -> OK
sxGetCameraParams: chip size: 752 x 290 x 16, pixel size: 8.60 x 16.60, matrix type: fff
sxGetCameraParams: capabilities: STAR2K
sxGetCameraParams: serial ports: 119
sxGetCameraParams(..., 0,...) -> 1

sxSetTimer: libusb_control_transfer -> OK
sxSetTimer(900) -> 1

sxGetTimer: libusb_control_transfer -> OK
sxGetTimer: libusb_control_transfer -> OK
sxGetTimer() -> 900

sxGetTimer: libusb_control_transfer -> OK
sxGetTimer: libusb_control_transfer -> OK
sxGetTimer() -> 0

sxClearPixels: libusb_control_transfer -> OK
sxClearPixels(..., 0) -> 1

sxLatchPixels: libusb_control_transfer -> OK
sxLatchPixels(..., 0, ...) -> 1

sxReadPixels: libusb_control_transfer -> OK
sxReadPixels() -> 1

1192 1188 1180 1169 1164 1150 1164 1173 1162 1165 
1191 1212 1174 1164 1182 1164 1196 1164 1180 1183 
1189 1162 1170 1188 1176 1172 1175 1167 1164 1168 
1176 1173 1197 1183 1178 1166 1145 1179 1174 1166 
1186 1201 1197 1189 1175 1186 1178 1162 1187 1171 
1178 1185 1170 1165 1169 1184 1180 1147 1169 1199 
1187 1195 1177 1191 1198 1171 1174 1167 1184 1181 
1181 1168 1175 1200 1168 1177 1183 1180 1161 1172 
1200 1180 1166 1169 1171 1177 1173 1183 1146 1163 
1184 1168 1172 1193 1177 1162 1167 1161 1173 1178 

sxClose: libusb_close
sxClose() 

testing SX-825 -----------------------------------

sxOpen: libusb_open -> LIBUSB_ERROR_ACCESS
sxOpen() -> 0

Segmentation fault
pi@pi:~ $ 


Read More...

Krzysztof replied to the topic 'Starlight Xpress Trius 825 Mono not detected' in the forum. 2 years ago

giorgio_ne wrote:

I guess at some point the fix will also trickle down to the compiled version of the PI driver right?
Is it included in recent indiserver rpi package? I can't get it to work.

Read More...

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!