Skip to Content.
Sympa Menu

baslinux - Re: [BL] The latest version of setserial (n)

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] The latest version of setserial (n)
  • Date: Fri, 8 Dec 2006 00:05:51 -0800

Steven kindly sent me this, as a mimencoded attachment:

> OK, here is a libc5 version of the latest setserial.
> Let me know if it works.

That's outstanding. I'll do it tonight. Many thanks.

<pause>

Nope. Too bad. The binary seems to work well, though.

This is the serial driver source built into my debian
kernel (2.4.19). It has functionalities specifically created for
the type of card I have. I talked with the maintainer,
Ted Tso, a few years back about it.

>From debian dmesg:
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT
SHARE_
IRQ SERIAL_PCI ISAPNP enabled

There are _similar_ options for some of those in the big kernel's
config file. From the 5.05c source:

static char *serial_version = "5.05c";
static char *serial_revdate = "2001-07-08";

[delete]

CONFIG_HUB6
Enables support for the venerable Bell Technologies
HUB6 card.

CONFIG_SERIAL_MANY_PORTS
Enables support for ports beyond the standard, stupid
COM 1/2/3/4.

CONFIG_SERIAL_MULTIPORT
Enables support for special multiport board support.

CONFIG_SERIAL_SHARE_IRQ
Enables support for multiple serial ports on one IRQ

CONFIG_SERIAL_DETECT_IRQ
Enable the autodetection of IRQ on standart ports

SERIAL_PARANOIA_CHECK
Check the magic number for the async_structure where
ever possible.

CONFIG_SERIAL_ACPI
Enable support for serial console port and serial
debug port as defined by the SPCR and DBGP tables in
ACPI 2.0.

----------

BL3 big kernel config options of possible relevance:

CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SERIAL_EXTENDED=y
CONFIG_SERIAL_MANY_PORTS=y
CONFIG_SERIAL_SHARE_IRQ=y

# CONFIG_SERIAL_DETECT_IRQ is not set
CONFIG_SERIAL_MULTIPORT=y
CONFIG_HUB6=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_PNP=y
# CONFIG_IP_PNP is not set
CONFIG_NET_ISA=y


The serial HOWTO says to run setserial at boot, early in the
process, to override the kernel's settings. (or preempt them)

So I'm trying that next.

setserial -z /dev/ttyS4 uart 16950/954 port 0xdc00 irq 5

(That's what's done on boot with my debian.)

<pause>

Nope. ttyS4 is still clinging to its stock config and I
can't reach the modem with microcom. Doesn't see the
device, which has "UART unknown" when checked with
setserial -a /dev/ttyS4 and a different irq 2 and different
port.

On BL3 I created the file /dev/ttyS4 and made sure mode and
permissions matched the ones on my debian.

Running setserial with that command-args with the new setserial
resulted in flat failure. Pretty sure I need the 5.05c driver.

The "ISAPNP" isn't in the big kernel config file anywhere and may
not be available for that kernel. It's not a serial option.

The functionality of PNP is included on my debian but I don't use
it.

>From my debian dmesg:

isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found

So does that mean I don't need it for the serial card to work?
That would be my guess.

How can I get a compiler on BL3? I don't know how to use slack
packages. I think I should try to compile that serial driver into
the big kernel. Couldn't find a compiler among the packages listed in
the links found on the main website.

Any thoughts?

Lee









Archive powered by MHonArc 2.6.24.

Top of Page