Re: [rtl] bug in rtf handler ??

2001-03-02 Thread Nathan Paul Simons
On Fri, Mar 02, 2001 at 03:18:09PM -0700, Nathan Paul Simons wrote: > Okay, I'll see if I can get a patch coded up right quick. I'll > (hopefully) post it to the list in about an hour. On second examination, it looks like this is gonna take a little longer. I forgot it was a long

[rtl] suspend + delay mechanism?

2001-03-02 Thread Eric Peterson
Is it possible to do an pthread_suspend_np with a delay in RT-Linux (3.0)? I'd like to suspend a task, but if he isn't woken up (e.g. lost the interrupt), I want to pop out of the suspend and poll. The easiest way I see is to use pthread_wait_np(), in a periodic task, and us

Re: [rtl] bug in rtf handler ??

2001-03-02 Thread Nathan Paul Simons
On Fri, Mar 02, 2001 at 01:47:59PM +0100, Olaf Petzold wrote: > Imo it's a bug/design fault- if I need to write to the rtf to kick the thread > to fill me the buffer I don't need a handler on user read ops. > > To Nathan: Imo to poll() is an access. I ask for new data - if there are new I > get i

[rtl] Question

2001-03-02 Thread Sergio Arregui Ojeda
Hello, i'm making a system for data aquisiton in real time, this is gonna be trough serial ports, and i'm looking for a multiport serial board, so i am looking for one that is compatible with my system, i have linux Slackware 7.0, kermel 2.2.14 with rtlinux2.2 (soon rtlinux2.3final with kernel 2.

No Subject

2001-03-02 Thread owner-rtl
<<< No Message Collected >>> -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl " | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/

No Subject

2001-03-02 Thread owner-rtl
<<< No Message Collected >>> -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl " | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/

RE: [rtl] Please help, unresolved symbols in RTLinux modules

2001-03-02 Thread Stephen D. Cohen
Mr. Asselin, I had similar problems before I did a 'make mrproper' in my Linux directory before building the kernel. Then you must be certain to reboot that kernel before building RTLinux. You can do a 'make clean' in the RTLinux directory to start over with the RTLinux build once you a

[rtl] Please help, unresolved symbols in RTLinux modules

2001-03-02 Thread Maxime Asselin
Please help, I have unresolved symbols in RTLinux modules since I upgraded to RTLinux 3.0 final. Linux kernel: 2.2.18 (fresh and clean archive) RTLinux: 3.0 final Included most common options in kernel from my saved config file I used with previous RTLinux releases. And I get: # depmod -ae depm

[rtl] y o k se

2001-03-02 Thread sergi martin
  Mitch buchanan k coño es tu pagian so mamon. jajajajaj k me parto [EMAIL PROTECTED]

Re: [rtl] bug in rtf handler ??

2001-03-02 Thread Olaf Petzold
Hi, > I'm having the exact same problem. I installed a handler that > should start upon an read atempt from the user space but never starts! To > solve this I used a workaround that consists in a write to a rt fifo that > starts a handler that writes the info to another rt fifo so the user >

Re: [rtl] bug in rtf handler ??

2001-03-02 Thread Sergio Silva
Hello!... I'm having the exact same problem. I installed a handler that should start upon an read atempt from the user space but never starts! To solve this I used a workaround that consists in a write to a rt fifo that starts a handler that writes the info to another rt fifo so t

Re: [rtl] bug in rtf handler ??

2001-03-02 Thread Nathan Paul Simons
On Fri, Mar 02, 2001 at 09:36:00AM +0100, Olaf Petzold wrote: > never called imo: > > int rtfHandler(size_t fifo) > { > size_t sz; > const char *msg = "Hallo World\n"; > sz = strlen(msg); > rtf_put(number(), &sz, sizeof(sz)); > rtf_put(number(), (void*)msg, sz); >

Re: [rtl] bug in rtf handler ??

2001-03-02 Thread Olaf Petzold
Am Fre, 02 Mär 2001 schrieben Sie: > *Never* called? Or just not called when the FIFO is empty and you > do a read from it? This is a known problem that I had a quick "fix" for, never called imo: int rtfHandler(size_t fifo) { size_t sz; const char *msg = "Hallo World\n";