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

SBCC

  • Veteran
  • ***
  • Posts: 124
    • View Profile
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!

SBCC

  • Veteran
  • ***
  • Posts: 124
    • View Profile
Re: Raspberry Pi Generic Serial Device
« Reply #1 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!

phenigma

  • wants to work for LinuxMCE
  • **
  • Posts: 961
    • View Profile
Re: Raspberry Pi Generic Serial Device
« Reply #2 on: June 28, 2014, 06:41:49 am »
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.

J.

SBCC

  • Veteran
  • ***
  • Posts: 124
    • View Profile
Re: Raspberry Pi Generic Serial Device
« Reply #3 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

SBCC

  • Veteran
  • ***
  • Posts: 124
    • View Profile
Re: Raspberry Pi Generic Serial Device
« Reply #4 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

phenigma

  • wants to work for LinuxMCE
  • **
  • Posts: 961
    • View Profile
Re: Raspberry Pi Generic Serial Device
« Reply #5 on: September 18, 2014, 06:17:52 pm »
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.

J.

PS.  thanks for testing!