[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Internal modem com port setting
[21-May-2004 15:12.41 (BST) / Chris Johnson]
> How can I test to see what com port my internal PCI modem is set at in my
> linux box?
Your dmesg output should have lines along the line of:
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
That's usually the onboard. With luck, providing you've not got a HCF modem,
ttyS2/3/4/n should appear with an IRQ that isn't 3 or 4 - more likely to be
9 or above.
If you have got a HCF modem, you'll need a kernel driver for it. If there
isn't a kernel driver for it, you may as well set fire to it.
> Is there a /dev/ file I can send some text to trigger the modem to respond
> or can I telnet to it or something like that? How do I view the response?
As root (or a suitably privileged user that has rw access to the /dev/ttyS*
nodes), you can use 'cu' (for the UUCP-elite), or 'minicom' (if you're
feeling less inclined to use ~. to quit a terminal cilent), do something
along the lines of:
cu -l ttyS2 -s 115200
Wait for it to say:
Connected.
Then type 'ATI', follwed by <enter>.
If it echoes it back and responds, there's a modem on it.
If it doesn't echo back and you get no response, there's no modem on it.
Type ~. to quit cu.
HTH,
me.
--
nine <e> rob [at] impure.org.uk <pgp> 0x8bb5c71e
"This Basil. This Basil's hand. This smack on the head."
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.