[rtl] string functions

2002-02-04 Thread Massimiliano Cialdi
how can I use the string conversion funcion like sprintf/sscanf within a kernel module? thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED

Re: [rtl] binary semaphore

2002-01-31 Thread Massimiliano Cialdi
Ish Rattan wrote: On Wed, 30 Jan 2002, Massimiliano Cialdi wrote: I need to use binary semaphore instead of counting. There is a posix implementation? What about counting semaphore initalized to 1? I need a semaphore that assumes only values 0 or 1, and never greater than 1. thanks

Re: [rtl] binary semaphore

2002-01-31 Thread Massimiliano Cialdi
[EMAIL PROTECTED] wrote: On Wed, Jan 30, 2002 at 11:12:20AM -0500, Ish Rattan wrote: On Wed, 30 Jan 2002, Massimiliano Cialdi wrote: I need to use binary semaphore instead of counting. There is a posix implementation? What about counting semaphore initalized to 1? Or mutex. Anders

[rtl] binary semaphore

2002-01-30 Thread Massimiliano Cialdi
I need to use binary semaphore instead of counting. There is a posix implementation? thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED

[rtl] rtlinux gcc 3.0.3

2002-01-16 Thread Massimiliano Cialdi
tokens are () I wonder if I can remove the extra tokens wherever they are. thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information

[rtl] hard real time in user-space

2002-01-06 Thread Massimiliano Cialdi
do rtlinux 3.1 allow me to do hard real time tasks in user-space? thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information

[rtl] real time workshop rtlinux

2002-01-04 Thread Massimiliano Cialdi
we use real time workshop to obtain rt modules, but what about external mode? How can I implement it? thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL

[rtl] about edf scheduler

2001-11-29 Thread Massimiliano Cialdi
I found something very interesting in http://bernia.disca.upv.es/rtportal/apps/edf-sched/index.html I tried to patch rtlinux3.1 and seem to works. I wonder if this patch will be included in a future official distribution of rtlinux. thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL

Re: [rtl] oneshot thread

2001-11-25 Thread Massimiliano Cialdi
I use this ABSTIME? thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl Your_email | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/

[rtl] oneshot thread

2001-11-23 Thread Massimiliano Cialdi
What do I need if I don't want a periodic thread? That is, I want to set a dead-line for my thread without using periodic thread? thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL PROTECTED] OR echo unsubscribe rtl

[rtl] dead line in periodic thread

2001-11-16 Thread Massimiliano Cialdi
How can I defin a peroidic thread (say one second), but with earlier dead line (for example 50 ms). That is I have a job that must finish in 50 ms, and this job must runs once per second. Thanks and sorry for my english -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl

[rtl] comedi interrupt

2001-11-09 Thread Massimiliano Cialdi
the board interrupts. I wonder if it's possible, using comedi, to obtain temporized interrupt by programming the boards, directly or using some low level comedi functions, and using it for read single data. thanks and sorry for my english -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl

[rtl] Re: data read error

2001-10-31 Thread Massimiliano Cialdi
David Schleef wrote: On Tue, Oct 30, 2001 at 05:58:39PM +0100, Massimiliano Cialdi wrote: I use Comedi 0.7.60 and rtlinux 3.1 (linux 2.4.4), and I have PIC-6024E board. I tried to use the following: Does it work from user space? No. comedi_test doesn't works the output

[rtl] data read error

2001-10-30 Thread Massimiliano Cialdi
(): ni_E: timeout 2 sometimes I obtain a different one: ni_E: timeout 1 I wonder if there is an error in the code or if the board is broken. thanks and sorry for my english -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL

Re: [rtl] Named Semaphores

2001-10-23 Thread Massimiliano Cialdi
processes able to get a reference to the same semaphore? I have the same problem: I need to synchronize two process (in two separate modules) using the same semaphore. -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo unsubscribe rtl | mail [EMAIL