Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: src
> - Add the following cards' support:
> [ .... ]
> NetMos NM9901 PCIe (single parallel)
do you have one of these cards? i've got one i haven't gotten working
yet, except mine is a serial port, not a parallel port. all the other
drivers for it seem to attach it as a single serial port too.
however, neither your configuration nor the one i've worked on so far
work for my card -- a dual 9901 expresscard, that attaches like this:
puc0 at pci4 dev 0 function 0: NetMOS 9901 (com)
com2 at puc0 port 0: interrupting at ioapic0 pin 19
com2: ns16550a, working fifo
puc1 at pci4 dev 0 function 1: NetMOS 9901 (com)
com3 at puc1 port 0: interrupting at ioapic0 pin 16
com3: ns16550a, working fifo
with your configuration, it doesn't attach, due to the sub-vendor
and sub-productid's not matching for me. this entry:
{ PCI_VENDOR_NETMOS, 0x9901, 0xa000, 0x2000 },
{ 0xffff, 0xffff, 0xffff, 0xffff },
{
{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
doesn't match, and if i make it look like:
{ PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9901, 0, 0 }
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, 0x00 },
it fails when trying to open with kermit:
(/home/mrg/) C-Kermit>set line /dev/tty02
tcsetattr: Invalid argument
this
{ PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9901, 0, 0 }
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
attaches, and kermit is able to open the device, but kermit
disconnects when you try to actually "connect":
(/usr/src/) C-Kermit>set line /dev/tty02
(/usr/src/) C-Kermit>set sp 115200
/dev/tty02, 115200 bps
(/usr/src/) C-Kermit>c
Connecting to /dev/tty02, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
?Carrier required but not detected.
***********************************
[ ... ]
i've tried to "set carrier-watch off" in kermit, but it still
disconnects immediately.
ah, the reason my card does not match normally is that the
subsystem ID is 0x1000 not 0x2000.
.mrg.
Home |
Main Index |
Thread Index |
Old Index