Pedro Lopez-Cabanillas wrote:
On Fri, 02 Dec 2005 18:58, Chris Norris wrote:
Hi all - I would appreciate if someone is able to
help get my Roland
PC-300 midi keyboard controller to work.
The short problem seems to me that although the keyboard is being
recognised via USB OK, it is not being correctly/completely identified
by ALSA.
When I plug it in I get in my system log:
Nov 28 17:17:57 dukla kernel: usb 3-2: new full speed USB device using
uhci_hcd and address 3
Nov 28 17:17:58 dukla kernel: midi: probe of 3-2:1.0 failed with error -5
Nov 28 17:17:58 dukla kernel: midi: probe of 3-2:1.1 failed with error -5
Nov 28 17:17:58 dukla kernel: usbmidi: found [ Roland PC-300 ]
(0x0582:0x0008), attached:
Nov 28 17:17:58 dukla kernel: usbmidi: /dev/midi00: in (ep:81 cid: 0
bufsiz:64) out (ep:01 cid: 0 bufsiz:64)
These messages mean that the old OSS-like "usb-midi" driver has been loaded,
taking over the device, which is recognized and probably working with this
driver.
Nov 28 17:17:58 dukla kernel: usbcore: registered
new driver midi
Nov 28 17:17:58 dukla kernel: usbcore: registered new driver snd-usb-audio
The alsa driver has been loaded too, but it doesn't find a free interface in
the PC-300 to attach.
Even better, it shows up as a device:
me@dukla:~> cat /proc/asound/cards
0 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with ALC658D at 0xe000, irq 177
1 [PC300 ]: USB-Audio - PC-300
Roland PC-300 at usb-0000:00:10.2-2, full speed
And yet I cannot see it as an input ALSA device:
me@dukla:~> aconnect -i -o
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 62: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 128: 'FLUID Synth (10018)' [type=user]
0 'Synth input port (10018:0)'
I am running SuSE 10.0 x86_64 (kernel 2.6.13-15) which has ALSA
1.0.9-23. My skills do not run to kernel compiles: the keyboard does
work fine under Windows and even
cat /dev/midi
shows some garbage at each key press.
Any/all help or suggestions would be very welcome!
Thanks
You can either:
* Remove the module usb-midi, if you don't need it anymore.
Or
* Add one line at end of your file "/etc/hotplug/blacklist".
To do it, open a terminal window, login as root and enter:
# echo "usb-midi" >> /etc/hotplug/blacklist
Next time you boot the computer, the module "usb-midi" won't be loaded and
your keyboard controller will be driven by ALSA.
There is a diagnostic script to debug ALSA problems here:
http://alsa.opensrc.org/aadebug
Perhaps you would like to run it, before and after, and tell us it this helps.
Regards,
Pedro
Many thanks - I am up and running now. (Well struggling with all the
jack & Rosegarden settings & options!) I couldn't find a way to prevent
usb-midi loading with the kernel and can't think of any reason I need it
(I am a midi novice and content to stick to ALSA) but the blacklist
option does the trick.
I ran the debug script you linked to: I am not sure if this list allows
attachments but for a start will try do both a before & after as
attachments. I think they are for interest only until I run into the
next problem. (If the attachments get stripped & anyone is interested,
yell & I will post in the body of a mail.)
Thanks so much for your help again
Chris
ALSA Audio Debug v0.1.0 - Sat Dec 3 22:35:15 GMT 2005
http://alsa.opensrc.org/index.php?page=aadebug
http://www.gnu.org/licenses/gpl.txt
Kernel ----------------------------------------------------
Linux dukla 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 x86_64 x86_64 x86_64
GNU/Linux
Loaded Modules --------------------------------------------
snd_seq_midi 11840 0
snd_seq_midi_event 9088 1 snd_seq_midi
snd_seq_dummy 4612 0
snd_usb_audio 93696 0
snd_usb_lib 19840 1 snd_usb_audio
snd_hwdep 12448 1 snd_usb_audio
snd_pcm_oss 70432 0
snd_mixer_oss 22144 1 snd_pcm_oss
snd_seq 68824 3 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
snd_via82xx 33696 1
snd_ac97_codec 117060 1 snd_via82xx
snd_ac97_bus 3328 1 snd_ac97_codec
snd_pcm 117260 4 snd_usb_audio,snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 29320 2 snd_seq,snd_pcm
snd_page_alloc 13200 2 snd_via82xx,snd_pcm
snd_mpu401_uart 9344 1 snd_via82xx
snd_rawmidi 31904 3 snd_seq_midi,snd_usb_lib,snd_mpu401_uart
snd_seq_device 11024 4 snd_seq_midi,snd_seq_dummy,snd_seq,snd_rawmidi
snd 77600 18
snd_seq_midi,snd_seq_midi_event,snd_seq_dummy,snd_usb_audio,snd_usb_lib,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
Proc Config -----------------------------------------------
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_MEMORY=y
# CONFIG_SND_DEBUG_DETECT is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not set
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_CS4281=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_CA0106=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_ALS4000=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801_TEA575X=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VX222=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m
CONFIG_SOUND_PRIME=m
CONFIG_SOUND_BT878=m
CONFIG_SOUND_CMPCI=m
CONFIG_SOUND_CMPCI_FM=y
CONFIG_SOUND_CMPCI_MIDI=y
CONFIG_SOUND_CMPCI_JOYSTICK=y
CONFIG_SOUND_EMU10K1=m
# CONFIG_SOUND_FUSION is not set
CONFIG_SOUND_CS4281=m
CONFIG_SOUND_ES1370=m
CONFIG_SOUND_ES1371=m
CONFIG_SOUND_ESSSOLO1=m
CONFIG_SOUND_MAESTRO=m
CONFIG_SOUND_MAESTRO3=m
CONFIG_SOUND_ICH=m
CONFIG_SOUND_SONICVIBES=m
CONFIG_SOUND_TRIDENT=m
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_VIA82CXXX=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_TRACEINIT=y
CONFIG_SOUND_DMAP=y
CONFIG_SOUND_AD1816=m
CONFIG_SOUND_AD1889=m
CONFIG_SOUND_SGALAXY=m
CONFIG_SOUND_ADLIB=m
CONFIG_SOUND_ACI_MIXER=m
CONFIG_SOUND_CS4232=m
CONFIG_SOUND_SSCAPE=m
CONFIG_SOUND_GUS=m
# CONFIG_SOUND_GUS16 is not set
CONFIG_SOUND_GUSMAX=y
CONFIG_SOUND_VMIDI=m
CONFIG_SOUND_TRIX=m
CONFIG_SOUND_MSS=m
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_NM256=m
CONFIG_SOUND_MAD16=m
CONFIG_SOUND_PAS=m
CONFIG_SOUND_PSS=m
CONFIG_SOUND_SB=m
CONFIG_SOUND_AWE32_SYNTH=m
CONFIG_SOUND_WAVEFRONT=m
CONFIG_SOUND_MAUI=m
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_OPL3SA1=m
CONFIG_SOUND_OPL3SA2=m
CONFIG_SOUND_YMFPCI=m
CONFIG_SOUND_YMFPCI_LEGACY=y
CONFIG_SOUND_UART6850=m
CONFIG_SOUND_AEDSP16=m
CONFIG_SOUND_TVMIXER=m
CONFIG_SOUND_KAHLUA=m
CONFIG_SOUND_ALI5455=m
CONFIG_SOUND_FORTE=m
CONFIG_SOUND_RME96XX=m
CONFIG_SOUND_AD1980=m
Modprobe Conf ---------------------------------------------
# remove this if sound is configured
Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28 12:20:13 2005 UTC).
0 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with ALC658D at 0xe000, irq 177
1 [PC300 ]: USB-Audio - PC-300
Roland PC-300 at usb-0000:00:10.2-2, full speed
17: [0- 1]: digital audio playback
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
0: [0- 0]: ctl
1: : sequencer
33: : timer
40: [1- 0]: raw midi
32: [1- 0]: ctl
00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1
00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1
Client info
cur clients : 3
peak clients : 5
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Client 62 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 72 : "PC-300" [Kernel]
Port 0 : "PC-300 MIDI 1" (RWeX)
Dev Snd ---------------------------------------------------
controlC0 midiC1D0 pcmC0D0p pcmC0D1p timer
controlC1 pcmC0D0c pcmC0D1c seq
CPU -------------------------------------------------------
model name : AMD Sempron(tm) Processor 3000+
cpu MHz : 2289.878
RAM -------------------------------------------------------
MemTotal: 508760 kB
SwapTotal: 1036184 kB
Hardware --------------------------------------------------
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio
Controller (rev 60)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport
Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous
Control
ALSA Audio Debug v0.1.0 - Sat Dec 3 20:08:16 GMT 2005
http://alsa.opensrc.org/index.php?page=aadebug
http://www.gnu.org/licenses/gpl.txt
Kernel ----------------------------------------------------
Linux dukla 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 x86_64 x86_64 x86_64
GNU/Linux
Loaded Modules --------------------------------------------
snd_usb_audio 93696 0
snd_usb_lib 19840 1 snd_usb_audio
snd_hwdep 12448 1 snd_usb_audio
snd_seq_dummy 4612 0
snd_pcm_oss 70432 0
snd_mixer_oss 22144 1 snd_pcm_oss
snd_seq 68824 1 snd_seq_dummy
snd_via82xx 33696 1
snd_ac97_codec 117060 1 snd_via82xx
snd_ac97_bus 3328 1 snd_ac97_codec
snd_pcm 117260 4 snd_usb_audio,snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 29320 2 snd_seq,snd_pcm
snd_page_alloc 13200 2 snd_via82xx,snd_pcm
snd_mpu401_uart 9344 1 snd_via82xx
snd_rawmidi 31904 2 snd_usb_lib,snd_mpu401_uart
snd_seq_device 11024 3 snd_seq_dummy,snd_seq,snd_rawmidi
snd 77600 16
snd_usb_audio,snd_usb_lib,snd_hwdep,snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
Proc Config -----------------------------------------------
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_MEMORY=y
# CONFIG_SND_DEBUG_DETECT is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not set
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_CS4281=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_CA0106=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_ALS4000=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801_TEA575X=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VX222=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m
CONFIG_SOUND_PRIME=m
CONFIG_SOUND_BT878=m
CONFIG_SOUND_CMPCI=m
CONFIG_SOUND_CMPCI_FM=y
CONFIG_SOUND_CMPCI_MIDI=y
CONFIG_SOUND_CMPCI_JOYSTICK=y
CONFIG_SOUND_EMU10K1=m
# CONFIG_SOUND_FUSION is not set
CONFIG_SOUND_CS4281=m
CONFIG_SOUND_ES1370=m
CONFIG_SOUND_ES1371=m
CONFIG_SOUND_ESSSOLO1=m
CONFIG_SOUND_MAESTRO=m
CONFIG_SOUND_MAESTRO3=m
CONFIG_SOUND_ICH=m
CONFIG_SOUND_SONICVIBES=m
CONFIG_SOUND_TRIDENT=m
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_VIA82CXXX=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_TRACEINIT=y
CONFIG_SOUND_DMAP=y
CONFIG_SOUND_AD1816=m
CONFIG_SOUND_AD1889=m
CONFIG_SOUND_SGALAXY=m
CONFIG_SOUND_ADLIB=m
CONFIG_SOUND_ACI_MIXER=m
CONFIG_SOUND_CS4232=m
CONFIG_SOUND_SSCAPE=m
CONFIG_SOUND_GUS=m
# CONFIG_SOUND_GUS16 is not set
CONFIG_SOUND_GUSMAX=y
CONFIG_SOUND_VMIDI=m
CONFIG_SOUND_TRIX=m
CONFIG_SOUND_MSS=m
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_NM256=m
CONFIG_SOUND_MAD16=m
CONFIG_SOUND_PAS=m
CONFIG_SOUND_PSS=m
CONFIG_SOUND_SB=m
CONFIG_SOUND_AWE32_SYNTH=m
CONFIG_SOUND_WAVEFRONT=m
CONFIG_SOUND_MAUI=m
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_OPL3SA1=m
CONFIG_SOUND_OPL3SA2=m
CONFIG_SOUND_YMFPCI=m
CONFIG_SOUND_YMFPCI_LEGACY=y
CONFIG_SOUND_UART6850=m
CONFIG_SOUND_AEDSP16=m
CONFIG_SOUND_TVMIXER=m
CONFIG_SOUND_KAHLUA=m
CONFIG_SOUND_ALI5455=m
CONFIG_SOUND_FORTE=m
CONFIG_SOUND_RME96XX=m
CONFIG_SOUND_AD1980=m
Modprobe Conf ---------------------------------------------
# remove this if sound is configured
Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28 12:20:13 2005 UTC).
0 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with ALC658D at 0xe000, irq 177
1 [PC300 ]: USB-Audio - PC-300
Roland PC-300 at usb-0000:00:10.2-2, full speed
17: [0- 1]: digital audio playback
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
0: [0- 0]: ctl
1: : sequencer
33: : timer
32: [1- 0]: ctl
00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1
00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1
Client info
cur clients : 2
peak clients : 6
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Client 62 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Dev Snd ---------------------------------------------------
controlC0 controlC1 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p seq timer
CPU -------------------------------------------------------
model name : AMD Sempron(tm) Processor 3000+
cpu MHz : 2289.866
RAM -------------------------------------------------------
MemTotal: 508760 kB
SwapTotal: 1036184 kB
Hardware --------------------------------------------------
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio
Controller (rev 60)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport
Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous
Control