TOSH1800-SMCINIT(8)
π TOSH1800-SMCINIT(8) π
okay bestie, so this is a page from section 8 of the Linux IrDA manual β yes the system administration section, main character energy β and it's all about a lil tool called tosh1800-smcinit. let's get into it π«Ά
β¨ NAME β¨
tosh1800-smcinit β initialize the IrDA controler on Toshiba laptops π
yes it says "controler" in the original, we do not fix it, we respect it, it's iconic β¨
πΈ SYNOPSIS πΈ
tosh1800-smcinit [OPTION]
π¦ DESCRIPTION π¦
So like. This is an IrDA configurator for laptops that have the ALI1533 bridge (with the LPC47N227 SuperIO inside), and smc-ircc, and that do not initialize their own BIOS. Tested on the Toshiba Satellite 1800-514, the Toshiba Satellite 5100, and the Toshiba Tecra 9100 β and it's made to be used with the Linux kernel. no cap.
Here's the tea, bestie π: Toshiba Satellite 1800 laptops ship with an SMCS LPC47N227 SuperIO chip that's IrDA SIR/FIR capable. That chip is connected through an ALI1533 PCI-ISA bridge. And the IrDA subsystem of that SuperIO chip? Supported by the smc-ircc Linux kernel module. cute!
But π the BIOS is not doing its job. It neither configurates the SuperIO chip's IrDA subsystem (that's the SIR port, FIR port, dma, irq, IrDA mode, power) nor does it set the PCI-ISA bridge to decode any usable port. So the Linux kernel is literally prevented from detecting the second UART, which makes it impossible to use in SIR mode. And for the same reason, the FIR mode smc-ircc is able to detect the SuperIO chip, but once it finds the IrDA subsystem unconfigured, it fails to install. it's giving sabotage ngl π
So what does tosh1800-smcinit do? It sets the SIR and FIR ioport addresses, the DMA and the IRQ of the SuperIO chip IrDA subsystem, and then it powers on the second UART. It also configures the PCI-ISA bridge to decode the SIR and FIR ports. slay π
lowkey, all this configuration work should be rather done into the kernel, but it was more practical and safe to make a small testing tool out of it. It can be probably extended to include configuration kludges for other similar SuperIO and ISA bridge combination. so like, this is a test tool with room to grow, periodt.
Testing was carried on a Toshiba Satellite 1800-514 with Linux kernel 2.4.17. The author hopes this work could be helpful β and honestly it was quite funny to do it, however. π
π OPTIONS π
-a,--skip-decoding-cfgβ Skip ISA bridge decoding configuration. (we're skipping it, bye βοΈ)-b,--skip-smc-ircc-cfgβ Skip SMC-IRCC configuration.-v,--vendor=VALUEβ Look for the specified ISA bridge PCI vendor ID.-x,--device=VALUEβ Look for the specified ISA bridge PCI device ID.-c,--cfgbase=VALUEβ Set SMC-IRCC IO cfgbase address. Usual value can be0x2e.-s,--sirbase=VALUEβ Set SMC-IRCC IO sirbase address. Usual value can be0x2e8.-f,--firbase=VALUEβ Set SMC-IRCC IO firbase address. Usual value can be0x2f8.-m,--dma=VALUEβ Set SMC-IRCC DMA channel. Usual value can be3.-i,--irq=VALUEβ Set SMC-IRCC IRQ. Usual value can be7.-p,--printβ Print ISA bridge configuration. (receipts!! π§Ύ)-V,--versionβ Show program version.-h,--helpβ Show program options.
π AUTHOR π
This program was made by Daniele Peri <peri@csai.unipa.it> β king behavior fr fr π
π CREDITS π
- SMSC for the downloadable datasheets π
- Paul Hampson for its Linux IrDA mailing list messages. π¬
- Manual page written by Claudiu Costin
<claudiuc@kde.org>. Documentation based on original README by Daniele Peri.
π₯ SEE ALSO π₯
irattach(1)irdadump(1)- http://lancelot.csai.unipa.it/~peri/ β Daniele Peri's home page
- http://irda.sourceforge.net/smcinit/ β the SMCINIT package home page
and that's the whole vibe check bestie π this was version 0.3, dated July 2003, straight out of the Linux IrDA days. go configure that SuperIO and live your best IrDA life πβ¨π¦ no cap, periodt π
π¦ where this page comes from
- fedora 43: irda-utils 0.9.18-52.fc43 Β· GPL-2.0-or-later
- fedora 44: irda-utils 0.9.18-53.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms