Serial driver in-band control message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.
I'm developing a driver for a rather weird serial controller hardware.
The HW allows the host to put it in low power state. 
The command for entering low power is an ASCII message sent in-band.

Till now, I used a user-space application to open the TTY port and send the command through it.
This is not acceptable solution as the device needs to be put in low power mode by its driver in the kernel.

I didn't find any example or reference on how to write characters to the serial device, or how to open and write to the  TTY device from the kernel space.
I guess this is discouraged. Do I have any other options to do so from the kernel space ?

Warm regards,
Ramon
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux