The DOPOM package for this month shall be setserial. Although the serial interface is more and more replaced by other things like USB or network interfaces, I know at least one application that depends on this oldfashioned stuff.
setserial has 14 bugs, some of them are rather old. So, here we go:
- Â #314219: package configure goes wrong
- Â #589620: Cannot set baud rate to 4800
- Â #589621: Cannot set baud rate to 4800
- Â #618630: setserial does not work with USB serial interfaces
- Â #618631: (no subject)
- Â #299933: ppp: Cannot convert to /etc/network/interfaces method while serial device
- Â #311813: setserial doesn’t work with serial device
- Â #410099: setserial dosen’t work in manual Mod.
- Â #468420: During install I get: “The update-modules command is deprecated and should not be used!”
- Â #518313: installs obsolete /etc/modutils/setserial
- Â #375276: don’t mislead by saying “loading saved-state” if none
- Â #459912: would be nice if one can disable a fifo via setserial
- Â #522622: setserial as a essential package
- Â #314963: init.d bails out on detecting /etc/serial.conf
#589620 and #589621 as well as #618630 and #618631 are the same. Great, two done, twelve left
#518313 is easy, since modutils is gone, don’t install that file
#468420 can be closed by not using update-modules
The solution to #375276 is mentioned in the bugreport. In case the serial line is handled by the kernel (= #KERNEL in the config file) just say so.
#589620 might be a misunderstaning. setserial is not meant to set the baudrate but only to set the base_baud. The base_baud depends on the hardware and
might not be set under certain circumstances. So this seems to be a feature instead of a bug.
#618630 might be a problem with strange hardware or the driver not supporting the needed ioctl(). At least with my usb serial devices I could not reproduce that bug
#299933 has been resolved by just waiting. Nowadays the order of init scripts is rearranged and this problem should not occur anymore
#311813 is again an ioctl() issue. setserial uses TIOCGSERIAL and statserial uses TIOCMGET so depending on the kernel one or the other feature might not work
So for the moment only five bugs out of 14 are still left (#314219, #410099, #459912, #522622, #314963), well done :-).