ENS1371 joystick problem, bug in driver?
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
Quoted 2 lines · Juan Linietsky
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.
Quoted 19 lines
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'
}Quoted 2 lines
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
At Mon, 13 Oct 2003 14:28:04 +0200 (METDST),
Quoted 26 lines · Clemens Ladisch
Quoted 2 lines · Juan Linietsky
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.
Quoted 19 lines
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' }
Quoted 6 lines
Quoted 2 lines
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