ASI 178MM on BeagleBone Black with Debian

any question related to our SDK and driver

Moderators: yang, ray, chad

ASI 178MM on BeagleBone Black with Debian

Postby jdlogicman » Mon Feb 12, 2018 11:53 pm

I'm trying to get the camera working on a Beaglebone Black running Debian with kernel 4.9.78-ti-r94. This is similar to a Raspberry Pi.

The USB device shows up in lsusb but no video0 device shows up in /dev. I

I ran the demos here: https://github.com/stevemarple/python-zwoasi . The SDK can talk to the camera to get and set properties, but image capture always fails.

Any advice?

Edit: hwinfo --usb shows this:
06: USB 00.0: 0000 Unclassified device
[Created at usb.122]
Unique ID: ADDn.VeIeLjDBstD
Parent ID: k4bc.dZ4ztSBeww5
SysFS ID: /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1:1.0
SysFS BusID: 1-1:1.0
Hardware Class: unknown
Model: "ZWO ASI178MM"
Hotplug: USB
Vendor: usb 0x03c3 "ZWO"
Device: usb 0x178c "ASI178MM"
Speed: 480 Mbps
Module Alias: "usb:v03C3p178Cd0000dc00dsc00dp00icFFisc00ip00in00"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #5 (Hub)
jdlogicman
 
Posts: 6
Joined: Mon Feb 05, 2018 5:26 pm

Re: ASI 178MM on BeagleBone Black with Debian

Postby JamesF » Sat Feb 17, 2018 9:27 am

Devices only appear as /dev/video... when there's a kernel-space driver for them that provides a V4L2-compliant interface. The SDK provides a driver entirely in user-space and connects directly via the USB interface rather than V4L2, so it's not a concern that there's no /dev/video device.

I have a BeagleBone Black, but I have to admit that I've never tried it with an ASI camera. I wonder if there's perhaps not enough bandwidth on the USB bus to handle the frame size? Are there any errors in the system logs? When I have a moment I'll try to give my software a go on it.

James
JamesF
 
Posts: 88
Joined: Wed Feb 20, 2013 10:27 pm

Re: ASI 178MM on BeagleBone Black with Debian

Postby yang » Sun Feb 18, 2018 6:29 am

Did you try set bandwidth as the mininum value? or try small resolution?
ZWO software engineer
Location:lon=120.6 lat=31.3
SuZhou China
yang
Site Admin
 
Posts: 220
Joined: Fri Jul 25, 2014 2:43 am

Re: ASI 178MM on BeagleBone Black with Debian

Postby jdlogicman » Wed Feb 21, 2018 12:22 am

I just retried and was able to get a 320x200 still image, but not 640x480 - GetStatusAfterExposure returns a failure code (3).
jdlogicman
 
Posts: 6
Joined: Mon Feb 05, 2018 5:26 pm

Re: ASI 178MM on BeagleBone Black with Debian

Postby jdlogicman » Thu Feb 22, 2018 12:19 am

The bandwidth was already set to the minimum value - I tried the maximum as well. I also tried the "high speed mode" setting. Nothing changed.

Is this possibly related to what I saw on some other posts, where there is a buffer size that too large for the USB2 protocol, and it's being rejected by the kernel?
jdlogicman
 
Posts: 6
Joined: Mon Feb 05, 2018 5:26 pm

Re: ASI 178MM on BeagleBone Black with Debian

Postby yang » Thu Feb 22, 2018 1:22 am

I have encountered similar issue that image can be acquired only with some special resolution on older version's raspberry Pi, but this issue is gone after I update the system to Jessie.
ZWO software engineer
Location:lon=120.6 lat=31.3
SuZhou China
yang
Site Admin
 
Posts: 220
Joined: Fri Jul 25, 2014 2:43 am

Re: ASI 178MM on BeagleBone Black with Debian

Postby jdlogicman » Thu Feb 22, 2018 8:34 pm

Did you try with "stretch" (the latest, aka 9.3)?
jdlogicman
 
Posts: 6
Joined: Mon Feb 05, 2018 5:26 pm

Re: ASI 178MM on BeagleBone Black with Debian

Postby yang » Fri Feb 23, 2018 5:17 am

No, currently I still use Jessie
ZWO software engineer
Location:lon=120.6 lat=31.3
SuZhou China
yang
Site Admin
 
Posts: 220
Joined: Fri Jul 25, 2014 2:43 am

Re: ASI 178MM on BeagleBone Black with Debian

Postby kenedy » Sun Mar 04, 2018 6:34 am

Great to see such useful link shared here...
Graduated from Soran University with First Class Degree with Honours in Computer Science.
kenedy
 
Posts: 1
Joined: Wed Feb 28, 2018 7:26 am


Return to SDK & Driver

Who is online

Users browsing this forum: No registered users and 2 guests