Video via Firewire capturen
In “Firewire – capturing movies” hab ich das Thema schon mal erwähnt. Jetzt hab ich für eine Lehrveranstaltung auf der Uni wieder ein Video drehen müssen. Also hab ich die digitale Videokamera an meine grml-Box angeschlossen und einmal ein ‘apt-get install mjpegtools kino dvgrab’ sowie modprobe von dv1394, ohci1394, raw1394, ieee1394 ausgeführt. Kino regt sich aber über ein fehlendes Device /dev/raw1394 auf. Huh?!
# grep raw /var/log/syslog May 5 21:36:11 grml kernel: ieee1394: raw1394: /dev/raw1394 device initialized
Naja, dann sollte es doch wohl da sein, oder?
# udevinfo -a -p /sys/devices/pci0000:00/0000:00:07.1 udevinfo starts with the device the node belongs to and then walks up the device chain, to print for every device found, all possibly useful attributes in the udev key format. Only attributes within one device section may be used together in one rule, to match the device for which the node will be created.
looking at class device '/sys/devices/pci0000:00/0000:00:07.1': SUBSYSTEM="unknown" SYSFS{class}="0x01018a" SYSFS{detach_state}="0" SYSFS{device}="0x0571" SYSFS{irq}="0" SYSFS{local_cpus}="01" SYSFS{subsystem_device}="0x80f6" SYSFS{subsystem_vendor}="0x104d" SYSFS{vendor}="0x1106"
# grep -r raw1394 /etc/udev # /usr/share/doc/udev/examples/udevtest-all | grep -i raw1394 # find /sys -name dev | grep -e raw -e 1394 #
Tssss…. Google spuckte mir dann Links u.a. zu linux1394-devel mailingliste und Bug #133798 im Redhat-Bugzilla aus, man findet es auch als Bug #251092 im BTS von Debian. Kurzfassung: die 1394-Treiber exportieren nichts ins sysfs und daher kann udev nicht dementsprechend reagieren . Der Workaround ist also:
# cd /dev && MAKEDEV video1394 raw1394
Und das geh ich jetzt gleich mal bei grml so fixen, dass sich niemand mehr mit sowas herumplagen muss…