Re: Regarding UART Device driver

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

 





Erik Mouw <mouw@xxxxxxxxxxxx> wrote:
On Mon, Jan 29, 2007 at 01:24:32AM -0800, mayank rana wrote:
>> I am working on XAP255 board and Linux kernel 2.6.11.

> I suppose you mean PXA255. In that case, upgrade your kernel, 2.6.11 is
> considered ancient and hence completely unsupported. See
> http://www.arm.linux.org.uk/mailinglists/faq.php#f12

> > I am facing
> > problem related to UART communication. By default Serial
>>  communication is in blocking mode. how can I change the mode from
> > blocking to unblocking ?

> open() the device with O_NONBLOCK. See Stevens[1].

> > I read that if I can change termios structure's c_cc flag with
> > V_MIN and V_TIME is equal to 1, it will work in unblocking mode....
>>  where can I find this structure attributes ?

> See Stevens[1].


> Erik

> [1] W. Richard Stevens, "Advanced programming in the Unix environment",
> Addison-Wesley, 1992, ISBN 0-201-56317-7.
> http://www.kohala.com/start/apue.html

Yaa Erik I meant PXA255 not PXA250...
I cann't change kernel version ..it is required.still I will try to do that.
When we are cross compiling code for PXA255. all the device drivers will remain in /dev and newer one will be in /arch/ respective folder. May I right ?
 
If I will change mode from blocking to non-blocking , what will be the impact of that on application ?
 
Really need ur help on this..
 
Regards,
_-_Mayank Rana_-_
 

 


Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.

[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