----------  Forwarded Message  ----------
Subject: Re: [Cooker] Joystick support in cooker
Date: Fri, 19 Jan 2001 17:13:59 +0000
From: Peter Ruskin <[EMAIL PROTECTED]>
To: "J . A . Magallon" <[EMAIL PROTECTED]>


On Thursday 18 January 2001 23:40, J . A . Magallon wrote:
> On 2001.01.18 Peter Ruskin wrote:
> > # Linux-Mandrake 7.2 ...
> > [15:16 root@penguin:/home/peter]# lsmod
> > Module                  Size  Used by
> > joy-sidewinder          8112   1  (autoclean)
> > joystick                5888   1  (autoclean) [joy-sidewinder]
>
> ..
>
> > # Linux-Mandrake Cooker-i586 20010114 5:15  ...
> > [17:20 root@penguin:~]# lsmod
> > Module                  Size  Used by
> > sidewinder              9088   0  (unused)
> > gameport                1920   0  [sidewinder]
> > input                   3392   0  [sidewinder]
>
> Here is missing the joydev module. Look at
> /usr/src/linux/Documentation/joystick.txt.
> Check the devices in /dev, ie, for kernel 2.4 /dev/js0 has to be a link to
> /dev/input/js0,
> not a device like in 2.2.
> To see if the kernel at least see the joystick, you can do just
> cat /dev/input/js0
>
> move the js and see some garbage...

Thanks for the tip, J.A.  I was using kernel 2.4.0-4mdk that I compiled
myself to make sure that joystick support was enabled, but modules joydev.o
and evdev.o were missing.  So I updated to the stock 2.4.0-5mdk, used this
line in /etc/modules.conf:
        alias char-major-13             joydev sidewinder
and rebooted, hoping all would be fixed.  No, it's still the same.  Evidence
follows:

[11:54 root@penguin:~]# modprobe input
[11:55 root@penguin:~]# modprobe gameport
[11:55 root@penguin:~]# modprobe joydev
[11:55 root@penguin:~]# modprobe sidewinder
[11:55 root@penguin:~]# ls -la /dev/input/js0
crw-rw-rw-    1 root    root      13,   0 Nov 29 03:48 /dev/input/js0
[11:56 root@penguin:~]# cat /dev/input/js0
cat: /dev/input/js0: No such device

Gameport is on AWE64 (ISA), so ...
[12:00 root@penguin:~]# cat /proc/isapnp
Card 1 'CTL00c5:Creative SB AWE64 PnP' PnP version 1.0 Product version 1.0
<---snip--->
  Logical device 1 'CTL7002:Game'
    Compatible device PNPb02f
    Device is active
    Active port 0x200
    Resources 0
      Priority preferred
      Port 0x200-0x200, align 0x0, size 0x8, 16-bit address decoding
      Alternate resources 0:1
        Priority acceptable
        Port 0x200-0x208, align 0x7, size 0x8, 16-bit address decoding
<---snip--->

/var/log/messages excerpt ...
Jan 19 11:48:05 penguin isapnp: Board 1 has Identity d6 06 ea d5 ce c5 00 8c
0e:  CTL00c5 Serial No 116053454 [checksum d6]
Jan 19 11:48:05 penguin isapnp: CTL00c5/116053454[0]{Audio               }:
Ports 0x220 0x330 0x388; IRQ5 DMA1 DMA5 --- Enabled OK
Jan 19 11:48:05 penguin isapnp: CTL00c5/116053454[1]{Game                }:
Port 0x200; --- Enabled OK
Jan 19 11:48:05 penguin isapnp: CTL00c5/116053454[2]{WaveTable           }:
Ports 0x620 0xA20 0xE20; --- Enabled OK
Jan 19 11:48:05 penguin rc.sysinit: Setting up ISA PNP devices:  succeeded

I'd be grateful for any help.
Regards,
Peter
--
        ----------------------------------------------
        Peter Ruskin,  Wrexham, UK  <[EMAIL PROTECTED]>
                KDE 2.1beta  --  almost fit for production machines.
              Linux 2.2.17-27mdkWin4Lin, Uptime 0 hours 28 minutes
        ----------------------------------------------

-------------------------------------------------------

-- 
        ----------------------------------------------                  
        Peter Ruskin,  Wrexham, UK  <[EMAIL PROTECTED]>     
                KDE 2.1beta  --  almost fit for production machines.
              Linux 2.2.17-27mdkWin4Lin, Uptime 4 hours 8 minutes
        ----------------------------------------------                  

Reply via email to