Fingerprint GUI

A place to discuss issues of the Fingerprint GUI.

You can subscribe to this discussion group using an RSS feed reader.

Arch - Permission problem even if in plugdev group

Hi!
I'm on Arch Linux, I installed fingerprint-gui 1.09-2 from Arch AUR repository.
I added my user in plugdev and scanner groups and rebooted, the correct fingerprint device is present in the first tab.
But when I switch to the "Scan/Verify" tab I get the error: "Could not open fingerprint device. Permission problem?".
Then I tried with fprintd and it works.

Some additional info:

# lsusb -v -d 138a:0017
Bus 002 Device 002: ID 138a:0017 Validity Sensors, Inc. Fingerprint Reader
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass        17
  bDeviceProtocol      255
  bMaxPacketSize0        8
  idVendor          0x138a Validity Sensors, Inc.
  idProduct          0x0017 Fingerprint Reader
  bcdDevice            0.78
  iManufacturer          0
  iProduct                0
  iSerial                1 9585d92de732
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength          46
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          4
      bInterfaceClass      255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0040  1x 64 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0040  1x 64 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0040  1x 64 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0008  1x 8 bytes
        bInterval              4
can't get debug descriptor: Resource temporarily unavailable
Device Status:    0x0000
  (Bus Powered)

$ groups
wheel scanner plugdev ilario
Permalink Ilario Gelmetti 
December 3rd, 2016 6:29pm
I encounter exactly the same - and there is little documentation on what tho chekc, and how, like WHAT has a "permission problem".

$ ls -la /var/lib/fingerprint-gui
drwxr-xr-x  2 root root 4096 27. Dez 12:26 .

$ ls -la /usr/lib/fingerprint-gui
drwxr-xr-x  2 root root  4096 27. Dez 12:26 .
-rwxr-xr-x  1 root root 263816 27. Dez 12:26 fingerprint-helper
-rwxr-xr-x  1 root root 122280 27. Dez 12:26 fingerprint-plugin
-rwxr-xr-x  1 root root 172472 27. Dez 12:26 fingerprint-polkit-agent
-rwxr-xr-x  1 root root  14776 27. Dez 12:26 fingerprint-rw
lrwxrwxrwx  1 root root    14 27. Dez 12:26 fingerprint-rw-read -> fingerprint-rw
lrwxrwxrwx  1 root root    14 27. Dez 12:26 fingerprint-rw-write -> fingerprint-rw

$ groups
optical scanner systemd-journal plugdev olav smartcard

$ journalctl (shortened for readabilty)
18:13:46 Started.
18:13:46 Proprietary lib "libbsapi.so.4.3" loaded.
18:13:46 Libfprint initialized.
18:13:46 Libbsapi initialized.
18:13:46 Devices initialized.
18:13:47 Found USB device: ...
18:13:47 Found USB device: AuthenTec, Inc./AES2550 Fingerprint Sensor.
18:13:47 Found USB device: ...
18:13:47 No devices found by libbsapi.
18:13:47 initializing libfprint device (vend/prod) 0x8ff/0x2550, driver: aes2550
18:13:47 Added aes2550.
18:13:47 Current device set to 0 -- aes2550.
18:13:47 Current device set to 0 -- aes2550.
18:13:50 Need 1 stages.
18:13:50 Please Swipe Your Right Index.
18:13:50 Swipe finger at aes2550.
18:13:50 Thread started.
18:13:50 Starting acquire.
18:13:50 Could not open fpDevice.
18:13:50 Could not open generic device (acquire).
18:13:50 Thread ended normally.
18:13:54 qApp exit.
18:13:54 stopping device.
18:13:54 exit libfprint.
18:13:54 terminating libbsapi.
18:13:54 Devices released.

I tried to figure out using lsof but failed. All I could see is that when I start the enrollment, three "REG" IPC 'files' "/SYSV00000000" are opened and closed.

Don't know how to debug, please advise.
Permalink Olav Seyfarth 
December 27th, 2016 6:20pm
You need RW permission to the USB port the fingerprint device is connected to.

W.U.
Permalink Wolfgang Ullrich 
December 27th, 2016 9:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics