Skip to contentSkip to conversation

: midi/joystick port disabled and no way to enable it

ALSA - driver 0002023 [email protected] 1 participant 1 message Apr 22, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2023>
======================================================================
Reported By: zanonmark
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   2023
Category:                   PCI - ens1371
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               Ubuntu 5.10
Kernel Version:             2.6.12-10
======================================================================
Date Submitted:             04-16-2006 12:18 CEST
Last Modified:              04-22-2006 13:36 CEST

======================================================================
Summary: midi/joystick port disabled and no way to enable it
Description:
I have a MIDI keyboard and I'd like to connect it to the midi/joystick port of the soundcard.

Unfortunately, while PCM works fine and /dev/midi is created, I see no MIDI communication through /dev/midi. /proc/asound/AudioPCI/audiopci reports that the joystick port is disabled.

It is probably a bug on the Ubuntu side (did they forget to compile the driver correctly?), but I'd like to see a parameter for enabling the joystick port "on the fly": other drivers have one (e.g.: "joystick=1"), but snd_ens1371 has not, so:
1) it is not possible to reload (rmmod and modprobe) the driver with that parameter enabling the midi/joystick port manually,
2) it is not possible to save (alsactl store), modify and reload (alsactl restore) the soundcard settings, because I see no such parameter to modify.

So, will you please include such a parameter in the next version of the driver?

Thanks a lot,

Marco.

======================================================================

----------------------------------------------------------------------
Raymond - 04-20-06 03:39
----------------------------------------------------------------------
I don't have this card, this mean that SUPPORT_JOYSTICK is not defined

#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
#define SUPPORT_JOYSTICK
#endif

	snd_iprintf(buffer, "Joystick enable  : %s\n",
		    ensoniq->ctrl & ES_JYSTK_EN ? "on" : "off");

#ifdef SUPPORT_JOYSTICK
...

	ensoniq->ctrl |= ES_JYSTK_EN;

...
#endif

BTW, please use alsa-driver-1.0.11 if possible

----------------------------------------------------------------------
zanonmark - 04-22-06 13:36
----------------------------------------------------------------------
amidi -d -p "hw:0,0"
does not return anything,

just one question: why is SUPPORT_JOYSTICK not defined? I mean, is it a bug or is the Alsa project missing some information on this card so that it is not possible to enable it?

thanks,

MZ

Issue History
Date Modified Username Field Change
======================================================================

04-16-06 12:18 zanonmark      New Issue                                    
04-16-06 12:18 zanonmark      Distribution              => Ubuntu 5.10     
04-16-06 12:18 zanonmark      Kernel Version            => 2.6.12-10       
04-17-06 06:56 rlrevell       Note Added: 0009301                          
04-17-06 07:19 Raymond        Note Added: 0009303                          
04-17-06 19:59 zanonmark      Note Added: 0009319                          
04-18-06 10:54 Raymond        Note Added: 0009328                          
04-18-06 13:18 Raymond        Note Edited: 0009328                         
04-18-06 16:28 Clemens LadischNote Added: 0009338                          
04-19-06 20:05 zanonmark      Note Added: 0009354                          
04-19-06 21:49 rlrevell       Note Added: 0009356                          
04-20-06 03:39 Raymond        Note Added: 0009363                          
04-22-06 13:36 zanonmark      Note Added: 0009433                          

======================================================================

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642