From owner-info-inventor-dev@oss.sgi.com Mon Feb 18 07:28:13 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1IFSDn00929 for info-inventor-dev-outgoing; Mon, 18 Feb 2002 07:28:13 -0800 Received: from camukmail.camitrouk ([208.48.249.243]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1IFS2900918; Mon, 18 Feb 2002 07:28:03 -0800 Received: by camukmail.camitrouk.com with Internet Mail Service (5.5.2653.19) id <1K70Y2BN>; Mon, 18 Feb 2002 14:33:18 -0000 Message-ID: From: "Saunders, Brett" To: "'info-inventor@oss.sgi.com'" , "'info-inventor-dev@oss.sgi.com'" Subject: Crash in SoXtMouse::enable(...) and DRI problems --- Help reques ted Date: Mon, 18 Feb 2002 14:33:17 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Hi Guys, Got a couple of problems that I haven't figured out yet; help would be greatly appreciated: I cannot get any of the sample widgets (color wheel, texture editor etc..) to work on my computer at all. Everytime I attempt to run one of the widgets I get a segfault in the SoXtMouse::enable(...) function. The problem is that the "this" pointer is null in the function. If I trace the call up the stack the "mouse" pointer is clearly valid when called from MyColorWheel::buildWidget (for example). The widget w (which I believe should be the top-level widget) is always zero. These widgets work fine on my computer at home. The only difference is that the computer at home uses the vendor-supplied NVidia GLX drivers. The second problem that I am getting is an exception in /usr/X11R6/lib/modules/dri/radeon_dri.so in the function gl_test_os_katmai_exception_support(). I can continue this exception successfully; however removing the openGL libraries in /usr/lib (forcing the libraries in /usr/X11R6/lib to be used instead) as suggested online causes an immediate crash. Any ideas? The computer that I am having problems on is a Pentium 4 with an ATI Radeon 64 graphics card. The OS is RedHat linux 7.2. I am using the openmotif libraries supplied with redhat 7.1 to compile and link OIV against; however I experience the same problems with lesstif (version 1.2 or 2.1). Any help would be greatly appreciated. Cheers, -Brett From owner-info-inventor-dev@oss.sgi.com Tue Feb 19 11:58:26 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1JJwQq24303 for info-inventor-dev-outgoing; Tue, 19 Feb 2002 11:58:26 -0800 Received: from VL-MS-MR002.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1JJwK924299 for ; Tue, 19 Feb 2002 11:58:20 -0800 Received: from riemann.nyongwa.montreal.qc.ca ([24.202.211.8]) by VL-MS-MR002.sc1.videotron.ca (Netscape Messaging Server 4.15) with ESMTP id GRSND702.P2X for ; Tue, 19 Feb 2002 13:58:19 -0500 Received: from steve by riemann.nyongwa.montreal.qc.ca with local (Exim 3.34 #1 (Debian)) id 16dFT0-0003pk-00; Tue, 19 Feb 2002 13:58:18 -0500 Date: Tue, 19 Feb 2002 13:58:17 -0500 To: info-inventor-dev@oss.sgi.com Subject: [patch] do not use trunc() Message-ID: <20020219185817.GE1893@nyongwa.montreal.qc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i From: "Steve M. Robbins" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Hi, I maintain OpenInventor for Debian. On some combination of hardware and compiler, GCC complained about the function trunc(): ../../lib/database/src/sb/SbTime.c++:71: new declaration `int trunc(double)' /usr/include/bits/mathcalls.h:291: ambiguates old declaration `double trunc(double)' This is only used in one place in the sources, and is easily worked around by the following patch. -Steve Index: lib/database/src/sb/SbTime.c++ =================================================================== RCS file: /cvs/inventor/lib/database/src/sb/SbTime.c++,v retrieving revision 1.4 diff -u -b -B -r1.4 SbTime.c++ --- lib/database/src/sb/SbTime.c++ 2001/09/25 00:45:34 1.4 +++ lib/database/src/sb/SbTime.c++ 2002/01/27 15:40:31 @@ -67,16 +67,12 @@ // // Use: public -#ifndef __sgi -inline static int trunc(double x) { return int(x); } -#endif // !__sgi - SbTime::SbTime(double sec) // //////////////////////////////////////////////////////////////////////// { if (sec >= 0) { - t.tv_sec = trunc(sec); + t.tv_sec = int(sec); t.tv_usec = (time_t) (0.5 + (sec - t.tv_sec) * 1000000.0); } else -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants From owner-info-inventor-dev@oss.sgi.com Tue Feb 19 12:01:30 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1JK1U424441 for info-inventor-dev-outgoing; Tue, 19 Feb 2002 12:01:30 -0800 Received: from VL-MS-MR002.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1JK19924429 for ; Tue, 19 Feb 2002 12:01:09 -0800 Received: from riemann.nyongwa.montreal.qc.ca ([24.202.211.8]) by VL-MS-MR002.sc1.videotron.ca (Netscape Messaging Server 4.15) with ESMTP id GRSNHV01.265 for ; Tue, 19 Feb 2002 14:01:07 -0500 Received: from steve by riemann.nyongwa.montreal.qc.ca with local (Exim 3.34 #1 (Debian)) id 16dFVi-0003q1-00; Tue, 19 Feb 2002 14:01:06 -0500 Date: Tue, 19 Feb 2002 14:01:06 -0500 To: info-inventor-dev@oss.sgi.com Subject: [patch] main() returns int Message-ID: <20020219190106.GF1893@nyongwa.montreal.qc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i From: "Steve M. Robbins" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Hi, I maintain OpenInventor for Debian. Some of the Debian architectures use GCC 3.0, which complains if the main() function is not declared to return "int". The following patch rectifies this for the apps and demos that get built. I didn't touch the "mentor" sample code. Regards, -Steve Index: apps/demos/SceneViewer/SceneViewer.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/apps/demos/SceneViewer/SceneViewer.c++,v retrieving revision 1.1.1.1 diff -u -b -B -r1.1.1.1 SceneViewer.c++ --- apps/demos/SceneViewer/SceneViewer.c++ 14 Oct 2000 10:46:05 -0000 1.1.1.1 +++ apps/demos/SceneViewer/SceneViewer.c++ 13 Feb 2002 14:25:20 -0000 @@ -138,7 +138,7 @@ } -void main(int argc, char **argv) +int main(int argc, char **argv) { Widget mainWindow; SoSceneViewer *sv; @@ -230,4 +230,5 @@ // Loop forever // SoXt::mainLoop(); + return 0; } Index: apps/demos/drop/drop.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/apps/demos/drop/drop.c++,v retrieving revision 1.1.1.1 diff -u -b -B -r1.1.1.1 drop.c++ --- apps/demos/drop/drop.c++ 14 Oct 2000 10:46:05 -0000 1.1.1.1 +++ apps/demos/drop/drop.c++ 13 Feb 2002 14:28:05 -0000 @@ -69,7 +69,7 @@ | _______________________________________________________________________ */ -void +int main( int, char **argv ) { // Initialize Inventor and Xt @@ -93,6 +93,7 @@ // Enter the Xt event loop SoXt::show( appWindow ); SoXt::mainLoop(); + return 0; } Index: apps/demos/gview/gview.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/apps/demos/gview/gview.c++,v retrieving revision 1.1.1.1 diff -u -b -B -r1.1.1.1 gview.c++ --- apps/demos/gview/gview.c++ 29 Oct 2000 15:04:15 -0000 1.1.1.1 +++ apps/demos/gview/gview.c++ 13 Feb 2002 14:29:14 -0000 @@ -392,7 +392,7 @@ // Mainline. // -void +int main(int argc, char **argv) // //////////////////////////////////////////////////////////////////////// Index: apps/demos/maze/maze.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/apps/demos/maze/maze.c++,v retrieving revision 1.1.1.1 diff -u -b -B -r1.1.1.1 maze.c++ --- apps/demos/maze/maze.c++ 29 Oct 2000 15:04:15 -0000 1.1.1.1 +++ apps/demos/maze/maze.c++ 13 Feb 2002 14:30:24 -0000 @@ -1143,7 +1143,7 @@ ra->setOverlaySceneGraph(logo); } -void +int main(int argc, char *argv[]) { Widget mainWindow; @@ -1332,5 +1332,6 @@ SoXt::show(mainWindow); SoXt::mainLoop(); + return 0; } Index: apps/demos/noodle/noodle.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/apps/demos/noodle/noodle.c++,v retrieving revision 1.1.1.2 diff -u -b -B -r1.1.1.2 noodle.c++ --- apps/demos/noodle/noodle.c++ 25 Sep 2001 00:45:25 -0000 1.1.1.2 +++ apps/demos/noodle/noodle.c++ 13 Feb 2002 14:31:00 -0000 @@ -279,7 +279,7 @@ interface->fileQuitEvent(); } -void +int main(int argc, char **argv) { // Parse command line arguments. This may fill in the @@ -679,5 +679,6 @@ SoXt::show(mainWindow); SoXt::mainLoop(); + return 0; } Index: apps/demos/textomatic/textomatic.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/apps/demos/textomatic/textomatic.c++,v retrieving revision 1.2 diff -u -b -B -r1.2 textomatic.c++ --- apps/demos/textomatic/textomatic.c++ 16 Dec 2001 20:13:18 -0000 1.2 +++ apps/demos/textomatic/textomatic.c++ 13 Feb 2002 14:31:30 -0000 @@ -402,7 +402,7 @@ const int Vert2 = 60; Labels labels; // Global variable. -void +int main(int argc, char **argv) { XtSetLanguageProc( NULL, _myXtDefaultLanguageProc, NULL ); @@ -540,4 +540,5 @@ SoXt::show(w); SoXt::mainLoop(); + return 0; } Index: apps/samples/widgets/componentTest.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/apps/samples/widgets/componentTest.c++,v retrieving revision 1.1.1.1 diff -u -b -B -r1.1.1.1 componentTest.c++ --- apps/samples/widgets/componentTest.c++ 29 Oct 2000 15:04:17 -0000 1.1.1.1 +++ apps/samples/widgets/componentTest.c++ 13 Feb 2002 14:15:00 -0000 @@ -59,7 +59,8 @@ exit(0); } -void + +int main(unsigned int argc, char *argv[]) { if (argc != 2) @@ -85,4 +86,5 @@ XtRealizeWidget(mainWindow); SoXt::mainLoop(); + return 0; } Index: apps/tools/ivview/ivview.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/apps/tools/ivview/ivview.c++,v retrieving revision 1.3 diff -u -b -B -r1.3 ivview.c++ --- apps/tools/ivview/ivview.c++ 18 Dec 2001 04:50:37 -0000 1.3 +++ apps/tools/ivview/ivview.c++ 13 Feb 2002 14:17:42 -0000 @@ -1107,7 +1107,7 @@ /////////////////////////////////////////////////////////////////// // -void +int main(int argc, char **argv) { XtAppContext appContext; @@ -1170,4 +1170,5 @@ setBusyCursor(FALSE); SoXt::mainLoop(); + return 0; } -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants From owner-info-inventor-dev@oss.sgi.com Tue Feb 19 12:09:49 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1JK9ng25543 for info-inventor-dev-outgoing; Tue, 19 Feb 2002 12:09:49 -0800 Received: from VL-MS-MR001.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1JK9d925537 for ; Tue, 19 Feb 2002 12:09:39 -0800 Received: from riemann.nyongwa.montreal.qc.ca ([24.202.211.8]) by VL-MS-MR001.sc1.videotron.ca (Netscape Messaging Server 4.15) with ESMTP id GRSNW202.ZV7 for ; Tue, 19 Feb 2002 14:09:38 -0500 Received: from steve by riemann.nyongwa.montreal.qc.ca with local (Exim 3.34 #1 (Debian)) id 16dFdx-0003xp-00; Tue, 19 Feb 2002 14:09:37 -0500 Date: Tue, 19 Feb 2002 14:09:37 -0500 To: info-inventor-dev@oss.sgi.com Subject: [patch] ivman does not need SoXt Message-ID: <20020219190937.GG1893@nyongwa.montreal.qc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i From: "Steve M. Robbins" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Hi, I maintain OpenInventor for Debian. We build packages automatically for most architectures. Therefore, the package must build in a non-interactive environment, in particular there is no Xserver running. The following patch implements the suggestion I made last July. Index: doc/man/ivman/Main.c++ =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/doc/man/ivman/Main.c++,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -b -B -r1.1.1.1 -r1.2 --- doc/man/ivman/Main.c++ 29 Oct 2000 15:04:17 -0000 1.1.1.1 +++ doc/man/ivman/Main.c++ 16 Dec 2001 20:13:18 -0000 1.2 @@ -119,7 +119,14 @@ SoDB::init(); SoNodeKit::init(); SoInteraction::init(); - SoXt::init(argv[0]); + + // The next line in this code used to be: + // SoXt::init(argv[0]); + // but that requires a connection to an X11 server. + // To remove this requirement, one should replace SoXt::init(...) + // with the same code, stripped of its calls to X. That turns + // out to be the same three *::init() calls just above! + // Process each class in turn ClassDef *mainCd = NULL, *curCd = NULL, *cd; ----- Forwarded message from steve ----- Date: Thu, 26 Jul 2001 14:20:15 -0400 To: OpenInventor devel mailing list Subject: ivman: X11 required? Hi, To build the current sources, one needs to be running an X11 server: the man-page generator doc/man/ivman makes Xt-calls in its initialization. However, upon closer inspection, this doesn't appear to be necessary. The Xt calls come from the SoXt::init() call in doc/man/ivman/Main.c++. A cursory glance through the code doesn't show where any Xt stuff is necessary, so I replaced the SoXt::init() call in Main.c++ with the corresponding code after stripping out the X11 calls. I did a full build, and compared the installed man pages before and after. There was no change on my (Debian) linux system. By the way, after stripping the X11-calls from SoXt::init(), all that remains is: SoDB::init(); SoNodeKit::init(); SoInteraction::init(); ... which appears in ivman/Main.c++ just above the SoXt::init() call! The upshot is: you can just remove the SoXt::init() call and build without needing an X11 server. -Steve -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants ----- End forwarded message ----- -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants From owner-info-inventor-dev@oss.sgi.com Tue Feb 19 12:20:49 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1JKKnK25850 for info-inventor-dev-outgoing; Tue, 19 Feb 2002 12:20:49 -0800 Received: from VL-MS-MR001.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1JKKe925847 for ; Tue, 19 Feb 2002 12:20:40 -0800 Received: from riemann.nyongwa.montreal.qc.ca ([24.202.211.8]) by VL-MS-MR001.sc1.videotron.ca (Netscape Messaging Server 4.15) with ESMTP id GRSOEF00.5VB for ; Tue, 19 Feb 2002 14:20:39 -0500 Received: from steve by riemann.nyongwa.montreal.qc.ca with local (Exim 3.34 #1 (Debian)) id 16dFoc-00041r-00; Tue, 19 Feb 2002 14:20:38 -0500 Date: Tue, 19 Feb 2002 14:20:38 -0500 To: info-inventor-dev@oss.sgi.com Subject: [patch] use glibc's Message-ID: <20020219192038.GH1893@nyongwa.montreal.qc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i From: "Steve M. Robbins" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Hi, I maintain OpenInventor for Debian. We build on a large number of different CPUs. Rather than add a bunch more "#if __cpu__" stanzas to the inventor header "machine.h", I patched it to use the GNU libc header as a fall-back. Regards, -Steve Index: lib/database/include/machine.h =================================================================== RCS file: /home/steve/lib/cvs/debian/inventor/lib/database/include/machine.h,v retrieving revision 1.1.1.2 diff -u -b -B -r1.1.1.2 machine.h --- lib/database/include/machine.h 25 Sep 2001 00:45:32 -0000 1.1.1.2 +++ lib/database/include/machine.h 19 Feb 2002 19:11:41 -0000 @@ -164,6 +164,28 @@ #endif +/* Added for Debian by Steve M. Robbins */ +#if !defined(MACHINE_WORD_FORMAT) +# include + +# if __BYTE_ORDER == __BIG_ENDIAN +# define MACHINE_WORD_FORMAT DGL_BIG_ENDIAN +# elif __BYTE_ORDER == __LITTLE_ENDIAN +# define MACHINE_WORD_FORMAT DGL_LITTLE_ENDIAN +# else +# error Inventor needs to be set up for your CPU type. +# endif + +# if __FLOAT_WORD_ORDER == __BIG_ENDIAN +# define MACHINE_FLOAT_FORMAT DGL_BIG_IEEE +# else +# define MACHINE_FLOAT_FORMAT DGL_NON_IEEE +# endif + +#endif + + + /* * 32/64-bit architecture dependent statements @@ -309,12 +331,10 @@ */ #if MACHINE_FLOAT_FORMAT == DGL_NON_IEEE -#if __i386__ || __ia64__ void mem_hton_float(float *t, float *f); void mem_ntoh_float(float *t, float *f); void mem_hton_double(double *t, double *f); void mem_ntoh_double(double *t, double *f); -#endif /* __i386__ || __ia64__ */ #define DGL_HTON_FLOAT(t,f) mem_hton_float(&t,&f) #define DGL_NTOH_FLOAT(t,f) mem_ntoh_float(&t,&f) #define DGL_HTON_DOUBLE(t,f) mem_hton_double(&t,&f) -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants From owner-info-inventor-dev@oss.sgi.com Tue Feb 19 12:48:36 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1JKmaa26214 for info-inventor-dev-outgoing; Tue, 19 Feb 2002 12:48:36 -0800 Received: from FW2.dt.navy.mil (FW2.dt.navy.mil [192.5.27.136]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1JKmW926211 for ; Tue, 19 Feb 2002 12:48:32 -0800 Received: by FW2.dt.navy.mil; id OAA23787; Tue, 19 Feb 2002 14:52:57 -0500 (EST) Received: from unknown(130.46.225.16) by FW2.dt.navy.mil via smap (V5.5) id xma023203; Tue, 19 Feb 02 14:51:59 -0500 Received: from youngkmwnt (YoungKMWNT.dt.navy.mil [130.46.208.40]) by smtprelay.dt.navy.mil (8.9.3/8.9.3) with ESMTP id OAA07997 for ; Tue, 19 Feb 2002 14:47:27 -0500 From: "Kevin M. Young" To: Subject: Spaceball 4000flx - Linux Date: Tue, 19 Feb 2002 14:48:43 -0500 Message-ID: <000001c1b97e$6fcdca20$28d02e82@youngkmwnt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk I'm new to the discussion list, so please forgive me if this topic has already been covered and resolved. I recently bought a spaceball 4000 flx to use with our open inventor applications that we have ported from SGI to LINUX (REDHAT 7.x). I am having no luck getting LINUX or Open Inventor to use the spaceball. Anyone with experience in getting this device (or similar device) to work under linux and open inventor, I would appreciate your assistance. Thank you in advance for any help in resolving this issue. /***********************************************/ /* Kevin M. Young 301.227.5663 */ /* Software Engineer */ /* Dynaminc Animation Systems */ /* mailto://kyoung@d-a-s.com */ /* http://www.d-a-s.com */ /* */ /***********************************************/ From owner-info-inventor-dev@oss.sgi.com Tue Feb 19 13:15:35 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1JLFZx26742 for info-inventor-dev-outgoing; Tue, 19 Feb 2002 13:15:35 -0800 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1JLFS926739 for ; Tue, 19 Feb 2002 13:15:28 -0800 Received: from boeing.engr.sgi.com (boeing.engr.sgi.com [130.62.55.185]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA05499 for ; Tue, 19 Feb 2002 12:11:03 -0800 (PST) mail_from (flynnt@engr.sgi.com) Received: from localhost (flynnt@localhost) by boeing.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id MAA28349; Tue, 19 Feb 2002 12:13:55 -0800 (PST) X-Authentication-Warning: boeing.engr.sgi.com: flynnt owned process doing -bs Date: Tue, 19 Feb 2002 12:13:55 -0800 From: Tom Flynn To: "Kevin M. Young" cc: info-inventor-dev@oss.sgi.com Subject: Re: Spaceball 4000flx - Linux In-Reply-To: <000001c1b97e$6fcdca20$28d02e82@youngkmwnt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk I don't think it's been discussed yet... Inventor uses the X Input Extension for reading the spaceball. I think there used to be support for the spaceball in the XFree-3.3 days, but I don't think it has been maintained because I believe it has been surpassed by the linux kernel input device code. I pretty sure they have support for the 4000flx, but I don't think the older ones are supported. Take a quick look in /usr/src/linux/Documentation/input/joystick.txt -tom On Tue, 19 Feb 2002, Kevin M. Young wrote: > I'm new to the discussion list, so please forgive me if this topic has > already been covered and resolved. > > I recently bought a spaceball 4000 flx to use with our open inventor > applications that we have ported from > SGI to LINUX (REDHAT 7.x). I am having no luck getting LINUX or Open > Inventor to use the spaceball. > Anyone with experience in getting this device (or similar device) to > work under linux and open inventor, I would appreciate your assistance. > > Thank you in advance for any help in resolving this issue. > > > /***********************************************/ > /* Kevin M. Young 301.227.5663 */ > /* Software Engineer */ > /* Dynaminc Animation Systems */ > /* mailto://kyoung@d-a-s.com */ > /* http://www.d-a-s.com */ > /* */ > /***********************************************/ > > -- "Mongooses are famous for their snake-fighting ability, and are almost always victorious because of their speed, agility, and timing and also because of their thick coat." From owner-info-inventor-dev@oss.sgi.com Tue Feb 19 14:06:49 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1JM6nT27580 for info-inventor-dev-outgoing; Tue, 19 Feb 2002 14:06:49 -0800 Received: from Mail6.mgfairfax.rr.com ([24.93.67.53]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1JM6d927577 for ; Tue, 19 Feb 2002 14:06:39 -0800 Received: from kitt ([24.28.220.152]) by Mail6.mgfairfax.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Tue, 19 Feb 2002 16:05:11 -0500 From: "Kevin M. Young" To: "'Tom Flynn'" Cc: Subject: RE: Spaceball 4000flx - Linux Date: Tue, 19 Feb 2002 16:06:03 -0500 Message-ID: <000001c1b989$409d3ff0$98dc1c18@kitt> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Tom, Thanks. I have looked at the documentation. However, there is much need explanation on troubleshooting. I've done all the steps listed in that documentation and still no luck in getting it to work. It uses the jsattach command to probe and attach the spaceball to the serial port, however, it returns "jsattach: can't set line discipline". There is hardly any help in correcting this issue. If anyone else has corrected this problem, I really appreciate any assistance. Thanks for your input Tom. Cheers! -----Original Message----- From: Tom Flynn [mailto:flynnt@engr.sgi.com] Sent: Tuesday, February 19, 2002 3:14 PM To: Kevin M. Young Cc: info-inventor-dev@oss.sgi.com Subject: Re: Spaceball 4000flx - Linux I don't think it's been discussed yet... Inventor uses the X Input Extension for reading the spaceball. I think there used to be support for the spaceball in the XFree-3.3 days, but I don't think it has been maintained because I believe it has been surpassed by the linux kernel input device code. I pretty sure they have support for the 4000flx, but I don't think the older ones are supported. Take a quick look in /usr/src/linux/Documentation/input/joystick.txt -tom On Tue, 19 Feb 2002, Kevin M. Young wrote: > I'm new to the discussion list, so please forgive me if this topic has > already been covered and resolved. > > I recently bought a spaceball 4000 flx to use with our open inventor > applications that we have ported from > SGI to LINUX (REDHAT 7.x). I am having no luck getting LINUX or Open > Inventor to use the spaceball. > Anyone with experience in getting this device (or similar device) to > work under linux and open inventor, I would appreciate your assistance. > > Thank you in advance for any help in resolving this issue. > > > /***********************************************/ > /* Kevin M. Young 301.227.5663 */ > /* Software Engineer */ > /* Dynaminc Animation Systems */ > /* mailto://kyoung@d-a-s.com */ > /* http://www.d-a-s.com */ > /* */ > /***********************************************/ > > -- "Mongooses are famous for their snake-fighting ability, and are almost always victorious because of their speed, agility, and timing and also because of their thick coat."