Usually, to know on what /dev/ttySx my modem is on , 
I simply do "ATDT222-2222/n" > /dev/ttySx ( with 222-2222 as my phone number and 
/dev/ttySx representing the different ports I try from /dev/ttyS1 to /dev/ttyS4). But 
this time something weird happens: 
The first time I did "ATDT222-2222/n" > /dev/ttySx with 
/dev/ttyS2 as /dev/ttySx, /dev/ttyS2 seemed to make my phone line ringing and the 
other /dev/ttySx were not recting. So /dev/ttyS2 seemed to be the right one. The 
problem is that, since that first successful test, every time I do "ATDT222-2222/n" > 
/dev/ttyS2..the modem doesn<t respond at all !!! The other /dev/ttySx wont respond 
also. "dmesg" tells me that I have serial  ports at tty00,tty01,tty02. But I did try 
their /dev/ttySx equivalent with no success. Let me tell you that the only changement 
I have made was the following:
I did by mistake link /dev/ttyS1 to /dev/modem. Then to delete that link and recreate 
a new one, I did "rm /dev/modem" and recreated the link by doing "ln -s /dev/ttyS2 
/dev/modem ". Since things still didn't work, I tried recreating /dev/modem with 
"mknod" as a block device,  but the problem is still the same!


HotBot - Search smarter.
http://www.hotbot.com

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to