• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Hardware and U-Boot firmware / Hardware / Re: "Official" replacement PSUs - anyone had one? on: November 26, 2010, 03:10:15 PM
Having just replaced my PSU with the official replacement PSU from GlobalScale Technologies, I thought I would add some details about the procedure to help others.

1. I ordered the replacement from the GlobalScale website and had it in a week, exactly as they promised. You can order it here: http://www.globalscaletechnologies.com/p-36-sheevaplug-power-supply.aspx

2. I opened the case of my SheevaPlug following the directions in the document available from GlobalScale:

3. I was able to proceed through steps 1 to 5 with no problems. However, on step 6, I discovered that one of the plastic tabs under the screws holding the AC inlet in place was already broken and in the process of prying the AC inlet out, I broke the other one off, as the instructions warn you not to do. But there was no reason for the warning because the replacement PSU has a new AC inlet so it doesn't matter whether you break the old one.

4. I had a fair amount of trouble getting the old PSU out until I noticed that the plastic "locking pieces" described in step 7a are actually locking onto the thin metals sides that contain the old PSU. Once I dug my flathead screwdriver into exactly the right place and pulled up on the cables coming out of the PSU, I was able to release each corner and finally the whole thing came out.

5. In step 9, the directions say to "prepare a new AC-DC module", without telling you how you are supposed to prepare it. It turns out that you need to remove the black plastic insulation cover from the bottom of the new PSU, which is how it is shipped -- at least mine was, and insert the PSU in place of the old one. Instead, I put the new PSU in place with the black plastic cover still on the bottom. Nothing fit very well and I'm lucky I didn't damage anything putting it into place. After a bunch of fiddling and looking carefully at the instructions, I realized that they meant you to remove the plastic cover first before installing the new PSU. Once I did that, everything fit much better and I now had the insulating cover ready to install at step 17.

6. Steps 10 - 15 are the most difficult part of the whole procedure, but mainly because of the instructions. They show the AC inlet being angled down into the piece it has to fit into (step 11) but when I did it this way, I was completely unable to get it to snap into place, even though I took great care to line up the pieces just like the instructions say. After many tries, I was almost ready to give up on the whole thing when I figured out the correct way to install it. You need to place the AC inlet so the screw tabs are lined up with the screw holes and resting on them and then force the other end of the inlet into place, making sure you have proper alignment as shown in step 12. If you have everything aligned, the end of the inlet away from the PSU will snap into place with a satisfying "crack".

7. The rest of the steps are straightforward except for one small detail. In step 20, the small rubber "stands" have a groove in them that needs to be aligned with a ridge in the hole they go into. You can see this in the step 20 photo but no mention is made of it. Be sure to push the stands all the way in or your SheevaPlug will rock back and forth when placed on a flat surface.

That's it. It was a lot trickier than I thought it would be but definitely doable by anyone that's good with a screwdriver. Hopefully, these details will prevent others from making the same mistakes I did.

By the way, once I buttoned up the case and plugged in the SheevaPlug, it powered right up and worked just like new.


2  Linux Stuff / Kernel / how to handle apps using mmap() on: August 30, 2009, 06:44:29 PM
I'm trying to get rrdtool to work under collectd. When I first tried, rrdtool gave a mmap error when it tried to update its datafile. I read a post in the Forum that said the JFFS2 file system doesn't support mmap(), so I moved the data file to tmpfs just like debian does with the apt cache for the same reason. That eliminated the mmap error, but has the unfortunate side effect that the datafile will disappear on reboot.

Does anyone have any suggestions about somewhere else to put the data file that will work with mmap but will survive a reboot?
3  General Category / General Discussion / Re: how to read USB port on: August 24, 2009, 12:55:37 PM
Getting back to the original topic, I found out that the SheevaPlug does not come with a module to handle USB devices that use a FTDI chip to do usbserial communication (see Topic: FTDI Device on the Sheeva). The easiest solution is to install one of cbxbiker61's prebuilt  kernels with the required module (see http://plugcomputer.org/plugwiki/index.php/Install_Prebuilt_Kernels_From_sheeva.with-linux.com on how to do that).

I was able to update my kernel and I now see /dev/ttyUSB0 when I connect the Energy Detective. Now I'm trying to get collectd to read it.

Thanks for everyone's help.
4  General Category / General Discussion / Re: how to read USB port on: August 24, 2009, 05:06:20 AM
My Sheevaplug doesn't seem to have lsusb:

root@debian:~# echo $PATH

root@debian:~# lsusb -v
-bash: lsusb: command not found

5  General Category / General Discussion / Re: how to read USB port on: August 23, 2009, 08:16:30 PM
OK, I'm pretty much a newbie. Hold my hand.

For starters: how do I get lsusb?

root@debian:~# apt-get install lsusb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package lsusb

6  General Category / General Discussion / how to read USB port on: August 23, 2009, 06:50:12 AM
I'm trying to read the USB 2.0 port on the Sheevaplug using the collectd application running on the Sheevaplug itself. I've attached a device (The Energy Detective) to the USB 2.0 port but nothing shows up in /dev. I was expecting to get /dev/ttyUSB1 (or /dev/ttyUSB2) or something but get nothing. dmesg shows the following when I plug in the device:

usb 1-1: new full speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice

So something is happening but it seems like there is no driver on the Sheevaplug for recognizing the usbserial chip in the Energy Detective.

Any idea what I'm doing wrong?
Pages: [1]