From: Aodan Mc D. <aod...@ho...> - 2005-03-18 08:03:23
|
Thanks for your response. We've got this working now. It didn't make sense to us either why it was happening. We just went through the same procedure again and it wrote out ttyS0 just fine. I don't know what caused it not to work in the first place. Sorry for wasting your time. >From: David Farrell <dav...@ya...> >Reply-To: gum...@li... >To: gum...@li... >Subject: Re: [Gumstix-users] Bluetooth-ttyS0 >Date: Thu, 17 Mar 2005 07:51:44 -0800 (PST) > >I don't see how bluetooth can do this. All I ever >use is a console on ttyS0 and bluetooth. If there >was any problem like this I would have expected >to see it. Before the patch to fix bluetooth, I >use to see garbage on the console that coincided >with the hci errors, so there seemed to be >interaction between the two ports, or at least >in the same shared driver, but I have not seen >that since. If you connect a terminal instead of >the CMU cam, what do you see? I assume the ttyS0 >is not longer set up as a console. I also assume >no handshaking is enabled. In you code that >writes to ttyS0, do the write succeed? There is >a buffer of 4096+32 bytes you can fill before any >handshake will block you. > >David. > > > > >--- Aodan Mc Donagh <aod...@ho...> >wrote: > > Hey, > > We're nearing the end of our project to build a > > robot using the gumstix. > > Using Windows XP we have set up a remote login > > over a virtual comm port > > using Bluetooth. Using this we can log onto the > > gumstix and send commands to > > control the robot. A program sitting on the > > gumstix waits for these commands > > and then calls methods to manipulate our > > various devices. This works fine > > for the I2C bus, returning data from our > > sensors. > > > > The problem occurs when we attempt to send > > commands out on ttyS0 to a > > CMUcam2. We see the commands being sent on our > > Bluetooth connection but they > > do not seem to be going out on ttyS0. The code > > we are using has already been > > tested on ttyS0 without the Bluetooth > > connection and it works fine. It > > almost seems like Bluetooth is blocking ttyS0. > > We assumed Bluetooth was > > only connected to the HWUART on ttyS3 and would > > not affect ttyS0. > > > > We also assume that there is no way of using > > ttyS3 to send out to the > > CMUcam2 as Bluetooth has to be disabled to use > > ttyS3. > > > > Our buildroot is based kernel 2.6.10 and was > > revision 413 in the source > > repository. > > > > If anyone has any idea what is causing our > > problem or ways around it we > > would appreciate your help. > > > > Thanks > > Aodan > > > > >_________________________________________________________________ > > Have you tried the all-new MSN Search? > > Test-drive it today! > > http://search.msn.co.uk > > > > > > > > >------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > > Products from real users. > > Discover which products truly live up to the > > hype. Start reading now. > > >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > >https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >gumstix-users mailing list >gum...@li... >https://lists.sourceforge.net/lists/listinfo/gumstix-users _________________________________________________________________ Rain, shine, sleet or snow? Find out at MSN Weather! http://www.msn.ie/weather |