Jump to content

Recommended Posts

Posted
I need to use non-standard baud rate (125000) on the serial port.

Communication works very reliably, but dmesg says: "Python sets custom speed on ttyS1. This is deprecated."

What should my attitude towards it? Can I ignore it?

 

I read, that it is necessary to make some changes in the "asm/termios.h". It is necessary ? Could it be a normal part of the kernel?

Moreover - I do not know how to do it.

 

Thanks.

Posted

Hi

For hard ware reasons I'm not sure at all that this is possible.

On the other hand ,TTY being an asynchronous, mode 115200 should work.

What is that device who needs 125000 ?

Posted

Thank you for answer.

For hard ware reasons I'm not sure at all that this is possible.

I maybe wrong to express (my English is very poor, I use Google translator for support).
It may not be a problem HW because it works very well.
I am only concerned about the message, that it is deprecated.
Maybe it can happen, that (after some upgrades, for example) it stops working ?
That is why I am asking.

What is that device who needs 125000 ?

It is ATtiny2313. The clock is calibrated 8 MHz oscillator. If I used  baud rate 115200, so the error (deviation from the nominal rate) is 8.5%. It seems to me too much.

 

Posted

Hi

My English is not good either because I missed that it worked on your first message.

I wouldn't bother too much about the message.

May be a clever driver when asked an impossible thing does the closest match it can do. :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines