Closed GoogleCodeExporter closed 9 years ago
Hi,
sorry to disappoint You - but according to
http://unicap-imaging.org/tis_devices_en.htm this camera is NOT supported by
V4L Version 2.
Depending on the version of the camera firmware it might be possible to use the
unicap library / API but as of now OpenPHD only supports V4L devices.
Regards,
S. Elste
Original comment by steffen....@gmail.com
on 6 May 2011 at 12:09
If you are willing to be patient, I may be able to help. It will take some
time as I don't have access to equivalent hardware, I'll need you to do all the
testing of the code.
There are 3 options I see:
1) write a unicap driver for openphd
2) write a unicap driver for INDI
3) write a v4l driver for the camera
3 would be best, but I have no idea how much work it would be, and would likely
be too difficult for me to do myself without physical access to the camera.
The other 2 options have their tradeoffs (2 would be more generally useful, but
would come with a significant degradation in framerate). I will do some
investigation on the API, and see if I can come up with something. It will
likely take some time though.
Original comment by geoffr...@gmail.com
on 6 May 2011 at 1:21
I am very willing and happy to help.
I do know that the camera is 1394a and works fine with coriander.
Please let me know what I can do to help!
Mike
Original comment by astromap...@gmail.com
on 6 May 2011 at 2:17
Using the unicap library as a unified entry point for V4L and IEEE1394 cameras
is probably the best way forward - although, as Geoffrey already said, this
will take time and patience.
I'll look into this as well.
Regards,
Steffen
Original comment by steffen....@gmail.com
on 7 May 2011 at 9:13
I didn't realize libunicap supported v4l devices. I just tried it out and it
seems to work with my webcam, so I will take a crack at implementing support
this weekend.
Original comment by geoffr...@gmail.com
on 7 May 2011 at 12:58
Hey Geoffrey that would be awesome! Let me know how I can help.
Mike
Original comment by astromap...@gmail.com
on 11 May 2011 at 3:14
I talked to Stefan, and he's going to work on it instead. I am looking at what
it'll take to enhance unicap to be able to fully replace v4l so we don;t need
to continue to support both APIs
Original comment by geoffr...@gmail.com
on 11 May 2011 at 3:19
Hi,
i've done some initial work regarding the integration of unicap.
Would be nice if You could give it a try! Download the attached archive,
extract it and compile it - You'll need 'libunicap' as an additional
dependency, probably libdc1394 as well for FireWire support.
Attach the camera, start up the program, turn on logging (!!!) and click on the
camera button - if the camera is detected You'll get a 'UNICAP camera' entry.
You won't see any image ... sorry, still some work left to do ;-)
The protocol could look something like this:
System information ...
Kernel: 2.6.32-31-generic
Version: #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011
Machine: i686
Probing unicap devices ...
Running unicap version 0.9.5
Device 0: Status 0
0: 'USB20 Camera (/dev/video0)'
0: 'BA81 ( BA81 )'
Default: 768x576x8
0: 160x120
1: 320x240
2: 640x480
3: 1280x1024
1: 'S920 ( S920 )'
Default: 768x576x0
0: 160x120
1: 320x240
2: 640x480
2: 'JPEG ( JPEG )'
Default: 768x576x0
0: 160x120
1: 320x240
2: 640x480
Please send me your log - if the camera is not detected it would be nice to
have the relevant lines of '/var/log/syslog' (driver, usb id, etc.)
Regards,
Steffen
Original comment by steffen....@gmail.com
on 20 May 2011 at 4:07
Attachments:
I was able to compile the new code and run it. However, my camera seems to
have broken. Unrelated to the new code, I'm sure! :( I'm looking into
repairing it. In the mean time, could I make use of a USB rebranded Logitech
4000 with this new addition? It doesn't seem to be recognized in PHD, but does
work in the OS, Ubuntu 10.04.
Thanks so much for the addtion!
Mike
Original comment by astromap...@gmail.com
on 24 May 2011 at 4:11
Hi Mike,
i'm not sure about the Logitech camera - could You post the USB vendor and
product id, please?
If the camera works with capture programs like Cheese e.g. i think it should be
possible to get it working in PHD.
But actual image/frame acquisition is not yet implemented for the unicap
library - i hope to get it done RSN.
Cheers,
Steffen
Original comment by steffen....@gmail.com
on 25 May 2011 at 6:09
Original comment by geoffr...@gmail.com
on 19 Jun 2011 at 1:08
I've had no luck fixing my camera. I've considered purchasing another and in
the mean time have looked at using the logitech one which doesn't seem to work
in the fix issued for this thread. Tell me what info you need, lsusb etc...
Mike
Original comment by astromap...@gmail.com
on 19 Jun 2011 at 1:12
when you say 'it doesn't seem to be recognized by PHD' you mean using the v4l
drivers?
do you have /dev/video or /dev/video1?
The v4l drivers should work fine if the camera is supported by other apps.
Original comment by geoffr...@gmail.com
on 19 Jun 2011 at 2:48
Too bad I didn't read this earlier. I have a unicap driver I used with a DMK21
but it's quite unpolished (I think it only works with my cam :-). I'll clean it
up and send upstream soon.
Original comment by mconov...@gmail.com
on 6 May 2012 at 7:01
That's awesome. I have a brand new, DBK21AU618 I'd love to try out.
Did you use this guide:
http://www.unicap-imaging.com/tis_devices_en.htm
Thanks,
Mike
Original comment by astromap...@gmail.com
on 6 May 2012 at 1:33
I don't really remember, this was almost 2 years ago. Could you try out this
patch ?
Original comment by mconov...@gmail.com
on 8 May 2012 at 5:04
Attachments:
Given all the changes for phd2, I'm marking all PHD1 unowned bugs as "WontFix".
If somebody objects, I can undo it.
Original comment by br...@boneheads.us
on 30 Aug 2013 at 12:47
Original issue reported on code.google.com by
astromap...@gmail.com
on 6 May 2011 at 3:17