Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
To set the com port speed you can do that with stty
stty -F /dev/ttyS0 115200
To setup the DCE speed of the modem you can use setserial like this..
setserial /dev/ttyS0 spd_hi
There are some oddities involved with setting the speed of a port however that could actually cause the performance to be reduced using a speed that's too high for the line so testing should be done. With setserial what you set is not actually what you get depending on the hardware.
Apparently udev hasn't been started at all when this module (usbserial)is loaded. So I deferred setting the baud until the very end of the boot process. there is a file called /etc/init.d/bootmisc.sh , which runs at the very end. You can move the stty statement into /etc/init.d/bootmisc.sh.
so in essence what i did was
sudo gedit /etc/init.d/bootmisc.sh
stty -F /dev/ttyUSB0 115200
at the very end of the sh file just before it exits.
it changes my baud rate from 9600 to 15200 on each boot.
is working much better and faster now.
This is working very well for me and was suggested to me by a friend....thank you very much for responding.
I don't use knoppix so I am not familiar with it but on the internet confiuration I simply manually entered it into the network configuration as /dev/ttyUSB0
because it was not able to automatically detect it in ubuntu so I pointed it to the usb.
if it has detected it at usb0 what is the problem?
I have no idea how to make it see it as a serial port when it is plugged into the usb port am not even sure if you can?
the problem is that the serial\modem is not working.when I query the modem in kppp it sort of "detects" the modem but there are no lights that show modem activity when I query.Then I detached the modem form the usb to serial converter and query the modem in kppp-it still detects the modem!
so kppp "sees" the usb to serial converter circuitry as the "modem".
BTW,modem and usb converster works perfectly in xp.
Thanks for replying.
Now I use kanotix bughunter.Installed it and I got the touch pad scroll to work.also the usb thumb drive displays its icon on desktop when I plug it in.
forgot to mention that the internal modem works on the laptop(toshiba tecra a3).had to install the driver tho.so the kppp dialer works for me.
I have an old practical peripherals ext modem which I want to work also and at the same time test the usb to serial conv.
dmesg shows that the usb-serial conv is in ttyUSB0 so I created a link to /dev/modem to use the modem I connected to the serial side of the converter.Had to google a lot to arrive to this but this is linux so it is all "trial and error".I may have to do the same whenever I connect another serial device.
One of the primary reasons why linux at this stage will never be a "mainstream" OS.