Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - SBCC

Pages: 1 [2] 3 4 ... 9
Developers / Re: Raspberry Pi builder
« on: April 04, 2013, 05:09:19 pm »

Thanks for all your work. I can put that together that ticket. If I have any questions I'll let you know. I am building some things now, OneWire being one of them. I'm building dependencies as I go as needed. I am building what I need to use the rpi for headless automation. If you like I can dropbox them for you.


Developers / Re: Raspberry Pi builder
« on: April 03, 2013, 06:11:58 pm »
I thought that might be the case. I also forgot different OS. I am building what I need. Anything I can do?

Developers / Re: Raspberry Pi builder
« on: April 03, 2013, 05:10:48 pm »
now I'm finding it will not down load software for new devices. Well at least for oneWire.

Any incites there?


Developers / Re: Raspberry Pi builder
« on: April 03, 2013, 03:38:56 pm »
Ok figured out the problem.

Because the rpi is a new style MD I needed to let lmce-admin know that. Added
Code: [Select]
$GLOBALS['rootRPIMediaDirectorsID'] = 2216; // Raspberry PI Media Directors
in hardCoded.php

and then had to make that a choice option when checking for MDs. Changed in
Code: [Select]
if($row['FK_DeviceCategory']==$GLOBALS['CategoryCore'] || $row['FK_DeviceTemplate']==$GLOBALS['rootMediaDirectorsID']){
Code: [Select]
if($row['FK_DeviceCategory']==$GLOBALS['CategoryCore'] || $row['FK_DeviceTemplate']==$GLOBALS['rootMediaDirectorsID'] || $row['FK_DeviceTemplate']==$GLOBALS['rootRPIMediaDirectorsID']){under
Code: [Select]
function getTopLevelParent($deviceID,$dbADO)
That was causing my problem. Also changed same line under
Code: [Select]
function getTopLevelParentIP($deviceID,$dbADO)And changed under
Code: [Select]
function isMediaDirector($deviceID,$dbADO,$mdOnly=0)this line
Code: [Select]
To this
Code: [Select]
if($DeviceTemplate==$GLOBALS['rootMediaDirectorsID'] || $DeviceTemplate==$GLOBALS['rootRPIMediaDirectorsID']){

I haven't tested it too much yet but appears to work.
Let me knwo if you need anything more.


Developers / Re: Raspberry Pi builder
« on: April 02, 2013, 10:35:41 pm »
Trying to attached templates to serial devices with lmce-admin I find under "COM Port on PC"
Code: [Select]
Error: top parent device not found
I did have to install mysql-client. I ran and the ttyUSB0 shows up in mysql under device data 133 with fkdevice being the rpi. Any idea whats causing this?

Also seeing this under "Sound Card" in the rpi device

Thanks again


Developers / Re: Raspberry Pi builder
« on: April 02, 2013, 04:12:53 am »
I followed instructions here

Mostly. The kernel.img goes on the sd card and the modules and firmware go in /usr/pluto/diskless/xx/lib/

You will have to install the gcc cross complier. I followed this

I can put a more user friendly outline together if you want to add it to you wiki. There is a shell script on rpi that should do this but did not work for me. At least not before I updated the modules. I think it may now. It's /usr/bin/rpi-update. You can see more about that at

Hope this helps

Developers / Re: Raspberry Pi builder
« on: April 02, 2013, 03:49:45 am »
I found out that raspbian has problems with serial adaptors and other usb devices. The source we are building from at does not have support for usb to serial adaptors. There are folks working on that  ;D. I have built a new kernel and updated the firmware and modules to include the latest commit. The rpi now attaches my prolific adaptor to ttyUSBx. There have been reports of this crashing after a while. I may not be able to test that just yet. I can outline the steps I took if wanted. Let me know.


Developers / Re: Raspberry Pi builder
« on: April 01, 2013, 01:27:49 am »
Works like a charm. Thanks for all your and all the others efforts here. Now to working on virtual usb com ports.

Developers / Re: Raspberry Pi builder
« on: March 31, 2013, 02:57:53 pm »
I did. But in my stupidity I did not notice that it was named "" and have been trying to still run It's running now.

Thanks for the wrap in the head!


Developers / Re: Raspberry Pi builder
« on: March 30, 2013, 09:19:20 pm »
I think it may be a dpkg issue. I don't think it can handle the .xz extension. I got this to work in 11.10. I add lucidbleed ppa and upgraded dpkg to 1.16.1 ?? can't remember but I know it was 1.16 something. Still had an issue. It seems that the plymouth amrhf has the .xz extension but not the i386. For whatever reason.

Developers / Re: Raspberry Pi builder
« on: March 29, 2013, 10:26:17 pm »
While running I'm getting (from debootstrap.log)

Code: [Select]
dpkg-deb: file `.//var/cache/apt/archives/plymouth_0.8.5.1-5_armhf.deb' contains ununderstood data member data.tar.xz     , giving up
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

I don't know enough about apt to figure out where the error is coming from.

Any ideas?

Users / Greenhouse MD
« on: March 24, 2013, 06:54:32 pm »

I'm looking to put a MD in my greenhouse to work the automation in there. I would be attaching several serial and onewire devices. I'm thinking of a small form factor board with low heat emission, as I would probably be putting it in a NEMA4 enclosure for moisture, usb connection/s to connect peripherals, internet adaptor with wifi (wifi or both could be separate), low power, and it have some kind memory flash or otherwise. I know there was some work on the raspberry PI but I'm not sure where that is or if that could work. Has anybody else done something similar or have any ideas?

Thanks as always


Developers / Re: [Solved] Device Spawning
« on: February 24, 2013, 05:38:31 pm »
Solved this. It seems my executable had a slightly different name then the device template. Not sure how it happened but that was it. Works perfect now. Thanks for the help!

Developers / Re: Device Spawning
« on: February 23, 2013, 04:05:19 pm »
Alright I'm going to do an install of the latest snap and see if it works there. I have poked around a lot with this one. So maybe...

Developers / Re: Device Spawning
« on: February 22, 2013, 10:55:39 pm »
It still does not start on its own.

Pages: 1 [2] 3 4 ... 9