blankmac / AlpsHID

32 stars 6 forks source link

Dell Latitude 5500 #4

Open 8bitZeta opened 2 years ago

8bitZeta commented 2 years ago

I found this repo while looking for a solution that seems common on Dell I2C devices. I tried this repo and it seems to function the same as VoodooI2CHID (working TrackPad, but only one button).

I was just curious if this kext would be appropriate for my device.

juico commented 2 years ago

Hey, it seems like the current version doesnt support the Latitude 5500. But it seems to be possible to support it, could you upload a IOReg report and i will see if i can make it work.

juico commented 2 years ago

AlpsHID_5500.zip You can try this, seems like your touchpad uses the Cirque vendorID instead of the Alps. Should be the same kind of touchpad, so by adding the VendorID to the kext i think it could work.

8bitZeta commented 2 years ago

That mostly did the trick. The only thing not working is cross-communication between the Trackpoint/Pad and their buttons. Essentially the Trackpoint buttons don't work with the Trackpad and vice versa.

This isn't too shocking as I've experienced the same with VoodooPS2 Alps on Dell.

Still, this is vastly better, so thank you so much.

juico commented 2 years ago

Great, yeah i am not sure why that is the case for the moment. Seems like the device sends 2 seperate reports, 1 for the trackpad and one for the trackpoint so im not sure what the drivers does if the device sends 2 reports at the same time. But this kind of behaviour works while using windows right?

8bitZeta commented 2 years ago

Yeah, cross communication works on both Windows and Linux. I've worked on Trackpoint/pad kexts before, so I may be able to work on it in my limited free time, but that is correct. 2 signals get sent essentially.

I'm sure I2C is far more complex than PS2 though, so no guarantee I would be able to get it working.

juico commented 2 years ago

webhid_5500.zip Yeah i think it should not be that hard, I dont have the kind of hardware to test it myself. The webhid allows you to read the reports from your touchpad, i added your device to the list in test.js. It only seems to work in google chrome at the moment. Just click connect and then report reading. The read and write register buttons are usefull if you want to read/write setting of the touchpad but you kind of have to know what you are doing.

DiogoRafaelPR commented 2 years ago

I tested the attached file "AlpsHID_5500" and I can confirm its working on Dell 5500. The trackpad works very well, the only gesture that I tested but it didn't work, it was the smart zoom (touching twice with two fingers), but i'm not 100% sure if its a bug or my problem.

The lower physical buttons work, both left and right. But the upper physical buttons, left and center, don't work while the right is ok. The small mouse on the middle of the keyboard (sorry don't know the name), also works.

Also, do you think it's possible to remove the delay when dragging with one finger? That option is found on Accessibility. Both options with drag lock or without drag lock, it gives me a 1 second delay after I dragged something.