さんきゅう堂的_バックアップ

 
  

 G's BBS v4(テーブル幅変更)

bbs/inc_files/share_vars.php

//$table_width = 540; //全体の横幅
$table_width = '100%';
//$table_width_sub = 440; //全体の横幅
$table_width_sub = '80%'; //次ページテーブル
  
  

 sensors覚書

To make the sensors modules behave correctly, add these lines to
/etc/modprobe.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones! You really
should try these commands right now to make sure everything is
working properly. Monitoring programs won't work until the needed
modules are loaded.

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no):

# /etc/init.d/lm_sensors restart
Shutting down sensors:                                                done
Starting up sensors:                                                  done
# sensors
lm85-i2c-0-2e
Adapter: SMBus I801 adapter at 08c0
V1.5:       +0.00 V  (min =  +0.00 V, max =  +3.32 V)
VCore:      +0.00 V  (min =  +0.00 V, max =  +2.99 V)
V3.3:       +0.00 V  (min =  +0.00 V, max =  +4.38 V)
V5:         +0.00 V  (min =  +0.00 V, max =  +6.64 V)
V12:        +0.00 V  (min =  +0.00 V, max = +15.94 V)
CPU_Fan:      0 RPM  (min =    0 RPM)                     ALARM
fan2:         0 RPM  (min =    0 RPM)                     ALARM
fan3:         0 RPM  (min =    0 RPM)                     ALARM
fan4:         0 RPM  (min =    0 RPM)                     ALARM
CPU Temp:     +0°C  (low  =  -127°C, high =  +127°C)
Board Temp:
              +0°C  (low  =  -127°C, high =  +127°C)
Remote Temp:
              +0°C  (low  =  -127°C, high =  +127°C)
CPU_PWM:   255
Fan2_PWM:  255
Fan3_PWM:  255
vid:      +1.088 V  (VRM Version 10.0)

  
  

 立体的に見える画像

立体的に見えるJPGを作ってみたσ(^^)
使用ソフトPhotomatix トライアル有り
HDR Tutorial フォトギャラリー
top-1-1.jpgノーマル

top-1-1.jpg明るさ+100

top-1-2.jpg明るさ+75

top-1-3.jpg明るさ+50

top-1-4.jpg明るさ+25

top-1-5.jpg明るさ-25

top-1-6.jpg明るさ-50

出来上がり
top-tonemapped.jpg

  
  

 xawtv インストールエラー 解決??

Fedora core5, core6 からは、FSlib.h が無くなったので下記修正をする。

console/fs.h の、先頭行に以下を追加する。
#define X_DISPLAY_MISSING 1

を参考にやってみる。
~/Desktop/xawtv-3.95> ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed

省略

config.status: creating Makefile
config.status: creating xawtv.spec
config.status: creating config.h

~/Desktop/xawtv-3.95> make
 CC console/dump-mixers.o
LD console/dump-mixers
CC console/record.o
LD console/record
CC console/showriff.o
LD console/showriff
CC console/showqt.o
LD console/showqt
CC console/streamer.o
CC common/channel-no-x11.o
CC common/sound.o
CC common/webcam.o
CC common/frequencies.o
CC common/commands.o
CC common/parseconfig.o
CC common/capture.o
common/capture.c: In function ‘ng_grabber_setformat’:
common/capture.c:185: warning: pointer targets in passing argument 1 of ‘ng_ratio_fixup’ differ in signedness
common/capture.c:185: warning: pointer targets in passing argument 2 of ‘ng_ratio_fixup’ differ in signedness
CC common/event.o
CC libng/grab-ng.o
CC libng/devices.o
CC libng/writefile.o
CC libng/color_common.o
CC libng/color_packed.o
CC libng/color_lut.o
CC libng/color_yuv2rgb.o
CC libng/convert.o
AR libng/libng.a
ar: creating libng/libng.a
LD console/streamer
CC console/webcam.o
console/webcam.c: In function ‘ftp_xfer’:
console/webcam.c:151: warning: pointer targets in passing argument 2 of ‘write_file’ differ in signedness
console/webcam.c: In function ‘ssh_xfer’:
console/webcam.c:199: warning: pointer targets in passing argument 2 of ‘write_file’ differ in signedness
console/webcam.c: In function ‘local_xfer’:
console/webcam.c:265: warning: pointer targets in passing argument 2 of ‘write_file’ differ in signedness
console/webcam.c: In function ‘main’:
console/webcam.c:658: warning: pointer targets in assignment differ in signedness
console/webcam.c:659: warning: pointer targets in assignment differ in signedness
console/webcam.c:660: warning: pointer targets in assignment differ in signedness
console/webcam.c:661: warning: pointer targets in assignment differ in signedness
console/webcam.c:662: warning: pointer targets in assignment differ in signedness
console/webcam.c:663: warning: pointer targets in assignment differ in signedness
console/webcam.c:664: warning: pointer targets in assignment differ in signedness
console/webcam.c:665: warning: pointer targets in assignment differ in signedness
console/webcam.c:666: warning: pointer targets in assignment differ in signedness
console/webcam.c:667: warning: pointer targets in assignment differ in signedness
console/webcam.c:693: warning: pointer targets in assignment differ in signedness
console/webcam.c:694: warning: pointer targets in assignment differ in signedness
console/webcam.c:781: warning: pointer targets in assignment differ in signedness
console/webcam.c:782: warning: pointer targets in assignment differ in signedness
console/webcam.c:783: warning: pointer targets in assignment differ in signedness
console/webcam.c:784: warning: pointer targets in assignment differ in signedness
console/webcam.c:785: warning: pointer targets in assignment differ in signedness
console/webcam.c:786: warning: pointer targets in assignment differ in signedness
console/webcam.c:787: warning: pointer targets in assignment differ in signedness
console/webcam.c:788: warning: pointer targets in assignment differ in signedness
console/webcam.c:789: warning: pointer targets in assignment differ in signedness
console/webcam.c:790: warning: pointer targets in assignment differ in signedness
console/webcam.c:791: warning: pointer targets in assignment differ in signedness
console/webcam.c:792: warning: pointer targets in assignment differ in signedness
console/webcam.c:873: warning: pointer targets in passing argument 1 of ‘add_text’ differ in signedness
console/webcam.c:876: warning: pointer targets in passing argument 2 of ‘s->ops->xfer’ differ in signedness
CC console/ftp.o
LD console/webcam
CC console/ttv.o
console/ttv.c: In function ‘blitframe’:
console/ttv.c:108: warning: pointer targets in assignment differ in signedness
console/ttv.c: In function ‘main’:
console/ttv.c:208: warning: pointer targets in assignment differ in signedness
LD console/ttv
CC console/radio.o
console/radio.c: In function ‘main’:
console/radio.c:543: warning: ‘ffreq’ may be used uninitialized in this function
LD console/radio
CC console/fbtv.o
In file included from console/fbtv.c:31:
./libng/grab-ng.h:28:1: warning: "bool" redefined
In file included from /usr/include/curses.h:174,
from console/fbtv.c:24:
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/include/stdbool.h:36:1: warning: this is the location of the previous definition
console/fbtv.c: In function ‘text_out’:
console/fbtv.c:341: warning: pointer targets in passing argument 4 of ‘fs_puts’ differ in signedness
console/fbtv.c: In function ‘text_width’:
console/fbtv.c:347: warning: pointer targets in passing argument 2 of ‘fs_textwidth’ differ in signedness
console/fbtv.c: In function ‘main’:
console/fbtv.c:813: warning: pointer targets in assignment differ in signedness
CC console/fbtools.o
CC console/fs.o
CC console/matrox.o
CC common/lirc.o
CC common/joystick.o
CC common/midictrl.o
LD console/fbtv
CC console/v4l-info.o
CC structs/struct-dump.o
CC structs/struct-v4l.o
CC structs/struct-v4l2.o
LD console/v4l-info
CC console/v4l-conf.o
LD console/v4l-conf
CC debug/xvideo.o
debug/xvideo.c: In function ‘main’:
debug/xvideo.c:222: warning: pointer targets in passing argument 2 of ‘XvQueryExtension’ differ in signedness
debug/xvideo.c:222: warning: pointer targets in passing argument 3 of ‘XvQueryExtension’ differ in signedness
debug/xvideo.c:222: warning: pointer targets in passing argument 4 of ‘XvQueryExtension’ differ in signedness
debug/xvideo.c:222: warning: pointer targets in passing argument 5 of ‘XvQueryExtension’ differ in signedness
debug/xvideo.c:222: warning: pointer targets in passing argument 6 of ‘XvQueryExtension’ differ in signedness
debug/xvideo.c:278: warning: pointer targets in passing argument 3 of ‘XvQueryPortAttributes’ differ in signedness
debug/xvideo.c:296: warning: pointer targets in passing argument 3 of ‘XvListImageFormats’ differ in signedness
LD debug/xvideo
CC libng/plugins/flt-gamma.o
LD libng/plugins/flt-gamma.so
CC libng/plugins/flt-invert.o
LD libng/plugins/flt-invert.so
CC libng/plugins/flt-disor.o
LD libng/plugins/flt-disor.so
CC libng/plugins/conv-mjpeg.o
libng/plugins/conv-mjpeg.c: In function ‘mjpg_bgr_compress’:
libng/plugins/conv-mjpeg.c:205: warning: pointer targets in passing argument 1 of ‘swap_rgb24’ differ in signedness
libng/plugins/conv-mjpeg.c: In function ‘mjpg_422_compress’:
libng/plugins/conv-mjpeg.c:281: warning: pointer targets in passing argument 3 of ‘jpeg_write_marker’ differ in signedness
LD libng/plugins/conv-mjpeg.so
CC libng/plugins/read-avi.o
libng/plugins/read-avi.c: In function ‘avi_add_movi’:
libng/plugins/read-avi.c:68: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 5 has type ‘off_t’
libng/plugins/read-avi.c:68: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 6 has type ‘off_t’
libng/plugins/read-avi.c: In function ‘avi_find_chunk’:
libng/plugins/read-avi.c:217: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
LD libng/plugins/read-avi.so
CC libng/plugins/write-avi.o
libng/plugins/write-avi.c: In function ‘avi_video’:
libng/plugins/write-avi.c:405: warning: pointer targets in passing argument 2 of ‘avi_addindex’ differ in signedness
libng/plugins/write-avi.c: In function ‘avi_audio’:
libng/plugins/write-avi.c:433: warning: pointer targets in passing argument 2 of ‘avi_addindex’ differ in signedness
LD libng/plugins/write-avi.so
CC libng/plugins/drv0-v4l2.o
libng/plugins/drv0-v4l2.c: In function ‘build_norms’:
libng/plugins/drv0-v4l2.c:248: warning: pointer targets in assignment differ in signedness
libng/plugins/drv0-v4l2.c: In function ‘build_inputs’:
libng/plugins/drv0-v4l2.c:264: warning: pointer targets in assignment differ in signedness
libng/plugins/drv0-v4l2.c: In function ‘v4l2_menu’:
libng/plugins/drv0-v4l2.c:302: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
libng/plugins/drv0-v4l2.c:302: warning: pointer targets in passing argument 1 of ‘__strdup’ differ in signedness
libng/plugins/drv0-v4l2.c: In function ‘v4l2_add_attr’:
libng/plugins/drv0-v4l2.c:327: warning: pointer targets in assignment differ in signedness
libng/plugins/drv0-v4l2.c: In function ‘v4l2_devname’:
libng/plugins/drv0-v4l2.c:520: warning: pointer targets in return differ in signedness
CC libng/plugins/struct-v4l2.o
CC libng/plugins/struct-dump.o
LD libng/plugins/drv0-v4l2.so
CC libng/plugins/drv0-v4l2-old.o
libng/plugins/drv0-v4l2-old.c: In function ‘build_norms’:
libng/plugins/drv0-v4l2-old.c:509: warning: pointer targets in assignment differ in signedness
libng/plugins/drv0-v4l2-old.c: In function ‘v4l2_menu’:
libng/plugins/drv0-v4l2-old.c:563: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
libng/plugins/drv0-v4l2-old.c:563: warning: pointer targets in passing argument 1 of ‘__strdup’ differ in signedness
libng/plugins/drv0-v4l2-old.c: In function ‘v4l2_add_attr’:
libng/plugins/drv0-v4l2-old.c:588: warning: pointer targets in assignment differ in signedness
libng/plugins/drv0-v4l2-old.c: In function ‘v4l2_overlay’:
libng/plugins/drv0-v4l2-old.c:926: warning: pointer targets in passing argument 1 of ‘ng_ratio_fixup’ differ in signedness
libng/plugins/drv0-v4l2-old.c:926: warning: pointer targets in passing argument 2 of ‘ng_ratio_fixup’ differ in signedness
LD libng/plugins/drv0-v4l2-old.so
CC libng/plugins/drv1-v4l.o
libng/plugins/drv1-v4l.c: In function ‘v4l_overlay’:
libng/plugins/drv1-v4l.c:798: warning: pointer targets in passing argument 1 of ‘ng_ratio_fixup’ differ in signedness
libng/plugins/drv1-v4l.c:798: warning: pointer targets in passing argument 2 of ‘ng_ratio_fixup’ differ in signedness
libng/plugins/drv1-v4l.c:798: warning: pointer targets in passing argument 3 of ‘ng_ratio_fixup’ differ in signedness
libng/plugins/drv1-v4l.c:798: warning: pointer targets in passing argument 4 of ‘ng_ratio_fixup’ differ in signedness
CC libng/plugins/struct-v4l.o
LD libng/plugins/drv1-v4l.so
CC libng/plugins/snd-oss.o
LD libng/plugins/snd-oss.so
CC libng/contrib-plugins/flt-smooth.o
LD libng/contrib-plugins/flt-smooth.so
CC libng/contrib-plugins/bilinear.o
LD libng/contrib-plugins/bilinear.so
CC libng/contrib-plugins/cubic.o
LD libng/contrib-plugins/cubic.so
CC libng/contrib-plugins/linear-blend.o
LD libng/contrib-plugins/linear-blend.so
CC libng/contrib-plugins/linedoubler.o
LD libng/contrib-plugins/linedoubler.so
CC vbistuff/ntsc-cc.o
LD vbistuff/ntsc-cc
CC x11/v4lctl.o
CC x11/atoms.o
CC x11/xv.o
x11/xv.c: In function ‘xv_getfreq’:
x11/xv.c:206: warning: pointer targets in passing argument 4 of ‘XvGetPortAttribute’ differ in signedness
x11/xv.c: In function ‘xv_video_init’:
x11/xv.c:319: warning: pointer targets in passing argument 2 of ‘XvQueryExtension’ differ in signedness
x11/xv.c:319: warning: pointer targets in passing argument 3 of ‘XvQueryExtension’ differ in signedness
x11/xv.c:319: warning: pointer targets in passing argument 4 of ‘XvQueryExtension’ differ in signedness
x11/xv.c:319: warning: pointer targets in passing argument 5 of ‘XvQueryExtension’ differ in signedness
x11/xv.c:319: warning: pointer targets in passing argument 6 of ‘XvQueryExtension’ differ in signedness
x11/xv.c:324: warning: pointer targets in passing argument 3 of ‘XvQueryAdaptors’ differ in signedness
x11/xv.c:400: warning: pointer targets in passing argument 3 of ‘XvQueryEncodings’ differ in signedness
LD x11/v4lctl
CC x11/propwatch.o
x11/propwatch.c: In function ‘add_window’:
x11/propwatch.c:170: warning: pointer targets in passing argument 6 of ‘XQueryTree’ differ in signedness
x11/propwatch.c: In function ‘PropertyToString’:
x11/propwatch.c:421: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
x11/propwatch.c:422: warning: pointer targets in passing argument 4 of ‘str_append’ differ in signedness
LD x11/propwatch
CC x11/xawtv-remote.o
x11/xawtv-remote.c: In function ‘find_window’:
x11/xawtv-remote.c:61: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
x11/xawtv-remote.c: In function ‘pass_cmd’:
x11/xawtv-remote.c:98: warning: pointer targets in passing argument 7 of ‘XChangeProperty’ differ in signedness
LD x11/xawtv-remote
CC x11/rootv.o
In file included from x11/rootv.c:27:
./jwz/vroot.h: In function ‘VirtualRootWindowOfScreen’:
./jwz/vroot.h:101: warning: dereferencing type-punned pointer will break strict-aliasing rules
x11/rootv.c: In function ‘main’:
x11/rootv.c:260: warning: pointer targets in passing argument 2 of ‘XvQueryExtension’ differ in signedness
x11/rootv.c:260: warning: pointer targets in passing argument 3 of ‘XvQueryExtension’ differ in signedness
x11/rootv.c:260: warning: pointer targets in passing argument 4 of ‘XvQueryExtension’ differ in signedness
x11/rootv.c:260: warning: pointer targets in passing argument 5 of ‘XvQueryExtension’ differ in signedness
x11/rootv.c:260: warning: pointer targets in passing argument 6 of ‘XvQueryExtension’ differ in signedness
x11/rootv.c:264: warning: pointer targets in passing argument 3 of ‘XvQueryAdaptors’ differ in signedness
LD x11/rootv
perl ./scripts/fallback.pl < x11/Xawtv.ad > x11/Xawtv.h
CC x11/xawtv.o
CC x11/wmhooks.o
CC x11/x11.o
x11/x11.c: In function ‘video_gd_configure’:
x11/x11.c:293: warning: pointer targets in passing argument 1 of ‘ng_ratio_fixup’ differ in signedness
x11/x11.c:293: warning: pointer targets in passing argument 2 of ‘ng_ratio_fixup’ differ in signedness
x11/x11.c:294: warning: pointer targets in passing argument 1 of ‘ng_ratio_fixup’ differ in signedness
x11/x11.c:294: warning: pointer targets in passing argument 2 of ‘ng_ratio_fixup’ differ in signedness
x11/x11.c:297: warning: pointer targets in passing argument 2 of ‘blit_get_formats’ differ in signedness
CC x11/blit.o
x11/blit.c: In function ‘x11_create_ximage’:
x11/blit.c:294: warning: pointer targets in passing argument 6 of ‘XCreateImage’ differ in signedness
x11/blit.c: In function ‘xv_image_init’:
x11/blit.c:356: warning: pointer targets in passing argument 2 of ‘XvQueryExtension’ differ in signedness
x11/blit.c:356: warning: pointer targets in passing argument 3 of ‘XvQueryExtension’ differ in signedness
x11/blit.c:356: warning: pointer targets in passing argument 4 of ‘XvQueryExtension’ differ in signedness
x11/blit.c:356: warning: pointer targets in passing argument 5 of ‘XvQueryExtension’ differ in signedness
x11/blit.c:356: warning: pointer targets in passing argument 6 of ‘XvQueryExtension’ differ in signedness
x11/blit.c:361: warning: pointer targets in passing argument 3 of ‘XvQueryAdaptors’ differ in signedness
x11/blit.c: In function ‘xv_create_ximage’:
x11/blit.c:466: warning: pointer targets in passing argument 4 of ‘XvCreateImage’ differ in signedness
x11/blit.c: In function ‘gl_ext’:
x11/blit.c:574: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
x11/blit.c:581: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness
x11/blit.c:581: warning: pointer targets in passing argument 2 of ‘strstr’ differ in signedness
x11/blit.c:581: warning: pointer targets in assignment differ in signedness
x11/blit.c: In function ‘gl_resize’:
x11/blit.c:626: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness
x11/blit.c: In function ‘blit_get_formats’:
x11/blit.c:745: warning: pointer targets in passing argument 1 of ‘gl_ext’ differ in signedness
x11/blit.c: In function ‘blit_init_frame’:
x11/blit.c:810: warning: pointer targets in passing argument 1 of ‘gl_ext’ differ in signedness
x11/blit.c:829: warning: pointer targets in assignment differ in signedness
x11/blit.c: In function ‘blit_putframe’:
x11/blit.c:956: warning: pointer targets in passing argument 2 of ‘gl_blit’ differ in signedness
CC x11/xt.o
x11/xt.c: In function ‘RemoteAction’:
x11/xt.c:376: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
x11/xt.c:382: warning: pointer targets in assignment differ in signedness
x11/xt.c: In function ‘do_fullscreen’:
x11/xt.c:979: warning: pointer targets in passing argument 2 of ‘do_modeswitch’ differ in signedness
x11/xt.c:979: warning: pointer targets in passing argument 3 of ‘do_modeswitch’ differ in signedness
x11/xt.c:995: warning: pointer targets in passing argument 2 of ‘do_modeswitch’ differ in signedness
x11/xt.c:995: warning: pointer targets in passing argument 3 of ‘do_modeswitch’ differ in signedness
x11/xt.c:1023: warning: pointer targets in passing argument 9 of ‘XQueryPointer’ differ in signedness
x11/xt.c:1027: warning: pointer targets in passing argument 2 of ‘do_modeswitch’ differ in signedness
x11/xt.c:1027: warning: pointer targets in passing argument 3 of ‘do_modeswitch’ differ in signedness
x11/xt.c: In function ‘set_property’:
x11/xt.c:1176: warning: pointer targets in passing argument 7 of ‘XChangeProperty’ differ in signedness
x11/xt.c: In function ‘grabber_init’:
x11/xt.c:1362: warning: pointer targets in passing argument 4 of ‘XF86DGAGetVideoLL’ differ in signedness
x11/xt.c: In function ‘x11_check_remote’:
x11/xt.c:1454: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
x11/xt.c:1476: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness
x11/xt.c: In function ‘create_bitmaps’:
x11/xt.c:2093: warning: pointer targets in passing argument 3 of ‘XCreateBitmapFromData’ differ in signedness
x11/xt.c:2095: warning: pointer targets in passing argument 3 of ‘XCreateBitmapFromData’ differ in signedness
CC x11/toolbox.o
x11/toolbox.c: In function ‘popup_menu’:
x11/toolbox.c:151: warning: pointer targets in passing argument 9 of ‘XQueryPointer’ differ in signedness
x11/toolbox.c: In function ‘offscreen_scroll_AC’:
x11/toolbox.c:194: warning: pointer targets in passing argument 9 of ‘XQueryPointer’ differ in signedness
x11/toolbox.c: In function ‘center_under_mouse’:
x11/toolbox.c:341: warning: pointer targets in passing argument 9 of ‘XQueryPointer’ differ in signedness
CC x11/conf.o
CC x11/complete-xaw.o
CC x11/vbi-x11.o
CC jwz/remote.o
jwz/remote.c: In function ‘find_screensaver_window’:
jwz/remote.c:112: warning: dereferencing type-punned pointer will break strict-aliasing rules
jwz/remote.c: In function ‘send_xscreensaver_command’:
jwz/remote.c:215: warning: dereferencing type-punned pointer will break strict-aliasing rules
jwz/remote.c:268: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘CARD32’
jwz/remote.c:274: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘CARD32’
jwz/remote.c: In function ‘xscreensaver_command_response’:
jwz/remote.c:406: warning: dereferencing type-punned pointer will break strict-aliasing rules
jwz/remote.c: In function ‘server_xscreensaver_version’:
jwz/remote.c:518: warning: dereferencing type-punned pointer will break strict-aliasing rules
jwz/remote.c:534: warning: dereferencing type-punned pointer will break strict-aliasing rules
CC common/channel.o
CC common/vbi-data.o
LD x11/xawtv
CC x11/pia.o
x11/pia.c: In function ‘main’:
x11/pia.c:357: warning: pointer targets in passing argument 2 of ‘blit_get_formats’ differ in signedness
x11/pia.c:358: warning: pointer targets in passing argument 2 of ‘reader->rd_vfmt’ differ in signedness
LD x11/pia
~/Desktop/xawtv-3.95> su
パスワード:
xawtv-3.95 # make install
/usr/bin/install -c -d -m 755 /usr/local/bin
/usr/bin/install -c -s console/dump-mixers console/record console/showriff console/showqt console/streamer console/webcam console/ttv console/radio console/fbtv console/v4l-info /usr/local/bin
/usr/bin/install -c -s -m4755 -o root console/v4l-conf /usr/local/bin
/usr/bin/install -c -d -m 755 /usr/local/share/xawtv
/usr/bin/install -c -m 644 ./frequencies/Index.map ./frequencies/argentina.list ./frequencies/ccir-h.list ./frequencies/ccir-i-iii.list ./frequencies/ccir-sl-sh.list ./frequencies/europe-east.list ./frequencies/europe-west.list ./frequencies/ntsc-bcast-jp.list ./frequencies/ntsc-bcast.list ./frequencies/ntsc-cable-ca.list ./frequencies/ntsc-cable-jp.list ./frequencies/ntsc-cable.list ./frequencies/ntsc-hrc.list ./frequencies/oirt-h.list ./frequencies/oirt-i-iii.list ./frequencies/oirt-sl-sh.list ./frequencies/pal-australia-optus.list ./frequencies/pal-australia.list ./frequencies/pal-bcast-cn.list ./frequencies/pal-bcast-za.list ./frequencies/pal-ireland.list ./frequencies/pal-italy.list ./frequencies/pal-newzealand.list ./frequencies/secam-france.list ./frequencies/secam-russia.list ./frequencies/uhf.list /usr/local/share/xawtv
/usr/bin/install -c -d -m 755 /usr/local/lib/xawtv
/usr/bin/install -c -s -s libng/plugins/flt-gamma.so libng/plugins/flt-invert.so libng/plugins/flt-disor.so libng/plugins/conv-mjpeg.so libng/plugins/read-avi.so libng/plugins/write-avi.so libng/plugins/drv0-v4l2.so libng/plugins/drv0-v4l2-old.so libng/plugins/drv1-v4l.so libng/plugins/snd-oss.so /usr/local/lib/xawtv
rm -f /usr/local/lib/xawtv/invert.so /usr/local/lib/xawtv/nop.so /usr/local/lib/xawtv/flt-nop.so
/usr/bin/install -c -d -m 755 /usr/local/lib/xawtv
/usr/bin/install -c -s -s libng/contrib-plugins/flt-smooth.so libng/contrib-plugins/bilinear.so libng/contrib-plugins/cubic.so libng/contrib-plugins/linear-blend.so libng/contrib-plugins/linedoubler.so /usr/local/lib/xawtv
/usr/bin/install -c -d -m 755 /usr/local/man/man1
/usr/bin/install -c -d -m 755 /usr/local/man/man5
/usr/bin/install -c -d -m 755 /usr/local/man/man8
/usr/bin/install -c -m 644 ./man/alevtd.1 ./man/dump-mixers.1 ./man/fbtv.1 ./man/motv.1 ./man/mtt.1 ./man/ntsc-cc.1 ./man/pia.1 ./man/propwatch.1 ./man/radio.1 ./man/record.1 ./man/rootv.1 ./man/scantv.1 ./man/showriff.1 ./man/streamer.1 ./man/subtitles.1 ./man/ttv.1 ./man/v4l-info.1 ./man/v4lctl.1 ./man/webcam.1 ./man/xawtv-remote.1 ./man/xawtv.1 /usr/local/man/man1
/usr/bin/install -c -m 644 ./man/xawtvrc.5 /usr/local/man/man5
/usr/bin/install -c -m 644 ./man/v4l-conf.8 /usr/local/man/man8
/usr/bin/install -c -d -m 755 /usr/local/man/es/man1
/usr/bin/install -c -m 644 ./man/es/fbtv.1 ./man/es/rootv.1 ./man/es/scantv.1 ./man/es/streamer.1 ./man/es/subtitles.1 ./man/es/ttv.1 ./man/es/v4lctl.1 ./man/es/xawtv-remote.1 ./man/es/xawtv.1 /usr/local/man/es/man1
/usr/bin/install -c -d -m 755 /usr/local/man/fr/man1
/usr/bin/install -c -m 644 ./man/fr/xawtv.1 /usr/local/man/fr/man1
/usr/bin/install -c -d -m 755 /usr/local/man/es/man5
/usr/bin/install -c -m 644 ./man/es/xawtvrc.5 /usr/local/man/es/man5
/usr/bin/install -c -d -m 755 /usr/local/man/es/man8
/usr/bin/install -c -m 644 ./man/es/v4l-conf.8 /usr/local/man/es/man8
/usr/bin/install -c -m 644 -m755 ./scripts/subtitles /usr/local/bin
/usr/bin/install -c -s -s vbistuff/ntsc-cc /usr/local/bin
/usr/bin/install -c -s -s x11/v4lctl x11/propwatch x11/xawtv-remote x11/rootv x11/xawtv x11/pia /usr/local/bin
/usr/bin/install -c -d -m 755 /usr/X11R6/lib/X11/app-defaults
/usr/bin/install -c -m 644 ./x11/Xawtv.ad /usr/X11R6/lib/X11/app-defaults/Xawtv

うまくいった?
@linux-core:~> webcam
reading config file: /home/user/.webcamrc
v4l2: open /dev/video0: Broken pipe
v4l2: open /dev/video0: Broken pipe
v4l: open /dev/video0: Broken pipe
no grabber device available
ありゃ~~??
@linux-core:~> xawtv
This is xawtv-3.95, running on Linux/x86_64 (2.6.22.12-0.1-default)
xinerama 0: 1440x900+0+0
can't open /dev/video0: Broken pipe
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: パイプが切断されました
v4l2: open /dev/video0: パイプが切断されました
v4l: open /dev/video0: パイプが切断されました
no video grabber device available
どっか~~ん・・・・
ドライバーかな?なでやろ?3日間「google」百科事典で悩みました。
「HUB」経由でつなぐと上記エラーが出ると書いてるHPあり!
@linux-core:~> lsusb
Bus 004 Device 002: ID 046d:c315 Logitech, Inc.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 005: ID 046d:c03f Logitech, Inc.
Bus 002 Device 002: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
前面USBから背面USBにカメラを差し直し。
@linux-core:~> webcam
reading config file: /home/user/.webcamrc
video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
grabber config:
size 320x240 [12 bit YUV 4:2:0 (planar)]
input (null), norm (null), jpeg quality 100
rotate=0, top=0, left=6, bottom=240, right=320
あちゃ~ しっかり1分おきにキャプチャーされてます。
この3日間、インスト、アンインストの繰り返し・・・

何とか問題解決でした! [grab]
device = /dev/video0
#jpg内の文字、日本語はダメみたい
text = "NARA LIVE %Y-%m-%d %H:%M"
#サイズ
width = 320
height = 240
quality = 75
#input = QuickCam
#input = Composite1
#input = usb
rotate = 0
top = 0
left = 6
bottom = -1
right = -1
trigger = 0
once = 0
#60秒間隔で保存
delay = 60
#norm = ntsc
#保存先フォルダ
archive = /home/user/today/%H%M.jpg