Dell Mini 9 Touchscreen installation



Please send any sugestion/comments/offers to
mini9_at_restmass_dot_net
(click or remove spam scrambling). 

UPDATE 3: <jump>
I've decided to sell it.  Need some Xmas cash.

UPDATE 2:
<jump>
I have a howto on creating your own shell script to activate the touchscreen.  Click here to jump to it.

UPDATE 1: <jump>
Please, please, PLEASE read this document all the way through. I have some updated info where I used the famous GPS hack to connect the touchscreen controller to the internal USB hub, thereby getting my third USB slot back! I have a working touch screen install on a Dell Mini 9 running Dell's Ubuntu. At one point I was running Ubuntu 8.10 on it, but I decided to revert back to the Dell distro because I wanted to do this from the point of view of the typical buyer... or future warranty voider in this case.
Anyway, I need to start out by saying several things:
  1. I really bought my Mini on a whim that I would use it for some writing while I'm on break and my job (I'm a NASA contractor in Houston) kind of frowns on using their computers. I thought that the small form factor and long battery life would be ideal for some short stories and novels that I have been working on sporadically over the past several years. Sadly, the keyboard has pretty much been a deal breaker for me... after a couple of months I just haven't been able to get used to it. I was thinking of selling it (hey, make me an offer!), then I decided to try and put a touch screen on it, for kicks.
  2. I take no responsibility for how much or how little you screw up your computer. If you're even reading this, then you're the type of person who is not afraid of voiding your warranty. For the adventurous, the additional pin 36/38 soldering is very tedious... it took me over an hour to finally get it right. If you are unsure, I recommend the easier sacrificial-USB-slot method. It's not like you'll be plugging a lot of external devices into it... kind of defeats the purpose of an ultra portable netbook, right?
Now, to the meat.
(Click on any picture for a much, much larger view)

HARDWARE:

First, I don't want to rehash how to disassemble the Mini, so I will refer you to the online manual at  http://support.dell.com/support/edocs/systems/ins910/en/sm/index.htm.   Mighty nice of them to provide this info, almost like they WANTED us to hack it.  In particular, refer to these.
Tools needed
Plastic Thingy Everything else, including wiring, was included in the kit I bought from eBay seller toptouchscreen. Don't expect a lot of help... English is not his first language and his touchscreen kits were built for eee PCs.
I started out by reading a few articles on installing a touch screen for the eee PC, but the interior motherboard design was radically different, so I pretty much took the Mini apart and winged it. I tested the touch screen out by first soldering it to a USB cable that I cut and stripped.  I highly suggest this as it is easier to make sure you have the wiring correct and that your touchscreen is fully functional.  The pin out's for USB cable are widely available on the Inter-tubes, or you can just use the same color coding that I have in the picture below.  I took the other end and wired it up to the touchscreen's contacts, as seen here.


USB side wiring

I set the touchscreen off to the side and just plugged the USB into a slot and ran the driver software provided at http://home.eeti.com.tw/web20/eg/drivers.htm. (NOTE: I used the beta Linux version and have had no problems... and don't forget to run this as root.)
Of course the touchscreen didn't work at first, so I finally figured out the wiring on the USB and touchscreen was wrong. After that tested successfully, I went about installing it. 
In my trail-an-error process to do this, I didn't photodocument some of the steps because I simply didn't have the patience. Most of the pictures you see are taken after I installed it.  Again, refer to Dell's disassembly manuals.

Money shot of Dell motherboard backside

Using my method, the motherboard will have to be completely removed for access to the underside. The biggest disappointment was that I had to sacrifice an external USB slot. Hopefully someone will find the USB hub points to wire this up better. (UPDATE:  Someone did, and I rewired it.  Skip to the end of this article for more info.)

Closeup of USB solder job.

This connects to the USB touchscreen controller (shown on right)...

USB controller wired

... and the touchscreen controller (on the left side) to the touchscreen connector leads (note wire colors... so very important!)

controller plug wiring

The wiring for this messed me up for a while, but in the picture above the wiring is:

Connector

One side of this connector has four grooves: note this for later when you connect the touchscreen.

Now, wrap the whole thing in electrical tape so it won't short out.

USB wrapped

At this point I was fortunate that I had the US version since I had plenty of room to put the USB touchscreen controller where the WWAN would go.

USB controller placement

Sorry UKers... you'll have to find another place to put it. I think there is enough room to put it somewhere under the palm rest close to the touch pad, similar to where the GPS hack guy put his. Might have to toss out the BlueTooth, though.  Please send me pictures and I'll update this howto.


Route the wiring however you'd like, but take care that you have the room when you screw the motherboard back down to the chassis. For this particular touchscreen, the lead was on the left side, so I ran the wires under the motherboard and up by the right hinge.

hinge wiring

... and from farther out.

display

Important!  Connecting the touchscreen to the LCD.

I read several eee PC hack reports of people breaking their touchscreens at this step, but everyone seemed to be using the thicker double-sided tape. I opted to used regular Scotch tape, double-sided. It's much thinner and it seems to work very well.  Make sure that you have no overlap onto the viewable areas of the LCD display.

A few closeups.

Taped up

Taped up, right

Taped up, lower

And now with the display bezel back on, the hinge should look something like this.  You may have some gap issues around the LDC display here... I'm not sure what to do about it at this point.  I permenant solution would be to epoxy it, but you're pretty much screwed if you have to take it off.  Another thing I'd like to see would be for the hinge to be able to travel all the way back 180 degrees flat.  Oh well.

Bezel replaced


Now, just put it all back together and start it up. On my computer, I attached the touchscreen controller to the left front USB plug, so that port is no longer usable. 

SOFTWARE:

One problem that I haven't completely fixed yet is the fact that the device is not recognized at startup by Linux. If I do a restart of udev (from terminal run sudo /etc/init.d/udev restart) it will recognized it without a problem. I did a dmesg dump and have the hardware settings, so I think I just need to find out where to register this and it should work. I welcome any Linux gurus out there to tell me where to do this.

NOTE: An interesting side effect of canibalizing the left front USB plug is that if you plug in a USB device (like a thumbdrive) into the “dead� plug and remove it, it will trigger an initialization of device recognition. Weird... but whatever.

You can download the drivers and the specs for this USB controller at http://home.eeti.com.tw/web20/eg/drivers.htm

I downloaded them, untarred it local, and ran the install script. From a command terminal, run the program TouchKit and root (sudo TouchKit), and step through the calibration process.  Windows and OS X users - do whatever their manual says.


ISSUES:

I have uploaded a few demo videos online at http://www.youtube.com/deldotb. Check them out. I am open to suggestions or comments.


UPDATE 1!!!!!:

Internal USB hub connection

Well, after posting all the forum notes and whatnot, someone told me about the GPS hack and what I now call the “pin 36/38� hack. The guy who did this found out that the PCI-e WWAN connectors have a D+ and D- on pins 36 and 38, respectively. So, I went to work.

All I did was remove the bottom cover and snip the white and green D+/D- connections. The black and red lines are simply power supply and should not affect the USB port. I then soldered two separate wires to the #36 and #38 pins (see pic)


PCI-e connections

That's it. Right.  Easy and cake.  Bullsh!t.  It took me an hour to get the teeny-tiny hairlike wires connected.  Arg!
Put some electrical tape over these connections. The reason I didn't solder the white/green wires directly to the motherboard will soon become apparent. I cannot get the D+/D- lines correct to same my life. Of course I had them reversed, but now all I had to do was switch the wires instead of re-soldering them. Here's a final picture of the setup. Pin 36/Yellow goes to white, pin 38/white goes to green.


in place

I also cut out a small square on the USB controller to allow the error LED to be seen from below. See my driver setup video on YouTube and you'll see why.


Final notes/comments/observations:

The case is not fitting as well around display. Has a gap now, but I guess that's to be expected. It could also be from the frequent times I removed/replace the display bezel. You mileage may vary here.

Another thing... tape a paper towel or some cushion to the back of your display. I had many small scratches on the surface after this project, and you want to keep your computer looking sharp.

Funny thing is that this will have to be revisited now that Dell is shipping the American computers with the WWAN filled... well, we still have the USB hack, I guess.

Once again, please send any sugestion/comments to mini9_at_restmass_dot_net (remove spam scrambling). 

Another thing - this Mini is for sale
I'm entertaining offers.  I'm not going to ask outrageous bucks for it, but would like to get most of my money back for it.  It's the 16Gb model with Ubuntu, and I have a nice red Timbuk2 carry case that goes with it.  Have all orignal manuals, DVDs, and the original 512 Mb memory module that went with it.  Oh, did I forget?  It also has a 2Gb SODIMM in it!  I might just go ahead and put it up on eBay this weekend.

UPDATE 2!!!
Shell script panel icon howto


Many, many thanks to the mini and eee modders that paved the way for this hack.