python-validity icon indicating copy to clipboard operation
python-validity copied to clipboard

Not Working with 06cb:00be

Open candyman2903 opened this issue 4 years ago • 13 comments

Hello,

I always get the message: No matching devices found

Please add Support for: Bus 003 Device 003: ID 06cb:00be Synaptics, Inc.

lsusb -s 003:003 -v

Bus 003 Device 003: ID 06cb:00be Synaptics, Inc. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 16 bDeviceProtocol 255 bMaxPacketSize0 8 idVendor 0x06cb Synaptics, Inc. idProduct 0x00be bcdDevice 0.00 iManufacturer 0 iProduct 0 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0027 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 3 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 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 4

Thank you

candyman2903 avatar Aug 13 '20 22:08 candyman2903

Hi @candyman2903 ,

06cb:00be is not currently supported.

You can try setting up synaWudfBioUsb-sandbox environment and capturing the pair/enroll/identify logs - this may help to add the support for your device.

uunicorn avatar Aug 14 '20 07:08 uunicorn

Hi @uunicorn,

I have tried to extract the dlls which come for this fingerprint reader, but did not get any *.xpfwext file. Is this an issue? This is the directory listing I got after extracting the driver:

'../code$GetExtractPath$/':
./  ../  Source/  setup.cmd

'../code$GetExtractPath$/Source':
./  ../  Goodix/  Synaptics/

'../code$GetExtractPath$/Source/Goodix':
./  ../  Fp_data_processor.signed.dll  GoodixEngineAdapter.dll  sgx_white_list_cert.bin  usbinterface.cat  usbinterface.dll  usbinterface.inf  WBDI_Data_Enclave.signed.dll

'../code$GetExtractPath$/Source/Synaptics':
./  ../  sgx_capable.dll  synaFpAdapter107.dll  synaTEE107.signed.dll  synaumdfsgx.cat  synaWudfBioUsbSGX107.dll  synaWudfBioUsbUwpSgx.inf

Then I tried to launch the run.sh program, which resulted in https://pastebin.com/0T5C1g5R

dodancs avatar Nov 08 '20 11:11 dodancs

Hi @dodancs ,

Not having a *.xpfwext seems to be normal for some sensors. However you do need a driver DLL. Looking at your file list synaWudfBioUsbSGX107.dll appears to be the closest match. However I really doubt Wine approach is going to ever work with SGX enclaves.

Regards, Viktor

uunicorn avatar Nov 09 '20 00:11 uunicorn

Hi @dodancs ,

Not having a *.xpfwext seems to be normal for some sensors. However you do need a driver DLL. Looking at your file list synaWudfBioUsbSGX107.dll appears to be the closest match. However I really doubt Wine approach is going to ever work with SGX enclaves.

Regards, Viktor

Do you have suggestions on what to do in this case to get what you need to implement support also for this sensor?

dodancs avatar Nov 09 '20 07:11 dodancs

Nah, sorry. I have a feeling that dealing with SGX could take way more time than I'm prepared to spend on it. Are you sure there are no non-SGX versions of this driver?

uunicorn avatar Nov 09 '20 08:11 uunicorn

Nah, sorry. I have a feeling that dealing with SGX could take way more time than I'm prepared to spend on it. Are you sure there are no non-SGX versions of this driver?

What does the non-SGX version mean? I am not sure what to look for.

Thanks for the engagement! I appreciate your work and the time you put in very much.

dodancs avatar Nov 09 '20 10:11 dodancs

SGX basically makes reverse engineering harder. From your list of file, looks like all critical codes are protected by SGX since they have SGX in their file name. You can try to find older version of that sensor driver. A none SGX protected synaWudfBioUsb.dll is what to investigate.

himekifee avatar Nov 09 '20 20:11 himekifee

Hi all,

I found a non SGX driver on my Yoga 950i and execute your commands. synaFpAdapter107.dll synaumdf.cat synaWudfBioUsb107.dll synaWudfBioUsbUwp.inf

but the wine docker image lack of two dlls: WppRecorderUM.dll API-MS-Win-devices-config-L1-1-2.dll

and you can find last log in attachments... I think this is not useful 1612320909.log ...

Please tell me how I could help...

memiks avatar Feb 03 '21 02:02 memiks

You can join the discord server for quicker help.

himekifee avatar Feb 03 '21 08:02 himekifee

Non-SGX version of my fingerprint driver(Should be?) Dll file doesn't have export function of DLLGetClassObject at all........

running the SGX version of the driver, the wine crashed.

AnterCreeper avatar Mar 02 '22 12:03 AnterCreeper

my device is 06cb 00d2, which should be specially for HewlettPackard.

AnterCreeper avatar Mar 02 '22 12:03 AnterCreeper

What i found is the protocal is same for: USB\VID_06CB&PID_00BB USB\VID_06CB&PID_00D2 USB\VID_06CB&PID_00F4

AnterCreeper avatar Mar 02 '22 12:03 AnterCreeper

Any updates on this?

srijanmukherjee avatar Jan 06 '24 11:01 srijanmukherjee