Page 1 of 1

ASI 178MM on BeagleBone Black with Debian

PostPosted: Mon Feb 12, 2018 11:53 pm
by jdlogicman
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)

Re: ASI 178MM on BeagleBone Black with Debian

PostPosted: Sat Feb 17, 2018 9:27 am
by JamesF
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

Re: ASI 178MM on BeagleBone Black with Debian

PostPosted: Sun Feb 18, 2018 6:29 am
by yang
Did you try set bandwidth as the mininum value? or try small resolution?

Re: ASI 178MM on BeagleBone Black with Debian

PostPosted: Wed Feb 21, 2018 12:22 am
by jdlogicman
I just retried and was able to get a 320x200 still image, but not 640x480 - GetStatusAfterExposure returns a failure code (3).

Re: ASI 178MM on BeagleBone Black with Debian

PostPosted: Thu Feb 22, 2018 12:19 am
by jdlogicman
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?

Re: ASI 178MM on BeagleBone Black with Debian

PostPosted: Thu Feb 22, 2018 1:22 am
by yang
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.

Re: ASI 178MM on BeagleBone Black with Debian

PostPosted: Thu Feb 22, 2018 8:34 pm
by jdlogicman
Did you try with "stretch" (the latest, aka 9.3)?

Re: ASI 178MM on BeagleBone Black with Debian

PostPosted: Fri Feb 23, 2018 5:17 am
by yang
No, currently I still use Jessie

Re: ASI 178MM on BeagleBone Black with Debian

PostPosted: Sun Mar 04, 2018 6:34 am
by kenedy
Great to see such useful link shared here...