









|
[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[NMLUG] 2.6 kernel upgrade - modem problem, USB problem, mouse problem
Gary Sandine wrote:
> On Fri, 2004-04-02 at 03:02, Mars DeLapp wrote:
>
>>I also figured out the modem problem. The modem is now ttyS14 instead of ttyS4.
>>That's weird. Anyone know how the ttyS* numbers get assigned to ports?
>
>
> I know how you can move it back to ttyS4, anyway. Look for your modem
> in
>
> $ cat /proc/pci
>
> output. Note the I/O at 0xNNNN and IRQ MM values. Then do
>
> # setserial /dev/ttyS4 port 0xNNNN irq MM uart 16550a
>
> Your PCI modem should then be available at /dev/ttyS4.
>
> There's no reason I can think of to do this if you intend to stay with
> kernel 2.6, though (just symlink /dev/modem to /dev/ttyS14 and use the
> modem as /dev/modem).
>
The reason I might want to do this is to be able to boot an older kernel and get
a working computer so I could search the internet for solutions to the video,
modem, mouse and USB problems. But trying to boot the old vernal did not work at
all. So keeping the settings compatible was a moot point.
I used lspci -vv to get the info on the modem. setserial showed the modem's port
and irq at ttyS14 except the uart value was blank. So I used setserial to set
the uart. I tried to use setserial to set it up on ttyS4 but that did not work.
It would not change the port number.
Below is copied from my troubleshooting session.
...
comp008:~# setserial /dev/ttyS4 IRQ 22
comp008:~# setserial /dev/ttyS4 port 0xdc00
comp008:~# setserial /dev/ttyS4
/dev/ttyS4, UART: 16550A, Port: 0x01a0, IRQ: 22, Flags: Fourport
comp008:~# setserial /dev/ttyS4 Port 0xdc00
comp008:~# setserial /dev/ttyS4
/dev/ttyS4, UART: 16550A, Port: 0x01a0, IRQ: 22, Flags: Fourport
...
I just tried cat /proc/pci just to see what it would show. Heres what I got:
$ cat /proc/pci
cat: /proc/pci: No such file or directory
...
$lspci -vv
01:01.0 Serial controller: 5610 56K FaxModem 56K FaxModem Model 5610 (rev 01)
(prog-if 02 [16550])
Subsystem: 5610 56K FaxModem USR 56k Internal Voice Modem (Model 2976)
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 22
Region 0: I/O ports at dc00 [size=8]
Capabilities: <available only to root>
Mars
--
=============================================================
J. Marsden DeLapp, PE
President
DeLapp & Associates, Inc. Electrical Engineers.
Providing lighting and power planning, design and analysis services
for commercial, industrial and large residential facilities.
1300 Luisa St Ste 23
Santa Fe NM 87505
(505) 983-5557
http://DeLapp.com
=============================================================
|
|