[rtl] RTL and linux system calls

2001-05-20 Thread daniel sheltraw
Hell RTers I found the following paragraph at http://www.mysreenu.com/linux_software_design.html. Would someone please tell me whether the last sentence is correct. It was my understanding that anything running under Linux could be prempted by a RT scheduled task under RTLinux. Thanks, Daniel

[rtl] RTAI rebuild

2001-04-18 Thread daniel sheltraw
Hello realtimers I am doing a rebuild of my RTAI kernel on a pentium III. When running xconfig I see the following processor type choices: 386 486/Cx486 586/K5/5x86/6x86 Pentium/K6/TSC PPro/6x86MX Which should I use choice 3,4 or 5? Does it make a diff? Thanks, Daniel _

[rtl] Installing software under RTAI

2001-03-21 Thread daniel sheltraw
Hello RTers I have had trouble in the past compiling/installing new software once RTAI is installed so would someone please tell me what is the best way (or a way) to do this. Should I remove the soft link from /usr/src/linux to /usr/src/linux-2.2.16-ert before installing new software? Should I b

[rtl] RT and USB

2001-02-22 Thread daniel sheltraw
Hello RTers Does anyone know where I can get programming information or sample code for RT control of devices on the USB bus? Thanks all, Daniel _ Get your FREE download of MSN Explorer at http://explorer.msn.com -- [rtl] --- To un

[rtl] X win and RT problems

2001-02-19 Thread daniel sheltraw
Hello Linux Realtimers I have seen some discussion on the problems X Windows causes with RT scheduling. What are those of you that have abandoned X Windows altogether using in place of Xfree86? Thanks all, Daniel _ Get your FREE dow

[rtl] Handheld PCs and RTLinux

2001-01-10 Thread daniel sheltraw
Hello RTers I did not get a response to this question a few days ago so I thought I would try again. Is RTAI or RTLinux being run on handheld PCs. If so which handhelds are best suited for RT applications (Yopy, Compaq, etc)? Also does anyone have a good link to datasheets/info on the processor

[rtl] PDAs and Handhelds

2001-01-07 Thread daniel sheltraw
Hello RTers Is RTAI or RTLinux being run on PDAs or handheld PCs. If so which devices are best suited for RT applications (Yopy, Compaq, etc)? Thanks everyone, Daniel _ Get your FREE download of MSN Explorer at http://explorer.msn.

[rtl] insmod not found

2000-12-11 Thread daniel sheltraw
Hello RTers This isn't really an RT question but I thought I could get a quick answer here. After a major crash I reinstalled RadHat 6.2 (needed for RTAI CD installation) and switched to a KDE workstation-class installation (was GNOME prior to crash). Now insmod, rmmod, ldconfig, etc can not be

[rtl] XFree86 and RTAI latency

2000-11-24 Thread daniel sheltraw
Hello Erwin, Michel and other RTAIers I have been following your RTAI and Xfree86 latency thread. Is this a problem that exists with Xfree86 3.3.x as well or is this a new problem only? Thanks, Daniel >From: Erwin Rol <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: Michel Dänzer <[EMAIL PR

[rtl] RTAI select and fifo problem

2000-11-21 Thread daniel sheltraw
Hello RTAI world   I just upgraded to RTAI 1.3 (Linux 2.2 16) using the Embedix CD and everthing seems to be working fine as far as compling my modules goes. I am however having a FIFO problem. Code that was previously working under RTAI 0.7 (Linux 2.2.10) is not working after my upgrade. Communica

[rtl] RTAI module compile warnings

2000-11-20 Thread daniel sheltraw
Hello RTAIers I have installed RTAI Embedix from CD and all the modules (rtai.o, rtai_sched.o, etc) can be loaded. When I try to compile code which previuosly worked under rtai 0.7 using: gcc -g -D__KERNEL__ -DMODULE -O2 -Wall -I /usr/src/linux/include /usr/include/rt rt_stim.

[rtl] RTAI Embedix CD install

2000-11-20 Thread daniel sheltraw
Hello RTAIers I have a simple RTAI question. The actual question appears at the bottom of this email. I just installed RTAI Embedix Realtime from the Lineo CD. The installation completed with no errors reported. When I attempt to load the modules with (example rtai.o): insmod /lib/modules/2.2.

[rtl] rt_sleep_until question

2000-11-15 Thread daniel sheltraw
Hello RTAIers If one schedules events in oneshot mode by passing an array of times to rt_sleep_until() what happens if two successive events have the same time in the array? Will the second of the two execute immediately after the first is complete? Thanks Daniel

[rtl] RTAI saving flags Q

2000-10-30 Thread daniel sheltraw
Hello RTAI world Would someone please tell me in what situation would one need to use the routines rt_global_save_flags/rt_global_restore_flags and rt_mount_rtai/rt_umount_rtai? Thanks, Daniel _ Get Your Private, Free E-mail

Re: [rtl] RTAI install

2000-08-31 Thread daniel sheltraw
>From: Paolo Mantegazza <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: Re: [rtl] RTAI install >Date: Thu, 31 Aug 2000 06:50:03 +0200 > >daniel sheltraw wrote: > > > > Hello RTAIers > > > > I fi

[rtl] RTAI install

2000-08-30 Thread daniel sheltraw
Hello RTAIers I finally got my new machine and I am ready to install the latest and greatest version of RTAI. I guess that would be RTAI 1.3. I have RedHat Linux 6.1 on my system presently. I don't recall which kernel version is in 6.1 (If you know please tell me). Anyhow, given the present state

[rtl] realtime PC hardware questions

2000-08-22 Thread daniel sheltraw
Hello Realtimers A question or two about RT PC hardware. (1) The 82371 PCI-to-ISA bridge contains an 8254 timer/counter. Is this the 8254 which is used in RT LInux? (2) The 82371 also contains two 8259 PICs. Are these the same/usual interrupt controllers or are they used in Linux and RT

Re: [rtl] rt display in usec

2000-08-13 Thread daniel sheltraw
>From: David Olofson <[EMAIL PROTECTED]> >To: "daniel sheltraw" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: Re: [rtl] rt display in usec >Date: Fri, 11 Aug 2000 18:38:39 +0200 > >Wed, 09 Aug 2000 daniel sheltraw wrote: > > Hello RTers > >

Re: [rtl] rt display in usec

2000-08-09 Thread daniel sheltraw
Hello RTers This is a bit off the RTL and RTAI topic but I have a quetion similar to Patricks regarding RT display. I am willing to accept the course grained timing given by the reciprocol of the refresh rate but I would like to be able to draw the image to screen with hard RT scheduling. There

[rtl] Re-entrancy ? problem

2000-08-03 Thread daniel sheltraw
Hello RTAIers Hello everyone. I have a sort of reentrant problem. I know this isn't a terribly specific question but rather than work on it until it is more specific I thought I needed to catch you before the weekend. This is what my code does correctly: A kernel-space module contains a one-s

[rtl] NT and realtime

2000-08-01 Thread daniel sheltraw
Hello Realtimers Dare I speak the words. But is Windows NT capable of hard realtime scheduling? Daniel S. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To unsubscribe: echo "unsubscr

[rtl] rt_global_sti

2000-08-01 Thread daniel sheltraw
Hello RTers A while back a few of you helped with an ISR that looked like this: void pport1_irq(void){ rt_global_sti(); if(lp_count == ctrl[event_num].dat1){ start_time = rt_get_time(); rt_task_resume(); } lp_count ++; } The ISR resumes a previously suspended task after a certai

[rtl] DMA latency

2000-08-01 Thread daniel sheltraw
Hello Realtimers Does anyone out there know what the latencies are for DMA (ISA and PCI) transfers? Thank you, Daniel Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To unsubscribe: e

[rtl] rthal struct define

2000-07-31 Thread daniel sheltraw
Hello RTAIers It looks like rthal is defined in the modified irq.c. When I try to install a new SVAGlib I get a error that rthal is undefined which halts the install. Why isn't rthal defined in a header file which one could then #include in an include file of any new software to be installed? D

[rtl] undefined reference to rthal error

2000-07-29 Thread daniel sheltraw
Hello RTAI world Everyone is probably out enjoying their weekend as I should be but here goes another attempt at trying to fix this. This is a repeat email with clarifications about my difficulties installing SVAGlib 1.1.4 on my machine running RTAI 0.7 (yes I will upgrade when my new machine

[rtl] getting SVGAlib to work on RTAI machine

2000-07-28 Thread daniel sheltraw
TECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [rtl] library exporting rthal? >Date: Fri, 28 Jul 2000 23:26:43 +0200 (CEST) > >On Fri, 28 Jul 2000, daniel sheltraw wrote: > > > I am trying to upgrade my SVGAlib 1.3.1 to 1

[rtl] library exporting rthal?

2000-07-28 Thread daniel sheltraw
Hello RTAI world Is there a library which exports rthal that I should be linking in when doing an install of SVGAlib? I am trying to upgrade my SVGAlib 1.3.1 to 1.4.1. When I do a "make install" I get error messages that refer to rthal so I was wondering if you would give me hand with correctin

[rtl] difficulty installing SVGAlib on RTAI

2000-07-27 Thread daniel sheltraw
Hello RTAI world I am trying to upgrade my SVGAlib 1.3.1 to 1.4.1. When I do a "make install" I get error messages that refer to rthal so I was wondering if you would give me hand with correcting this problem. The errors read: /lib/libvga.so: undefined reference to `rthal' collect2: ld returned

[rtl] DMA versus PIO

2000-07-27 Thread daniel sheltraw
Hello RTers Would programmed IO be a better way to go than using DMA for RT WAV audio output (given latencies for DMA). I am using oneshot mode to schedule certain events in the main loop of my code. One such event might then be the output of WAV audio. If I were to use Programmed IO would it be

[rtl] PCI DMA latency

2000-07-27 Thread daniel sheltraw
Hello RTers I have heard that PCI DMA introduces rather large latencies into RT code. Does anyone have any idea what the range of latencies is for both PCI DMA and for ISA DMA? Daniel Get Your Private, Free E-mail from MSN

Re: [rtl] DMA

2000-07-26 Thread daniel sheltraw
>From: eric <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >Subject: Re: [rtl] DMA >Date: Wed, 26 Jul 2000 21:58:21 -0400 > >daniel sheltraw wrote: > > > > Hello RTers > > > > I know this is a bit off the topic of RT but does

[rtl] DMA

2000-07-26 Thread daniel sheltraw
Hello RTers I know this is a bit off the topic of RT but does anyone have any code that they could share with me to: (1) set up shared memory between RT module and user-space suitable for DMA (contiguous memory), (2) set up the DMA controller under 2.2 (3) to start DMA transfer for audio play

[rtl] addendum to VGA and RT question

2000-07-23 Thread daniel sheltraw
Hello Realtimers I thought I should and to my previous question that the machine actually locks up when writing to the palette registers alone (0x3C8 and 0x3C9). Any reason that this would be expected to cause problems under RTAI (or RTL) or am I just screwing up somewhere? Thanks all, Daniel S

[rtl] RT and the VGA

2000-07-23 Thread daniel sheltraw
Hello realtimers I have a function which writes to video memory in kernel-space (and the palette registers) after setting up the video mode using SVAGlib in user-space. I have used this function previously in a non-RT kernel module where it worked as expected. Now I am trying to use the same func

[rtl] EOIs and RTAI

2000-07-21 Thread daniel sheltraw
Hello RTAI Gurus Does RTAI use the PIC (8259A) "automatic end-of-interrupt mode" for all interrupt handlers? Thanks again, Daniel S. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To

[rtl] RTAI interrupts

2000-07-20 Thread daniel sheltraw
Hello RTAIers Two questions: (1) Do RT interrupts always interrupt any RT task or is there some dependence on the priority level set for the task? (2) What does rt_free_linux_irq() do and why is it needed? Would you please give me an example of when it might be used. Thanks again and h

[rtl] shared memory and user-space

2000-07-20 Thread daniel sheltraw
Tomasz I am using RTAI which uses the character device called rtai_shm but I get the picture. Thanks for the help. Daniel >From: Tomasz Motylewski <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [rtl] shared memory a

[rtl] shared memory and user-space

2000-07-20 Thread daniel sheltraw
Hello RTAI/RTL world I have written a user-space program that uses shared memory with my kernel module. If I execute the user-space program as root all works fine but if I execute it as a user the shared-memory allocation fails. What do I need to do to get this to work? Thanks all, Daniel ___

[rtl] resolve

2000-07-18 Thread daniel sheltraw
Hello Steve and Paolo I found the error in my ways and all is write in RTAI world (at least resuming a task in a fifo handler is). Suffice it to say that one should be careful when using data passed through a fifo from user-space. It particular don't try using it until you have got it. Sorry f

[rtl] RTAI rt_task_resume and fifo problem

2000-07-18 Thread daniel sheltraw
come up again with others. Daniel >From: Steve Papacharalambous <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: [rtl] RTAI rt_task_resume and fifo problem >Date: Mon, 17 Jul 2000 10:53:39 +0100 &g

[rtl] upgrade

2000-07-17 Thread daniel sheltraw
RTAIers I need to upgrade irrespective of the present difficulties that I am having with fifo handlers and task resumes. So should I use AtomicRTAI floppy install? Daniel Thanks everyone RTAI, RTL and all! Get Your Privat

[rtl] RTAI rt_task_resume and fifo problem

2000-07-16 Thread daniel sheltraw
ralambous <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [rtl] oneshot mode timing problem >Date: Sun, 16 Jul 2000 08:18:14 +0100 > >Hi Daniel, > >Can you send me the pertinent code please, > >Best regards,

[rtl] oneshot mode timing problem

2000-07-15 Thread daniel sheltraw
Hello RT World I wrote to this mailing list previously with a somewhat less clear version of this question. Please let me know if you need to see the pertinent code to help with this problem. In case it influences the answer to the following question let it be known that I am using 0.7 RTAI (

[rtl] oneshot mode problem follow-up?

2000-07-14 Thread daniel sheltraw
: int start_fifo_handler(unsigned int fifo) { rt_task_resume(&Task); return 1; } Any suggestions? Thanks, Daniel >From: "daniel sheltraw" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [rtl] oneshot mode problem? >Date: Fri, 14 Jul 2000 12:44:42 CDT > &

[rtl] oneshot mode problem?

2000-07-14 Thread daniel sheltraw
Hello Realtimers I am using RTAI and am having a problem with long time intervals in oneshot mode. My task looks like this: RTIME start_time; static void task_fun(int task arg) { rt_task_suspend(&Task); start_time = rt_get_time(); for(event_num=0; event_num < num_events; event_num++){

[rtl] calibration?

2000-07-13 Thread daniel sheltraw
RTAI world Timer calibration need only be done once and the appropriate info is stored in a file somewhere. Right? The reason I ask is that a test rt module that I wrote is doing something strange. All times seem to be double what I programmed them to be. I know I must be doing something stupi

[rtl] contiguous shared memory

2000-07-13 Thread daniel sheltraw
Hello realtimers My understanding of shared memory under RT Linux is that it uses vmalloc to allocate memory and therefore this memory may not be suitable for DMA (the memory is not guaranteed contiguous). (1) Is this the truth, the whole truth and nothing but the truth? (2) Is there someway to

[rtl] fifo question

2000-07-12 Thread daniel sheltraw
Hello RT world Does a fifo have to be created (using rtf_create or equivalent) in kernel-space before it can simply be opened for reading in user-space? The reason I ask is that I have been unable to open the /dev/rtf0 fifo in user-space. I am actually running the user-space program as root and

[rtl] TSC , 8254, and such

2000-07-10 Thread daniel sheltraw
if the time computed until next task is greater than 2^16/frequency (8254 hits turns over)? Who is that interval timed? Thanks! Daniel >From: Paolo Mantegazza <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: Re: [rtl] TSC and 8254 i

[rtl] TSC , 8254, and such

2000-07-10 Thread daniel sheltraw
if the time computed until next task is greater than 2^16/frequency (8254 hits turns over)? Who is that interval timed? >From: Paolo Mantegazza <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: Re: [rtl] TSC and 8254 interaction >D

[rtl] TSC and 8254 interaction

2000-07-10 Thread daniel sheltraw
Sorry Paolo I still do not understand the interaction between the TSC and 8254 for oneshot scheduling. Is there any documentation on this (besides the source)? Daniel >From: Paolo Mantegazza <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >Subject: Re: on

Re: [rtl] user

2000-07-07 Thread daniel sheltraw
Steffen You should be able to open fifos as a user. Make sure the fifos exist under /dev as /dev/rtf0, /dev/rtf1, etc. In user space you open the fifo with something like: #define RT_FIFO "/dev/rtf0" if((fd=open(RT_FIFO, O_WRONLY) < 0)){ fprintf("Error opening fifo\n"); exit(1); } Danie

[rtl] clock questions

2000-07-05 Thread daniel sheltraw
Hello RTers A couple basic questions for yall, I have a PII machine. When I look in /proc/ioports I see "timer" listed once with associated port addresses 40h-5fh. Q: Is all this address space for one PIT only? Q: Which counter (and PIT if more than one is available) is being used for RTL

[rtl] RT and wavetable audio

2000-07-03 Thread daniel sheltraw
Hello RTers I know this isn't specifically a RT Linux question but you guys/gals are the type of programmers that would probably know right where to go for an answer. Is anyone working on RT audio? In particular I am looking for example code for controlling wavetable synthesis registers of Sound

[rtl] select function in user space fifo read

2000-06-29 Thread daniel sheltraw
Hello RTAIers Would someone please write me a code snippet which shows the proper usage of the select function when used to wait for data to be sent to a fifo from kernel-space. Does select to a busy-wait? Thanks, Daniel G

[rtl] RT background reading

2000-06-29 Thread daniel sheltraw
Hello realtimers Would someone please tell me where I can find something to read about the various timer/counters used in PCs. This will help me ask more intelligent questions about RT. Also does anyone have a good reference for background reading on the PIC/APIC and how it is managed under RTA

[rtl] RTL and RTAI

2000-06-27 Thread daniel sheltraw
Hello realtimers I have not been following the recent discussions between the RTL and RTAI folks to closely. Has Linus decided to make RTL part of the kernel? Daniel S. Get Your Private, Free E-mail from MSN Hotmail at htt

[rtl] RTAI upgrade question and more

2000-06-21 Thread daniel sheltraw
might be needed for the RT effort. Please let me know if there is more I can do. Thanks everyone, Daniel Sheltraw Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To unsubscribe: echo

[rtl] again with the RTAI and OSS

2000-06-19 Thread daniel sheltraw
RTAIers This is a follow up to my previous OSS and RTAI questions. The folks at OSS (4Front tech) say they will be happy to correct the problem with running OSS under RTAI if someone from RTAI would send them an installation CD. Can this be arranged? Daniel _

[rtl] more RTAI and OSS

2000-06-19 Thread daniel sheltraw
tell me whether RTAI will work after this proposed solution. Thanks everyone, Daniel Sheltraw You should definitely try to remove the -rtai in the EXTRAVERSION field of /usr/src/linux/Makefile and then recompile the kernels as follows: rm /usr/src/linux/include/linux/modules/* rm

[rtl] RT and OSS

2000-06-19 Thread daniel sheltraw
Hello RTL/RTAIers Is anyone running RTL or RTAI with the OSS (Open Sound System) running. I am talking about the full OSS not OSS-free (which is part of the kernel or can be loaded as a module). I need support for my NeoMagic NMA2 sound chipset under a RT linux kernel and ALSA (Advanced Linux so

[rtl] docs

2000-06-19 Thread daniel sheltraw
Hello RT Linux world Is anyone working on a manual or book about RT Linux? Daniel Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL P

Re: [rtl] File I/O in RT Module

2000-05-30 Thread daniel sheltraw
Tobias I believe there is no support in the kernel for such file read/writes. It is best anyways to read/write to files in user-space and use shared memory or fifos to get the data into kernel-space. Daniel >From: "Tobias Klotz" <[EMAIL PROTECTED]> >Reply-To: "Tobias Klotz" <[EMAIL PROTECTED]>

Re: [rtl] task creation

2000-05-30 Thread daniel sheltraw
Mohan Please try rtl_sched.h or rtai_sched.h dedending on whether you are using rtl or rtai. Daniel >From: Mohan Kumar H <[EMAIL PROTECTED]> >To: rtl <[EMAIL PROTECTED]> >Subject: [rtl] task creation >Date: Tue, 30 May 2000 19:40:58 +0530 > >Hai all, > >I am new to RTLINUX. >In the manual pa

Re: [rtl] driver for sound card

2000-05-25 Thread daniel sheltraw
Thomas What functions of the sound chip do you need in your application. Just the DSP for digital recording of sound? Daniel >From: Thomas Gross <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [rtl] driver for sound card >Date: Thu, 25 May 2000 20:16:41 +0200 (MEST) > >Hello, > >does anyb

[rtl] again with the precision/accuracy

2000-05-25 Thread daniel sheltraw
Thanks Paolo Is this independent of the length of the interval? Daniel >From: Paolo Mantegazza <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >Subject: Re: [rtl] precision/accuracy question >Date: Thu, 25 May 2000 13:07:39 +0200 > >daniel sheltra

RE: [rtl] FW: HELP --- IRQ Preemption

2000-05-25 Thread daniel sheltraw
Janet and Cyril I have been told (can't remember who) that it was not neccessary to write an EOI within the RT ISR. I am anxious to see how your question is resolved. Daniel >From: "Estabridis, Janet P" <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,"Estabridis, Ja

[rtl] precision/accuracy question

2000-05-24 Thread daniel sheltraw
Hello RTAIers What is the accuracy/precision of the time returned by rt_get_time()? Is it approximately the same for short intervals (< 1 second) and for long intervals (> 1 second)? Is the same counter/timer used for long and short intervals? I am using a 400 Mhz Pentium II. Daniel

[rtl] Re: start and exit GNOME problems

2000-05-22 Thread daniel sheltraw
but is fine for my working account. I have been >messing with my kernel and modules a bit, but nothing that would affect >gnome or X as far as I know. I'm running the version of gnome that came >with RH6.0. (How do I get the version number from the system?) > >Any ideas? > >Ne

[rtl] PCMCIA and RTAI again

2000-05-22 Thread daniel sheltraw
c/rtai (is that the full path which is needed)? Thanks again, Daniel >From: Stuart Hughes <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >Subject: Re: [rtl] and yet more PCMCIA and RTAI >Date: Mon, 22 May 2000 09:55:37 +0100 > >daniel sheltraw wrote: &g

[rtl] and yet more PCMCIA and RTAI

2000-05-21 Thread daniel sheltraw
Stuart I forgot to mention that I did my initial installation from the Zenotropix CD. The installation instructions tell me that upon installation the modified kernel and RTAI patches will already be running. Daniel >From: Stuart Hughes <[EMAIL PROTECTED]> >To: daniel shel

[rtl] more PCMCIA and RTAI question

2000-05-21 Thread daniel sheltraw
Thanks again, Daniel >From: Stuart Hughes <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [rtl] PCMCIA and RTAI question >Date: Sun, 21 May 2000 16:33:02 +0100 > >daniel sheltraw wrote: > > > > Hello RT

[rtl] PCMCIA and RTAI question

2000-05-20 Thread daniel sheltraw
Hello RTAIers Does RTAI need PCMCIA services disabled? My machine running RTAI does not recognize my new Quatech PCMCIA parallel port card but an indentical machine running the same version of Linux does recognize it (as exhibited by the output of "carctl ident"). Thanks, Daniel

[rtl] fifo size question

2000-05-18 Thread daniel sheltraw
Hello RTAI/RTLers I am using RTAI so please keep that in mind if it impacts on this question. Is there a fifo size limit? Daniel Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To unsu

[rtl] semaphore basics

2000-05-17 Thread daniel sheltraw
Hello RTAI/RTL folks Would someone explain to me (or direct me to a document) the use of semaphores in realtime applications? I lack a basic understanding of what they are intended to do. Daniel Get Your Private, Free E-ma

[rtl]how can I make a beep sound

2000-05-17 Thread daniel sheltraw
Leo Here is a code snippet that uses the PC speaker driver (rather than the sound chip which would be more involved) to create two short beeps. You can edit it to make the beeps longer or shorter. You can also remove one of the beeps. You might also want to replace the busy-wait for-loop with

[rtl] RTAI shared memory

2000-05-16 Thread daniel sheltraw
Hello RTAI world Would someone please point me to shared memory example code using rtai_shm.c? Daniel Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To unsubscribe: echo "unsubscribe

[rtl] more RTAI and OSS

2000-05-15 Thread daniel sheltraw
ECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [rtl] RTAI and OSS >Date: Tue, 16 May 2000 02:03:41 +0100 > >daniel sheltraw wrote: > > > > Hello RTAIers > > > > I am running RTAI 0.7 (I will upgrade) and I am curious

[rtl] RTAI and OSS

2000-05-15 Thread daniel sheltraw
Hello RTAIers I am running RTAI 0.7 (I will upgrade) and I am curious whether any of you have any experience with installing OSS (open sound system) on a machine running RTAI. In particular when installing OSS I get the following error message and suggestion: Your kernel seems to be configured w

[rtl] RTAI rt_sleep_until

2000-05-12 Thread daniel sheltraw
Hello RTAI experts The RTAI manual states that the argument for rt_sleep_until is an absolute time. Should it say absolute time measured in ticks. Daniel Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.

[rtl] time origin question

2000-05-12 Thread daniel sheltraw
Hello Paolo By timestamp do you mean that I must reference all times with a call to rt_get_time() so that I should write rt_sleep_until(rt_get_time() + mytime) ? Daniel >From: Paolo Mantegazza <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]>, [EMAIL PROTECTED]

[rtl] hardware docs

2000-05-12 Thread daniel sheltraw
Greetings Realtimers Does anyone have a link to datasheets for the 8254 timer/counter and the CPU clock? Daniel Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To unsubscribe: echo "u

[rtl] time origin question

2000-05-11 Thread daniel sheltraw
Hello RTAI world This is specifically a RTAI question. The manual says that rt_sleep_until(RTIME time) suspends execution of the currently running task until "time" is reached. Question: does "time" start ticking of start_rt_timer. If not when is the time origin. Thanks Daniel _

[rtl] infinite vs terminating task loops

2000-05-10 Thread daniel sheltraw
Hello RTAIers All the examples that I see of using RTAI in either one-shot or periodic mode make use of an infinite loop in the task function. My question is: Is there a problem (in one-shot mode) with replacing these loops with a terminating loop followed by an rt_task_suspend. Daniel _

[rtl] RT interrupt service routine question

2000-05-09 Thread daniel sheltraw
RTAI/RTL gurus Let me clarify or make more specific what I am trying to do. A suspend or resume may not be the way to go and I would appreciate suggestions. I have setup an ISR that accepts hardware interrupts from another device via the parallel port. The ISR simply increments a counter. I woul

[rtl] Nonspecific EOI at end of ISR?

2000-05-08 Thread daniel sheltraw
Greetings RTAIers Do I need to write a nonspecific EOI (end of interrupt) to the PIC at the end of my RT ISR (interrupt service routine)? Thanks again, Daniel Get Your Private, Free E-mail from MSN Hotmail at http://www.hot

[rtl] RT interrupt service routine question

2000-05-08 Thread daniel sheltraw
Howdy RTL/RTAI comrades Can one do a rt_task_suspend and rt_task_resume within a RT interrupt service routine? Thanks all, Daniel Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- [rtl] --- To uns

[rtl] One-shot pulse generator doesn't work using RTL

2000-05-04 Thread daniel sheltraw
Hello Elliot I am a newcomer to RT programming but here is my suggestion. You may want to put a delay in before executing the pulse as follows: pthread_make_periodic_np(t1, gethrtime() + 5, 0); pthread_make_periodic_np(t2, gethrtime() + 10, 0); I hope that helps! Daniel >From: Ell

[rtl] Gnome problem after RT lockup

2000-05-04 Thread daniel sheltraw
Hello RTAIers Last week I posted a message that said I was having a problem starting and exiting Gnome after I locked my machine up while doing some RT programming. I was forced to hit the power button (due to bad planning) after the lock up and following this Gnome took an incredibly long time

[rtl] simple question

2000-05-03 Thread daniel sheltraw
Hello RTAI world Is there a limit to the number of tasks that one can have in an RTAI module (besides that imposed by race conditions and hardware limitations). That is, is there a software limitation? Thanks, Daniel Get Y

[rtl] RTAI one-shot mode question

2000-05-02 Thread daniel sheltraw
Greeting and Salutations RTAI folks Would someone please write an example code snippet showing how the timer is reprogrammed under RTAI when using one-shot mode. I assume that the reprogramming is done for a single task initialized with rt_task_init while in one-shot mode (rt_set_oneshot_mode). W

[rtl] DMA: user-space (system calls) and RTAI

2000-05-02 Thread daniel sheltraw
Hello RTAIers Can anyone tell me about DMA under RTAI. Are then any routines available for setting up DMA transfers under RTAI. Can you setup DMA using an API (called from user-space) for the hardware (example: OSS for recorded sound playback) and then do the final register writes to start the a

Re: [rtl] scheduling question

2000-05-02 Thread daniel sheltraw
Thanks Paolo 100 Hz? When/how does the switch to a 100 Hz clock happen? What is AFAIK? Daniel >From: Paolo Mantegazza <[EMAIL PROTECTED]> >To: daniel sheltraw <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: Re: [rtl] scheduling question >Date: Tue, 02 May 2000

[rtl] oneshot mode

2000-05-01 Thread daniel sheltraw
Hello Realtimers Is oneshot mode scheduling done by calling rt_task_make_periodic before each rt_task_wait_period in the task function while in oneshot mode? Daniel Get Your Private, Free E-mail from MSN Hotmail at http://w

Re: [rtl] How to set cursor location in RTLinux

2000-05-01 Thread daniel sheltraw
Gensheng Do you need a cursor in kernel-space (implementing a RT driver) or in user-space (to be used between scheduled RT tasks)? Daniel >From: Gensheng Zhang <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: [rtl] How to set cursor location in RTLinux >Date: Mon, 1

[rtl] scheduling question

2000-04-30 Thread daniel sheltraw
Greetings RTL/RTAIsters What is the longest delay in clock ticks that can be given to rt_task_make_periodic (2^32 ?) for the period argument? What are some ways to produce longer periods? Thanks, Daniel Get Your Private, Fr

No Subject

2000-04-30 Thread daniel sheltraw
Greetings RTL/RTAIsters What is the longest delay in clock ticks that can be given to rt_task_make_periodic (2^32 ?) for the period argument? What are some ways to produce longer periods? Thanks, Daniel Get Your Private, Fr

[rtl] Fwd: Modules and RTL clarification

2000-04-28 Thread daniel sheltraw
Tomasz I am not sure what you meant by the statement "they are not RT, you can allocate memory, etc.". Would you please clarify so that I can be sure I am not missing something important. Daniel >From: Tomasz Motylewski <[EMAIL PROTECTED]> >To: daniel sheltraw &

[rtl] Modules and RTL

2000-04-28 Thread daniel sheltraw
Hello RTLites All the RTL examples I have seen use only the init_module and cleanup_module methods in the module. Is there any reason why one should not do initializations in init_module and timer/task starts in open or read/write methods (release and cleanup_module for closing)? Of course one w

[rtl] More newbie questions

2000-04-27 Thread daniel sheltraw
Hello RTL/RTAIers I see in most of the example RTL code the following snippet in the actual task code: while(1){ . . . rt_task_wait_period(); } This snippet is started by first using rt_task_init and rt_task_make_periodic in the init_module. The executable is run by loadin

  1   2   >