×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

INDI Driver for SVBONY cameras

  • Posts: 13
  • Thank you received: 0
I've actually had some time to try out a couple of powered USB3 hubs with my RPi4 + SV305Pro.

One is an Anker 7 port with a dedicated "power" port. that has an undersized barrel jack, yet still takes 12v. With this one, I was able to power the RPi4 through the charging port as well as connect the SV305Pro. Once I fabricobbled an adapter, it worked like an absolute dream. No issues whatsoever. I'll be picking up a couple more of these to simplify moving from rig to rig.

The other was a GEKRY 7 port, that supposedly is able to do what the Anker can on its last port, on every port. However, the RPi refused to boot or connect to the wifi while being powered by the hub and having the hub connected to its USB type A port. When powering the RPi from a separate 12v-5v dc-dc converter, I was able to connect the SV305Pro through the powered hub to the RPi4. But every few frames, one would come out over-exposed, and nearly all gray. PHD2 did not like this at all, and I had issues guiding.
3 years 3 weeks ago #68244
The topic has been locked.
  • Posts: 149
  • Thank you received: 31
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...
3 years 3 weeks ago #68364
The topic has been locked.
  • Posts: 149
  • Thank you received: 31
@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
- stop the "cat" command with CTRL-C
- 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
The following user(s) said Thank You: R Dan Nafe
Last edit: 3 years 3 weeks ago by Collin.
3 years 3 weeks ago #68366
The topic has been locked.
  • Posts: 84
  • Thank you received: 0

Replied by Pep on topic INDI Driver for SVBONY cameras

Dear Thx8411,

I hope to have a moment today and be able to try it. They will be images with nothing, as it is raining today but there should be no problem, right?
When I have it I will send it to you. (I hope to know how to do it)
Best,

Pep
3 years 2 weeks ago #68372
The topic has been locked.
  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic INDI Driver for SVBONY cameras

Hi Thx8411,

This is my dump file. Hope it helps.

No stopping frames or lost connection during test.

Tested using RPI4 4GB and directly plug into USB3.0 port

Regards,
Tom

File Attachment:

File Name: sv305_pro_dump.txt
File Size:54 KB
Last edit: 3 years 2 weeks ago by Tom.
3 years 2 weeks ago #68376
Attachments:
The topic has been locked.
  • Posts: 149
  • Thank you received: 31
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
The following user(s) said Thank You: Jason Taverner
3 years 2 weeks ago #68397
The topic has been locked.
  • Posts: 84
  • Thank you received: 0

Replied by Pep on topic INDI Driver for SVBONY cameras

Dear Thx8411,

I have done different tests to see what results I get ... and nothing in the last one I managed to make images of (and without much success, too).:blink:
In the attached pdf, you will see a table where I have tried to describe what tests I have done.
In the compressed file are the sv305_pro_dump_vN files of each test (where N is the test number or version, which I named).
My dmesg results is like 1-1.3 (connected directly to USB3 port) or 1-1.4.1 (from Hub powered usb3). On "cat " instructions I put "1u" , this is correct, don't you?

I hope it helps you with something ... If I have to clarify something, tell me. Or if some other test needs to be done, too.
I have a raspi4 with 4Gb of ram, astroberry 2.0.3 and I have either connected via VNC (via web) or remotely via PC (Ekos).
Thanks for everything.
I will waiting your news :cheer:

Pep

File Attachment:

File Name: SV305_PRO_dump.tar.gz
File Size:1,506 KB

This browser does not support PDFs. Please download the PDF to view it: Download PDF

3 years 2 weeks ago #68400
Attachments:
The topic has been locked.
  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic INDI Driver for SVBONY cameras

This is my libsv305 version.

Package: libsv305
Version: 1.6.5
Priority: extra
Section: libs
Maintainer: Blaise-Florentin Collin <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Installed-Size: 2,189 kB
Depends: libc6 (>= 2.9), libgcc1 (>= 1:3.5), libstdc++6 (>= 4.8.1)
Download-Size: 1,407 kB
APT-Manual-Installed: no
APT-Sources: www.astroberry.io/repo buster/main armhf Packages
Description: SDK library for the SVBONY SV305 Camera
3 years 2 weeks ago #68412
The topic has been locked.
  • Posts: 84
  • Thank you received: 0

Replied by Pep on topic INDI Driver for SVBONY cameras

Hi thx8411,
Good Morning.
I didn't know how to check the version but looking at ekos (INDI-Panel) I can tell you I have versions1.1 interface 6
Now I upgrade the lib and I have 1.6.5 version. Is to say I had just had the before one.
I hope it serves.
Thanks,
Pep
Today I'll try it and tell you what happen.
3 years 2 weeks ago #68423
The topic has been locked.
  • Posts: 84
  • Thank you received: 0

Replied by Pep on topic INDI Driver for SVBONY cameras

Hi Thx8411,

I just upgrade the system and works perfectly well.
In VNC mode (web access) and remotely (by Ekos (PC)). The camera is connected directly to the USB3 of the RasPi4 without Power Hub.
In both cases I try to do different exposures (from 0.001s to 60s), videos, guide and works perfect. I check if on 12bits works and works too, but have to much noise (normal, of course).
Now I only need a cloudless sky and check if works guide, in internal mode, from ekos works too.
Thanks a lot Blaise.
I attach the dump files if you will check them. <em>v1C</em> is in VNC mode and <em>v2C</em> is remotely mode.

Thanks again,
Pep

File Attachment:

File Name: sv305pro_d...s.tar.gz
File Size:700 KB
Last edit: 3 years 2 weeks ago by Pep.
3 years 2 weeks ago #68438
Attachments:
The topic has been locked.
  • Posts: 149
  • Thank you received: 31
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
3 years 2 weeks ago #68486
The topic has been locked.
  • Posts: 84
  • Thank you received: 0

Replied by Pep on topic INDI Driver for SVBONY cameras

Hi Thx8411,

Thank you. You are a master ... (we will leave the universe for other occasions ).
Thank you so much for the work you have done and the dedication you had put into it.
(By the way, only one thing: the minimum time of the camera is 0.001s but in Ekos you have to set it manually, if you put the minimum with the arrows to go up and down the value continue only accepting 0.01s. Hey! but it do the pictures of 0.001s if you put the value manualy, therefore OK)
I insist, Thank you very much,

CLEAR and GOOD SKIES.
Pep
3 years 2 weeks ago #68499
The topic has been locked.
Time to create page: 0.718 seconds