Link to home
Start Free TrialLog in
Avatar of maclean070997
maclean070997

asked on

PCI Modem...

I just acquired a AOpen (Acer) PCI modem, and am unsure how to get it to work.  It is PnP, and I have PnP support compiled in the kernel (2.0.34), which reports 3 devices registered at boot up.

I do not think that it is a soft modem, because no where is it mentioned that Win is required (I have a question pending with AOpen).  Where do I link /dev/modem too when it is PCI... I don't believe it works with the COM ports the same way my friendly old (broken) ISA modem did.

Thanks in advance...

John
Avatar of marcelofr
marcelofr

what does your linux report about serial ports at startup (you can see those messages after boot with "dmesg|less")? Have you looked at "cat /proc/pci|less"? Also may be enlightening "cat /proc/interrupts" and "cat /proc/ioports"...

Tell us what you find...

Good luck
Avatar of maclean070997

ASKER

Start up messages:

Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fdb70
pcibios_init : BIOS32 Service Directory entry at 0xfdb80
pcibios_init : PCI BIOS revision 2.10 entry at 0xfdba1
Probing PCI hardware.
Calibrating delay loop.. ok - 465.31 BogoMIPS
Memory: 63064k/65536k available (852k kernel code, 384k reserved, 1236k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.34 (root@Onion) (gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)) #7 Wed Aug 19 14:26:07 EDT 1998
PnP-Linux support version 0.3 by Tom Lees <tom@lpsg.demon.co.uk>.
Searching for PnP-ISA devices...
  Found card 'Creative SB AWE64 PnP'
3 PnP devices registered.
Starting kswapd v 1.4.2.2
Serial driver version 4.13 with no serial options enabled
tty01 at 0x02f8 (irq = 3) is a 16550A
tty03 at 0x02e8 (irq = 3) is a 16550A
lp1 at 0x0378, (polling)
+ide, sound, network...

/proc/pci is:

PCI devices found:
  Bus  0, device  11, function  0:
    Serial controller: Unknown vendor Unknown device (rev 1).
      Vendor id=127a. Device id=1005.
      Medium devsel.  Fast back-to-back capable.  IRQ 4.  Master Capable.  Latency=64.  
      Non-prefetchable 32 bit memory at 0xffee0000.
  Bus  0, device  10, function  0:
    VGA compatible controller: S3 Inc. ViRGE (rev 6).
      Medium devsel.  Master Capable.  Latency=64.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0xf8000000.
  Bus  0, device   9, function  0:
    Ethernet controller: Realtek 8029 (rev 0).
      Medium devsel.  IRQ 11.  
      I/O at 0xd800.

The top one is the modem.  I set the interupt the interupt in the BIOS while experimenting...

Interupt 4 does not show up in /proc/interrupts

any ideas???
No up and ready answer, but some tips:

-Try the 'scanpci' command and see if your modem is recognized at all.
- check your serial devices with 'setserial /dev/cuaX' where X can be , say, 0 to 3. The modem should report UART 16055A and it's IRQ. But beware; the normal COMports also register UART 16055A.
- In case of IRQ-conflicts you can use the 'setserial' command to assign a different IRQ to any /dev/cuaX.
/dev/modem should be linked to the /dev/cuaX where your modem is on.
- Are you sure you don't have a so called Winmodem? It distinguishes itself by not having an UART chip on the board and the total inability to operate under anyhting else than Windows.

Good luck.

Peter.
pg@mindless.com
I have the exactly same modem (Aopen 56K PCI) and have been
trying all different things for the past two weeks.....
no success yet :(
dmesg and /proc/pci show that the modem was identified as
unknown vendor and unknown device by PCI BIOS (just like your
/proc/pci).
I tried setting the cuax (I tried putting modem at COM2
and COM3) etc. to the correct I/O Address and IRQ and UART by
setserial but still nothing can see it.... I think someone
needs to write a correct PCI driver for it :).....

For anyone trying to help....it is definitely not a Winmodem and
has a 16550A command set emulated by a Rockwell chipset (or so says the manual :) ).

If I find a solution soon, I will post it soon, or please keep
me informed if you meet success :)

Have a great day!

- Jayesh
Here is the result of 'scanpci -v12':

pci bus 0x0 cardnum 0x0b function 0x0000: vendor 0x127a device 0x1005
 Device unknown
  STATUS    0x0290  COMMAND 0x0107
  CLASS     0x07 0x00 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x00
  BASE0     0xffee0000  addr 0xffee0000  MEM
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x04
  BYTE_0    0x01  BYTE_1  0x00  BYTE_2  0x21  BYTE_3  0x08

and here is setserial /dev/cua0 and /dev/cua2

/dev/cua0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/cua2, UART: unknown, Port: 0x03e8, IRQ: 4

I have been out of town for the last week, so have not had time to 'play' around with it, or read up on exactly what all this stuff means...
I this information leads you to think of anything else, please let me know.

Thanks,

John
Here is the result of 'scanpci -v12':

pci bus 0x0 cardnum 0x0b function 0x0000: vendor 0x127a device 0x1005
 Device unknown
  STATUS    0x0290  COMMAND 0x0107
  CLASS     0x07 0x00 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x00
  BASE0     0xffee0000  addr 0xffee0000  MEM
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x04
  BYTE_0    0x01  BYTE_1  0x00  BYTE_2  0x21  BYTE_3  0x08

and here is setserial /dev/cua0 and /dev/cua2

/dev/cua0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/cua2, UART: unknown, Port: 0x03e8, IRQ: 4

I have been out of town for the last week, so have not had time to 'play' around with it, or read up on exactly what all this stuff means...
I this information leads you to think of anything else, please let me know.

Thanks,

John
ASKER CERTIFIED SOLUTION
Avatar of jayesh_amin
jayesh_amin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I compiled 2.1.125 to a floppy to see if I could get anywhere.  I get a little farther, using the 'lspci' app I got somewhere it recognizes the Rockwell chip but not the device.  It does not give an IO address for the card so I have no idea what to set the serial port to.  Any Ideas?  What did you try?

I caved and installed NT on a vacant partition to ensure that the modem was not bad and hoped to steal some info about the serial port it uses, but the advanced tab is grayed out.

OH NO!

This just in from AOpen/Zoom tech support: <begin quote>

Dear Sir,
           This modem is a windows-based modem, so it doesn't support Linux. Unser NT you try to run the setup file which is on your driver folder. Don't install manually
Regards,
Tech Support.

<end quote>

How does this make you feel... I feel ripped off!

John.
If I find some time to kill this weekend, I will probably  try out the 2.1.125.... Haven't seen the docs etc so not sure how they handle the PCI stuff.... Will post my results...

I strongly think it is not a Windows dependent modem, 'cos the specs say it has Rockwell chip set which is supposed to be a UART16550A clone.... will check further on this.

If it IS windows based modem.....yeah I feel ripped off too! :(

regards,
Jayesh