Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google assistant key on Pixelbook #11

Open
denneyg opened this issue Feb 12, 2024 · 13 comments
Open

Google assistant key on Pixelbook #11

denneyg opened this issue Feb 12, 2024 · 13 comments

Comments

@denneyg
Copy link

denneyg commented Feb 12, 2024

Is there any way to remap the Google Assistant key on the Pixelbook (Eve)?

@WeirdTreeThing
Copy link
Owner

What keycode do you get in evtest when you press it?

@denneyg
Copy link
Author

denneyg commented Feb 12, 2024 via email

@WeirdTreeThing
Copy link
Owner

Create the file /etc/udev/hwdb.d/61-eve-keyboard.hwdb and add the following:

evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGoogle:pnEve:pvr*
 KEYBOARD_KEY_d8=leftmeta

Then reboot

I dont think keyd is able to map this special key

@sporeking
Copy link

I have run the script to fix my google assistant key. However, neither before and after running the script make the assistant key available. In evtest I get nothing when I press the Google assistant key, but any other key is available. How can I make the assistant key available?

@WeirdTreeThing
Copy link
Owner

I just added support for this in the script. Pull my changes and see if it works now.

@sporeking
Copy link

Thanks for your help. But it seems that the situation has not improved. I have tried to modify 61-eve-keyboard.hwdb myself, but it didn't achieve any results. I am now very curious about which link is wrong.
My pixelbook go is second-hand, and it was installed with manjaro when it came to me, so I don't know how the original owner flashed the UEFI firmware. I reinstalled arch linux myself, but the audio, keyboard mapping and other problems were not successfully fixed. Is there something wrong with my own installation? I plan to reinstall it according to Chrultrabook Docs when I have time in the future, but now I decided to make do with it, anyway, the Google Assistant key is not convenient. Anyway, thanks for your help.

@WeirdTreeThing
Copy link
Owner

Try running evtest on it with the hwdb config and see which key it reports as.

@sporeking
Copy link

When I prees the assistant key, nothing happened in evtest, as if i never press any key. I even suspect this key is broken. But all other keys were normal, as evtest can tell me which key i pressed.

@uiYzzi
Copy link

uiYzzi commented Aug 3, 2024

When I prees the assistant key, nothing happened in evtest, as if i never press any key. I even suspect this key is broken. But all other keys were normal, as evtest can tell me which key i pressed.

me too

@ChocolateLoverRaj
Copy link
Contributor

I even suspect this key is broken.

  • Did it work on ChromeOS?
  • If you press it does your Pixelbook wake up from suspend?

@livexia
Copy link

livexia commented Sep 4, 2024

After install this utility, pixelbook go's keyboard is remaped, but only the google assistant key is not working.
With keyd.service stop, I can using sudo evtest to veryify the google assistant key shows type 4 (EV_MSC), code 4 (MSC_SCAN), value d8.
The file /etc/udev/hwdb.d/61-eve-keyboard.hwdb is present.

@ChocolateLoverRaj
Copy link
Contributor

What is the key supposed to be mapped to? Super? Capslock?

@livexia
Copy link

livexia commented Sep 4, 2024

I think esc/meta/cpaslock are all good options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants