Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 1 month ago

Hi !

@Pep : Glad to know the camera is working for you now.
@Pep and Tom : Thanks for your investment !

Please let me know of you have other issues.

Have a clear sky !

Thx8411

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 1 month ago

Thanks a lot Tom !

It helped a lot. Your camera works ok on RPi and acts exactly like on AMD64.

I asked myself : How could it be ? Could it be a firmware difference ?
And good news, there is no issue anymore ! (I hope so...)

Just let me explain :

When installing my raspberry, the driver provided by the astroberry repo wasn't up to date (libsv305 vers 1.6.4).
The astroberry repo seems up to date now (since 1st of march ?). After an apt update, I got the libsv305 vers 1.6.5, with the last svbony firmware.
I can't reproduce the issue anymore.

The SV305PRO works now on my RPi.

@Tom and @Pep, could you please check your libsv305 package version ?

It should be 1.6.5 for Tom, and 1.6.4 for Pep.

@All : check your libsv305 package version (it should be 1.6.5) , and please update your indi packages, it should fix the issue.


Best regards !

Thx8411

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 1 month ago

@Tom and Pep, are you comfortable with the linux command line ? Could you try this for me :

- login as root
- start the "usbmon" usb kernel sniffer : "modprobe usbmon"
- go to "/sys/kernel/debug/usb/usbmon/"
- plug the camera and look at its usb bus number with the "dmesg" command

You should see something like this :

[ 6508.972745] usb 4-1: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[ 6508.993494] usb 4-1: LPM exit latency is zeroed, disabling LPM.
[ 6508.994309] usb 4-1: New USB device found, idVendor=f266, idProduct=9a0a, bcdDevice= 0.00
[ 6508.994313] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6508.994316] usb 4-1: Product: SVBONY SV305PRO
[ 6508.994318] usb 4-1: Manufacturer: SVBONY

in "4-1", 4 is the bus number

- start the SV305PRO INDI driver
- sniff the usb bus with "cat <bus number>u > /tmp/sv305_pro_dump.txt" in the "/sys/kernel/debug/usb/usbmon/" directory
- trigger some frames in INDI
- post me the "/tmp/sv305_pro_dump.txt" file back in the forum

I looked a bit forward, sadly, it seems firmware related.
I just sent a mail to Rita at SVBony with the usb dumps.

Best regards,

Thx8411

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 1 month ago

Hi,

@Ginger

Non consistent background noise between frames usually means power issues. The camera regulator don't have enough power to regulate the voltage.
So, the analogic/digital converter reference voltage wiggles.

@Pep

Thanks, once the issue understood, and a fix found, I will need your help for testing. But at this time, I have to figure out what's going on.
And, no, I'm not the master of the universe. I don't save lives, I just try to fix a driver ;-) But thanks for your kind words !


Ok, I sniffed AMD64/SV305PRO/USB3 (I never had issues with this combo)
It behave like the SV305

ffff943969cfe780 216190798 S Ci:4:002:0 s c0 d6 0160 0013 0001 1 <
ffff943969cfe780 216191387 C Ci:4:002:0 0 1 = 08
ffff943969cfecc0 216202281 S Ci:4:002:0 s c0 d0 0001 3000 0001 1 <
ffff943969cfecc0 216202743 C Ci:4:002:0 0 1 = 08
ffff943969cfecc0 216202797 S Ci:4:002:0 s c0 d0 0001 3002 0001 1 <
ffff943969cfecc0 216203280 C Ci:4:002:0 0 1 = 08
ffff943969cfe780 216203340 S Ci:4:002:0 s c0 d6 0001 0080 0001 1 <
ffff943969cfe780 216203841 C Ci:4:002:0 0 1 = 08
ffff943969cfe540 216203887 S Ci:4:002:0 s c0 d0 0000 3000 0001 1 <
ffff943969cfe540 216204393 C Ci:4:002:0 0 1 = 08
ffff943969cfef00 216204438 S Ci:4:002:0 s c0 d0 0000 3002 0001 1 <
ffff943969cfef00 216204943 C Ci:4:002:0 0 1 = 08
ffff943969cfef00 216204985 S Ci:4:002:0 s c0 d6 00e0 0013 0001 1 <
ffff943969cfef00 216205495 C Ci:4:002:0 0 1 = 08
ffff943969cfec00 217254835 C Bi:4:002:2 0 4147216 = adea2b04 00000000 01000000 00000000 01000100 01000100 01000100 01000200
ffff943969fbda80 217258874 S Bi:4:002:2 -115 4147216 <

I also sniffed the SV305PRO/Astro_DMX usb stream.
Astro_DMX seems to use the camera's "Streaming mode". I use the "Trigger mode". In my mind, the trigger mode is better suited for 1 - 2s exposure guide frames.

To be continued...

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 1 month ago

Further tests :

RPI3/SV305PRO/USB2 : KO aswell

RPI3/SV305/USB2 : OK
RPI4/SV305/USB2 : OK

usb trace :

d8084480 421735653 S Ci:1:004:0 s c0 d0 0001 3000 0001 1 <
d8084480 421736276 C Ci:1:004:0 0 1 = 08
d80843c0 421737537 S Ci:1:004:0 s c0 d6 0001 0080 0001 1 <
d80843c0 421738157 C Ci:1:004:0 0 1 = 08
d80843c0 421738324 S Ci:1:004:0 s c0 d0 0000 3000 0001 1 <
d80843c0 421738930 C Ci:1:004:0 0 1 = 08
d8084480 422017771 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084480 422017872 C Ci:1:004:0 0 2 = 0112
d8084840 422218284 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084840 422218382 C Ci:1:004:0 0 2 = 0112
d8084900 422419177 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084900 422419277 C Ci:1:004:0 0 2 = 0112
d80849c0 422619683 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d80849c0 422619779 C Ci:1:004:0 0 2 = 0112
d8084a80 422820217 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084a80 422820316 C Ci:1:004:0 0 2 = 0112
d8084b40 423020740 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084b40 423020840 C Ci:1:004:0 0 2 = 0112
d8084cc0 423221250 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084cc0 423221352 C Ci:1:004:0 0 2 = 0112
d8084c00 423421750 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084c00 423421843 C Ci:1:004:0 0 2 = 0112
d8084d80 423622238 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084d80 423622330 C Ci:1:004:0 0 2 = 0112
d8084e40 423822784 S Ci:1:004:0 s c0 b9 0000 0000 0002 2 <
d8084e40 423822891 C Ci:1:004:0 0 2 = 0112
d8084780 423858911 C Bi:1:004:2 0 4147216 = 573cf201 00000000 03000000 00000000 5d019701 5d019201 60019a01 5501a601
d8185240 423895898 S Bi:1:004:2 -115 4147216 <

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 1 month ago

Hi folks !

Thanks for your help Pep. I just got my RPi4 today.
I also got an RPi3. I have to do extensive tests RPi3/RPi4/AMD64, SV305/SV305PRO, USB2/USB3.

I actually reproduce the issue on RPi4/SV305PRO/USB2.
The first frame is OK, but I never get the second one.

First observation, for the first frame, we get the usb bulk datas. For the second one, it never comes.

First frame usb sniffing :

d8139900 1127851687 S Ci:1:006:0 s c0 d0 0001 3000 0001 1 <
d8139900 1127852168 C Ci:1:006:0 0 1 = 08
d8139900 1127853454 S Ci:1:006:0 s c0 d6 0001 0080 0001 1 <
d8139900 1127853916 C Ci:1:006:0 0 1 = 08
d8139900 1127854089 S Ci:1:006:0 s c0 d0 0000 3000 0001 1 <
d8139900 1127854550 C Ci:1:006:0 0 1 = 08
d8139900 1128616063 S Ci:1:006:0 s c0 b9 0000 0000 0002 2 <
d8139900 1128616152 C Ci:1:006:0 0 2 = 0113
d8139900 1128816561 S Ci:1:006:0 s c0 b9 0000 0000 0002 2 <
d8139900 1128816640 C Ci:1:006:0 0 2 = 0113
d8139c00 1128974084 C Bi:1:006:2 0 4147216 = d91a3203 00000000 01000000 00000000 01000100 01000100 01000100 01000100
d8139c00 1129010255 S Bi:1:006:2 -115 4147216 <

The second frame starts the same way :

d8139900 1157854005 S Ci:1:006:0 s c0 d0 0001 3000 0001 1 <
d8139900 1157854480 C Ci:1:006:0 0 1 = 08
d8139900 1157855768 S Ci:1:006:0 s c0 d6 0001 0080 0001 1 <
d8139900 1157856224 C Ci:1:006:0 0 1 = 08
d8139900 1157856399 S Ci:1:006:0 s c0 d0 0000 3000 0001 1 <
d8139900 1157856858 C Ci:1:006:0 0 1 = 08
d8139900 1158203763 S Ci:1:006:0 s c0 b9 0000 0000 0002 2 <
d8139900 1158203849 C Ci:1:006:0 0 2 = 0113
d8139900 1158404259 S Ci:1:006:0 s c0 b9 0000 0000 0002 2 <
d8139900 1158404339 C Ci:1:006:0 0 2 = 0113

But then it loops again and again :

...
d8139900 1158604797 S Ci:1:006:0 s c0 b9 0000 0000 0002 2 <
d8139900 1158604872 C Ci:1:006:0 0 2 = 0113
...

The camera datas never seem ready.


To be continued...

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 2 months ago

Hi guys,

Sorry, I was away for a long time. Family business and a lot of work...

I just bought an RPi4, to see what's going on.
It comes from china, so, it could take a while...

My first concern is to check if the SV305 and the SV305 Pro behave the same way.
In my mind, it's USB 2.0/USB 3.0 related.

Possibly, Astro-DMX acts in a way which stresses the camera less.

Best regards,

Thx8411

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 3 months ago

Hello,

Thanks for your reports.

If you take a look at the driver's code, there is only one difference between the pro and the non pro : pulse guiding functions are disabled/enabled.
These issues are certainly related to RPi4 USB 3.0 / SV305 USB 3.0

Has somebody tried to plug the camera on a powered USB 2.0 only hub ?
My sample SV305 works well in USB 3.0 on amd64 if I don't change the settings to much. I will try to force it to USB 2.0 on my old laptop, and see what I get.

Is there somebody here using the Pro on an USB 2.0 RPi3 ?

Best regards,

Thx8411

Read More...

Pedram and 4 others have liked Jasem Mutlaq's Profile 3 months ago
Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 3 months ago

Hi Pep,

<< I also found that the camera allows go from 0.001s to 1800s exposures, but the driver does not allow you to go down from 0.01s. >>

You were right. I just pushed a fix.
According to the camera, time values goes from 1799s to 14µs. The 14 µs shouldn't be very accurate...

Best regards,

Thx8411

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 3 months ago

Hi,

@Knro

Sorry, you're right. I forgot my own words :

<<
I can reach 55fps fullframe in 12 bits and 112fps in 8 bits with Ekos.
>>

@Pep

<<
I also found that the camera allows go from 0.001s to 1800s exposures, but the driver does not allow you to go down from 0.01s.
>>

Just let me check that.

Best regards,

Thx8411

Read More...

Collin replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 3 months ago

Hello,

Thanks for your help Pep.

Is Taffy an SVBony engineer ?
I exchanged many times with Rita, but she is more "public relations" oriented.
She just could forward my requests to the dev team.

I send you my Email address by PM. You may give it to Taffy.

Best regards,

Thx8411

Read More...

Collin replied to the topic 'Canon DSLR sensor temperature lost' in the forum. 3 months ago

issue #300 opened on github

Read More...

Collin replied to the topic 'Canon DSLR sensor temperature lost' in the forum. 3 months ago

Hello,

I made some further tests and investigations.

I seems related to the build process.

On my ubuntu 18.04 amd64, the official 1.8.8 indi_gphoto_ccd allways reports 0 as temperature
When building from sources on my laptop (tag v1.8.8), temperature is OK.

Official binary size : 154384
My binary (once stripped) : 154400


Best regards,

Thx8411

Read More...

Collin replied to the topic 'Canon DSLR sensor temperature lost' in the forum. 3 months ago

Downgrading to libgphoto2 2.5.16 doesn't fix the issue.

Read More...