~ubuntu-branches/debian/sid/setserial/sid

« back to all changes in this revision

Viewing changes to pcmcia.repair

  • Committer: Package Import Robot
  • Author(s): Jari Aalto
  • Date: 2012-03-28 22:16:35 UTC
  • Revision ID: package-import@ubuntu.com-20120328221635-783f7at4gkfog611
Tags: 2.17-47
* QA upload.
* Remove deprecated dpatch and upgrade to packaging format "3.0 quilt"
  (Closes: #664320).
* Update to Standards-Version to 3.9.3.1 and debhelper to 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
If you have been using setserial versions 2.15-1 to 2.15-6, and you have
 
3
been having problems with setserial taking over your pcmcia serial/modem
 
4
devices, then read on... Otherwise stop reading now, as NONE OF THIS APPLIES
 
5
TO YOU.
 
6
 
 
7
At of 2.15-1, setserial searches for serial device configuration on
 
8
shutdown or halt, and stores it in /etc/serial.conf. The state is
 
9
then automatically loaded on a reboot. This includes pcmcia devices,
 
10
which are not managed by setserial but by pcmcia-cs.
 
11
 
 
12
As of 2.15-7, setserial does not save the state of pcmcia devices. If you
 
13
really do want it to control pcmcia ports, you will have to switch off
 
14
the AUTOSAVE ability, and do it by hand.
 
15
 
 
16
However, if you used 2.15-1 to 2.15-6, the pcmcia devices will already be
 
17
in /etc/serial.conf, and although setserial tries to sort out the problem
 
18
automatically when you upgrade, you may feel you want to do some tidying up...
 
19
 
 
20
(1) make sure that your pcmcia cards are inserted and configured.
 
21
(2) su root
 
22
(3) /etc/init.d/setserial stop
 
23
    hopefully, some messages will appear informing you that pcmcia filtering
 
24
    is going on.
 
25
(4) Look in your /etc/serial.conf. A two-port standard setup should look
 
26
    something like:
 
27
 
 
28
###AUTOSAVE###
 
29
/dev/ttyS0 uart 16550A port 0x03f8 irq 4 spd_normal skip_test session_lockout
 
30
/dev/ttyS1 uart 16550A port 0x02f8 irq 3 spd_normal skip_test session_lockout
 
31
 
 
32
    If you have only one non-pcmcia port, then you should have only
 
33
    /dev/ttyS0. Most desktop computers have two ports.
 
34
(5) If you see a device (eg /dev/ttyS2) which is not one of your non-pcmcia
 
35
    serial ports, run "setserial /dev/ttyS2 uart unknown" to delete it. Do
 
36
    not bother to edit the serial.conf file. Instead, run 
 
37
    /etc/init.d/setserial stop
 
38
    Check the file. If everything is ok, you can try a 
 
39
    /etc/init.d/setserial start
 
40
    No error messages - you are in the clear.
 
41
 
 
42
Sorry for the problems caused by earlier versions
 
43
 Gordon Russell <gor@debian.org>
 
44