Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Hans de Goede
Hi, On 17-01-18 19:21, Igor Filatov wrote: We didn't have the spec before so I had no idea how different devices worked. Especially given that some commands which worked fine for me produced errors one other devices. Now that we have the docs I'll work on adapting the driver. Naturally, any i

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Igor Filatov
We didn't have the spec before so I had no idea how different devices worked. Especially given that some commands which worked fine for me produced errors one other devices. Now that we have the docs I'll work on adapting the driver. Naturally, any info you have is welcome and so is any help with t

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Hans de Goede
Hi, On 17-01-18 16:22, Igor Filatov wrote: For me this is either 0x01 or 0x03, just like in the docs. But I do remember that I could never make it behave like Windows driver did, e.g. return same values when I sent the same commands in the same order. But I didn't know I had to give it some t

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Igor Filatov
For me this is either 0x01 or 0x03, just like in the docs. But I do remember that I could never make it behave like Windows driver did, e.g. return same values when I sent the same commands in the same order. But I didn't know I had to give it some time, so that could be the problem. And I've neve

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Hans de Goede
Hi, On 17-01-18 14:46, Sébastien Béchet wrote: Hello, I have done more test and find a functionnal calibration method. Strangely, the calibration return returns Mean_H and not the expected status. I need to read the "FP Status" register for the calibration to work in the next step. Also, i a

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Sébastien Béchet
On 2018-01-17 12:12, Igor Filatov wrote: Looks like o1ca as well https://github.com/iafilatov/libfprint/pull/4 Not o1ca but 0x0C1A. I create repository for POC: http://github.com/sbechet/elanfp ___ fprint mailing list fprint@lists.freedesktop.org h

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Sébastien Béchet
Hello, I have done more test and find a functionnal calibration method. Strangely, the calibration return returns Mean_H and not the expected status. I need to read the "FP Status" register for the calibration to work in the next step. Also, i added 0x04f3:0x01cA to the test list. Hans, can

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Igor Filatov
Looks like o1ca as well https://github.com/iafilatov/libfprint/pull/4 I wonder if we can get a list of ids if devices like these. 2018-01-17 12:50 GMT+02:00 Sébastien Béchet : > Hello, > > In attachment what I understood from the documentation. > > must work for > > 0x04f3,0x0903 > 0x04f3,0x0907 >

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Sébastien Béchet
Hello, In attachment what I understood from the documentation. must work for 0x04f3,0x0903 0x04f3,0x0907 0x04f3,0x0C03 0x04f3,0x0C16 Please try it. #include #include #include #include #include #include #include #define BULK_EP1_OUT0x01 #define BULK_EP2_IN 0x82 #define BULK_EP3

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Sébastien Béchet
Hello Hans de Goede, On 2018-01-17 08:57, Hans de Goede wrote: https://fedorapeople.org/~jwrdegoede/elan-fingerprint/ Thank you, you are a magician :-) Unfortunately I have not yet had time to look at supporting my own reader and it does not look like I will have time for this soon. Still th

Re: [fprint] elan patch + poc 0x903 and 0x0C03

2018-01-17 Thread Igor Filatov
Wow, thanks, Hans! This should be really useful. I'll take a closer look later today. On Wed, 17 Jan 2018, 09:57 Hans de Goede, wrote: > Hi Sébastien and Igor, > > I too have an Elan fingerprint reader tucked away in a corner > of my touchpad, my model is: 04f3:0c16 . > > Since I've a contact in