RISC OS, raspbery pi & lapdock query
Ross McGuinness (1739) 66 posts |
With the raspberry pi having been shown to work on a Motorola lapdock I went ahead and purchased one. With RISC OS on the SD card and the necessary connections the pi boots up and displays the desktop. Only problem is that the keyboard and touch pad don’t respond. After a short time the screen saver kicks and boy oh boy does the swarm fly! Can anyone who has successfully joined the two let me into the secret of how to get the keyboard and touch pad active please? :-) |
andym (447) 473 posts |
How have you connected the keyboard and touchpad? On mine, I used a Blackberry split charger cable, like this one and took one part directly to the microUSB power-in part of the Pi. The other one I split to cut the red (power) cable and used a microUSB-USB adaptor, like this one and plugged it into the Pi’s USB port. This also enables the two USB ports on the LapDock. There is a picture of my wiring here but it’s not that helpful. I need to point out that the LIKE this one bits may be relevant! My splitting cable is a BlackBerry original, and the MicroUSB to USB adaptor looks a LOT better made than the one I’ve linked to. I can’t remember where I bought them, but not from the places I’ve shown. They were the first ones I could find in Google Images! |
Ralph Barrett (1603) 154 posts |
I’ve had a Lapdock for a while and it works well with RiscOS on the RPi. Only issue that I get is occasional ‘stuck-down’ keys on the Lapdockkkkkkkkkkkkkkkkkkkkk. Note that this is probably an issue with the RPi USB drivers or voltage levels and not an issue with the Lapdock AFAIK. Not tried the Lapdock on my newer 512Mbyte Welsh-built RPis – these should be better as the RPi Pico fuses have been eliminated from the newer design. Most issues with the Lapdock are due to a low 5volt rail on the RPi (i.e. an inadequate power supply or voltage drop due to the older RPis pico fuses etc). Q. How are you powering your RPi (If from Lapdock via which RPi socket?) ? Q. How have you cabled up the RPi to the Lapdock (there are several options) ? Q. Do external USB devices work OK on the RPi in the Lapdocks own USB sockets (these should work) ? Q. What revision of RPi do you have ? Q. What RiscOS build version are you using ? Make sure that your USB data cable for the RPi→Lapdock has the data wires included (some cables have just power). Have a search of this forum, and also the main RPi forum for more information on the Lapdock/RPi. Also Google is your friend… Ralph |
Raik (463) 2061 posts |
I have try this and with this Any question? ;-) |
Raik (463) 2061 posts |
Sorry, I was in my car on the road with no traffic (means traffic jam) ;-) Power: No problems with powering from Lapdock USB micro to RPi USB Host. I have a 16GB MiniUSBStick in the 2. RPi Host and my UMTSStick in the Lapdock USB. No problems. I have a “old” 256MB and a new 512MB one. Both works fine. I use the last Distro with NutPi and a December ROM. Too many I’s ;-) |
Tim Rowledge (1742) 170 posts |
I don’t think you need to blame the lap dock; I have a 512 Pi that has the same keyboard issue whether the kbd is connected via the onboard sockets or the hub in my NewerTechnology miniStack hacked-up case. It doesn’t happen often but it somehow knows when the worst time is. |
Raik (463) 2061 posts |
Sorry I don’t understand your post. My english is to bad and google translate confused me. My Lapdock etc. works fine. |
Ross McGuinness (1739) 66 posts |
Thanks Andy, Tim, Raik and Ralph for your advice. I will persist with various combinations once the battery recharges. Although the pi power was cut when lid of lapdock closed the USB port must have continued to draw power as the battery is showing less than full – a lot less! Thanks to your contributions I have a number of avenues to pursue knowing that the keyboard should indeed operate. I’ll switch cables around as I have a few different types. |
Raik (463) 2061 posts |
The “problem” is that I did some experiments, and stayed in the variant micro switch in USB connector. I just turn off +5 V. I think the same make CJE with her “light switch”. |
Ralph Barrett (1603) 154 posts |
<I will persist with various combinations once the battery recharges. Although the pi power was cut when lid of lapdock closed the USB port must have continued to draw power as the battery is showing less than full – a lot less!> When the Lapdock lid is closed the power on the USB/HDMI? ports is only momentarily cut for about a second, then the power comes on again with the Lapdock lid in the closed position. This is unfortunate for RPi users, although this is the way the Lapdock was designed to work by Motorola. There is lots of discussion of various hacks for changing this on the ’net (mostly on non-RiscOS forums). Ralph |
Raik (463) 2061 posts |
This is what I have described above. According to Motorola, this function is hardwired. Therefore, there are the various switch versions (see my pictures above). |
Chris Evans (457) 1614 posts |
A lapdock does interesting things with power when you close and open it! |
Ross McGuinness (1739) 66 posts |
Raik: I like your handy work. Very neat solution – wish I was as confident as you ;-) Your comments have been very helpful. Chris: Thanks for taking the time to give a detailed explanation of what is happening. The in line power switch you offer looks great. |
Raik (463) 2061 posts |
Thank you. I had many opportunities to practice;-) |
Ross McGuinness (1739) 66 posts |
I found a neater solution to the USB cable/connectors on ebay it has a micro female USB to go on the lapdock and the other end is a male micro USB to go into the RPi – it is a right angle. ebay The cable is also short at around 10" so should be suited to the lapdock/pi combination with a little paring and sandpapering to get the female plug to sit alongside the HDMI coupler. |
Austin (1848) 1 post |
Not sure if you fixed the initial problem. I experienced exactly the same problem and it turned out to be a problem with my micro usb cable, it was power only, not data. |
Chris Evans (457) 1614 posts |
Ross: That cable would connect up power from a LapDock to the Pi’s microUSB power input, but that socket on the Pi is only for power the USB lines are not connected. |
Ross McGuinness (1739) 66 posts |
By shuffling the cables and trying different combinations as suggested above I’ve got it working correctly. Have ordered a number of the switched USB power cables from Chris to tidy up the whole setup. Next task is to install software to enable the touch pad to provide a ‘menu’ button function. Thanks to everyone for their time and contribution to help me resolve the matter. |
Steve Drain (222) 1620 posts |
At the South West show I brought along my minimalist Rasperry Pip for the Lapdock. Several people showed an interest, so I have posted some pictures at: http://www.kappa.me.uk/raspberry_pip.htmIt is not an adaptation for the faint hearted, but is quite neat. |
Erich Kraehenbuehl (1634) 181 posts |
i got the same prob on my lapdock: |
Matthew Harris (1462) 36 posts |
Steve, which adapters and enclosure did you use? I’m interested in doing something similar with my Lapdock 100 and an original model B. |
Raik (463) 2061 posts |
@Steve Drain Yours looks like mine ;-) |
Steve Drain (222) 1620 posts |
But chunkier. ;-) A nice piece of work, but you will have to get out the desoldering tools. It is a shame that there is little prospect of the Pi being available from the production line before the hand fitted components are soldered in. |
Raik (463) 2061 posts |
;-) I have nothing desoldered because I use original Tekberry box with the Model A and I use a afruit realtime clock (not on the pictures) and a small afruit SD to microSD adapter. |
Steve Drain (222) 1620 posts |
@Raik Your SchlepPi uses the AdaFruit clock module. I have used the CJEMicros unit. It is more expensive, but I know it works out of the box. Does yours? |