Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Custom speed on ttyS1

Featured Replies

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.

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 ?

  • Author

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.

 

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. :)

  • Author

I wouldn't bother too much about the message.

I thank you for your soothing words.
I guess it's not so hot.
See this communication older than 10 years:
However - I think it would not be so.
For us it's called skeleton in the closet.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.