[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: interacting with serial driver



On Fri, Jun 09, 2000 at 03:06:56PM +0530, Prateek Gera typed:
> 
> when you access node /dev/ttyS0,  it is directly associated with the driver
> "serial.c" through the major number, therefore you need not worry about
> using serial.c
> You require root permissions for doing this.
>

Or change the r/w permissions on the /dev/ttyS0 device.
 
> Also you need not worry about handling interrupts while writing a user
> level prg. the driver does it for you itself.

That's certainly an advantage- (And probably the right thing to do). 

Kala