Author
Topic: Raspberry Pi Generic Serial Device (Read 3931 times)

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!

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.

Hey, sorry for the delay, I'm really busy. I *though* gsd was built ok for the rpi. If you could detail some of your specifics in a trac ticket with me as the owner I will have a look. Thanks for testing btw! I really appreciate it.

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?

Hey! Yes, I tested GSD a few weeks ago and found that little issue finally. If your installation is that old you are probably pointing to the old repository and likely will not see any updates. I *highly* recommend that you re-visit the wiki (http://wiki.linuxmce.org/index.php/RaspberryPi) and grab the new sd card contents, update your core, build a new diskless image for raspbian and hit the 'Rebuild' button in webadmin for that MD. This will give you all the latest, there have been a lot of changes/improvements over the last 2 months.

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.

Diskless Create has changed, a lot has changed. Packages are not in the same location they used to be and most packages have been updated/upgraded. I will test this immediately and get back to you. It looks like your 'rebuild' did not complete properly or you would not be seeing the diskless setup aspects during boot.

I agree that the rpi is perfect for things like this! Don't forget to disable media (orbiter) startup by setting the AutostartMedia=0 option in /etc/pluto.conf, assuming you aren't using media on them. The GSD devices should still be started by Launch_Manager, and if you notice they don't please let me know and I'll make that work (but I think I tested that).

Thanks for the info on stopping the media. You are correct I don'the use the orbiter. The GSD device starts up fine. The only issue was I needed to install a new temp child device to get the RPI to download the needed software to run the devices previously created prior to the update. Then I deleted the temp device. Not a big issue.

I have a couple of relay controllers that I made that control irrigation out at the gardens and green house. They are built around MSP430G2553 micro controller. I have built a new version that has inputs that I am using out at the end of my driveway, which is 700' long, to monitor vehicle and pedestrian sensors. I wanted the ability to reset the power to the USB port if the device goes stupid, mostly due to a switch debounce problem. Having the serial port nicely mapped to the usb port is perfect to make a shell script that lmce can call if all else fails. I am now building an audio switcher. This will have 12 outputs that can choose up to 16 inputs. This way I can use any of my inputs to play throughout the whole house. This is almost done. I will need to work on the device template after the build is complete.

All these devices are cheap. If you or anyone is interested I can post the schematics and/or the pc board layouts. I do have some extra boards as well.