mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
eb80d6ce66
This commit removes the report service from the usb_webcam pkg, which was used to enable or disable the webcam driver. The on/off state is instead controlled by the presence of a capture client. That is, once a capture client appears, the webcam driver is started. Vice versa, once no capture client exists, the webcam driver is removed automatically. Internally, the detection of presence of a capture client is based on nitpicker's 'displays' report, which is consumed as input of the rom_filter, which in turn generates the configuration of a dynamic sub init. Fixes #4287
23 lines
658 B
Plaintext
23 lines
658 B
Plaintext
<runtime binary="init" caps="800" ram="64M" config="usb_webcam.config">
|
|
<provides> <capture /> </provides>
|
|
<requires> <timer /> <usb /> <rm /> </requires>
|
|
<content>
|
|
<rom label="ld.lib.so"/>
|
|
<rom label="init"/>
|
|
<rom label="jpeg.lib.so"/>
|
|
<rom label="vfs.lib.so"/>
|
|
<rom label="vfs_pipe.lib.so"/>
|
|
<rom label="libc.lib.so"/>
|
|
<rom label="libm.lib.so"/>
|
|
<rom label="usb_webcam"/>
|
|
<rom label="libyuv.lib.so"/>
|
|
<rom label="libusb.lib.so"/>
|
|
<rom label="libuvc.lib.so"/>
|
|
<rom label="stdcxx.lib.so"/>
|
|
<rom label="usb_webcam.config"/>
|
|
<rom label="nitpicker"/>
|
|
<rom label="report_rom"/>
|
|
<rom label="rom_filter"/>
|
|
</content>
|
|
</runtime>
|