lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070804162546.145d4628@the-village.bc.nu>
Date:	Sat, 4 Aug 2007 16:25:46 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	"Mike Frysinger" <vapier.adi@...il.com>
Cc:	"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Re: custom baud rates with serial core

On Fri, 3 Aug 2007 19:59:51 -0400
"Mike Frysinger" <vapier.adi@...il.com> wrote:

> is there a method for setting custom baud rates that doesnt cause a
> "deprecated" message from showing up ?  for example:
> # setserial -a /dev/ttyBF0 divisor 9 spd_cust
> setserial sets custom speed on ttyBF0. This is deprecated.

If your platform is up to date then you can set arbitary speeds via the
TIOCGETS2/TIOCSETS2 ioctls. Not all platforms support this yet although
I'm working on getting the sane ones all upstream and sorted. Once that
is done glibc will be able to switch internally to TIOCGETS2/SETS2 for
the termios operations it provides and the world will be a far happier
place ...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ