Tom,

Its not very difficult to get a PCI h/w modem to work under linux.. Read my
writeup...

-sarang

Hi guys,

I installed Mandrake on a friend's machine and the modem didn't work.. He
def. had a h/w modem.. but it was a PCI modem.. so after browsing and
searching a bit, I found that you need to configure PCI modems u'reself..
Kernel 2.4 will do this automagically, but for the time being, u'll have to
do the following:

Login to your linux box.

Open a terminal, and type "cat /proc/pci" followed by enter and then u'll
see a list of all the PCI devices you have.. which will be long list.. at
the end of it, you should be able to spot "Serial controller" somewhere..
it'll be something like this:

Bus 0, device 17, function 0: Serial controller: Unknown vendor Unknown
device (rev 1). Vendor id=12b9. Device id=1008. Medium devsel. IRQ
11. I/O at 0xcc00 [0xcc01].

Note down the I/O port (which is 0xcc00) and the IRQ (which is 11 here).

Next, open another terminal, type "su" followed by enter and give your root
password.. now you have all root privileges.. now type the following "ln -s
/dev/ttyS2 /dev/modem" followed by enter at the prompt.

next, type the following

"setserial /dev/modem uart 16550A port 0xcc00 irq 11" followed by enter.

replace the 0xcc00 by your I/O port above and 11 by your IRQ above. Now you
should be able to connect to your modem.. To see if you can, start kppp and
select /dev/modem as your modem device.. then query the modem and see if
you get any response.. if you get a response (you see the progress bar and
then you see some legible strings and not blanks as output) then that means
your modem is all set!

Last step, is to set the above thing to work every time you boot.. so just
open the file
/etc/rc.d/rc.local in your favourite text editor and add the "setserial ...
" line from above:
setserial /dev/modem uart 16550A port 0xcc00 irq 11

at then extreme end of the file. And you are all set!!

The Idea : Your machine only at max has 2 serial ports.. com1 and com2..
all others are virtual.. now when you connect a PCI modem, it has its own
serial driver.. so you need to assign a com port to it. This is not done
automatically by the current version of linux.. so you need to manually
tell your machine that _this_ com port (com3, com4 whatever) is at IRQ
whatever and I/O whatever.. then your modem will work perfectly :).. again,
it dosn't matter what port the modem shows up under windows.. if its not
com1 or com2, its generated by the OS.. so its OS dependent!

-sarang

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to