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 5 ... 11
31
Developers / Re: Raspberry Pi Generic Serial Device
« on: September 26, 2014, 03:01:06 pm »
Hi

Ok I will do that this morning and let you know. Thanks again!

32
Developers / Re: Raspberry Pi Generic Serial Device
« on: September 24, 2014, 10:29:42 pm »
Hi J

There seems to be a problem. I downloaded the latest SDcard and deb file. Installed the deb and sdcard contents, ran Diskless_CreateTBZ.sh, rebuilt the image for the MD through the web admin, plugged in the RPI and when it gets to "Diskless_InstallKernel.sh" it reboots immediately... then it gets to "Diskless_InstallKernel.sh" and reboots and just repeats this. I tried this with a new RPI and I get the same results. One thing I noticed was the kernel link is bad in the tarball and that Diskless_CreateTBZ.sh has changed. I copied the old Diskless_CreateTBZ.sh over and am now looking to see what happens with that. I am still poking around to see what went wrong but thought I'd let you know and to see if you had any thoughts. Thanks again for all your effort here.

Jim

33
Developers / Re: Raspberry Pi Generic Serial Device
« on: September 18, 2014, 03:00:38 pm »
Hi Jason

I just noticed you made that change to LinuxSerialUSB.cpp 3 weeks ago and my installation is older than that. I will upgrade and I'm sure that it will work. Thanks for your time and effort!

Jim

34
Developers / Re: Raspberry Pi Generic Serial Device
« on: September 17, 2014, 11:09:14 pm »
Hi Jason

Thanks for getting back to me!

It is built. The problem I'm having is with PlutoUtils/LinuxSerialUSB. I keep coming up with
Code: [Select]
TranslateSerialUSB platform/bcm2708_usb+1.2 isn't serial usb <0xb44ff460>
That would mean that
Code: [Select]
if( sInput.size()<6 || ( sInput.substr(0,3)!="pci" && sInput.substr(0,8) != "platform" ) )
{
LoggerWrapper::GetInstance()->Write(LV_STATUS,"TranslateSerialUSB %s isn't serial usb",sInput.c_str());
return sInput;
}

Is not working as it should and it looks like it should so maybe it is old? I tried to setup a build environment again but lost your instructions and forgot how. I think I might be able to build it on the Pi but that could be slow. Do you have those instructions?

Thanks

Jim

35
Developers / Re: Raspberry Pi Generic Serial Device
« on: June 13, 2014, 09:46:45 pm »
Sorry I acted to soon. It loaded and works fine. Serial ports aren't being listed correctly. Shows as platform/bcm2708_usb+1.3 but that gives me;
Code: [Select]
Failed Opening serial port: platform/bcm2708_usb+1.3.If I change it in the database to /dev/ttyUSB0 works fine. I know I looked at this a while back and I believe Radu fixed it. I may dig into it more.

Thanks again!

36
Developers / Re: Raspberry Pi Media Director
« on: June 13, 2014, 09:43:04 pm »
hello friends,

 I have just set up the raspberry pi md, no problem. however the omx_player is dying in any video,

Has anyone had success playing video.

if i use omxplayer  in command line the video play correct. 

Carlos

Hi Carlos

I ran video for a short while and it worked ok. I can check again when I have a chance.

Take care

Jim

37
Developers / Raspberry Pi Generic Serial Device
« on: June 11, 2014, 02:29:34 am »
Hello, has Generic Serial Device been built for the Raspberry MD? Doesn't seem to be loading it when I add a device. By the way great job on this!!! Starts up and runs fine. Video and sound. Thanks to everyone with that effort!

38
Users / Re: TSCHAK has a TSCHAKlet now.
« on: June 29, 2013, 10:31:15 pm »
Congrats Thom!

All the best to you and your family!

39
Developers / Re: Raspberry Pi builder
« on: April 06, 2013, 09:03:17 pm »
Not sure if this is the best place for this.

I had to make some changes so TranslateUSB works. I show it on ticket #1738.
With those changes OneWire runs on the rpi. It just will not start on it's own. I have not installed any sensors yet but I will soon.


Edit:
Sensors work fine. I had to reload router to see them in lmce-admin.

40
Developers / Re: Raspberry Pi builder
« on: April 04, 2013, 05:09:19 pm »
phenigma

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.

Jim

41
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?

42
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?

Thanks

43
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 utils.inc.php
Code: [Select]
if($row['FK_DeviceCategory']==$GLOBALS['CategoryCore'] || $row['FK_DeviceTemplate']==$GLOBALS['rootMediaDirectorsID']){
to
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]
if($DeviceTemplate==$GLOBALS['rootMediaDirectorsID']){
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.

Jim

44
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 UpdateAvailableSerialPorts.sh 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

Jim

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

http://mitchtech.net/raspberry-pi-kernel-compile/

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

https://wiki.linaro.org/Resources/ToolchainInstall-10

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

https://github.com/Hexxeh/rpi-update

Hope this helps

Pages: 1 2 [3] 4 5 ... 11