Please login or register.

Login with username, password and session length

Author Topic: Any uses for a Sheeva Plug?  (Read 23703 times)

Deemar

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
Any uses for a Sheeva Plug?
« on: April 21, 2010, 03:29:46 PM »

For anyone that doesn't know, a Sheeva Plug is a tiny little computer as big as a cell phone with no moving parts that comes shipped with Ubuntu 9.04. You can SSH into it and install Apache or Heyu or anything else Linux based so has anyone actually used one to run home automation? It could solve a lot of issues for people with tight space requirements, is there anything missing that you can see? It only has USB ports so are there any USB based transmitters which have Linux drivers?
Logged

Brandt

  • Hero Member
  • *****
  • Helpful Post Rating: 11
  • Posts: 728
  • Sorry miss, I was giving myself an oil-job.
Re: Any uses for a Sheeva Plug?
« Reply #1 on: April 21, 2010, 04:20:44 PM »

I'm running everything on a NAS that runs linux and only has USB ports....
Logged

Deemar

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
Re: Any uses for a Sheeva Plug?
« Reply #2 on: April 21, 2010, 06:08:55 PM »

Are you running Heyu? Which transmitter are you using? CM15A? Where did you get drivers? Will the CM11A work with a serial - USB adapter you think? Do you think it would support USB video output to a little touchscreen?
Logged

Brandt

  • Hero Member
  • *****
  • Helpful Post Rating: 11
  • Posts: 728
  • Sorry miss, I was giving myself an oil-job.
Re: Any uses for a Sheeva Plug?
« Reply #3 on: April 21, 2010, 07:07:11 PM »

I bet I could get an HA system up and running on a sheevaplug....

I run Heyu 2.8.0 with a CM11a, all that was required was that I had to cross-compile two loadable kernel modules: ftdi_sio.ko (source from ftdi website), and usbserial.ko, and then do an 'insmod'

I run the php heyu frontend domus.Link which requires apache2.x and php5

I can also run text-to-speech and voice recognition on it using a USB audio adapter and cross-compiled Flite or Festival and Julius or Pocketsphinx

I programmed my own php Dialog Manager as a liaison between Julius and Heyu.

As far as touch screens go, I use the Nokia Internet Tablet series (cheap on ebay; 770, N800, N810, N900) and bring up domus.Link (which i'm on the devel team) on it's browser.
Logged

Deemar

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
Re: Any uses for a Sheeva Plug?
« Reply #4 on: April 26, 2010, 05:23:26 PM »

So after some research it seems that there are some USB-VGA adapters for the Sheeva plug which will work and also some Mimi720 USB LCD which have compatible drivers....you just have to recompile your distribution of Linux with the drivers included. But an easier option is to just pick up a GuruPlug which is the next generation plug computer and includes HDMI video output.
Logged

Brandt

  • Hero Member
  • *****
  • Helpful Post Rating: 11
  • Posts: 728
  • Sorry miss, I was giving myself an oil-job.
Re: Any uses for a Sheeva Plug?
« Reply #5 on: April 26, 2010, 05:50:19 PM »

you don't need to necessarily recompile your kernel, you can just configure the drivers as loadable modules, and load them in during boot time with insmod
Logged

pconroy

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 294
Re: Any uses for a Sheeva Plug?
« Reply #6 on: April 26, 2010, 07:15:26 PM »

Will the CM11A work with a serial - USB adapter you think?

Mine did not - it didn't work with the cheapo CH341/Prolific chip based cable I bought.
The adapter is fine - as it drives my old Garmin GPS unit.  The CM11A probably wants to see more than the TX/RX and ground pins live.  :)
Supposedly some of the better adapters (Keyspan ? ? ?) do a better job.

I hadn't heard of the Sheeva plug  - it's cool!

My Home Auto PC is currently a $20 laptop, from 1999, that I bought last year.
It was running XP - but the hard disk just starting showing more and more errors.

Just today, I pulled the hard drive out - and stuck in a $2.00 PATA/Compact Flash adapter from eBay and a $20 8GB Compact Flash Type I card.
I'm loading Ubuntu server as I type.

I'm curious to see how well 9.1 runs on a 450MHz PIII with 288MB of RAM.    :)%



It's weird - with that poor man's SSD as the boot disk - the laptop is completely silent!
Logged

Brandt

  • Hero Member
  • *****
  • Helpful Post Rating: 11
  • Posts: 728
  • Sorry miss, I was giving myself an oil-job.
Re: Any uses for a Sheeva Plug?
« Reply #7 on: April 26, 2010, 07:43:17 PM »

Mine did not - it didn't work with the cheapo CH341/Prolific chip based cable I bought.
The adapter is fine - as it drives my old Garmin GPS unit.  The CM11A probably wants to see more than the TX/RX and ground pins live.  :)
Supposedly some of the better adapters (Keyspan ? ? ?) do a better job.


No Prolific, No Keyspan...Go for FTDI!!!   >!
Logged

Brandt

  • Hero Member
  • *****
  • Helpful Post Rating: 11
  • Posts: 728
  • Sorry miss, I was giving myself an oil-job.
Re: Any uses for a Sheeva Plug?
« Reply #8 on: September 02, 2010, 05:27:42 PM »

I ordered a sheevaplug development kit. I'll keep you posted.
Logged

pconroy

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 294
Re: Any uses for a Sheeva Plug?
« Reply #9 on: September 02, 2010, 10:19:27 PM »

I ordered a sheevaplug development kit. I'll keep you posted.

please do.

I've run across a (or another) darkside of my cheepie Prolific adapters.
I have two plugged into one PC.

When the PC reboots, it seems to be random whether /dev/ttyUSB0 will be the CM11A and /dev/ttyUSB1 is the weather station, or vice versa.

I've googled and dumped attributes and can't see a way to assign them consistently.
Which puzzles me, cuz I'd bet their windows drivers do it.


Oh well - solved with more code.   B:(
Logged

Brandt

  • Hero Member
  • *****
  • Helpful Post Rating: 11
  • Posts: 728
  • Sorry miss, I was giving myself an oil-job.
Re: Any uses for a Sheeva Plug?
« Reply #10 on: September 03, 2010, 12:17:00 AM »

Udev rules
Logged

pconroy

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 294
Re: Any uses for a Sheeva Plug?
« Reply #11 on: September 03, 2010, 01:25:47 PM »

Udev rules


yeah but I can't figure out how to tell the two adapters apart.

I thought I read that the USB devs are supposed to have some unique ID burned in.
I was thinking I could use that to create the 'udev' rules.

But the two adapters I have seem to be identical.
I don't see any unique data when I dump their USB attribubutes.
 ???
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Any uses for a Sheeva Plug?
« Reply #12 on: September 04, 2010, 11:07:50 PM »

Udev rules


yeah but I can't figure out how to tell the two adapters apart.

I thought I read that the USB devs are supposed to have some unique ID burned in.
I was thinking I could use that to create the 'udev' rules.

But the two adapters I have seem to be identical.
I don't see any unique data when I dump their USB attribubutes.
 ???


That's the problem with Prolific adapters purchased from the same source.  If you get them from different manufacturers there are sometimes differences you can key on.

FTDI based adapters each have a unique serial number.
Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

pconroy

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 294
Re: Any uses for a Sheeva Plug?
« Reply #13 on: September 05, 2010, 01:01:32 AM »

Classic case of "ya get what ya' pay for..."!   ;D
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Any uses for a Sheeva Plug?
« Reply #14 on: September 05, 2010, 10:36:27 AM »

Classic case of "ya get what ya' pay for..."!   ;D

We're not talking "big bucks" here.
Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.