Re: [rtl] kernel memory limit

2001-04-19 Thread David Schleef
On Thu, Apr 19, 2001 at 05:41:27PM -0700, Basham, Richard R wrote: Hello all, I am trying to use mbuff to allocate several named shared memory buffers from a kernel module. I have 1 G of memory but I can't seem to allocate more than somewhere just below 64 M of named shared memory from a

Re: [rtl] Re: [realtime] ESC attendence ... ?

2001-04-13 Thread David Schleef
On Fri, Apr 13, 2001 at 01:36:59AM -0400, Peter Cavender wrote: Because they are not a "real" company, just a couple of people hoping to reap dot-com profits from a patent based on ancient prior art. Do not confuse them with any of the for-profit RT Linux outfits with real products, or any

Re: [rtl] Linux equivalents to pthread_make_periodic_np and pthread_suspend_np

2001-04-13 Thread David Schleef
and pthread_suspend_np. Is there any?. If not, how can I perform such operations?. Thank you. Ivan Martinez It can be duplicated using something similar to the attached file. dave... /* Example of a periodic task using straight POSIX calls. */ /* Copyright 2001 David Schleef [EMAIL PROTECTED

Re: [rtl] Virus emails

2001-04-03 Thread David Schleef
On Tue, Apr 03, 2001 at 07:39:23PM +0200, Erwin Rol wrote: Isn't it slowly getting time that the RTL mailing list admins take responsibility and disable attachments ? It should suffice to bounce messages containing application/* mime types. dave... -- [rtl] --- To unsubscribe: echo

Re: [rtl] driver for computerboards das1200/jr

2001-03-22 Thread David Schleef
On Thu, Mar 22, 2001 at 04:19:51PM +, Willem Atsma wrote: Does anyone know of a driver for this card, or if one of the other DAS drivers can be used for it? The cb_pcidas driver that is part of Comedi should work with it. http://stm.lbl.gov/comedi dave... -- [rtl] --- To

Re: [rtl] comedi from kernel

2001-03-09 Thread David Schleef
On Fri, Mar 09, 2001 at 12:19:06PM -0800, Basham, Richard R wrote: Hi all, Does anyone have a short example of how to use comedi from a kernel module. I was hoping to get a short comparable example with the correct header files etc. Have you looked at

Re: [rtl] comedi from kernel

2001-03-09 Thread David Schleef
On Fri, Mar 09, 2001 at 03:52:36PM -0800, Basham, Richard R wrote: David, I had not seen them. Thanks. I did get them and found that they were setup for use under RTAI. I made what I thought were the correct changes for RTLinux. When I compiled them I got: Did you edit the Makefile

Re: [rtl] Real-time drivers for NI 6703 analog output card...

2001-02-28 Thread David Schleef
(CC'd to [EMAIL PROTECTED]) On Wed, Feb 28, 2001 at 12:04:56PM +0100, Herman Bruyninckx wrote: I need a driver for the National Instruments PCI-based analog output board 6703. Does this exist already somewhere? It's not in Comedi. Unless it's just a trivial extension to Comedi... The 66xx

Re: [rtl] Discrete integration algorithms

2001-02-23 Thread David Schleef
On Fri, Feb 23, 2001 at 12:41:29PM +0100, Ivan Martinez wrote: Hello all, I want to add an integrator block to DSLib. Could anybody point me to documentation about discrete-time integration algorithms?. Has the simple integration x(t+1)=x(t)+dx*dt an special name or I should call

Re: [rtl] IRQ conflicts.

2001-02-07 Thread David Schleef
On Tue, Feb 06, 2001 at 07:58:00AM +0100, Bart Thissen wrote: "Daniel R. Schuette" wrote: My application is time critical so I would like to be able to use RTLinux's hard IRQ capabilities. However, since I have a large number of modules (six) on the CPCI bus there seems to always be a

Re: [rtl] RTL + Low Latency patch interference?

2001-01-16 Thread David Schleef
On Tue, Jan 16, 2001 at 10:26:36AM +0100, Bart Thissen wrote: Does any body has experience with the low latency kernel patch and RTL together? I did try this combination once, and found serious problems under heavy load, maybe related to bad memory. I do most of my RTAI hacking (and all of

Re: [rtl] Problems with RTNET (rtifconfig)

2001-01-10 Thread David Schleef
On Wed, Jan 10, 2001 at 05:38:00PM +0100, Janis wrote: I have problems with RTNET installation and usage. I use RedHat 6.2, RT Linux 2.3 (as well as RTAI 1.4, RTAI 1.6), RTNET-0.9.0 1. When I install RTNET the file /include/modbuild/config.h is not found. Therefore I create

Re: [rtl] NI_PCI_Driver

2001-01-05 Thread David Schleef
On Fri, Jan 05, 2001 at 04:47:37PM -0800, Basham, Richard R wrote: Hello, Does anyone know where I can find the latest National Instruments PCI device driver (NI_PCI_Driver) ? I want to use it with a PCI-6033 card. It's part of the Comedi package, http://stm.lbl.gov/comedi.

Re: [rtl] SBC 8260

2000-12-21 Thread David Schleef
On Wed, Dec 20, 2000 at 08:49:03AM -0800, Rafeeq Ur Rehman wrote: Has anybody used SBC 8260 from EST (Now Wind River). I want to try it but need to know if anyone has tried this board earlier. I've been porting Linux and RTAI to the Motorola 8260 ADS board, and both run fine. Recent

Re: [rtl] serial card drivers

2000-12-21 Thread David Schleef
On Thu, Dec 21, 2000 at 10:00:56PM +0800, A.Han wrote: Hi all, I am developing a CNC(Computer Numerical Control) system basing on rt-linux 2.2, and I am preparing to use some RS-232 serial card like moxa 104. I know there is linux device driver for serial card, but does it work in

Re: [rtl] rtnet

2000-12-04 Thread David Schleef
On Mon, Dec 04, 2000 at 05:05:38PM +0900, Randolph Lee wrote: Hello, Currently I'm working on a project using RT Linux for networking. I'm using Rtnet V0.9.0. I was wondering if there is an RT function that is similar to inet_addr or inet_aton (in arpa/inet.h). You can use the function

Re: [rtl] Patch available: use 8254 ch.1 instead of ch.2

2000-11-22 Thread David Schleef
On Tue, Nov 21, 2000 at 05:05:47PM -0500, jason sodergren wrote: Hi, all. I've made a small patch to schedulers/i386/rtl_time.c in rtlinux-3.0pre8 that allows use of the 8254's channel 1 instead of channel 2. Use of channel 1 is selected by means of a module parameter. This is useful

Re: [rtl] rtnet

2000-11-22 Thread David Schleef
On Wed, Nov 22, 2000 at 03:19:28PM +0100, [EMAIL PROTECTED] wrote: hi, I have to use an embedded Pc, a MOPSlcd4. I did the whole development (of a rtp sniffer) on a normal PC as well as the tests. Then, the precision of paquet arrival time is acccurate within the microseconds (on normal

Re: [rtl] RTAI and RTLinux

2000-09-05 Thread David Schleef
On Tue, Sep 05, 2000 at 05:05:56PM +0200, David Olofson wrote: Tue, 05 Sep 2000 [EMAIL PROTECTED] wrote: Let's say I have N message buffers in a pool. What if there is no more free buffer? Then the design for your hard real time system was wrong :-) Or system reached its

Re: [rtl] Trouble upgrading to RT2.0

2000-08-28 Thread David Schleef
On Mon, Aug 28, 2000 at 11:31:41AM -0600, [EMAIL PROTECTED] wrote: First: /usr/src/linux/.config rtlinux-2.3-pre2: CONFIG_RTL=y rtlinux-2.3-pre3: CONFIG_RTLINUX=y Why was this changed? Why is this referenced in comedi? So that Comedi can autodetect RTLinux. This is the reason I

Re: [rtl] Real Time in realtime ?

2000-08-22 Thread David Schleef
On Tue, Aug 22, 2000 at 03:03:25PM +0200, Klaus Keppler wrote: Hi, How can i get the Real Time ( seconds since 1970, time_t) in an rt-thread. I need this time as timestamp for my aquired data. Because the system-time on my rtlinux-box drifts away many seconds the day, i would like to

Re: [rtl] tcp-ip commands in rt modules

2000-08-22 Thread David Schleef
On Tue, Aug 22, 2000 at 04:13:03PM +0200, Wilken Boie wrote: If you _do_ need it from the RT side you could look at this package ftp://ftp.lineoisg.com/pub/rtnet/rtnet-0.9.0.tgz). It is restricted though in serveral ways (e.g. support for UDP only and currently only on type of NIC).

Re: [rtl] FW: sprintf for floating point numbers in rt module

2000-08-11 Thread David Schleef
On Fri, Aug 11, 2000 at 02:39:08PM +0200, Pavel Andris wrote: Hi Janet and all, my quick and dirty packet is nothing but a collection of about 250 sources + includes from glibc. Only i586 architecture is covered. The sources were collected to cover sprintf() + sscanf() needs of my RT

Re: [rtl] About size

2000-08-10 Thread David Schleef
On Thu, Aug 10, 2000 at 09:25:06AM -0400, Binu Balakrishnan wrote: Hi RTLinuxers, What is the size of the basic Linux kernel and what is that of RTLinux kernel? On i386, a compiled Linux kernel is about .5 to 2 MB, depending on which options are configured. My laptop, 2.4.0-test4-ds1, with

Re: [rtl] generating random numbers

2000-08-09 Thread David Schleef
On Wed, Aug 09, 2000 at 12:58:20PM +0700, Adi Sudewa wrote: Hi all, how to generate random integers from within real-time thread. I need to generate random numbers so my simulation can be unpredictable. It is not cool to have a train running with 20.00 m/s speed all the time so I'd like

Re: [rtl] Problem with Digital I/O board

2000-08-05 Thread David Schleef
On Fri, Aug 04, 2000 at 01:52:16PM -0400, Bin Lin wrote: Hello, I am writing a simple driver for National Instruments PCI-DIO-96 digital I/O board. You might consider using the PCI-DIO-96 driver in Comedi. dave... -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL

Re: [rtl] Programming sockets in RTL?

2000-08-03 Thread David Schleef
On Wed, Aug 02, 2000 at 08:44:30PM -0400, Tony Mouawad wrote: Is it possible to integrate a TCP/IP based server in an RTL module? I'm not sure how to do this using the RTL libraries. No. You can use a user-space helper task that acts as your server, which is probably the best solution if

Re: [rtl] AD-card

2000-08-01 Thread David Schleef
On Tue, Aug 01, 2000 at 01:40:09PM +0200, Peter T. Drechsler wrote: Hi. Can anyone recommend me a decent AD-Card that runs under RTLinux. Kernel is 2.0.33 with appropriate RT-Patch. Runs. Could be PCI ot At. Should have at least 8 analog inputs with gains (12 Bit is ok). Should have 2

Re: [rtl] rthal struct define

2000-07-31 Thread David Schleef
On Mon, Jul 31, 2000 at 10:36:43AM -0500, daniel sheltraw wrote: 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

Re: [rtl] Interrupts

2000-07-25 Thread David Schleef
On Tue, Jul 25, 2000 at 05:25:40PM -0600, [EMAIL PROTECTED] wrote: On Tue, Jul 25, 2000 at 02:07:20PM -0700, David Schleef wrote: Why don't you just use a Linux-like void *dev_id? Is it the migration difficulties in changing function prototypes, or is there some fundamental reason

[rtl] Re: system frozen with comedi and higher freq

2000-07-12 Thread David Schleef
On Mon, Jul 10, 2000 at 09:48:57AM +0200, Olaf Petzold wrote: Hallo, some times ago I started this thread. Now some days later I had the time to verify some things (with new comedi-0.7.45, mbuff-6.6), e.g. the hint of using the right gcc: # cat /proc/version Linux version 2.2.14-rtl2.2

Re: [rtl] Comedi and Minirtl...

2000-07-12 Thread David Schleef
On Wed, Jul 12, 2000 at 10:06:08AM -0700, Pete Buechler wrote: On Wed, 12 Jul 2000, Herman Bruyninckx wrote: We are trying to make MiniRtl floppies with Comedi drivers. But Comedi seems to need the libc, which is a couple of megabytes big. Is there another, much smaller ``embedded'' libc

Re: [rtl] clock questions

2000-07-06 Thread David Schleef
On Wed, Jul 05, 2000 at 05:32:35PM -0500, daniel sheltraw wrote: 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? No.

Re: [rtl] Is it possible to perform network operations from RTLinux task?

2000-06-30 Thread David Schleef
On Thu, Jun 29, 2000 at 03:20:47PM -0400, Ajay Avasthi wrote: Is it possible to send out UDP packets on a network from an RTLinux task? If so, how? Ajay If you don't need real-time performance, use a user-space helper task. If you _do_ need real-time performance, Lineo ISG (a.k.a., the

Re: [rtl] hrtime_t - int

2000-06-26 Thread David Schleef
On Mon, Jun 26, 2000 at 09:22:44AM -0500, Cory Papenfuss wrote: I've (sorta) figured it out. The int must first be cast as a long long or the multiplication will overflow, but when I tried putting a division in a rt-space function to return miliseconds since boot, I get ./init.o:

Re: [rtl] RTAI upgrade question and more

2000-06-21 Thread David Schleef
On Wed, Jun 21, 2000 at 06:42:56PM +0100, Stuart Hughes wrote: You need to get a fresh 2.2.14, run the copyto and then build rtai. Move the modules to /lib/modules/2.2.14/misc and then run depmod -a. If you would prefer to use 2.2.16 (strongly recommended if you are connected to a

Re: [rtl] installation

2000-06-11 Thread David Schleef
On Sat, Jun 10, 2000 at 07:14:31PM +0100, Gordon Morison wrote: Hello there After having installed RTLinux 2.2 I attempted to install comedi-0.7.44, but when I do a make install depmod returns Unresolved symbols for each of the comedi modules. Can anyone give me a hint as to what I have

Re: [rtl] Many .O files to one loadable .O module with GCC?

2000-06-06 Thread David Schleef
On Tue, Jun 06, 2000 at 06:12:01PM -0500, Sheldon Hoffman wrote: To [EMAIL PROTECTED] We are using Red Hat 6.1 on a pentium 233 Mhz with Linux version 2.2.14-rtl2.2 (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #4 Sat May 20 08:52:04 CDT 2000 We are hoping to build a

Re: [rtl] APM alert !!!!

2000-06-05 Thread David Schleef
On Mon, Jun 05, 2000 at 12:34:45PM +0400, Michael Barabanov wrote: Linux 2.3.xx kernels allow APM support to be built as a module. This feature solves the problem for at least RTL 3.0. Michael. How does compiling as a module help? dave... -- [rtl] --- To unsubscribe: echo

Re: [rtl] APM alert !!!!

2000-06-01 Thread David Schleef
On Thu, Jun 01, 2000 at 04:37:35PM +0100, Stuart Hughes wrote: Hi Victor, Tried it on RTLinux 2.3/Linux 2.2.14. Exactly the same effect. If you cat /proc/apm, the jitter jumps out to ~ 7 miliseconds. Regards, Stuart. Every so often, a thread comes up in the Linux kernel mailing list

Re: [rtl] driver for sound card

2000-05-25 Thread David Schleef
On Thu, May 25, 2000 at 08:16:41PM +0200, Thomas Gross wrote: Hello, does anybody know, are there any driver or applications for a standard sound card for rt-linux. I want it for data aquisition and noise analysis. Thomas Hmmm... bad idea. Sound cards have a few properties that make

Re: [rtl] Driver

2000-05-21 Thread David Schleef
On Wed, May 17, 2000 at 11:06:40AM -0700, Matt Cheselka wrote: Dave, maybe I'm really missing something here. I'm referring to the drivers in comedi-0.7.xx/comedi/drivers/*.c. Nothing in this source code makes any mention of RTL or RTAI. The only things that do are actually in

Re: [rtl] Labview

2000-05-12 Thread David Schleef
On Fri, May 12, 2000 at 08:27:17AM -0400, Crum, Bill W wrote: Hi, Is Labview RT available for Linux, or just Windows? For discussion sake, how would rtlinux/labview benefit over Labview RT? thanks, Bill RTLinux and/or RTAI allow you to use devices on the ISA and PCI busses. The

Re: FW: [rtl] Labview

2000-05-11 Thread David Schleef
On Thu, May 11, 2000 at 09:19:33AM -0700, Dan Samber wrote: I have a naive question: How does Labview benefit from RTLinux? Alledgedly, the people at National Instruments have arranged things (via special drivers or some other mechanism) so that there are no ugly things like gaps in

Re: [rtl] RTL PCMCIA ADC driver

2000-05-05 Thread David Schleef
On Mon, May 01, 2000 at 09:32:32AM -0700, Steve Rosenbluth wrote: By the way, if anyone is interested in helping write a driver for the National Instruments 200kHz 16 bit pcmcia ADC, there is someone starting a driver in Australia: [EMAIL PROTECTED] NI just recently sent me one of these

Re: [rtl] RTLinux and RTimage processing

2000-04-26 Thread David Schleef
On Wed, Apr 26, 2000 at 12:51:56PM +0200, Cedric Hyppolite wrote: PCI CNA AT-MIO-16-XE-50 Is supported. See http://stm.lbl.gov/comedi dave... -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED] ---

Re: [rtl] gcc and g++ mbuff confusion. __attribute__((packed))

2000-04-20 Thread David Schleef
On Thu, Apr 20, 2000 at 03:59:51PM +0200, Olaf Petzold wrote: At first it's seems the compiler option -malign-double overides the attributes, it's important to know. Secondly why is there a difference between x1_t and x2_t ?? (it's interesting for me) Because you made a typo. typedef

Re: [rtl] automating driver conversions

2000-04-07 Thread David Schleef
On Fri, Apr 07, 2000 at 02:03:24PM -0700, Willem Atsma wrote: Hi, I wrote a driver and now I want to addapt it for RTLinux. Can anyone think of reasons why I couldn't write a header file with macros to replace normal linux calls with the appropriate rtl ones? Has anyone done this? Willem

Re: [rtl] the performance of linux run on MPC860

2000-03-29 Thread David Schleef
On Wed, Mar 29, 2000 at 01:57:30PM -0700, Kulwinder Atwal wrote: Does not a lower time mean it runs faster? It sounds like linux is running faster than pSOS and VxWorks. Maybe I am mistaken by your test, but it sounds like Linux is faster. - Kal. Without knowing full details of the

Re: [rtl] Date: Sat, 18 Mar 2000 20:32:35 +0800

2000-03-18 Thread David Schleef
On Sat, Mar 18, 2000 at 06:30:31AM -0800, Phil Wilshire wrote: dyd Good idea. This should be in the form of a HTML page perhaps.. Get started and realtimelinux.org will host it for you. If you maintain any upgrades from the group then we'll post your latest copy as and when.. Just make

Re: [rtl] DrDobbs

2000-03-18 Thread David Schleef
On Sat, Mar 18, 2000 at 11:43:35PM +0100, Tomasz Motylewski wrote: On Sat, 18 Mar 2000, Erwin Rol wrote: And nice to see a "windows" magazine to talk about something else. Of course they have to mention NT doing Real time in the same way. Did they recompile the NT kernel using soft-cli

Re: [rtl] jiffies and udelay in rtl

2000-03-02 Thread David Schleef
On Thu, Mar 02, 2000 at 09:02:27AM +0100, Alain Rolle wrote: Hi there, I'm implementing a RT driver (RTL2.0 ,Kernel 2.2.13) and I'm not sure that I can use "jiffies" in it (I'm using these for detecting time outs). Should I not use some rtl specific call to do that? Same question

Re: [rtl] timers

2000-02-29 Thread David Schleef
On Tue, Feb 29, 2000 at 06:34:50PM +0100, Jens Lauer wrote: Hi folks, [...] What could be the reason for the misbehaviour of sleep, usleep and select in a function? This is slightly off your topic, but the following source code shows some of the issues involved in using usleep() and

Re: [rtl] Problem loading modules

2000-02-23 Thread David Schleef
On Wed, Feb 23, 2000 at 11:04:35AM +0100, Erwin Authried wrote: David Schleef[SMTP:[EMAIL PROTECTED]] wrote: Nope. gcc-2.7.2.3 outputs assembly instructions that perform the memcpy, even with very long strings. dave... Be careful. With *exactly* the statement above

Re: [rtl] RTL performance

2000-02-10 Thread David Schleef
On Thu, Feb 10, 2000 at 01:07:09PM -0700, [EMAIL PROTECTED] wrote: On Thu, Feb 10, 2000 at 10:45:35AM -0800, David Schleef wrote: And I hope you never do. What would I ever do with a VESA data acquisition board? Hang it up in my obsolete-hardware sculpture I have in my office, I guess

Re: [rtl] Memory Mapped ISA Video Frame Grabber Help

2000-01-10 Thread David Schleef
On Mon, Jan 10, 2000 at 01:52:11PM -0800, Estabridis, Janet P wrote: Dave, I am doing this from user space right now. I am using fd "/dev/mem" which is what Mr. Rubini's book example and he's advice via e-mail was. What is the difference between "/dev/mem" and "/dev/kmem" ? I'll try