[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] setserial on Qube2
- Subject: [cobalt-developers] setserial on Qube2
- From: "Doug Forman" <doug@xxxxxxxxxxx>
- Date: Thu Dec 30 09:46:13 1999
Greetings,
I'm experimenting with different PCI serial cards and modems in my Qube2. I
currently have an ActionTec 56k PCI Modem installed, which works properly as
ttyS4, but has a low connect speed despite different modem AT and S-register
configurations.
(An external USR Sportster 56k on ttyS0 works great!)
When trying to configure ANY of the ttySx devices using setserial 2.12-4, I
get an error as in the example below. setserial *seems* to be choking on
the I/O port address length; when I substitute a shorter address, (i.e. port
0x6400 [rather than port 0x10108000]), setserial accepts the setting, but of
course the device does not work because the port address is not correct.
I have been trying to get the *only* 3Com/USR 56k PCI FaxModem (5610) to
work with the Qube2, but have been unsuccessful since I cannot get setserial
to accept a command that includes the longer [correct] I/O port. (the 5610
is not a WinModem, but a "real" modem which others are successfully using
with Linux).
Also, when trying to use setserial to configure settings OTHER than the I/O
port (in other words, to accept whatever the current I/O port address is,
but change another setting), setserial still chokes.
Any wisdom from the list on this? I am suspecting an I/O port address
length limitation in setserial. Does this make sense? Is a possible
solution to correct and recompile the setserial code? (I'm not a c
programmer...)
Regards,
Doug
-----
Doug Forman, MCSE, MCSD (doug@xxxxxxxxxxx)
Incline Systems, Inc. - Vancouver, WA
---------------------------------------------
[root@seaview /dev]# cat /proc/pci
PCI devices found:
Bus 0, device 12, function 0:
Ethernet controller: DEC DC21142 (rev 65).
Medium devsel. Fast back-to-back capable. IRQ 13. Master Capable.
Late
ncy=64. Min Gnt=20.Max Lat=40.
I/O at 0x10101000.
Non-prefetchable 32 bit memory at 0x60bcfc00.
********* MY COMMENT LINE - MODEM STARTS NEXT
***********************************
Bus 0, device 10, function 0:
Communication controller: Lucent (ex-AT&T) Microelectronics L56DV+P (rev
0).
Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable.
No bu
rsts. Min Gnt=252.Max Lat=14.
Non-prefetchable 32 bit memory at 0x12000000.
I/O at 0x10108000.
I/O at 0x10108400.
I/O at 0x10108800.
********* MY COMMENT LINE - MODEM ENDS HERE
*************************************
Bus 0, device 9, function 2:
USB Controller: VIA Technologies VT 82C586 Apollo USB (rev 2).
Medium devsel. Master Capable. Latency=22.
I/O at 0x300.
Bus 0, device 9, function 1:
IDE interface: VIA Technologies VT 82C586 Apollo IDE (rev 6).
Medium devsel. Fast back-to-back capable. IRQ 14. Master Capable.
Late
ncy=64.
I/O at 0xcc00.
Bus 0, device 9, function 0:
ISA bridge: VIA Technologies VT 82C586 Apollo ISA (rev 39).
Medium devsel. Master Capable. No bursts.
Bus 0, device 7, function 0:
Ethernet controller: DEC DC21142 (rev 65).
Medium devsel. Fast back-to-back capable. IRQ 4. Master Capable.
Laten
cy=64. Min Gnt=20.Max Lat=40.
I/O at 0x10100000.
Non-prefetchable 32 bit memory at 0x3ffbe000.
Bus 0, device 0, function 0:
Memory: Galileo GT64011 (rev 17).
Medium devsel. Fast back-to-back capable. Master Capable.
Latency=64.
Non-prefetchable 32 bit memory at 0x8000000.
Non-prefetchable 32 bit memory at 0x1c000000.
Non-prefetchable 32 bit memory at 0x1f000000.
Non-prefetchable 32 bit memory at 0x14000000.
I/O at 0x14000000.
---------------------------------------------
[root@seaview /dev]# setserial /dev/ttyS4
/dev/ttyS4, UART: 16550A, Port: 0x10108000, IRQ: 2
[root@seaview /dev]# setserial /dev/ttyS4 spd_vhi
Cannot set serial info: Invalid argument
[root@seaview /dev]# setserial /dev/ttyS4 autoconfig
Cannot set serial info: Invalid argument
[root@seaview /dev]# setserial /dev/ttyS4 irq 2 port 0x10108000
Cannot set serial info: Invalid argument
[root@seaview /dev]# setserial /dev/ttyS4 irq 2
Cannot set serial info: Invalid argument
[root@seaview /dev]# setserial -a /dev/ttyS4
/dev/ttyS4, Line 4, UART: 16550A, Port: 0x10108000, IRQ: 2
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000, closing_wait2: infinte
Flags: spd_normal
---------------------------------------------