trustcrypto / OnlyKey-Firmware

The OnlyKey Firmware runs on the OnlyKey itself and provides the core functionality of OnlyKey.
https://docs.crp.to/firmware.html
212 stars 40 forks source link

Keyboard detection on Android not working with OnlyKey DUO #135

Closed Vilhjalmr26 closed 2 years ago

Vilhjalmr26 commented 2 years ago

plugging my new OnlyKey DUO into android samsung s21 5g, it is not detected as a keyboard. using the usb a to c adapter that is part of the DUO to plug my original OnlyKey in works fine, so it is most likely something with the DUO firmware. Duo works fine with PC.

mr-sour commented 2 years ago

Same issue, Looks like its missing the usb header info that makes it appear as a keyboard on android.

onlykey commented 2 years ago

@Vilhjalmr26 What kind of adapter do you use with OnlyKey that works? The firmware on OnlyKey and OnlyKey DUO is essentially the same.

Also can you do a quick test, plug the USB-A OnlyKey DUO into your other adapter and let me know if this works.

Vilhjalmr26 commented 2 years ago

I took the duo out of its usb c adapter and plugged the original onlykey into it. Had to hold it just right, as the connection between onlykey and adapter was loose.

onlykey commented 2 years ago

I took the duo out of its usb c adapter and plugged the original onlykey into it. Had to hold it just right, as the connection between onlykey and adapter was loose.

Was the keyboard detected when you did this or not?

Vilhjalmr26 commented 2 years ago

I took the duo out of its usb c adapter and plugged the original onlykey into it. Had to hold it just right, as the connection between onlykey and adapter was loose.

Was the keyboard detected when you did this or not?

When the duo is connected, physical keyboard entry in settings shows "not connected" when original onlykey is connected (through the duo's adapter) it shows "CRYPTOTRUST ONLYKEY"

Phone is a Samsung S21 on Android 12, location of physical keyboard info is Settings->General Management

onlykey commented 2 years ago

@Vilhjalmr26 What firmware version do you have on your original onlykey? Still working to reproduce this issue, I don't have an S21 to test, no luck on Samsung A32 on Android 12 everything works fine on this model.

Vilhjalmr26 commented 2 years ago

@Vilhjalmr26 What firmware version do you have on your original onlykey? Still working to reproduce this issue, I don't have an S21 to test, no luck on Samsung A32 on Android 12 everything works fine on this model.

Original OnlyKey is on v2.1.0-prodc OnlyKey Duo is on v3.0.0-prodn

no-sauce commented 2 years ago

I too am having this same situation with a Samsung S20+. The phone doesn't detect it as a keyboard.

onlykey commented 2 years ago

@Vilhjalmr26 @mr-sour @no-sauce Please try the latest firmware here to address issue with Samsung devices - https://docs.crp.to/duousersguide.html#download-firmware

Vilhjalmr26 commented 2 years ago

@Vilhjalmr26 @mr-sour @no-sauce Please try the latest firmware here to address issue with Samsung devices - https://docs.crp.to/duousersguide.html#download-firmware

Just loaded the firmware and tested. Seems to work perfectly now. Thanks so much.

no-sauce commented 2 years ago

The new firmware has worked on the S20+ aswell thanks.