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

Support Remarkable 2 #6

Closed
b4be1 opened this issue Nov 19, 2020 · 7 comments
Closed

Support Remarkable 2 #6

b4be1 opened this issue Nov 19, 2020 · 7 comments

Comments

@b4be1
Copy link

b4be1 commented Nov 19, 2020

Hi Eric,

I like the idea of this repository a lot. However, I am not able to connect a Bluetooth keyboard to my Remarkable 2 to experience it. It seems the Bluetooth dongle is not recognized at all by the device. I followed the debug procedure from #1, but /dev/input/ only contains the pencil input and touchscreen. Any ideas how to debug this or how to proceed in general?

I haven't tried connecting a normal USB keyboard yet, but I will try it tomorrow.

Best,
Boris

@machinelevel
Copy link
Owner

Hi Boris! Thanks for posting this issue. If you have time, please try this binary in the branch 1-multiple-keyboards, to address more complex USB setups. I've succeeded in using it with Bluetooth, but setups do differ.

Also, if that branch does work on the rM2, please let me know! I've just got my trusty rM1, so it'd be good to have a test case.

It may solve the problem simply; I'm using it myself but haven't merged it into the main branch yet, just to avoid disrupting other users.

Let me know if it works for you, and thank you again!

@b4be1
Copy link
Author

b4be1 commented Nov 22, 2020

Hi Eric,

Thanks for your reply and support. The issue turns out to be rm2-specific. Namely, the USB-C port can only be used for charging (at least at the moment). The only option right now is to use the pogo pins next to the USB-C port to connect the Bluetooth dongle. There is more info on this problem available here ddvk/remarkable-hacks#122 (comment).

Best,
Boris

@isman7
Copy link

isman7 commented Feb 1, 2021

Hi all, we have been discussing these connectors a lot here: dps/remarkable-keywriter#14, an actual Bluetooth keyboard worked for me using the pogo pins. As Crazy Cow is easy to run than this app I have tested it tonight, and everything works!

rm2-keyboard-crazy-cow

So, technically crazy cow works with remarkable 2 out of the box using the master branch, only you have to build some complex connector.

Edit, detail of the connector:

image

@machinelevel
Copy link
Owner

Aha that's fantastic! Thanks for this, will add a note to the Readme. Well done!

@isman7
Copy link

isman7 commented Mar 11, 2021

Hey! As @b4be1 asked for USB-C support as USB Host, I can confirm you now it is possible, as you can follow in these thread from remarkable-keywriter: dps/remarkable-keywriter#14 (comment). Cheers, Ismael

@b4be1
Copy link
Author

b4be1 commented Mar 12, 2021

@isman7 thanks for sharing the info. With the USB-C, it is much more usable now.

@CrayCJ
Copy link

CrayCJ commented Aug 22, 2022

I'd like to report the following process to be working form me on the rm2 repeatedly:

This is how I got this to work:

  1. SSH to RM2 - the code lines beneath are to be typed into your ssh terminal, or are returned by it...
  2. Attach usb c power cable - without adapter or anything - to usb c port of rm2 to power it. rm2 charges and shows charging icon.
  3. (optional, list usb devices: lsusb
    --> nothing is returned, as expected.)
  4. Change state of usb port (and - optionally - list usb devices):
    echo host > /sys/kernel/debug/ci_hdrc.0/role
    (optional: lsusb
    return: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    --> the rm2's own usb c port is detected.)
  5. Detach usb c power cable from rm2. As the state of the port was changed to host, the charging icon on the rm2 will NOT disappear now!!
  6. Attach usb c power cable to usb c port of adapter. Attach adapter to usb c port of rm2. (This will charge the rm2 apparently.)
  7. (optional, list usb devices: lsusb
    return:
    Bus 001 Device 003: ID 0639:7210 Chrontel, Inc. USB 2.0 Hub
    Bus 001 Device 002: ID 1a40:0801 Terminus Technology Inc. USB 2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    --> the rm2's own usb c port from previously as well as - at least for me - two aditional port, probably the c and a port of my adapter, are detected!)
  8. Attach USB A Keyboard to USB A port of adapter.
  9. (optional, list usb devices: lsusb
    return as in 7, plus above those:
    Bus 001 Device 004: ID 09da:0260 A4Tech Co., Ltd. KV-300H Isolation Keyboard
    --> the keyboard is detected!!
  10. Have fun, type, start any typing applications (like crazy cow, which can be kept running though, i.e. might(!) not have to be stopped and re-started each time), etc.
  11. When done: echo gadget > /sys/kernel/debug/ci_hdrc.0/role
    --> This is to revert the rm2's usb c port to it's previous state. Without this, the charging icon won't disappear, but the rm2 seems to draw power regardless of the port's state, if a power cable is attached in any way.
  12. Detatch adapter, etc.
  13. Attach and detach power to and from rm2 to make the charging icon disappear.
  14. Repeat...

@machinelevel Many, many thanks for your marvellous piece of software. This is so useful and even works with the different pens!

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

4 participants