1SMCINIT(8)                        Linux IrDA                        SMCINIT(8)
2
3
4

NAME

6       smcinit - initialize the SMSC IrDA controler on various laptops
7

SYNOPSIS

9       smcinit [OPTIONS]
10

DESCRIPTION

12       Toshiba  Satellite  1800, Satellite 5100, Tecra 9100 laptops and may be
13       many other models are provided with a SMCS LPC47N227 SuperIO chip which
14       is  IrDA  SIR/FIR  capable.   The IrDA subsystem of the SuperIO chip is
15       supported by the smc-ircc Linux kernel module.  Unfortunately the  BIOS
16       neither  configurates  the  SuperIO  chip IrDA subsystem (SIR port, FIR
17       port, dma, irq, IrDA mode, power) nor sets the PCI-ISA bridge to decode
18       any  usable  port.  Linux kernel is thus prevented to detect the second
19       UART making impossible to use it in SIR mode. For the same reason,  the
20       FIR  mode  smc-ircc  is able to detect the SuperIO chip but, once found
21       the IrDA subsystem unconfigured, fails to install.
22
23       While this problem will be fixed in  Linux  2.6.x  kernel  series,  the
24       2.4.x  users are frustrated.  Daniele Peri, Rob Miller and Paul Hampson
25       mananged to build little utilities that initialize the LPC47N227  Supe‐
26       rIO  allowing  smc-ircc  IrDA  kernel driver to detect and use the SMSC
27       chip.
28
29       My sole work was to put these utilities as one package, easy to install
30       and use.
31

OPTIONS

33       -V, --version
34           Show program version and exit
35
36       -h, --help
37           Show a little help on options and exit
38
39       -v, --verbose
40           Increase the details about actions performed
41
42       -t, --tty=device
43           If  specified,  the  serial  device will be unbound from the kernel
44           stock serial driver.  It is there to replace an  external  call  to
45           setserial(1)  to unset the UART of the device.  There is no default
46           value.
47
48       -s, --sirio=IO
49           Set the SIR (serial infrared) I/O port address to IO. Default value
50           is 0x3f8.
51
52       -f, --firio=IO
53           Set  the  FIR (fast infrared) I/O port address to IO. Default value
54           is 0x130.
55
56       -i, --firirq=IRQ
57           Set the FIR (fast infrared) IRQ line to IRQ. Default value is 3.
58
59       -d, --firdma=DMA
60           Set the FIR (fast infrared) DMA channel to DMA. Default value is 3.
61
62

CONFIGURATION

64       When system startup a script is run  from  /etc/init.d  and  which  run
65       appropriate  SMC  intialization  utility.  This  is  done before PCMCIA
66       startup because on Tecra 9100 and other models the orinoco_cs  wireless
67       driver will block the I/O region used 47N227 SuperIO.
68
69       The  only configuration file is /etc/sysconfig/smcinit and the variable
70       SMCCONFIG can be set to "1800" or "5100". By default  "5100"  value  is
71       used.
72
73       1800
74           for Toshiba Satellite 1800
75
76       5100
77           for Toshiba Satellite 5100 and Toshiba Tecra 9100
78
79       The  next  step is to configure the kernel IrDA stack package to attach
80       the smc-ircc driver.  This is Linux  distribution  specific.  The  main
81       thing  is  that  the device should be set to "irda0". Run the following
82       command:
83
84       irattach irda0 -s
85
86       Distribution specific configuration:
87
88       SuSE
89           Edit the /etc/sysconfig/irda and set IRDA_PORT=irda0
90
91       RedHat
92           Edit the /etc/sysconfig/irda and set DEVICE=irda0
93

NOTES

95       The smc-ircc driver is preloaded in kernel. I tested the  package  only
96       on  Tecra  9100  without any additional step, but for Toshiba Satellite
97       1800 Daniele Peri sugest to put the following line  in  your  /etc/mod‐
98       ules.conf (on one line):
99
100       options smc-ircc ircc_dma=3 ircc_irq=7 ircc_cfg=0x2e \
101               ircc_sir=0x2e8 ircc_fir=0x2f8
102
103       After that run the command:
104
105       prompt# depmod -a
106
107       If  the  laptop  enter suspend mode, then resume operation the smc-ircc
108       driver will stop working. You need to stop IrDA service, then  SMCINIT,
109       start  SMCINIT,  and finally start IrDA service. Simply put, the kernel
110       driver must be unloaded, then  reloaded.
111

FILES

113       /etc/sysconfig/smcinit
114           Configuration file for SMCINIT startup script. It's shell script.
115

AUTHOR

117       This document is made by Claudiu Costin <claudiuc@kde.org>  The  utili‐
118       ties  authors  are  Daniele  Peri, Rob Miller and Paul Hampson.  Thomas
119       Pinz made improvements to tosh-smcinit (the former tosh5100-smcinit) to
120       expand the number of Toshiba Satellite models supported.
121

SEE ALSO

123       smcinit(7),
124       tosh1800-smcinit(8),
125       irattach(1),
126       irdadump(1),
127       http://irda.sourceforge.net/smcinit/ the SMCINIT package home page.
128
129
130
1310.4                               April 2004                        SMCINIT(8)
Impressum