read problem in tty driver

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

 



Hello.I have been working on program based on LDD3 source tiny_tty driver (http://www.cs.fsu.edu/~baker/devices...tty/tiny_tty.c) and I have problem with reading from device in user space.

Program works perfectly but when I copy data from driver (equivalent to tiny_timer with using tty_flip_buffer_push and tty_insert_flip_string or tty_insert_flip_char )to user space, data return to buffer in writing function .I can not read data in user space (cat /dev/ttty0) and I have no idea where the problem is.
thanks
Val

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux