Closed briankaemingk closed 3 years ago
@tg-x I don't currently have a USB keyboard, but I do have a USB bluetooth dongle/keyboard combo. I just tried your command echo gadget > /sys/bus/platform/devices/ci_hdrc.0/role
, and it didn't work for me. Although it works when I connect it to the pogo pins as described above. Any idea why?
@isman7 Would you be able to test the above with a USB OTG Y cable and your bluetooth dongle / keyboard?
Thanks! Brian
you have to echo host
to switch it to host mode.. but the bt dongle still needs power somehow..
Oh, I see. So let me see if I understand your setup correctly...
echo host > /sys/bus/platform/devices/ci_hdrc.0/role
and you're able to use the keyboard?
yes, something like that
think i switched the port role before plugging the keyboard in, but it might not matter, and my OTG adapter has USB-A for power input, but this should also work
Thanks, strange that I can get the BT dongle to work on the pogo pins but not on the USB C port like that. I'll have to try it wired. If anyone else can try with a bluetooth dongle I'd be curious to hear if it works.
On Mon, Mar 1, 2021 at 1:56 PM TG × ⊙ notifications@github.com wrote:
yes, something like that
think i switched the port role before plugging the keyboard in, but it might not matter
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dps/remarkable-keywriter/issues/14#issuecomment-788326748, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXK2ZEFXYHGKLM2Y6FHVFTTBQEQPANCNFSM4U3SSBWA .
yes, because the pins are powered but the USB-C port is not
To test this, I need some splitting cable first. I will buy one.
Just some minutes ago this appeared in my Twitter feed: https://twitter.com/arturo182/status/1366170856314052613?s=19
Cheers,
El lun., 1 mar. 2021 23:00, TG × ⊙ notifications@github.com escribió:
yes, because the pins are powered but the USB-C port is not
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dps/remarkable-keywriter/issues/14#issuecomment-788329326, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIKATBGEUSFOZ6WKE6VN53TBQE7HANCNFSM4U3SSBWA .
I tried the product linked by @briankaemingk earlier, but it doesn't appear to work for this. I used @tg-x's simple UI to switch the port to host mode first. Anybody know of a working adapter/dongle, or a way to use the USB-C port for this (not the POGO pins) that relies only on consumer hardware?
Maybe @tg-x can share which Y cable he used? Because the one @mpmilano and I tried doesn't seem to work :)
an angle connector would be better though so that the device can stand (something like this) and make/find a similar height clip-on support for the right side
and FYI the yaft terminal emulator has now external keyboard support and works pretty well with text editors
btw the ui script above i just updated to fix some minor issues with having to click twice sometimes
Hi all, I bought some connectors to mount a "stack" because those cables were not available at Amazon ES...
This just works, using the wiki line after plugin everything despite the USB - Bluetooth dongle, then plugin the dongle works. And also charges the remarkable 2. Very happy with this solution hence no hardware hacking is needed.
I will upload some gifs demos, later or tomorrow.
Great, thanks! I will order something similar as well for parts from the US and report back.
On Mon, Mar 8, 2021 at 5:37 AM Ismael Benito notifications@github.com wrote:
Hi all, I bought some connectors to mount a "stack" because those cables were not available at Amazon ES...
- https://www.amazon.es/gp/product/B07XYTHCXV/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
https://www.amazon.es/gp/product/B00NH136GE/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
https://www.amazon.es/gp/product/B071RHMN99/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
This just works, using the wiki line after plugin everything despite the USB - Bluetooth dongle, then plugin the dongle works. And also charges the remarkable 2. Very happy with this solution hence no hardware hacking is needed.
I will upload some gifs demos, later or tomorrow.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dps/remarkable-keywriter/issues/14#issuecomment-792761842, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXK2ZFDP5QX3XLKE4JAP73TCTHLFANCNFSM4U3SSBWA .
@isman7 your parts list work great for me too for a keyboard with a bluetooth dongle...
Command is: echo host > /sys/bus/platform/devices/ci_hdrc.0/role
Here are US-based parts: extension, Y-cable, and USB adapter.
Hey there, thinking a little bit in this I recovered a USB C hub I ordered three years ago for my mobile phone that was a failure... and it works here! This is the nicest result I have achieve with this so far. The stack is simple, power USB cable to USB hub first, check it lights up, then to the remarkable and check it charges. Then manually activate the port as host, the hub is detected, then plug the USB dongle. It works.
Some gifs:
Easter egg, the ethernet link also works!
Reference: a bit complicated, using the link form my old purchase yields here, which is not the same adapter, but it is also unavailable in Spain. I assume here people just should start to test their adapters. Maybe a separate repo should be started documenting all of this or page on that wiki, idk.
Hola Mundo. Very cool, thanks for sharing!
[image: image.png]
On Wed, Mar 10, 2021 at 3:15 PM Ismael Benito notifications@github.com wrote:
Hey there, thinking a little bit in this I recovered a USB C hub I ordered three years ago for my mobile phone that was a failure... and it works here! This is the nicest result I have achieve with this so far. The stack is simple, power USB cable to USB hub first, check it lights up, then to the remarkable and check it charges. Then manually activate the port as host, the hub is detected, then plug the USB dongle. It works.
Some gifs:
[image: rm2-usb-hub-0] https://user-images.githubusercontent.com/9478220/110710152-a9c68200-81fd-11eb-838e-c24b8f44265a.gif [image: rm2-usb-hub-1] https://user-images.githubusercontent.com/9478220/110710158-ac28dc00-81fd-11eb-8d09-22a77848c413.gif
Easter egg, the ethernet link also works!
[image: photo_2021-03-10_23-59-19] https://user-images.githubusercontent.com/9478220/110710218-c5318d00-81fd-11eb-9d88-708af4dac9e9.jpg
Reference: a bit complicated, using the link form my old purchase yields here https://www.amazon.es/gp/product/B078YJJY9D/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1, which is not the same adapter, but it is also unavailable in Spain. I assume here people just should start to test their adapters. Maybe a separate repo should be started documenting all of this or page on that wiki, idk.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dps/remarkable-keywriter/issues/14#issuecomment-796275021, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXK2ZCOPHQTKCWYHXSKFBLTC74RRANCNFSM4U3SSBWA .
Thanks everyone for your remarkable work! Does all that mean you can't use a keyboard without external powering?
If it's the case then using an external battery should work isn't it ?
Regardless of that. I own a RM2 and a ThinkPad-Compact-Keyboard and it has the particularity to have a micro USB port on it. So I thought buying a usb-c to micro usb cable would do the trick but indeed no power on the keyboard...
So basically as @briankaemingk and other said do you think this Split USB Cable would work? Do you believe the second usb c slot is jack only ?
Best regards
Hi, @Baccanno
I can confirm that the specific Y usb-C cable @Baccanno linked does not work, in fact.
I tried that one, thinking it would work too, but the trouble with it is that it doesn't provide power to the keyboard, so it doesn't work. A Y cable like this one does work ... https://www.amazon.com/dp/B00NIGO4NM/ref=cm_sw_r_cp_apa_fabc_48GSXJ50CNA1X8M2DVNF?_encoding=UTF8&psc=1
On Sat, Mar 13, 2021, 14:03 Ismael Benito @.***> wrote:
Hi, @Baccanno https://github.com/Baccanno
- Regarding the external battery it should work yes, the fact is that rm2 is not providing any output in the USB as it should. You need any kind of adapter that uses an external voltage to power the devices, which directly yields power to the devices from the external power source (battery or charger). Depending on the adapter the rm2 will be charging also.
- Regarding if a connector should work or not, depends on how they deal with VBUS (voltage from USB C), most passive connectors should work (Y cables). Some USB C hub, although having external power sources would power the hub board with VBUS, hence it won't work, more advanced USB C hubs might work, i.e. hubs with Ethernet, HDMI...
- I havent tried this kind of connector, but it seems to me it should work, headphones over USB C need to support USB headphones but also analog headphones with adapter... so you can give it a try. Let's hope it works!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dps/remarkable-keywriter/issues/14#issuecomment-798792634, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXK2ZFFBW7EYMWRHUFWML3TDPOMXANCNFSM4U3SSBWA .
Yup, sorry for the wild guess. The last one is working also for me along with a USB C OTG adapter and USB extension cable, if needed, might not be if used with a battery.
Thank you for the answers.
So I'll try to go with the proven-to-work option :
Do you think it's good ? Here is a diagram I made with rm2 !
@Baccanno - Seems like it could work to me (although I'm no electrical engineer like others on this thread so hard for me to understand your diagram ;). Were you able to try it?
@Baccanno - Seems like it could work to me (although I'm no electrical engineer like others on this thread so hard for me to understand your diagram ;). Were you able to try it?
I'll order things soon, I wanted some feedback before trying. Oh, it's not an electrical diagram, simply the scheme for how I would plug everything, Cm is USB C Male, Bm Micro Usb male, Af Usb A female and so on
Just to keep people informed, It's not working yet, i receive most parts BUT the Female to Female adapter. I did receive aA Female to Micro B male, but it does not seems to send data at all (tested directly on the pc).
So I'll have to wait to get my hands on the F-F adapter. But the battery charges the RM2 through the Y split effectively, that's still a win.
Thanks for the update!
On Tue, Mar 23, 2021 at 11:23 AM Arch @.***> wrote:
Just to keep people informed, It's not working yet, i receive most parts BUT the Female to Female adapter. I did receive aA Female to Micro B male, but it does not seems to send data at all (tested directly on the pc).
So I'll have to wait to get my hands on the F-F adapter. But the battery charges the RM2 through the Y split effectively, that's still a win.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dps/remarkable-keywriter/issues/14#issuecomment-805127935, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXK2ZBQLREJ3DYNNSM6T43TFDMAJANCNFSM4U3SSBWA .
Hey everybody. Cool to see all the progress here. I have skills with 3D design and access to a 3D printer if anyone still wants to work on making a Pogo Pin connector with built-in magnets. I don't have an rM2 (yet???) but would be happy to collaborate and build/ship some prototypes
I would be interested in helping with something like that.
Hey alistair23,
Sounds great.
Here's something related I found: https://www.thingiverse.com/thing:4714318 According to discord there's also this freecad model which I haven't checked out yet.
Do you want to move the conversation to a different medium? I think this thread wouldn't be the right place to dive in. Maybe discord or something you suggest?
Yeah, are you on the reMarkable matrix channel? Let's move it to there
I just joined, but I'm new to matrix so I don't know what to do. I'm @willhb:matrix.org
A channel (called #rm2-pogo-connector
) got created on the reMarkable Discord for the topic of creating a general-purpose rM2 Pogo connector! https://discord.gg/GCTEZU8AXb
Just chiming in here to say thanks, this thread got me up and running, and to add the following for anyone who stumbles across this issue:
I was able to use this splitter: https://www.amazon.com/gp/product/B00NSBVNCM/ref=ppx_yo_dt_b_asin_title_o03_s01?ie=UTF8&psc=1
With the USB A male end connected to this power bank (it was the smallest one I could find, but it annoyingly requires you to press a button to start charging, instead of just turning on whenever something is plugged in, so I would recommend something else): https://www.amazon.com/gp/product/B005X1Y7I2/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
And the male micro end connected to my keyboard.
Then a regular male USB A to male USB C cable to connect to the reMarkable 2.
But before plugging everything in I did an ssh root@remarkable
, and ran:
reMarkable: ~/ echo host > /sys/kernel/debug/ci_hdrc.0/role
And then it just worked. I can use the keyboard to write emails to myself from the "convert to text" interface, so I assume that once I get keywriter
installed I'll have a great little portable typewriter with a nice mechanical keyboard.
It would be great if someone on this thread could summarize all the steps beginning to end to make this work!
On Tue, May 4, 2021 at 3:36 PM Ian Henry @.***> wrote:
Just chiming in here to say thanks, this thread got me up and running, and to add the following for anyone who stumbles across this issue:
I was able to use this splitter: https://www.amazon.com/gp/product/B00NSBVNCM/ref=ppx_yo_dt_b_asin_title_o03_s01?ie=UTF8&psc=1
With the USB A male end connected to this power bank (it was the smallest one I could find, but it annoyingly requires you to press a button to start charging, instead of just turning on whenever something is plugged in, so I would recommend something else): https://www.amazon.com/gp/product/B005X1Y7I2/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
And the male micro end connected to my keyboard.
Then a regular male USB A to male USB C cable to connect to the reMarkable 2.
But before plugging everything in I did an ssh @.***, and ran:
reMarkable: ~/ echo host > /sys/kernel/debug/ci_hdrc.0/role
And then it just worked. I can use the keyboard to write emails to myself from the "convert to text" interface, so I assume that once I get keywriter installed I'll have a great little portable typewriter with a nice mechanical keyboard.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dps/remarkable-keywriter/issues/14#issuecomment-832292771, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPDM6KKEGGM4CYH2L6HN7TTMBZHRANCNFSM4U3SSBWA .
Just to keep people informed, It's not working yet, i receive most parts BUT the Female to Female adapter. I did receive aA Female to Micro B male, but it does not seems to send data at all (tested directly on the pc).
So I'll have to wait to get my hands on the F-F adapter. But the battery charges the RM2 through the Y split effectively, that's still a win.
@Baccanno have you found success yet? Did the F-F adapter arrive and did it work, or did you need to make other changes? I'd love to imitate your success!
Super quick question. I have an usb C keyboard and I am trying to make it work with this adapter: usb-c splittler is this a good idea??
Hi @josuevalrob please see the comment from @ianthehenry for how to get the USB C to work. You can do it without soldering, but you need to power it, so you need to buy a few more things... His and other comments on this thread should help you, otherwise, there is a reMarkable discord users channel that might be able to give you support as well.
@briankaemingk yeah, I saw it and looks like his splitter is for Remarkable one.
Hey all,
I just found this thread and have been coming up with some ideas. As they are missing still. I made some notes with what I think the actual wiring should be.
I'm thinking of getting some parts to create a compact solution to this. Depending on some details, it could be fairly elegant. There might be some gaps in my understanding, so please tell me if you see something that's wrong.
Here's some notes:
The first page shows the traditional usb-OTG configuration (using micro-USB). The host port has an extra sense pin. Putting a resistor over it tells it to go in host mode. It would be shorted in slave mode.
The type-C specification aims to be a little more universal. Technically OTG is not part of the specification at all. The host is decided by who provides the Vcc signal. This seems like a clever way of making it backwards compatible without a lot of struggles. I think there is some other handshake at connect (how else would it resolve two devices trying to be host?) but I don't really care for trying to understand it right now.
The reMarkable2 doesn't really support host mode in hardware I guess, but it can kinda be forced into it. The only shortcoming is that it won't provide Vcc, thus slave device won't recognize it as a host. An easy workaround is to provide Vcc from somewhere else.
Now on to the final implementation in the second picture. This seems to be basically what every working device on this thread actually comes down to.
What i could use help with:
I have a few ideas floating around to implement:
Before I found out the connecting over usb-c is possible, I was toying with the idea of building a wireless receiver into the case using the pogo pin connector (I think it should totally be just big enough). However, the elegance of that idea is kinda thrown out by the fact that the tablet still needs to be connected to power for the keyboard to work.
Now I'll leave this for a later date and sleep like I should have hours ago. I thought my reMarkable was supposed to make me more focused :P
Edit:
Following this thread with exitement - I don't have the technical proves to move it forward, but I really appreciate your groundbreaking work here
@iHnR check out my research at github.com/qubist/typeO and in the rm2-pogo-connector
channel on the reMarkable discord.
See prototype video of something close to what you're talking about, but using the pogo pins on the side of the device: https://www.youtube.com/watch?v=7q5tBEi4npA
It works with via USB-C with a keyboard, rM2 provides power to the keybord, one command was run on the rM2 to enable OTG, can charge at the same time
It seems that switching the USB-C port in host mode using this command:
echo host > /sys/kernel/debug/ci_hdrc.0/role
no longer works. Specifically, the tablet freezes and needs restarting (or restarts on its own). I suppose one of the recent updates has changed the way the port is switched to host mode, but I don't see any updates in the wiki (i.e., at https://remarkablewiki.com/tech/rm2_otg_pogo). Has anyone encountered the problem and found a fix?
echo 2 > /sys/otgcontrol/control/otg1_controllermode
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:
code lines beneath
are to be typed into your ssh terminal, or are returned by it...lsusb
--> nothing is returned, as expected.)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.)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!)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!!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.These commands could probably be automated with a script and some GUI on the RM2, so that we don't need to SSH each time, but I don't know how... :-/
Hope, this helps!
This is great CrayCJ, thanks a lot for reporting this.
Any idea what it would take to support rm2? I have one, and I'd be happy to help with the development and testing, but I might need some tips to get started. Thanks!