serial port multiplexing
Hello all,
I am a newbee tryinging for serial port
multiplexing. Currently my driver supports for one port
(/dev/ttyS0). However i want to use the same physical port for 2 virtual ports.I am NOT sending two type of data simultaneously. I want to first reigister my driver for /dev/ttyS0. When the kernel has booted ,i want to disable it. Then i want to enable the driver to register for say /dev/ttyS1.
in short i don't want the console to have controle
over the serial port.
The point of doing such is that i want my serial
port to be free. I can telnet to this potr from other machine and test few stuff. i hope i have properly mentioned my problem.
plz let me know how should i proceed.
thanks in advance.
regards,
rahul
____________________________________________________
Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html
Quoted 11 lines · Rahul Tank
I am a newbee tryinging for serial port
multiplexing. Currently my driver supports for one port
(/dev/ttyS0). However i want to use the same physical port for 2 virtual ports.I am NOT sending two type of data simultaneously. I want to first reigister my driver for/dev/ttyS0. When the kernel has booted ,i want to disable it. Then i want to enable the driver to register for say/dev/ttyS1.
in short i don't want the console to have controle
over the serial port.
Try setting the kernel message level to zero after boot. That will prevent the kernel from displaying any further messages to that serial port, except when a serious problem (eg, oops) occurs.
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core
Quoted 13 lines · Russell King
Quoted 11 lines · Rahul Tank
I am a newbee tryinging for serial port
multiplexing. Currently my driver supports for one port
(/dev/ttyS0). However i want to use the same physical port for 2 virtual ports.I am NOT sending two type of data simultaneously. I want to first reigister my driver for/dev/ttyS0. When the kernel has booted ,i want to disable it. Then i want to enable the driver to register for say/dev/ttyS1.
in short i don't want the console to have controle
over the serial port.
Quoted 3 lines
Try setting the kernel message level to zero after boot. That will prevent the kernel from displaying any further messages to that serial port, except when a serious problem (eg, oops) occurs.
Alternatively, IIRC one of the printk-nullifying patches were taken some time ago. You should be able to eleminate any printk()s through kernel configuration in the embedded menu.
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Quoted 14 lines · Jan-Benedict Glaw
Quoted 13 lines · Russell King
Quoted 11 lines · Rahul Tank
I am a newbee tryinging for serial port
multiplexing. Currently my driver supports for one port
(/dev/ttyS0). However i want to use the same physical port for 2 virtual ports.I am NOT sending two type of data simultaneously. I want to first reigister my driver for/dev/ttyS0. When the kernel has booted ,i want to disable it. Then i want to enable the driver to register for say/dev/ttyS1.
in short i don't want the console to have controle
over the serial port.
Quoted 7 lines
Quoted 3 lines
Try setting the kernel message level to zero after boot. That will prevent the kernel from displaying any further messages to that serial port, except when a serious problem (eg, oops) occurs.
Alternatively, IIRC one of the printk-nullifying patches were taken some time ago. You should be able to eleminate any printk()s through kernel configuration in the embedded menu.
Yes, except I believe the OP wants to see the initial kernel messages, and then want to shut the kernel up once it has booted.
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core