serial port multiplexing

2005-08-25 Thread Rahul Tank
 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


serial driver + ioctl

2005-08-02 Thread Rahul Tank
 hello all,
   i am trying to write an ioctl for my serial driver.
i am trying to implement a method which works like
'setserial' however i am unable to understand how to
set the baud rate .
  any pointers

 thanx in advance
  regards,
   rahul






__
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


serial device driver

2005-07-27 Thread Rahul Tank
hello all,
   i am writing a serial device driver. After going
thru few linux journals i have understood that serial
ports get mapped at standard addrerss.We need to take
these regions, register driver and talk to them
(read,write).
 
  however i am unable to do the same.
 plz help me



__
How much free photo storage do you get? Store your friends 'n family snaps for 
FREE with Yahoo! Photos http://in.photos.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


serial driver help

2005-07-26 Thread Rahul Tank
hello all,
  i am a newbee trying to write a device driver for a
serial port.
 i read the /driver/char/serial.c and have got the
idea of how the gs_write works.
  however i am unable to understand how to read or
write to a serial port.

 any pointers,
  plz help

 thanks in advance.






__
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/