Search Results

Search: Posts Made By: bus147
Forum: Programming 11-05-2011
4,196
Posted By bus147
Hi Corona, Thanks for your suggestion. Here...
Hi Corona,

Thanks for your suggestion. Here is the log from strace:

_newselect(0, NULL, NULL, NULL, {0, 16576}) = 0 (Timeout)
open("/dev/spidev0.0", O_RDWR) = 6
ioctl(6, 0x80406b00,...
Forum: Programming 11-04-2011
4,196
Posted By bus147
How to init the SPI device in daemon?
I have to make a linux monitoring daemon that works with a SPI device (/dev/spidev). However, I always failed to init this SPI device. The return error code is 25, which means "inappropriate ioctl...
Forum: Programming 10-04-2011
6,803
Posted By bus147
Hi NH2, My problem comes from invalid...
Hi NH2,

My problem comes from invalid compile option that I mentioned from my previous post. By the way, I tested with your code and get error code 11 returned from pthread_create() function. The...
Forum: Programming 09-16-2011
6,803
Posted By bus147
I am working on embedded linux. It turns out...
I am working on embedded linux.
It turns out that the problem is not come from the source code itself but from the compile option. If I add -D_GNU_SOURCE when compiling libFOO then problem will be...
Forum: Programming 09-16-2011
6,803
Posted By bus147
A weird problem with POSIX function
Hi all,

Sorry for the title because I didn't find a proper name for it. My question is about POSIX functions, such as timer_create(), mq_open() and pthread_create().


void test_queue()
{...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 12:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy