[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:43926] matroxfb
こんにちは。渡辺と申します。
Sarge にて、kernel-image-2.6.8-2-686 をインストールしたので
すが、v4lctl が使えないようで困っています。どうすれば良いで
しょうか。linux-2.6.10 を独自にビルドして、matroxfb を組み込
みにした場合には、ちゃんと動作しているようでした。
やったことは、
(仮想端末でログインし)
$ whereis v4lctl
v4lctl: /usr/bin/v4lctl /usr/share/man/man1/v4lctl.1.gz
$ dpkg -S /usr/bin/v4lctl
xawtv: /usr/bin/v4lctl
$ lspci | grep Matrox
0000:01:00.0 VGA compatible controller: Matrox Graphics,
Inc. MGA G550 AGP (rev 01)
$ grep -C 6 FB /etc/X11/XF86Config-4
Section "Device"
Identifier "Generic Video Card"
Driver "mga"
VendorName "Matrox"
BoardName "G550"
BusID "PCI:01:00:00"
Option "UseFBDev"
Option "HWCursor" "no"
EndSection
$ su
(省略)
# modprobe -a matroxfb_g450; modprobe -a matroxfb_crtc2;
modprobe -a matroxfb_base; modprobe -a fbcon
(このように一気に実行しないと、modprobe -a matroxfb_crtc2
の時点で仮想端末の画面が崩れて情報が読めなくなってしまい、
modprobe -a fbcon を実行しにくい)
# exit
exit
$ dmesg | grep ^matroxfb
matroxfb: Matrox G550 detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x26214)
matroxfb: framebuffer at 0xE4000000, mapped to 0xe89f5000,
size 33554432
matroxfb_crtc2: secondary head of fb0 was registered as fb1
$ fbset -fb /dev/fb1 -xres 640 -yres 480 -depth 32
$ matroxset -f /dev/fb0 -m 5
(一旦、仮想端末の画面が真っ暗になるが、しばらく待ったり、別
の仮想端末に移動してから戻って来ると、元に戻る)
$ matroxset -f /dev/fb1 -m 0
$ matroxset -f /dev/fb1 -m 2
$ matroxset -f /dev/fb1 -o 1 2
$ v4lctl -c /dev/fb0 bright 320
ioctl:
VIDIOC_ENUMINPUT(index=0;name="";type=unknown;audioset=0;tuner=0;std=0x0
[];status=0x0 []): Inappropriate ioctl for device
ioctl: VIDIOC_ENUMSTD(index=0;id=0x0
[];name="";frameperiod.numerator=0;frameperiod.denominator=0;framelines=0):
Inappropriate ioctl for device
ioctl:
VIDIOC_ENUM_FMT(index=0;type=VIDEO_CAPTURE;flags=0;description="";pixelformat=0x00000000
[....]): Inappropriate ioctl for device
ioctl: VIDIOC_G_STD(std=0x4044c5780805a1ec
[PAL_G,PAL_H,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M_JP,?,SECAM_B,SECAM_G,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]):
Inappropriate ioctl for device
ioctl: VIDIOC_G_INPUT(int=0): Inappropriate ioctl for
device
config: invalid value for input: Television
valid choices for "input":
config: invalid value for norm: ntsc-jp
valid choices for "norm":
config: invalid value for input: Composite1
valid choices for "input":
config: invalid value for input: S-Video
valid choices for "input":
ioctl: VIDIOC_S_CTRL(id=9963776;value=320): Inappropriate
ioctl for device
$ v4lctl -c /dev/fb0 contrast 280
ioctl:
VIDIOC_ENUMINPUT(index=0;name="";type=unknown;audioset=0;tuner=0;std=0x0
[];status=0x0 []): Inappropriate ioctl for device
ioctl: VIDIOC_ENUMSTD(index=0;id=0x0
[];name="";frameperiod.numerator=0;frameperiod.denominator=0;framelines=0):
Inappropriate ioctl for device
ioctl:
VIDIOC_ENUM_FMT(index=0;type=VIDEO_CAPTURE;flags=0;description="";pixelformat=0x00000000
[....]): Inappropriate ioctl for device
ioctl: VIDIOC_G_STD(std=0x4044c5780805a1ec
[PAL_G,PAL_H,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M_JP,?,SECAM_B,SECAM_G,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]):
Inappropriate ioctl for device
ioctl: VIDIOC_G_INPUT(int=0): Inappropriate ioctl for
device
config: invalid value for input: Television
valid choices for "input":
config: invalid value for norm: ntsc-jp
valid choices for "norm":
config: invalid value for input: Composite1
valid choices for "input":
config: invalid value for input: S-Video
valid choices for "input":
ioctl: VIDIOC_S_CTRL(id=9963777;value=280): Inappropriate
ioctl for device
$ v4lctl -c /dev/fb0 color 100
ioctl:
VIDIOC_ENUMINPUT(index=0;name="";type=unknown;audioset=0;tuner=0;std=0x0
[];status=0x0 []): Inappropriate ioctl for device
ioctl: VIDIOC_ENUMSTD(index=0;id=0x0
[];name="";frameperiod.numerator=0;frameperiod.denominator=0;framelines=0):
Inappropriate ioctl for device
ioctl:
VIDIOC_ENUM_FMT(index=0;type=VIDEO_CAPTURE;flags=0;description="";pixelformat=0x00000000
[....]): Inappropriate ioctl for device
ioctl: VIDIOC_G_STD(std=0x4044c5780805a1ec
[PAL_G,PAL_H,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M_JP,?,SECAM_B,SECAM_G,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]):
Inappropriate ioctl for device
ioctl: VIDIOC_G_INPUT(int=0): Inappropriate ioctl for
device
config: invalid value for input: Television
valid choices for "input":
config: invalid value for norm: ntsc-jp
valid choices for "norm":
config: invalid value for input: Composite1
valid choices for "input":
config: invalid value for input: S-Video
valid choices for "input":
ioctl: VIDIOC_S_CTRL(id=9963778;value=100): Inappropriate
ioctl for device
$ v4lctl -c /dev/fb0 hue 0
ioctl:
VIDIOC_ENUMINPUT(index=0;name="";type=unknown;audioset=0;tuner=0;std=0x0
[];status=0x0 []): Inappropriate ioctl for device
ioctl: VIDIOC_ENUMSTD(index=0;id=0x0
[];name="";frameperiod.numerator=0;frameperiod.denominator=0;framelines=0):
Inappropriate ioctl for device
ioctl:
VIDIOC_ENUM_FMT(index=0;type=VIDEO_CAPTURE;flags=0;description="";pixelformat=0x00000000
[....]): Inappropriate ioctl for device
ioctl: VIDIOC_G_STD(std=0x4044c5780805a1ec
[PAL_G,PAL_H,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M_JP,?,SECAM_B,SECAM_G,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]):
Inappropriate ioctl for device
ioctl: VIDIOC_G_INPUT(int=0): Inappropriate ioctl for
device
config: invalid value for input: Television
valid choices for "input":
config: invalid value for norm: ntsc-jp
valid choices for "norm":
config: invalid value for input: Composite1
valid choices for "input":
config: invalid value for input: S-Video
valid choices for "input":
ioctl: VIDIOC_S_CTRL(id=9963779;value=0): Inappropriate
ioctl for device
$ startx
(出力省略)
---
渡辺