Google Nexus One Phone and Plugable’s Universal Dock

Posted on 27. Jun, 2010 by Bernie Thompson in udlfb

Sven Killig has posted a few more bits of his cool Google Nexus One USB host mode work, this time running with the Plugable Universal Docking Station.

Plugable UD-160-A driving big display and more for Nexus One

Plugable UD-160-A driving 1920x1080 display and more, all from a humble Nexus One phone

This setup uses the udlfb DisplayLink Linux driver work from here (git.plugable.com) and a bunch of other components Sven has developed or pulled together, to turn the phone into a full computer with display, keyboard, audio and more. His video of this has gone viral (over 85,000 views). You can see the video and full instructions at Sven’s site. Very cool.

The photo above is of the Plugable UD-160-A Universal Docking Station, in use at Sven’s desk (the dock is laying on its side to better fit in the photo – Sven has removed the weighted bottom stand).

The Plugable dock is perfect for this kind of application with the Nexus One phone — it includes all the USB devices in one place, all with open source drivers. The dock has its own 2.5A AC power (see the USB dual-power Y cable plugged into the front USB A and back USB B ports), along with driving the 1920×1080 monitor (the big DVI cable in the back), and providing ethernet (above the DVI) and audio (in the front – he doesn’t have them plugged in in the pic).

So this all is great for geeks, but when will this work out of the box? Several comments on Sven’s work are messages like “Google! Integrate this into Android now!”

With Google offices near here, and with related USB terminal work on the same Plugable dock being funded as a Google Summer of Code project, it would be great to demo this and get things moving… Whatcha say, Google!?

Workaround for Mac OS X Conflicts between DisplayLink and USB ethernet

Posted on 16. Jun, 2010 by Bernie Thompson in Using

Plugable uses DisplayLink chips for USB graphics, and ASIX chips for USB Ethernet functionality. And we have both chips in devices like our Plugable USB 2.0 Universal Docking Station.

Unfortunately, on Mac OS X, there is a conflict between recent DisplayLink drivers 1.5+ and the Apple drivers (AppleUSBEthernet) for ASIX chips. The DisplayLink drivers appear to open other USB devices as part of enumeration. As a side effect, this causes USB ethernet devices to show as “disconnected” upon return from system boot or hibernate.

That’s in addition to other graphics and ethernet driver compatibility breaks that Apple’s recent OS X 10.6 updates have introduced, including breaking AppleUSBEthernet for non-Apple USB ethernet hardware.

Until these issues settle down and are fixed in the drivers from DisplayLink, ASIX, and Apple, here is a workaround for the current issues with the ethernet function of the Plugable Universal Docking Station:

Step 1 is to download and install ASIX drivers that are compatible with recent Mac OS X 10.6: http://plugable.com/wp-content/uploads/2010/04/AppleDefaultDriver_v2.1.5.zip

Step 2 is to copy the following script to a file (call it “install”), and run “sudo ./install”

#!/bin/bash
sudo echo "#!/bin/bash" > /usr/bin/plugable-eth-reset
sudo echo kextunload -b com.apple.driver.AppleUSBEthernet >> /usr/bin/plugable-eth-reset
sudo echo kextload -b com.apple.driver.AppleUSBEthernet >> /usr/bin/plugable-eth-reset
sudo chown root /usr/bin/plugable-eth-reset
sudo chmod o+x /usr/bin/plugable-eth-reset
sudo defaults write com.apple.loginwindow LoginHook /usr/bin/plugable-eth-reset

Now, logging out and logging back in will automatically reload the ethernet driver. Unfortunately, this does not cover the return from low-power cases. Unless we find an improvement to the workaround, you’ll have to log out/log in or just run “sudo /usr/bin/eth-reset” so trigger the script.

As there may be variations in systems out there, please comment if you get different results, and we’ll post an update here at Plugable if (as we hope) this is fixed more directly in the DisplayLink or ASIX drivers in the future.

And, generally if you’re a Mac OS X user, please be cautious about OS updates which might break 3rd party hardware drivers. If you have non-Apple USB hardware, consider deferring updates until there’s time for other people to report on forums about compatibility.

The Nexus One Phone-Top

Posted on 09. Jun, 2010 by Bernie Thompson in udlfb

Sven Killig has a sense of where computing is headed: Powerful computers are everywhere, including in your pocket. And he has the skills to push things ahead, to show us glimpses of what’s coming.

Last year, he demoed turning your router into a full-fledged computer.

This year, it’s the Google Nexus One phone as a full computer — with attached external keyboard, mouse, display, and more.

The Nexus One demo is using the udlfb Linux kernel module to talk with the DisplayLink device, and it will work with any DisplayLink device, including Plugable’s.

Note the version of udlfb in the 2.6.34 staging tree unfortunately didn’t work for Sven. So he’s now using the latest udlfb from http://git.plugable.com/, which will likely get merged in for kernel 2.6.36.

Also, he used a dual headed cable to get enough power. A powered hub or a docking station/terminal like the UD-160-A won’t need that — it supplies its own power from AC – all the hardware needed is in the one package.

It’s exciting to have all this open source work come together in interesting demos like this.

There was a question recently why udlfb doesn’t use the same compression technique as the Windows drivers. Among other reasons, one is that the RL compression used by udlfb scales down to devices like the ones Sven has been working on — it’s as light as possible on CPU load, while getting decent compression.

Stepping back, it’s clear Apple (and now Microsoft) are making a mistake by limiting the hardware ecosystem around their devices. Android and the other Linux variants have an opportunity here — and considering the Apple juggernaut, they definitely need every advantage.

Sven’s demos show how powerful these scenarios can be. The hardware is ready. Devices like Plugable’s are designed with these scenarios in mind. Now we need to get the software refined and included in standard distributions, so normal consumers can take advantage of all the possibilities and benefits here.

Page 1 of 111234510...Last »