question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for 06cb:0081

See original GitHub issue

I’m trying to see, if it was possible to for this project to support the 06cb:0081, so I was trying to setup https://github.com/uunicorn/synaWudfBioUsb-sandbox and see if I could find something useful for the 06cb:0081 device.

But if I look at the README of the sandbox project, I need to copy over some .xpfwext-files (which doesn’t exist for the Windows drivers belong to 06cb:0081 and the INF also has the only reference to the .xpfwext-files commented out:

;Firmware extensions - not used for this Customer Project
;6_07f_lenovo.xefwext=1

Contents of my extracted driver package:

[0] % innoextract huy103af07m6.exe 
Extracting "Finger Print Driver" - setup data version 5.5.7 (unicode)
 - "app/dpinst.exe" - overwritten
 - "app/dpinst.xml" - overwritten
 - "app/dpinst.exe"
 - "app/dpinst.xml"
 - "app/DpinstWaterMark.bmp"
 - "app/Source/synaAdvAdapter.dll"
 - "app/Source/synaumdf.cat"
 - "app/Source/synaWudfBioLenovoLBG.inf"
 - "app/Source/synaWudfBioUsb.dll"
 - "app/Source/WudfUpdate_01011.dll"
 - "app/dpinstWaterMark/DpinstWaterMark.bmp"
 - "app/dpinstWaterMark/DpinstWaterMark_right.bmp"

And when I try to run ./run.sh identify, it fails with the following error message;

=>0 0x000000007bc64eac stub_entry_point+0x5c(dll=<is not available>, name=<is not available>, ret_addr=<is not available>) [./dlls/ntdll/loader.c:282] in ntdll (0x0000000007f4ffd0)
  1 0x00000001800436e5 EntryPoint+0xfff4450c() in synawudfbiousb (0x0000000007f4ffd0)
  2 0x0000000180042cd0 EntryPoint+0xfff43af7() in synawudfbiousb (0x0000000007f4ffd0)
  3 0x0000000180042c95 EntryPoint+0xfff43abc() in synawudfbiousb (0x0000000007f4ffd0)
  4 0x000000007bcab4e1 call_thread_func+0x110(entry=0x180042c64, arg=0x23190) [./dlls/ntdll/signal_x86_64.c:4466] in ntdll (0x0000000007f4ffd0)
0x000000007bc64eac stub_entry_point+0x5c [./dlls/ntdll/loader.c:282] in ntdll: addq	$20,%rsp
Unable to access file './dlls/ntdll/loader.c'

Is there a way to make work without the xpfwext-files ?

Url of the driver: https://pcsupport.lenovo.com/nl/nl/products/laptops-and-netbooks/yoga-series/yoga-520-14ikb-type-81c8/downloads/driver-list/component?name=Vingerafdruklezer

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
uunicorncommented, Nov 12, 2020

Looking at the logs, winusb.dll stub has prevented the factory reset by intentionally crashing. The driver attempted to do a factory reset because of the initial handshake has failed. And it looks like the root cause of that is a bug in Wine crypto hacks:

0021:err:crypt:valid_protect_data info0 magic value not matched !
0021:err:crypt:valid_protect_data unrecognized CryptProtectData block
0021:fixme:crypt:CryptUnprotectData CryptUnprotectData received a DATA_BLOB that seems to have NOT been generated by Wine.  Please enable tracing ('export WINEDEBUG=crypt') to see details.
0021:trace:crypt:free_protect_data called
0021:trace:crypt:CryptUnprotectData returning FAIL

I’ll have a closer look a bit later, but it looks promising.

1reaction
uunicorncommented, Sep 17, 2020

Thanks.

My logs can be found here: logs.zip

Unhandled exception: unimplemented function POWRPROF.dll.PowerSettingRegisterNotification called in 64-bit code (0x000000007bc64eac).

This looks like the root cause of the crash. Your driver seems to be using API which is not unimplemented by this version of Wine. I’ll try to add a stub later.

Read more comments on GitHub >

github_iconTop Results From Across the Web

06cb:0081 Synaptics, Inc Fingerprint scanner support
I recently saw 06cb:00bd Synaptics was added under supported devices, just wanted to ping and see if there was any profress on the...
Read more >
Yoga 530 - 14lKB Fingerprint scanner - Lenovo Forums
I decided to move from win10 to ubuntu 20.10 but i'm having issue with the fingerprint scanner. It suppose to be option in...
Read more >
Validity90/Lobby - Gitter
Found device 06cb:0081. Support would be available soon. _. Marco Trevisan. @3v1n0. FYI, I've finally had some time to upgrade the vfs 0090...
Read more >
Thinkpad Fingerprintreader - Support - Manjaro Linux Forum
Reverse engineering of Validity/Synaptics 138a:0090, 138a:0094, 138a:0097, 06cb:0081, 06cb:009a fingerprint readers protocol.
Read more >
Laptop/Lenovo - ArchWiki
Model version Date Video Sound Ethernet Wireless Bluetooth Power management ThinkPad T60 2010‑08‑19 Yes Yes Yes Yes Yes Yes ThinkPad T60p 2013‑03‑25 Yes Yes Yes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found