https://bugzilla.novell.com/show_bug.cgi?id=247818 Summary: MPU401_ENTER_UART not supported Product: openSUSE 10.2 Version: Final Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: mathis_w@gmx.net QAContact: qa@suse.de CC: mathis_w@gmx.net The MPU401 device driver has been successfully added to the YaST Sound Module. Trying to open /dev/midi1 fails with: ALSA sound/drivers/mpu401/mpu401_uart.c:267: cmd: 0x3f failed at 0x300 (status = 0x80, data = 0x3f) I have an Asus P4C800-E mainboard which seems to know the MPU401 UART mode only (raw mode not supported) and kernel 2.6.18.2-34-default. The mpu401 driver is trying to set that mode but fails. I suggest modifying mpu401_uart.c this way: sound/drivers/mpu401/mpu401_uart.c:287 -if (snd_mpu401_uart_cmd(mpu, MPU401_ENTER_UART, 1)) +if (mpu->enter_uart && (snd_mpu401_uart_cmd(mpu, MPU401_ENTER_UART, 1))) sound/drivers/mpu401/mpu401_uart.c:311 -if (snd_mpu401_uart_cmd(mpu, MPU401_ENTER_UART, 1)) +if (mpu->enter_uart && (snd_mpu401_uart_cmd(mpu, MPU401_ENTER_UART, 1))) If MPU401_ENTER_UART is not supported (as in my case), mpu->enter_uart should be set to FALSE. Might be implemented as module parameter. For testing purposes I commented out those lines and it worked fine afterwards. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.