diff options
| author | 2026-11-16 01:12:04 +0100 | |
|---|---|---|
| committer | 2026-11-16 01:12:04 +0100 | |
| commit | 8adca7cd8986f6d984d0b2c514fba33ac02b4cfa (patch) | |
| tree | 46f99d26008c20eae71ecba8e1acc97ed45ab924 /src/libirecovery.pc.in | |
| parent | beef3dfa74e8b7a489aea5e212087bc18e57bb64 (diff) | |
| download | libirecovery-8adca7cd8986f6d984d0b2c514fba33ac02b4cfa.tar.gz libirecovery-8adca7cd8986f6d984d0b2c514fba33ac02b4cfa.tar.bz2 | |
Move device database to data/devices.txt with user-extensible device files
The device table is now maintained in data/devices.txt (one device per
line, "#!format 1" header) and the built-in table src/devices.c is
generated from it at build time by data/gen-devices.sh.
At runtime the built-in table is merged with, in order,
<pkgdatadir>/devices.txt and ~/.libirecovery/devices.txt
(%APPDATA%\libirecovery on Windows, or $LIBIRECOVERY_DEVICE_DB). Entries
are matched by hardware_model; later files override earlier ones. User
files must be owned by the user (or root) and not world-writable.
Add irecv_devices_add() which appends an entry to the user device file
so applications can register new models without rebuilding the library.
If no display name is given, an existing entry keeps its name and a new
one is named "<product_type> (<hardware_model>)". Adding is refused if
another hardware_model already uses the same chip and board ID.
Diffstat (limited to 'src/libirecovery.pc.in')
0 files changed, 0 insertions, 0 deletions
