You are not logged in.
I want to update libfprint to recognize my fingerprint scanner. From the address the scanner looks just the same as some scanners already recognized by libfprint. I added the adress to the device that I assume to be ideantical to mine. Now I want to compile the package with Meson. i don't have any experience with it.
According the the wiki I need to write a PKGBUILD with this template:
PKGBUILD
makedepends=(meson)
build() {
meson --prefix /usr --buildtype=plain source build
ninja -C build
}
check() {
ninja -C build check
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
where
source is the directory containing the extracted source code, e.g. $pkgname or $pkgname-$pkgver; and
build is the directory that will hold the binary files to be installed. Normally the dirname "build" is used so you may want to keep it for standardization, but you may rename it to whatever pleases you.
There is no directory containing $pkgname etc. I am stuck at this point.
Can anyone help?
Last edited by gunjah292 (2019-01-16 16:48:36)
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
Not an Installation issue, moving to Creating Packages...
Offline
I realized that there is already a libfprint-git installer in the AUR. I guess I can figure it out somehow!
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
From the address the scanner looks just the same as some scanners already recognized by libfprint. I added the adress to the device that I assume to be ideantical to mine.
This sounds like you want to change some files that come with libprintf .
Which files need changing and what change do they need ?
Assuming the files in question do need to be changed at build-time , you probably should use https://www.archlinux.org/packages/extr … libfprint/ as starting point, not the git version .
Use asp to get the pkgbuild and other needed files to your system, see https://wiki.archlinux.org/index.php/Ar … _using_Git for details about asp .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
@Lone_Wolf: I think it is libfprint/drivers/vfs5011.c
There is this section:
static const struct usb_id id_table[] = {
{ .vendor = 0x138a, .product = 0x009d /* Validity device from some Thinkpad X380 */ },
{ .vendor = 0x138a, .product = 0x0010 /* Validity device from some Toshiba laptops */ },
{ .vendor = 0x138a, .product = 0x0011 /* vfs5011 */ },
{ .vendor = 0x138a, .product = 0x0017 /* Validity device from Lenovo T440 laptops */ },
{ .vendor = 0x138a, .product = 0x0018 /* one more Validity device */ },
{ 0, 0, 0, },
};
I already added my device there according to lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 138a:009d Validity Sensors, Inc.
Bus 001 Device 003: ID 04f2:b614 Chicony Electronics Co., Ltd
Bus 001 Device 005: ID 056a:5155 Wacom Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I just don't know how to compile this and install it. I tried to change the files in the yaourt-tmp folder, but it doesn't work, because it automatically compiles after the download. There is not time to exchange the file. I don't know how else to do this. Maybe it also needs more changes. I don't know.
Last edited by gunjah292 (2019-01-19 10:32:56)
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
Simply adding your ID is probably not enough. Here are some efforts for a prototype (not a libfprint driver yet I think), but apparently you still have to enroll the fingerprints with windows.
https://github.com/nmikhailov/Validity9 … -453199423
https://github.com/mrdanielps/Validity90/tree/9d
Last edited by progandy (2019-01-19 10:44:50)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Remove the AUR helper from the equation and learn how to use makepkg directly.
You could also create a patch and apply it during the prepare stage of the PKGBUILD.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline