| 1 |
This is a virtual PTP camera embedded in a USB port driver. |
| 2 |
|
| 3 |
It is meant for libgphoto2 test purposes. |
| 4 |
|
| 5 |
If you are seeing this file on a regular system, you likely |
| 6 |
did not build any other USB driver. |
| 7 |
|
| 8 |
In that case you should probably install libusb development headers |
| 9 |
and libraries and recompile. |
| 10 |
|
| 11 |
If you want to use it, copy JPG and other files into the directory |
| 12 |
of this README (standard location is: /usr/share/libgphoto2_port/<version>/ ) |
| 13 |
|
| 14 |
Special functions: |
| 15 |
|
| 16 |
Doing an image capture will duplicate an existing JPEG and report it as |
| 17 |
being captured. |
| 18 |
|
| 19 |
Doing a deletion is virtual and does not affect the filesystem content. |
| 20 |
|
| 21 |
PTP Opcode 0x9999 can be used to emit PTP Events |
| 22 |
First argument is the type, second argument is the delay of the interrupt in 1/1000 seconds |
| 23 |
|
| 24 |
0x0 objectadded - will use a random existing jpg and virtually duplicate it |
| 25 |
0x1 objectremoved - will virtually delete the first existing jpg it finds |
| 26 |
0x2 capturecompleted - emits a capturecompleted event |
| 27 |
|
| 28 |
Author: Marcus Meissner <[email protected]> |