Click to See Complete Forum and Search --> : modem as ttyS04???
jknox
10-04-2001, 08:51 PM
Ok, so I have followed the instructions on installing the modem. I have a 56k USR modem bought specifically because it has a tested with linux label right on the box. I installed it on a mandrake system. It won't work so I come here and look things up and go back and try the "set serial" stuff. It doesn't work so I look and find that there is an irq conflict with the new modem on irq5 and something else that looks like the VIA bus controller on irq5. I go into the bios and force the modem to irq3 in the bios (change the bios to manual config and assign pci slot 1 irq3) The modem is listed under the hardware list, the modem is listed in the PCI list as having irq3. There is nothing else on irq3 and there are no serial devices on this machine to use irq3(no serial ports on this machine, i never put them in). Mandrake tries to use /dev/modem as the device. This gives the irq and port as though the serial port was there but it is not. If I try to set /dev/modem to irq3 and 0xe800 I get an error message. There is no option to sellect the ttyS04 as the port for the modem. This is where the modem is sitting. My question is how do I get these things turned around so that my modem is in the correct place? I have spent several hours reading, fiddling, etc, without any answers.
Thanks,
John
Nameless
10-04-2001, 09:36 PM
Hey
Yeh I got the same problem. I have the same modem too just im using slack 8 w/ 2.4.10.
Anyways what I have is it shows up as com 5 (ttys4) in windows. But then someone told be to use ttyS2 in the setserial and it worked. But that was when I was using 2.4.5. Now with my new kernel it doesn't work but give it a try anyways. For your modem stats (as root) type "cat /proc/pci" in the terminal.
Hope that helps.
BTW Here ismy post (http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get)
Ismahel
10-04-2001, 10:17 PM
I have the same modem and I had the same problem.I mailed Theodore T'So and here is the mail.
On Sun, Aug 19, 2001 at 02:29:39AM -0400, Sebastien Lemieux wrote:
> I have a lot of troubles with setserial w/ a 2.4.x kernel. I had a 2.2.19 kernel and worked okay for my PCI modem. The trouble is really not the modem cause it currently works. I'm entering this line to make it work:
>
> setserial /dev/ttyS2 uart 16550A irq 7 port 0xb800
>
> The first times I tried it w/ a 2.4.x kernel, I thought it was me compiling the kernel wrong or having a old version of setserial. I checked in /proc/pci to get the irq and port, make sure to don't have conflicts, check in serial.conf if there could be something wrong but nothing is wrong. Using the same config it works fine on 2.2.19. Everytime I do a setserial /dev/tty... , I get this error:
>
> Cannot set serial info: address already in use.
With the 2.4 kernel, it's probably autodetecting the modem for you
already, so you don't need to use the setserial command. It's
probably assigned it to /dev/ttyS4, or some such. Check out the boot
messages at startup, and you'll probably see something like this:
ttyS04 at 0xb800 (irq = 7) is a 16550A
- Ted
What I did after that (cause with Debien there is no ttyS4 at default) is:
./MAKEDEV ttyS4
then I configured my modem on /dev/ttyS4 and it worked fine, I think that'd work on your box too.
[ 04 October 2001: Message edited by: Ismahel ]