Package: conserver-server Version: 8.2.6-2 Severity: wishlist Tags: patch Dear Maintainer,
While trying to attach a rockpro64 to the conserver, I discovered that baud rates in the extended range (above 115200) are not recognised. The rockpro64 uses 1500000 baud as its standard. The attached patch adds the higher rates, as Linux (and possibly other platforms) support them as a POSIX extension. --- a/conserver/consent.c +++ b/conserver/consent.c @@ -86,6 +86,42 @@ BAUD baud[] = { {"3500000", 32}, {"4000000", 33}, #else /* FOR_CYCLADES_TS */ +# if defined(B4000000) + {"4000000", B4000000}, +# endif +# if defined(B3500000) + {"3500000", B3500000}, +# endif +# if defined(B3000000) + {"3000000", B300000}, +# endif +# if defined(B2500000) + {"2500000", B250000}, +# endif +# if defined(B2000000) + {"2000000", B200000}, +# endif +# if defined(B1500000) + {"1500000", B1500000}, +# endif +# if defined(B1000000) + {"1000000", B1000000), +#endif +# if defined(B921600) + {"921600", B921600}, +#endif +# if defined(B576000) + {"576000", B576000}, +#endif +#if defined(B500000) + {"500000", B500000}, +#endif +#if defined(B460800) + {"460800", B460800}, +#endif +# if defined(B230400) + {"230400", B230400}, +#endif # if defined(B115200) {"115200", B115200}, # endif -- System Information: Debian Release: 11.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-7-amd64 (SMP w/32 CPU threads) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages conserver-server depends on: ii adduser 3.118 ii debconf [debconf-2.0] 1.5.77 ii init-system-helpers 1.60 ii libc6 2.31-12 ii libcrypt1 1:4.4.18-4 ii libgssapi-krb5-2 1.18.3-5 ii libipmiconsole2 1.6.6-3 ii libpam0g 1.4.0-7 ii libssl1.1 1.1.1k-1 ii libwrap0 7.6.q-31 ii lsb-base 11.1.0 conserver-server recommends no packages. conserver-server suggests no packages. -- Configuration Files: /etc/conserver/conserver.cf changed [not included] -- debconf information excluded