Remotely Wake-up Keyboard Dock - Eee Pad Transformer Q&A, Help & Troubleshooting

Hi folks,
I have a rooted TF101 that I've assigned a very important role - to act as a WiFi connected serial console to my Linux server (idea being that, if my server has no IP connectivity, I can still remotely access it by connecting through my TF101).
The set up is pretty simple:
- Rooted TF101 (KatKiss 5.1.1_030c) with keyboard dock
- Dropbear SSH daemon running (clean and tight bot of software!)
- Busybody (provides 'microcom' terminal emulation amongst other things)
- USB to RS232 Serial cable connecting to the serial port on my server
The TF101 is docked, and the USB->RS232 Serial cable is via the USB port in the keyboard dock.
It all works rather well - boot messages are streamed to the serial terminal as well as the standard Linux virtual one, and the boot process finishes with a login prompt on the serial terminal. Great!
The problem is this:
If the TF101 is *not* connected to the power supply, the keyboard Dock eventually goes to sleep, and the serial port is not available. The only way to wake it up, is to physically open the 'lid' and everything is available once again. Not exactly conducive to remote access!
This is not an issue if the TF101 is connected to the power supply, but I want to be able to switch the power supply on or off as needed in order to not ruin the batteries by having them constantly connected to the charger long-term (the easy method will be via a standard mains timer, but I'm also considering getting the TF101 to control the power supply and charge itself when the batteries drop below a set threshold)...
So, the question is: is there a method to wake the keyboard dock remotely (i.e. from the command line)?
I expect that there is, I just haven't been able to find out how...
[Additional: For some reason, there is no option to keep the keyboard dock awake under "Settings->Dock->Dock Power Mode - WakeUp tablet with key press" - The 'Dock Power Mode' section is simply not there - no idea why. Also no idea if this would resolve the issue or not...]
Looking forward to some handy solutions!

Related

[Q] Laptop Dock for All Devices?

I know this might be tough and might not work for all devices, but can we make something, via USB cables/Bluetooth/WiFi or whatsoever to dock our phone to our laptop/desktop?
Perhaps a program for the Windows to show the display of the phone at phone's resolution. Then mouse to navigate within Android (we'll lose multi-touch though - no pinch-to-zoom) and of course keyboard to perform what it should.
Is it very hard to realise?
What I have been thinking is to get the display out, let the mouse be our finger and each keyboard button to map to the alphabet input to the phone.
Impossible?
(Disclaimer: I have zero knowledge in developing an apps or software. It's just a wild idea I have after watching the laptop dock of Atrix)
VNC? Host VNC on the phone and connect to it from a laptop/PC. It'd run slow and **** though.
Webkey (ROOT REQUIRED) accomplishes this with a browser interface over WiFi, I'm not sure if it works over the USB cable.

Can not sync wireless X360 pad to USB/BT Joystick Center

I have the J>T plugin installed, and it's yellow.
IME is yellow.
BT is OFF.
Analog-Key-Mode is ON.
I plug the Receiver in, and sync my controller. The controller only shows one connected quadrant, which is correct.
The controller shows up on my tablet as "X360 CTRL Wireless (1)".
However, I keep seeing: "Your Android-Device can not handle this amount of Joysticks!"
The app (or other apps) do not seem to register any controller presses.
Any ideas?
King Mustard said:
I have the J>T plugin installed, and it's yellow.
IME is yellow.
BT is OFF.
Analog-Key-Mode is ON.
I plug the Receiver in, and sync my controller. The controller only shows one connected quadrant, which is correct.
The controller shows up on my tablet as "X360 CTRL Wireless (1)".
However, I keep seeing: "Your Android-Device can not handle this amount of Joysticks!"
The app (or other apps) do not seem to register any controller presses.
Any ideas?
Click to expand...
Click to collapse
I had the same problem with galaxy GS3 and PS3 Controller. If you Use USB OTG cable then change it. Every other devices was working all right with this cable except an error you mentioned. I accidentally found that fault when plugging and unplugging device.
I bought this type of USB OTG on ebay and the connection is really tight.
Here's ebay item number. 170939379849
Hopefully works

[Q] Regarding ElementalX Kernel

I have a custom USB peripheral that I use to communicate through USB OTG of the tablet. The device is wired in such a way, that I don't use a Y-cable. In the USB line, I have wired it so that the device can either be powered by the tablet, or it can be powered by an external power supply.
Scenario A:
---------------
When the USB peripheral device is self-powered, it directs power to itself and sends the power to the tablet as well. The tablet is charging while hosting the peripheral device. The USB connection is still intact.
When the power is pulled, the USB peripheral device shuts off completely. What should happen is when the power is pulled, the tablet should detect this and start supplying power to the USB peripheral. This doesn't happen for some reason, until the tablet is rebooted. When the tablet reboots, it detects that there is a USB device plugged in, and starts supplying power.
Scenario B:
--------------
When the USB peripheral is bus-powered, (meaning the tablet is currently supplying power to peripheral device and is currently hosting it), plugging in the power to the peripheral SHOULD start charging the tablet. This doesn't happen. Instead, the tablet continues to discharge.
So basically, I would like the tablet to supply power to the USB device when it detects that the power is gone. Alternatively, when the tablet detects power coming into its port, it should start charging.
Because I custom made the USB peripheral device, I am able to manually force the host to re-enumerate the device by pulling down the 1.5K pullup (hopefully you know which one I am talking about). Do you think this will work? In my application, I wouldn't have access to the OTG adapter and therefore I wouldn't be able to pull it out from the tablet. [That's what he said...]
How would I come to realize in my app that the power is lost and I need to re-initialize a new handle for the USB stream? Suppose I am able to do this, re-initializing the USB port will enable the tablet to start charging again?
Thanks.

Control S3 with broken screen

I have my wife's old S3. The screen is broken and the touch sensitivity doesn't work.
It is unlocked and I can connect it to my PC monitor with an MHL cable and see the screen. This requires a charging cable to be plugged in for it to work (not the case with the S4 and S5)
I have a USB keyboard and mouse which will control it using a USB OTG cable. If this is plugged in via the MHL cable on an S5 it doesn’t control the phone, so I guess the S3 will be the same even if I could get the screen to display after removing the charging cable.
I have a Chromecast so I could screen cast but would need a way to set this up on the phone first. Then I could just use the USB mouse and keyboard.
I want to install tasker, wake on lan and connect the phone to a wireless network. I will then use the phone to remotely wake a PC by sending it a text message (can’t set ARP entry in router). I already have this set up on an S4 at home. I have an S5 spare but don’t want to waste it for this purpose so would like to find a way to configure the S3.
Does anyone know how I can somehow access the S3 screen and also control the phone at the same time? I have seen a post referencing needing USB debugging but with very little other info.
Or, just in case, does anyone possibly know a way to run wol when the router doesn’t support it e.g. use a raspberry pi etc. so I can just forget the phone method?

Trouble using my Samsung Galaxy S9 with a USB-C Hub

My Samsung S9 has had some screen damage and the touchscreen mostly does not work.
In order to navigate it I must use a mouse that I connect to the phone using the supplied USB C- A adapter.
I wish to get my phone repaired but I wish to backup all the data upon it first.
If I plug my phone directly into my PC, it asks for my permission to allow the PC access. However, since the touchscreen does not work properly, I cannot press the button to accept.
I could not plug both the mouse and PC simultaneously.
So I bought a USB-C hub. (Actually I've bought several, none of them have worked, this latest one is the most expensive and I had hoped it would work - (https://www.amazon.co.uk/gp/product/B07ZVKTP53/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1).
It has a separate port for USB-C Power Delivery and a separate one for data.
I plug the attached USB-C cable from the hub into my phone, and then I plug my mouse into a regular USB port, my charger into the USB-C PD port, and another USB-C to A cable from the USB-C Data port on the hub into a USB port at the back of my (new) PC.
Now my computer does not recognise my phone at all, nor does my phone seem to acknowledge it is connected to a PC. The mouse still works upon the phone and it charges fine through the PD port. If I plug the phone straight into the PC, it is recognised, so I do not think the problem lies there. The hub seems to block communication between the phone and PC.
I would like to backup my data and get my phone repaired. If anyone can solve the USB-C Hub issue or propose another solution to my problem then I would be grateful.
A mouse and keyboard will take priority over anything else in a hub.
I'm betting the hub's power is 2000mA or 2.0 Amps.
What does your fone charger state its power is? Add the mouse, keyboard, and fone's milliamps together. If it's more than the hub's power pack supplies....
In this situation, I would use Vysor, this will defo solve your problem, it allows you work with your fone on your pc/lappy by providing a lovely window that is a duplicate of your fone screen, you'll be glad you found this!!!
I can provide an old cracked version I used for my emergencies, if there is no objections?
Then you'll only need the mouse to use as your finger
Google Vysor. case closed lol.
Pachacouti said:
A mouse and keyboard will take priority over anything else in a hub.
I'm betting the hub's power is 2000mA or 2.0 Amps.
What does your fone charger state its power is? Add the mouse, keyboard, and fone's milliamps together. If it's more than the hub's power pack supplies....
In this situation, I would use Vysor, this will defo solve your problem, it allows you work with your fone on your pc/lappy by providing a lovely window that is a duplicate of your fone screen, you'll be glad you found this!!!
I can provide an old cracked version I used for my emergencies, if there is no objections?
Then you'll only need the mouse to use as your finger
Google Vysor. case closed lol.
Click to expand...
Click to collapse
Hi
Thanks for your reply
It's not a battery hub, but just a USB-C hub (check the link). Power comes from the PD USB-C port which is hooked up to my phone's original USB-C charger.
It also fails to work even when a mouse isn't attached to it.
I will look into Vysor. Also thought about the possibility of using a standalone bluetooth mouse which would free up the cable.
Your fone will suck the life out of a poorly powered hub, by using vysor, your pc/lappy mouse will work your fone using vysor, best app I've ever seen for working with broken screens, just plug phone direct into lappy, vysor works if you've no screen at all!!!!!
Use
Vysor
www.vysor.io
...Njoi
Dont pay for mouses/hubs in this scenario. Just pay for a top quality tool. I would place this as my number one android tool for ANY fone.
Again, if all your doing is data recovery (saving your stuff) I have a patch for an earlier version to unlock full version I swear by, you could use this once if only to try before you buy
The hub supports 85W fast charging directly from mains, which is what it is getting.
How do I enable USB debugging specifically for the app?
I have enabled it in developer options but when I connect my phone via USB to my computer as per the Vysor app, another window pops up on my phone asking to allow USB debugging. Ask there is no mouse attached to the phone at this point, I am unable to allow it.

Categories

Resources