Re: [newbie] Joysticks

2001-07-18 Thread s

On Tuesday 17 July 2001 03:07 am, you wrote:
> On Tuesday 17 July 2001 05:04, s wrote:
> > On Monday 16 July 2001 09:03 pm, you wrote:
> > > On Tuesday 17 July 2001 02:25, s wrote:
> > > > Can anyone brief me on the set up  of a joystick?
> > >
> > > If you're using a 2.4 kernel, add the following to
> > > /etc/modules.conf... # Joystick
> > > alias char-major-13   joydev ns558 
> > >
> > > That should be it.  Good luck.
> >
> > Thanks, that helped some.  
> You don't have to add anything to the XF86Config-4 file.
> Raider Pro isn't listed in joystick.txt, so which module are you loading?
> What sort of SoundBlaster card do you have?  Your problem might be
> something to do with the PNP setup.  I have an AWE64 ISA PnP and my
> /etc/isapnp.conf looks like this.  Look in particular at the Game section.

It's a sound blaster live pci.  I used joydev ns558 analog as that was the 
closest in the .txt file to what I have.  I have even tried insmod gameport 
before firing up a game.
The joystick controller is on port 0xd400 and I think the usual is 0x0200.  
So I even tried joystick=0x0200 and 0x200.

Some discussion has been going on in the loki games ngs and the consensus is 
that kernels 2.4.3 & .4 can't handle the confliction between the joystick and 
video cards.  I don't think that's the case here, but another guy with my 
same exact set up is having the same exact problem.  Another with similiar 
set up is having similar errors.  Anyway
I tried upgrading the kernel, but it errored out too.  (Not my week)

So, ultimately I ordered a usb joystick from logitech that is supposed to 
work and recommended in the faq of descent3.  I'll know Friday...

Thanks for your help, but I give up on the Raider Pro for now.  :-)

-s






Re: [newbie] Joysticks

2001-07-17 Thread Peter Ruskin

On Tuesday 17 July 2001 05:04, s wrote:
> On Monday 16 July 2001 09:03 pm, you wrote:
> > On Tuesday 17 July 2001 02:25, s wrote:
> > > Can anyone brief me on the set up  of a joystick?
> >
> > If you're using a 2.4 kernel, add the following to
> > /etc/modules.conf... # Joystick
> > alias char-major-13 joydev ns558 
> >
> > That should be it.  Good luck.
>
> Thanks, that helped some.  I do have the modules loading, but descent3
> still doesn't recognize it, nor harddrake.  I had read joystick.txt  in
> /Documentation and it made a little more sense this time.  I've tried a
> few of the js=, but I still don't have use of my joystick.  jstest
> says no devices found (but I'm not sure that is made and installed
> okay).  The faq states that the /dev/jsx must not be there, but they are
> with the major and minor characters as specified, as are the events.  I
> checked just to be sure, and joysticks are compiled into the kernel as a
> module (obviously).  Using 2.4.3-20mdk and X version 4.0.3.  (I checked
> in windows, and tho I don't have any games that I could test it with, I
> could do the calibration thing.  So the hardware is functioning.)
>
> I've read where some info might be required in the XF86Config-4 file
> (but the referenced were for 3.3.6 and XF86Config).  Is this still
> necessary?  If so, can I see yours?  (Any other suggestions would be
> appreciated also.)
>
> TIA,
> -s

You don't have to add anything to the XF86Config-4 file.
Raider Pro isn't listed in joystick.txt, so which module are you loading?
What sort of SoundBlaster card do you have?  Your problem might be 
something to do with the PNP setup.  I have an AWE64 ISA PnP and my 
/etc/isapnp.conf looks like this.  Look in particular at the Game section.

# $Id: pnpdump_main.c,v 1.25 2001/01/06 20:45:58 fox Exp $
# Release isapnptools-1.24
# 
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
# 
# For details of the output file format, see isapnp.conf(5)
# 
# For latest information and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
# 
# Compiler flags:  -DREALTIME -DHAVE_PROC -DENABLE_PCI 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_NANOSLEEP -DWANT_TO_VALIDATE
# 
# Trying port address 0273
# Board 1 has serial identifier d6 06 ea d5 ce c5 00 8c 0e

# (DEBUG)
(READPORT 0x0273)
(ISOLATE CLEAR)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier d6 06 ea d5 ce c5 00 8c 0e)
# Vendor Id CTL00c5, Serial Number 116053454, checksum 0xD6.
# Version 1.0, Vendor version 1.0
# ANSI string -->Creative SB AWE64 PnP<--
# Vendor defined tag:  73 02 45 01
#
# Logical device id CTL0045
# Device supports vendor reserved register @ 0x3a
# Device supports vendor reserved register @ 0x3d
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be 
changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL00c5/116053454 (LD 0
# ANSI string -->Audio<--

# Multiple choice time, choose one only !

# Start dependent functions: priority preferred
#   IRQ 5.
# High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 5 (MODE +E)))
#   First DMA channel 1.
# 8 bit DMA only
# Logical device is a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
(DMA 0 (CHANNEL 1))
#   Next DMA channel 5.
# 16 bit DMA only
# Logical device is not a bus master
# DMA may not execute in count by byte mode
# DMA may execute in count by word mode
# DMA channel speed in compatible mode
(DMA 1 (CHANNEL 5))
#   Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0220
# IO base alignment 1 bytes
# Number of IO addresses required: 16
(IO 0 (SIZE 16) (BASE 0x0220))
#   Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0330
# Maximum IO base address 0x0330
# IO base alignment 1 bytes
# Number of IO addresses required: 2
(IO 1 (SIZE 2) (BASE 0x0330))
#   Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0388
# Maximum IO base address 0x0388
# IO base alignment 1 bytes
# Number of IO addresses required: 4
(IO 2 (SIZE 4) (BASE 0x0388))

#   Start dependent functions: priority acceptable
#   IRQ 5, 7, 9 or 10.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#   First DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is a bus master
#   

Re: [newbie] Joysticks

2001-07-16 Thread Peter Ruskin

On Tuesday 17 July 2001 02:25, s wrote:
> Can anyone brief me on the set up  of a joystick?  I know... rtfm, but
> I've found the the fine manuals really don't apply much anymore
> especially with 8.0.  Alot of the kernel config, file edits, steps, and
> such aren't necessary anymore for many things to work:  such as X, sound
> cards or modems.  Advances in support are vastly surpassing the progress
> in the documentation project.
>
> I'm hoping that's the case with joysticks.  I've read howtos.  Patch and
> config kernel.  Install joystick tarballs, Ruby (?), jscal, jstest and
> all. Sounds like a lot of stuff that i don't fully comprehend and might
> today be unnecessary.
>
> (Anybody heard of Raider Pro?  I didn't buy it, my spouse came home with
> about a year ago for me, thinking I would use it.  Well now with the
> purchase of descent3, I'd like to.  I don't think I'll be able to use
> the game otherwise.)  I have no experience with joysticks even in
> windows.  I hooked it onto the back of my sound blaster card and
> harddrake doesn't know it's there, but kde systems control lists a sb
> controller for it and it's i/o.
>
> What's the procedure with 8.0, can anyone help?
>
> TIA,
> -s

If you're using a 2.4 kernel, add the following to /etc/modules.conf...
# Joystick
alias char-major-13 joydev ns558  

[ joydev is the joystick module; ns558 is gameport (back of your blaster); 
read /usr/src/linux/Documentation/joystick.txt ]

If you're using a 2.2 kernel, add the following to /etc/modules.conf...
# Joystick
alias char-major-15 

That should be it.  Good luck.
-- 
 Peter Ruskin, Wrexham, Wales.
Registered Linux User No. 219434 ( see http://counter.li.org/ ).
Linux Mandrake release 8.0 (Traktopel) for i586,
   kernel 2.4.3-20mdk-win4lin-pnr,  XFree86 4.0.3, patch level 11mdk,
  KDE: 2.1.2,  Qt: 2.3.1.   Uptime 11 hours 53 minutes