All of lore.kernel.org
 help / color / mirror / Atom feed
* ENS1371 joystick problem, bug in driver?
@ 2003-10-11 16:16 Juan Linietsky
  2003-10-13 12:28 ` Clemens Ladisch
  0 siblings, 1 reply; 3+ messages in thread
From: Juan Linietsky @ 2003-10-11 16:16 UTC (permalink / raw)
  To: alsa-devel

I cant seem to get the joystick port to run under this card (Ensoniq 1371)
under alsa 0.9.rc6.

jstest on /dev/js0 (and others) returns no such device.

However it seems to work fine on the OSS/Free driver 'es1371.o' with parameter 
'joystick=1'

Relevant sections to /etc/asound.state:

state.AudioPCI {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface CARD
                name 'Joystick Enable'
                value true
        }
        control.2 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 'port 0x200'
                comment.item.1 'port 0x208'
                comment.item.2 'port 0x210'
                iface CARD
                name 'Joystick Address'
                value 'port 0x200'
        }

I tried using all the values above, but nothing works, and higher values are 
ignored (error is reported).

However, when using the OSS/Free driver, by doing cat /proc/ioports shows the 
follownig

0218-021f : es1371

I can however, as mentioned above, not set such value on /etc/asound.state.

Regards

Juan Linietsky.






-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ENS1371 joystick problem, bug in driver?
  2003-10-11 16:16 ENS1371 joystick problem, bug in driver? Juan Linietsky
@ 2003-10-13 12:28 ` Clemens Ladisch
  2003-10-13 13:04   ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Clemens Ladisch @ 2003-10-13 12:28 UTC (permalink / raw)
  To: Juan Linietsky; +Cc: alsa-devel

Juan Linietsky wrote:
> I cant seem to get the joystick port to run under this card (Ensoniq 1371)
> under alsa 0.9.rc6.

You might have better luck with 0.9.7c.

> state.AudioPCI {
>         control.1 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 iface CARD
>                 name 'Joystick Enable'
>                 value true
>         }
>         control.2 {
>                 comment.access 'read write'
>                 comment.type ENUMERATED
>                 comment.item.0 'port 0x200'
>                 comment.item.1 'port 0x208'
>                 comment.item.2 'port 0x210'
>                 iface CARD
>                 name 'Joystick Address'
>                 value 'port 0x200'
>         }
>
> I tried using all the values above, but nothing works, and higher values are
> ignored (error is reported).

The driver cannot change the gameport's port address while it's
enabled, so you have to disable the joystick, then change the port,
then enable it again.


HTH
Clemens




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ENS1371 joystick problem, bug in driver?
  2003-10-13 12:28 ` Clemens Ladisch
@ 2003-10-13 13:04   ` Takashi Iwai
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2003-10-13 13:04 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: Juan Linietsky, alsa-devel

At Mon, 13 Oct 2003 14:28:04 +0200 (METDST),
Clemens Ladisch wrote:
> 
> Juan Linietsky wrote:
> > I cant seem to get the joystick port to run under this card (Ensoniq 1371)
> > under alsa 0.9.rc6.
> 
> You might have better luck with 0.9.7c.
> 
> > state.AudioPCI {
> >         control.1 {
> >                 comment.access 'read write'
> >                 comment.type BOOLEAN
> >                 iface CARD
> >                 name 'Joystick Enable'
> >                 value true
> >         }
> >         control.2 {
> >                 comment.access 'read write'
> >                 comment.type ENUMERATED
> >                 comment.item.0 'port 0x200'
> >                 comment.item.1 'port 0x208'
> >                 comment.item.2 'port 0x210'
> >                 iface CARD
> >                 name 'Joystick Address'
> >                 value 'port 0x200'
> >         }
> >
> > I tried using all the values above, but nothing works, and higher values are
> > ignored (error is reported).
> 
> The driver cannot change the gameport's port address while it's
> enabled, so you have to disable the joystick, then change the port,
> then enable it again.

i'm working on taking the joystick stuffs back to the module
parameters again.  will be finished in a couple of days.
keep tuned.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-13 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-11 16:16 ENS1371 joystick problem, bug in driver? Juan Linietsky
2003-10-13 12:28 ` Clemens Ladisch
2003-10-13 13:04   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.