I get similar timeouts on 500k with highspeed mode 1 (cp2100 baud remap), so it's not specific to your patch/hardware.

On Mon, Oct 27, 2008 at 12:35 PM, Peter Nordin <peter.nordin@liu.se> wrote:
Yes you are right that will make the Laser start faster if it is already running at 500000 baud.
However, the timeouts I meant occur when the laser configuration (and resolution and stuff) is requested for comparison on startup. The timeout will occurs usually two times for every request and only for the message header. It is not a problem though as the message will eventually arrive before the number of retries run out. I do not know why it happens, I just thought that I should mention it. It only happens at 500000 baud but it has not caused any problems yet. Once the laser data stream is started everything is fine.

/Peter


-----Original Message-----
From: Patrick Beeson [mailto:pbeeson@cs.utexas.edu]
Sent: Mon 10/27/2008 1:55 PM
To: playerstage-developers@lists.sourceforge.net
Subject: Re: [Playerstage-developers] New high  speed mode for sicklms200

Peter,

You can affect how often you see timeouts by changing the order of the
connect_rate.  If your transfer_rate is 50000, and your connect_rate has
50000 as the first value, then you will only see timeouts the first time
you run player after powering on the laser.  If you keep 9600 or 38400
as the first value in connect_rate (I think it is 38400 by default),
then you will see lots of timeouts every time.  Having 5000 as the first
value makes the device come up quite a bit faster for every run expect
the first one.

Thought this might help you,

Patrick


SourceForge.net wrote:
> Patches item #2191776, was opened at 2008-10-24 14:06
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=433166&aid=2191776&group_id=42445
>
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: Player
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Peter Nordin (petno)
> Assigned to: Brian Gerkey (gerkey)
> Summary: New high speed mode for sicklms200
>
> Initial Comment:
> This small patch to the sicklms200 driver adds a new serial_high_speed_mode = 2 that enables the use of 500000 baud on the MOXA Multiport Serial Board CP-118EL (and probably other models). It has been tested on player 2.1 on a 64-bit computer running the 2.6.24-21 kernel and with the MOXA Driver for Smartio/Industio version 1.13. I do not have any other cards than the CP-118EL so I can not test the other models but I think that they should work to.
>
> During startup I get a few warnings   "timeout on select (1)" due to timeouts for message headers. I have not touched the timeout settings though. I am afraid that any changes could cause problems for other users. The timeout warnings are not critical. The driver has always started anyway.
>
> This patch is intended for player-2.1-patches but can also be applied to player-head.
>
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=433166&aid=2191776&group_id=42445
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Playerstage-developers mailing list
> Playerstage-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-developers
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers