-dev] function write in char driver (ARM - AT91)
Hi Ramon,
rflores wrote:
[snip]
The code in the application side is:
/int fd;/
/char buf[80];/
/fd = open (/dev/swspi,rw);/
Not an appropriate argument type for this field. The flags field
of open
Hi Ramon,
rflores wrote:
[snip]
The code in the application side is:
/int fd;/
/char buf[80];/
/fd = open (“/dev/swspi”,”rw”);/
Not an appropriate argument type for this field. The flags field
of open() is an int. Read the open manual page for details.
Hi all,
Im writing a char driver, my platform is an arm nommu (AT91).
The init function executes correctly in the uClinux startup. In the
application the device is opened and closed correctly, but when I try to use
the write function, the kernel doesnt execute my write function and the
Hi Ramon this is Juanba what's going on? I see don't explain me anything
else..
Uhmm could you supply us the node the* ls -al /dev/swspi *results of your
system, ehhh the -9 errno code value means that the file descriptor returned
from the kernel side is not valid one to perform read/write