2004年4月1日 (木)

[本] [D70] D70 vs Kiss Digital 天文編

月刊天文 5月号

星野はレンズの焦点距離もF値も違う奴を比較してもしょうがないんじゃない?

5月5日は皆既月食だが、東京では皆既がはじまる前に月没コールド負け。

そらのひかり わかつきめぐみ 710円

[D70] FreeBSD で PTP モード

認識

gPhoto を使うと PTP モードでカメラがコントロールできそうなので、試行錯誤してみます。とりあえず D70 を認識させるための libgphoto2 のパッチをでっちあげ。

--- camlibs/ptp2/library.c.orig	Thu Apr  1 23:02:47 2004
+++ camlibs/ptp2/library.c	Thu Apr  1 23:04:35 2004
@@ -299,6 +299,8 @@
 	{"Nikon:Coolpix 2000 (PTP mode)", 0x04b0, 0x0302},
 	/* Nikon D100 has a PTP mode: westin 2002.10.16 */
 	{"Nikon:DSC D100 (PTP mode)",     0x04b0, 0x0402},
+	{"Nikon:DSC D70 (PTP mode)",      0x04b0, 0x0406},
 
 	/* From VICTOR <viaaurea@yahoo.es> */
 	{"Olympus:C-350Z",                0x07b4, 0x0114},

以下のような感じで認識されます。

hydra% gphoto2 --auto-detect
Model                          Port                                            
----------------------------------------------------------
Nikon DSC D70 (PTP mode)       usb:            

画像一覧

GNOME2 版のフロントエンド gtkam のスクリーンショット。

キャプチャ

gphoto2 --auto-detect --capture-image

シャッターは降りてストロボも発光して、本体には撮影結果が記録されますが、

hydra% gphoto2 --auto-detect --capture-image
Model                          Port                                            
----------------------------------------------------------
Nikon DSC D70 (PTP mode)       usb:            
ERROR: Could not capture.                                                      
*** Error (-1: 'Unspecified error') ***       

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --auto-detect --capture-image

Please make sure there is sufficient quoting around the arguments.

おしい。

最近のコメント


つぶやき



過去の記事



現在の星空