diff --git a/repos/libports/recipes/raw/usb_webcam/usb_webcam.config b/repos/libports/recipes/raw/usb_webcam/usb_webcam.config index b8e4dc9724..cc137ba03d 100644 --- a/repos/libports/recipes/raw/usb_webcam/usb_webcam.config +++ b/repos/libports/recipes/raw/usb_webcam/usb_webcam.config @@ -8,7 +8,6 @@ - diff --git a/repos/libports/run/webcam.run b/repos/libports/run/webcam.run new file mode 100644 index 0000000000..b96cfe4521 --- /dev/null +++ b/repos/libports/run/webcam.run @@ -0,0 +1,180 @@ +set build_components { } + +# fuji4 +proc libuvc_vendor_id {} { return "0x04f2" } +proc libuvc_product_id {} { return "0xb564" } + +# c270 +#proc libuvc_vendor_id {} { return "0x046d" } +#proc libuvc_product_id {} { return "0x0825" } + +# quickcam +#proc libuvc_vendor_id {} { return "0x046d" } +#proc libuvc_product_id {} { return "0x09c1" } + +# t470 +#proc libuvc_vendor_id {} { return "0x0bda" } +#proc libuvc_product_id {} { return "0x58db" } + + + +create_boot_directory + +import_from_depot [depot_user]/src/[base_src] \ + [depot_user]/src/init \ + [depot_user]/src/nitpicker \ + [depot_user]/src/dynamic_rom \ + [depot_user]/src/rom_reporter \ + [depot_user]/src/usb_host_drv \ + [depot_user]/src/vesa_drv \ + [depot_user]/src/test-capture \ + [depot_user]/pkg/usb_webcam + +source ${genode_dir}/repos/base/run/platform_drv.inc +append_platform_drv_build_components +build $build_components + + +append config { + + + + + + + + + + + + + + + + +} + +append_platform_drv_config + +append config { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +} + +install_config $config + +append_platform_drv_boot_modules + +append boot_modules { } + +build_boot_image $boot_modules + +append qemu_args { -usb -device usb-host,vendorid=[libuvc_vendor_id],productid=[libuvc_product_id] } + +run_genode_until forever