[Bt848x-ja-users 5] makedev-v4l wrong processing?

Back to archive index

Kazuyuki Sato kazus****@sunfi*****
2005年 9月 28日 (水) 12:53:26 JST


 さとうです。

 とりあえず、attach 報告だけ先にヽ(;´Д`)ノ

 朝、Sun Blade 1000 に card をぶち込んで出社し、リモートで作業してます。
 package 作成まではでき、pkgadd を実行しましたが makedev-v4l script が
 error になり、/etc/devlink.tab にエントリが追加されず /dev/video などの node
  が作成されませんでした。

 見てみると、makedev-v4l の reload の idlist 部分が以下のようになってました。
 #「`」が足りない

--
idlist=echo "$did_list" | sed -e "s/ /\" \"pci$vid,/g"`
--

  makedev-v4l.in では、きちんと下記のようになってます。

--
idlist=`echo "$did_list" | sed -e "s/ /\" \"pci$vid,/g"`
--

 Makefile の sed をとおした後までは、` がありますが m4 のあとになくなるようです。
  # 配布されている x86 binary の makedev も同じことになってます。

 ここを修正することで、/etc/devlink.tab にエントリができて node が作成されました。
 report-v4l の結果も貼っておきますね。

--
# ./report-v4l
Solaris release... 5.10
Machine architecture... sun4u
Hardware architecture... SUNW,Sun-Blade-1000
Searching device node for Bt8x8...
Searching aliases for bt848x driver...
Searching major device number for bt848x...
Searching for installed instances of bt848x node...
Searching naming rules of special files for bt848x...
Searching for kernel module for bt848x...
Searching device node for SAA713x...
  pci12ab,800            1131 7133 12ab 0800
Searching aliases for saa713x driver...
  saa713x "pci1131,7130"
  saa713x "pci1131,7134"
  saa713x "pci1131,7133"
  saa713x "pci1131,7135"
Searching major device number for saa713x...
  saa713x 269
Searching for installed instances of saa713x node...
  "/pci @ 8,700000/pci12ab,800 @ 2" 0 "saa713x"
Searching naming rules of special files for saa713x...
Searching for kernel module for saa713x...
  145 7beee000  37f68 269   1  saa713x (SAA713x video captor 1.0.0-pre4)
Searching special files...
  141033476    0 crw-rw-rw-   1 root     other    269,   0 Sep 28
12:02 /devices/pci @ 8,700000/pci12ab,800 @ 2:video
  12130    1 lrwxrwxrwx   1 root     root           43 Sep 28 12:26
/dev/video0 -> ../devices/pci @ 8,700000/pci12ab,800 @ 2:video
--

dmesg
--
Sep 28 12:02:27 enguage saa713x: [ID 923573 kern.info] saa713x: video
capture driver for SAA713x 1.0.0-pre4 loaded
Sep 28 12:02:27 enguage saa713x: [ID 243359 kern.notice] saa713x0:
system: 1131:7133, revision: 16, model: SAA7133
Sep 28 12:02:27 enguage saa713x: [ID 422836 kern.notice] saa713x0:
subsystem: 12ab:0800, board: YUAN Tu800/KuroutoShikou
SAA7133GYC-STVLP(/R) [card=37,autodetected]
Sep 28 12:02:27 enguage saa713x: [ID 115101 kern.notice] saa713x0:
board init: gpio is 0
Sep 28 12:02:27 enguage saa713x: [ID 861805 kern.notice]
saa713x-video: init1: V4L1 buffer config: 884736 bytes x 4
Sep 28 12:02:27 enguage saa713x: [ID 776422 kern.notice] i2c-core:
i2c_init: debugging enabled
Sep 28 12:02:27 enguage saa713x: [ID 703216 kern.notice]
i2c_add_adapter: adapter <saa713x0> registered as #0
Sep 28 12:02:27 enguage saa713x: [ID 702911 kern.notice] i2c eeprom
00: ab 12 00 08 00 00 00 00 00 00 00 00 00 00 00 00
Sep 28 12:02:27 enguage i2c eeprom 10: 00 00 00 00 15 00 05 01 0b c0
d1 ff ff ff ff ff
Sep 28 12:02:27 enguage i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
Sep 28 12:02:27 enguage i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
Sep 28 12:02:27 enguage saa713x: [ID 514508 kern.notice]
i2c_add_driver: driver <saa7133gyc_stvlp1 init driver> registered
Sep 28 12:02:27 enguage saa713x: [ID 153659 kern.notice]
i2c_attach_client: client <saa7133gyc_stvlp1 [0]> attached to adapter
<saa713x0> at addr 007a
Sep 28 12:02:27 enguage saa713x: [ID 514508 kern.notice]
i2c_add_driver: driver <uPD64083 driver> registered
Sep 28 12:02:27 enguage saa713x: [ID 153659 kern.notice]
i2c_attach_client: client <uPD64083 [0]> attached to adapter
<saa713x0> at addr 005c
Sep 28 12:02:27 enguage saa713x: [ID 514508 kern.notice]
i2c_add_driver: driver <uPD64031A driver> registered
Sep 28 12:02:27 enguage saa713x: [ID 153659 kern.notice]
i2c_attach_client: client <uPD64031A [0]> attached to adapter
<saa713x0> at addr 0012
Sep 28 12:02:27 enguage saa713x: [ID 514508 kern.notice]
i2c_add_driver: driver <i2c TV tuner driver> registered
Sep 28 12:02:27 enguage saa713x: [ID 726068 kern.notice] tuner: tuner_probe():
Sep 28 12:02:27 enguage saa713x: [ID 356245 kern.notice] tuner: chip
found @ 0xc0 i2c-bus saa713x0
Sep 28 12:02:27 enguage saa713x: [ID 680794 kern.notice] tuner: type
set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
Sep 28 12:02:27 enguage saa713x: [ID 153659 kern.notice]
i2c_attach_client: client <Philips NTSC MK3 (FM1236MK3 or> attached to
adapter <saa713x0> at addr 0060
Sep 28 12:02:27 enguage saa713x: [ID 579133 kern.notice]
saa713x-video: set tv norm = PAL
Sep 28 12:02:27 enguage saa713x: [ID 795655 kern.notice]
saa713x-video: video input = 0 [S-Video]
Sep 28 12:02:27 enguage saa713x: [ID 579133 kern.notice]
saa713x-video: set tv norm = PAL
Sep 28 12:02:27 enguage saa713x: [ID 514508 kern.notice]
i2c_add_driver: driver <i2c tda9887 driver> registered
Sep 28 12:02:27 enguage saa713x: [ID 365742 kern.notice] tda9887: chip
found @ 0x86 i2c-bus saa713x0
Sep 28 12:02:27 enguage saa713x: [ID 153659 kern.notice]
i2c_attach_client: client <tda9887> attached to adapter <saa713x0> at
add

--

  Kazuyuki Sato



Bt848x-ja-users メーリングリストの案内
Back to archive index