Discussion:
[LAU] MIDI keyboard not recognized
jy
13 years ago
Permalink
Hi all,

I've recently installed ubuntustudio 12.04 and after trying it out, i
discovered that my M-Audio Oxygen8 v2 MIDI USB (yes it is class compliant)
keyboard is not recognised.
It was recognised out of the box on my previous setup based on ubuntu 10.04.

By not recognized, i mean that it doesn't appear in qjackctl connexions.
thus i cant route the connexions correctly...
Below are some logs !

How come it doesn't work any more ? How can i correct this ?

Thanks a lot

Cheers,
jy

####LOGS####
$cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0400000 irq 45


$aplay -l
carte 0: Intel [HDA Intel], périphérique 0: ALC888 Analog [ALC888 Analog]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 1: ALC888 Digital [ALC888 Digital]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 3: HDMI 0 [HDMI 0]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0

$lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0
multicard reader
Bus 001 Device 004: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam
[CN0314]
Bus 004 Device 002: ID 147e:1000 Upek Biometric Touchchip/Touchstrip
Fingerprint Sensor
Bus 007 Device 002: ID 046d:c062 Logitech, Inc. LS1 Laser Mouse, corded
Bus 008 Device 004: ID 0763:0195 Midiman Oxygen 8 v2


$amidi -l
Dir Device Name
IO hw:1,0,0 USB Oxygen 8 v2 MIDI 1
Brett McCoy
13 years ago
Permalink
Post by jy
I've recently installed ubuntustudio 12.04 and after trying it out, i
discovered that my M-Audio Oxygen8 v2 MIDI USB (yes it is class compliant)
keyboard is not recognised.
It was recognised out of the box on my previous setup based on ubuntu 10.04.
By not recognized, i mean that it doesn't appear in qjackctl connexions.
thus i cant route the connexions correctly...
Below are some logs !
How come it doesn't work any more ? How can i correct this ?
You need to run a2jmidid -e to export ALSA MIDI hardware so jack will see it.
--
Brett W. McCoy -- http://www.brettwmccoy.com
------------------------------------------------------------------------
"In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world."
-- Jelaleddin Rumi
jy
13 years ago
Permalink
Isn't this only usefull to transfer ALSA MIDI to Jack MIDI ?
Here my problem is that my keyboard does not appear in any of the
corresponding tabs.
...
Brett McCoy
13 years ago
Permalink
Post by jy
Isn't this only usefull to transfer ALSA MIDI to Jack MIDI ?
Here my problem is that my keyboard does not appear in any of the
corresponding tabs.
It also exports hardware ports if you use -e option. I don't think
Jack will see USB MIDI ports otherwise. Did you try it?
--
Brett W. McCoy -- http://www.brettwmccoy.com
------------------------------------------------------------------------
"In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world."
-- Jelaleddin Rumi
Paul Davis
13 years ago
Permalink
Post by jy
Hi all,
I've recently installed ubuntustudio 12.04 and after trying it out, i
discovered that my M-Audio Oxygen8 v2 MIDI USB (yes it is class compliant)
keyboard is not recognised.
It was recognised out of the box on my previous setup based on ubuntu 10.04.
By not recognized, i mean that it doesn't appear in qjackctl connexions.
thus i cant route the connexions correctly...
which tab of qjackctl are you looking for it in?
Nigel Henry
13 years ago
Permalink
...
It's not showing up in the cards list above, which seems to indicate that the
snd_usb_audio module isn't loaded, or you've forgotten to switch the keyboard
on. Have a look in lsmod to see if the module is showing there.

If not, load it with.
sudo modprobe snd_usb_audio

Then see if the keyboard shows up in the cards list.

Nigel.
Nigel Henry
13 years ago
Permalink
...
Please send replies to the list and put your replies at the bottom of the
post, which makes it easier to follow.

Ok. It does need to be listed as a card in /proc/asound/cards, just as a
webcam with built in mike (although not a soundcard as such) will have a card
entry and uses snd_usb_audio. So why isn't it there?

Does it need firmware loading? I know some M-audio keyboards do. My Evolution
keyboard doesn't, but someone with the same as yours will say.

Have you tried it in a different USB slot if you have spare ones? Not in a
hub as some USB things don't like hubs.

The only other thing I can think of is that both the sound card and the
keyboard are trying to grab card0 and the soundcard is winning, thus the
keyboard can't use it. Now I've seen this the other way round due to the USB
coming up early in the boot process and my keyboard grabbing card0 leaving no
place for the actual soundcard.

This is a very old problem, but may for some reason be happening in your case,
so I suggest putting some index options in /etc/modprobe.d/options, which
will at least confirm if that is the problem or not. See below.

options snd_hda_intel index=0
options snd_usb-audio index=1

Best to reboot and then see if /proc/asound/cards lists both.

If not I'm a bit perplexed.

Nigel.
Post by jy
_______________________________________________
Linux-audio-user mailing list
http://lists.linuxaudio.org/listinfo/linux-audio-user
Paul Davis
13 years ago
Permalink
On Sun, Sep 9, 2012 at 4:19 PM, Nigel Henry <***@aliceadsl.fr>wrote:
[ ... ]

what is super-wierd about this is that amidi can see it, and lists it as
hw:1,0,0
Nigel Henry
13 years ago
Permalink
Post by Paul Davis
On Sun, Sep 9, 2012 at 4:19 PM, Nigel Henry
what is super-wierd about this is that amidi can see it, and lists it as
hw:1,0,0
I must say that I didn't take much notice of that at the time, but was more
taken by the missing card in /proc/asound/cards.

I see his lsusb also lists an integrated webcam no doubt with a mike which
will be using snd_usb_audio, which if that is so, that's not showing in the
cards list. I know I'm clutching at straws but wonder if the webcams mike is
also trying for card1 and causing some sort of conflict with snd_usb_audio.

I suppose it's worth unplugging the keyboard and seeing if snd_usb_audio turns
up in /proc/asound/cards for the webcam mike as card1.

If it does I'm not sure how you set the index options for multiple devices
using snd_usb_audio.

Nigel.
jy
13 years ago
Permalink
...
I never had any trouble with the integrated webcam before. The mic was
properly recognised/
Post by Nigel Henry
I suppose it's worth unplugging the keyboard and seeing if snd_usb_audio turns
up in /proc/asound/cards for the webcam mike as card1.
jy
13 years ago
Permalink
...
Oups! Sorry i didn't mean to ! I assumed that the list would handle replies
but I made a mistake. My bad !
Post by Nigel Henry
Ok. It does need to be listed as a card in /proc/asound/cards, just as a
webcam with built in mike (although not a soundcard as such) will have a card
entry and uses snd_usb_audio. So why isn't it there?
Does it need firmware loading? I know some M-audio keyboards do. My Evolution
keyboard doesn't, but someone with the same as yours will say.
Nope. The very same keyboard was properly recognized with my previous setup
(ubuntu 10.04). Plus it's USB class compliant.
Post by Nigel Henry
Have you tried it in a different USB slot if you have spare ones? Not in a
hub as some USB things don't like hubs.
I use the very same slot that I used on my previous setup.
...
tomorrow though...

Still it's strange that the keyboard does not appear in /proc/asound/cards

The other thing that strikes me is that on my previous setup after
installing my soundcard drivers (Realtek ACL888), /proc/asound/cards listed
3 different ones : ACL888 anog, ACL888 digital and some kind of HDMI sound
card.
Here wiht my new setup, /proc/asound/cards only lists 1 sound card HDA
intel but aplay -l lists the 3 i was telling you about above...

That doesn't seem right to me... :-/

Thanks a lot
jy
Post by Nigel Henry
If not I'm a bit perplexed.
Nigel.
Post by jy
_______________________________________________
Linux-audio-user mailing list
http://lists.linuxaudio.org/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
http://lists.linuxaudio.org/listinfo/linux-audio-user
Nigel Henry
13 years ago
Permalink
...
Yeh, that's another little problem.
Post by jy
That doesn't seem right to me... :-/
Thanks a lot
jy
Lets have a go at the USB problem. Your lsusb shows a webcam. I can't find any
details about it on the web, but presume there's a mike on the card which
will need to use snd_usb_audio. I'm guessing there may be a conflict where
both usb audio devices are trying to use snd_usb_audio in the same card slot.
So first thing to try is to remove the midi keyboard from the machine, then
see if anything turns up in /proc/asound/cards, like hopefully the webcam
mike using snd_usb_audio as card1.

If by some miracle it does, you need to add an options line
in /etc/modprobe,d/options to cover both devices, the webcam mike and the
midi keyboard.

Run lsusb -n and you should see the Vid/Pid's for both devices in hex. Add
the following options line, removing the snd_usb_audio options line I gave
you yesterday but leaving the one for the soundcard.

[courtesy of a post on Linux Musicians forum]
Look at the output of “lsusb” and “lsusb -n” for the vendor/product IDs of the
devices, then specify these IDs in the vid and/or pid options, in
hexadecimal. For exampe, if your first USB device has IDs 0123:4567 and the
second 89ab:cdef, use the line

options snd-usb-audio index=2,3 pid=0x4567,0xcdef

You will need to change the 4567 and cdef for whatever the pid's are for the
webcam and midi keyboard.

Right. Go for it! He says, not holding out much hope.

Nigel.
Post by jy
Post by Nigel Henry
_______________________________________________
Linux-audio-user mailing list
http://lists.linuxaudio.org/listinfo/linux-audio-user
jy
13 years ago
Permalink
ok so here are the result for the various logs but unfortunately, we're not
learning much here. the webcam does not show up when the keyboard is
plugged in or unplugged....

i might have another lead though. I looked into the system logs when
plugging/unplugging the device and here is what showed up
[ 782.208027] usb 7-1: new full-speed USB device number 8 using uhci_hcd

i was more or less expecting usb_snd_audio to be loaded. Any ideas ?
Other logs are below

cheers
jy

keyboard unplugged:
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0400000 irq 45

$ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: Intel [HDA Intel], périphérique 0: ALC888 Analog [ALC888 Analog]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 1: ALC888 Digital [ALC888 Digital]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 3: HDMI 0 [HDMI 0]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0

$ amidi -l
Dir Device Name
cannot determine device number: Inappropriate ioctl for device


keyboard plugged in

$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0400000 irq 45
1 [v2 ]: USB-Audio - USB Oxygen 8 v2
M-Audio USB Oxygen 8 v2 at usb-0000:00:1d.1-1, full
speed

$ aplay -l
SAME OUTPUT

$ amidi -l
Dir Device Name
IO hw:1,0,0 USB Oxygen 8 v2 MIDI 1

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0
multicard reader
Bus 001 Device 004: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam
[CN0314]
Bus 004 Device 002: ID 147e:1000 Upek Biometric Touchchip/Touchstrip
Fingerprint Sensor
Bus 007 Device 002: ID 046d:c062 Logitech, Inc. LS1 Laser Mouse, corded
Bus 007 Device 003: ID 0763:0195 Midiman Oxygen 8 v2
...
Paul Davis
13 years ago
Permalink
On Mon, Sep 10, 2012 at 1:09 PM, jy <***@gmail.com> wrote:

[ ... ]

i don't really see what the problem is anymore ... the keyboard shows up.
jy
13 years ago
Permalink
Post by Paul Davis
[ ... ]
i don't really see what the problem is anymore ... the keyboard shows up.
Yup but it still doesn't show up in qjackctl, which is really really
strange.
I really don't get why it doesn't since it's properly recognized by ALSA.
Does anyone know from where qjackctl gets its MIDI device list ?

jy
jy
13 years ago
Permalink
I'm tweaking around qjackctl's parameters right now.
I noticed that there is no MIDI driver (bottom left of setup panel)
selected in my setup. Is that usual or should I set it to another value
than none ?

cheers
jy
Post by jy
Post by Paul Davis
[ ... ]
i don't really see what the problem is anymore ... the keyboard shows up.
Yup but it still doesn't show up in qjackctl, which is really really
strange.
I really don't get why it doesn't since it's properly recognized by ALSA.
Does anyone know from where qjackctl gets its MIDI device list ?
jy
Paul Davis
13 years ago
Permalink
Post by jy
I'm tweaking around qjackctl's parameters right now.
I noticed that there is no MIDI driver (bottom left of setup panel)
selected in my setup. Is that usual or should I set it to another value
than none ?
the MIDI driver selector only exists to start up a "builtin bridge" between
teh world of ALSA MIDI and JACK MIDI. neither of its options are good. you
should use, as mentioned way up-thread:

a2jmidid -e

and yes, some developer should fix this pathetic state of affairs.
Brett McCoy
13 years ago
Permalink
Post by jy
Yup but it still doesn't show up in qjackctl, which is really really
strange.
I really don't get why it doesn't since it's properly recognized by ALSA.
Does anyone know from where qjackctl gets its MIDI device list ?
You'll still need to use a2jmidid -e to get Jack to see it.
--
Brett W. McCoy -- http://www.brettwmccoy.com
------------------------------------------------------------------------
"In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world."
-- Jelaleddin Rumi
jy
13 years ago
Permalink
Post by Brett McCoy
Post by jy
Yup but it still doesn't show up in qjackctl, which is really really
strange.
I really don't get why it doesn't since it's properly recognized by ALSA.
Does anyone know from where qjackctl gets its MIDI device list ?
You'll still need to use a2jmidid -e to get Jack to see it.
i did use a2jmidid -e yesterday night but it didn't solve the problem....
:(
still no appearance of the midi keyboard.

I also tried with all proposed audio cards in qjackctl setup but still no
midi keyboard (even though the keyboard is correctly listed as an interface
in the interface combo box)

I'm starting to feel like this is hopeless (i'm gonna shed a tear) :-)

just to know, how does jack know about the midi devices present. does it
rely on ALSA ?

Would a message found in dmesg like :
[ 782.208027] usb 7-1: new full-speed USB device number 8 using uhci_hcd
when plugging in the keyboard be of any interest in my case ?

cheers and thanks, guys !

jy
Post by Brett McCoy
--
Brett W. McCoy -- http://www.brettwmccoy.com
------------------------------------------------------------------------
"In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world."
-- Jelaleddin Rumi
Pedro Lopez-Cabanillas
13 years ago
Permalink
Hi,
Post by jy
still no appearance of the midi keyboard.
I also tried with all proposed audio cards in qjackctl setup but still no
midi keyboard (even though the keyboard is correctly listed as an
interface in the interface combo box)
I'm starting to feel like this is hopeless (i'm gonna shed a tear) :-)
just to know, how does jack know about the midi devices present. does it
rely on ALSA ?
Yes. Jack depends on ALSA drivers to work with hardware MIDI devices, just
like it depends on ALSA drivers to work with hardware audio devices, except
for FireWire devices where jack depends on ffado/freebob. Jack does not have
its own hardware drivers.
Post by jy
[ 782.208027] usb 7-1: new full-speed USB device number 8 using uhci_hcd
when plugging in the keyboard be of any interest in my case ?
Does anyone know from where qjackctl gets its MIDI device list ?
The ALSA tab is filled from the ALSA Sequencer list of ports, which can be
hardware devices or software applications.

The MIDI tab list comes from one of those bridges that provide MIDI support
to jack.

If you should solve the problem at the ALSA level, I guess that you will be
able to solve the problem with jack as well at the same time.

ALSA provides a number of kernel modules. You can list them with this
command:

$ lsmod | grep ^snd

My guess is that some modules are not automatically loaded in your system.

Summing up your previous diagnostics, the ALSA hardware driver (snd-usb-
audio) recognizes your device properly:

$ cat /proc/asound/cards
1 [v2 ]: USB-Audio - USB Oxygen 8 v2
M-Audio USB Oxygen 8 v2 at usb-0000:00:1d.1-1, full

And the ALSA raw MIDI interface (snd-rawmidi) is working properly as well:

$ amidi -l
Dir Device Name
IO hw:1,0,0 USB Oxygen 8 v2 MIDI 1

In your previous messages it is not clear if the ALSA Sequencer interface is
working or not for you. To verify, there are several tests that you can try.

$ cat /proc/asound/seq/drivers
snd-seq-midi,loaded,2

$ cat /proc/asound/seq/clients
Client info
cur clients : 4
peak clients : 5
max clients : 192

Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)

Another way is the ALSA sequencer player (from the ALSA tools collection):

$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
20:0 MidiSport 2x2 MidiSport 2x2 MIDI 1
[...]

Or the ALSA Sequencer event monitor/receiver:

$ aseqdump -l

If some or all the above tests failed, my guess is that the ALSA Sequencer
modules aren't loaded. In that case, you may try this command:

$ sudo modprobe snd-seq-midi

Regards,
Pedro
jy
13 years ago
Permalink
Ok Pedro thanks a lot for the insight !
Very interesting to know how things work from the inside :)

I'll try the various commands tonight and give a report here as soon as
it's done

Thanks again and cheers

jy
...
jy
13 years ago
Permalink
Hi all,
So here are the results of the suggestions of Pedro !
...
Here is lsmod before plugging the keyboard in :

$ lsmod | grep snd
snd_hda_codec_hdmi 30352 1
snd_hda_codec_realtek 95198 1
snd_hda_intel 25788 5
snd_hda_codec 87980 3
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 12910 1 snd_hda_codec
snd_pcm_oss 39968 0
snd_mixer_oss 21707 2 snd_pcm_oss
snd_pcm 69043 4
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 12455 0
snd_seq_oss 32416 0
snd_seq_midi_event 13124 1 snd_seq_oss
snd_seq 51504 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer 22187 2 snd_pcm,snd_seq
snd_seq_device 12980 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd 50814 21
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
soundcore 12926 2 snd
snd_page_alloc 12841 2 snd_hda_intel,snd_pcm


and after :

$ lsmod | grep snd
snd_usb_audio 83446 0
snd_usbmidi_lib 22777 1 snd_usb_audio
snd_rawmidi 22278 1 snd_usbmidi_lib
snd_hda_codec_hdmi 30352 1
snd_hda_codec_realtek 95198 1
snd_hda_intel 25788 5
snd_hda_codec 87980 3
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 12910 2 snd_usb_audio,snd_hda_codec
snd_pcm_oss 39968 0
snd_mixer_oss 21707 2 snd_pcm_oss
snd_pcm 69043 5
snd_usb_audio,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 12455 0
snd_seq_oss 32416 0
snd_seq_midi_event 13124 1 snd_seq_oss
snd_seq 51504 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer 22187 2 snd_pcm,snd_seq
snd_seq_device 12980 4
snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd 50814 24
snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
soundcore 12926 2 snd
snd_page_alloc 12841 2 snd_hda_intel,snd_pcm


snd_usb_audio loads properly!
Post by Pedro Lopez-Cabanillas
Summing up your previous diagnostics, the ALSA hardware driver (snd-usb-
$ cat /proc/asound/cards
1 [v2 ]: USB-Audio - USB Oxygen 8 v2
M-Audio USB Oxygen 8 v2 at usb-0000:00:1d.1-1, full
$ amidi -l
Dir Device Name
IO hw:1,0,0 USB Oxygen 8 v2 MIDI 1
In your previous messages it is not clear if the ALSA Sequencer interface is
working or not for you. To verify, there are several tests that you can try.
$ cat /proc/asound/seq/drivers
snd-seq-midi,loaded,2
here i have :
$ cat /proc/asound/seq/drivers
snd-seq-oss,loaded,0
snd-seq-midi,empty,0
Post by Pedro Lopez-Cabanillas
$ cat /proc/asound/seq/clients
Client info
cur clients : 4
peak clients : 5
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
$ cat /proc/asound/seq/clients
Client info
cur clients : 3
peak clients : 3
max clients : 192

Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Post by Pedro Lopez-Cabanillas
$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
20:0 MidiSport 2x2 MidiSport 2x2 MIDI 1
[...]
and
$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
Post by Pedro Lopez-Cabanillas
$ aseqdump -l
$ aseqdump -l
Port Client name Port name
0:0 System Timer
0:1 System Announce
14:0 Midi Through Midi Through Port-0
Post by Pedro Lopez-Cabanillas
If some or all the above tests failed, my guess is that the ALSA Sequencer
It seems clear that some of the previous ones failed (cat
/proc/asound/seq/drivers did not show the keyboard) and lsmod | grep
snd-seq-midi gives no answer..
but lsmod | grep midi gives
$ lsmod | grep midi
snd_usbmidi_lib 22777 1 snd_usb_audio
snd_rawmidi 22278 1 snd_usbmidi_lib
snd_seq_midi_event 13124 1 snd_seq_oss
snd_seq 51504 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 12980 4
snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd 50814 24
snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
Post by Pedro Lopez-Cabanillas
$ sudo modprobe snd-seq-midi
I tried loading this module but got
$ sudo mod
probe snd-seq-midi
[sudo] password for therockers:
FATAL: Module snd_seq_midi not found.

as a return !

Thanks a lot and cheers !!

jy
Post by Pedro Lopez-Cabanillas
Regards,
Pedro
Jeremy Jongepier
13 years ago
Permalink
Post by jy
Hi all,
So here are the results of the suggestions of Pedro !
Looks like you've either done something with OSS or you're missing ALSA
stuff.

Best,

Jeremy
jy
13 years ago
Permalink
Post by Jeremy Jongepier
Post by jy
Hi all,
So here are the results of the suggestions of Pedro !
Looks like you've either done something with OSS
0_0, I'm not sure you've read the full thread: it's a fresh ubuntustudio
install.
Post by Jeremy Jongepier
or you're missing ALSA stuff.
I noticed.

Do you have any suggestions ?
jy
Post by Jeremy Jongepier
Best,
Jeremy
______________________________**_________________
Linux-audio-user mailing list
http://lists.linuxaudio.org/**listinfo/linux-audio-user<http://lists.linuxaudio.org/listinfo/linux-audio-user>
Jeremy Jongepier
13 years ago
Permalink
Post by jy
0_0, I'm not sure you've read the full thread: it's a fresh ubuntustudio
install.
Oops my bad, sorry. I just noticed there are a lot of OSS related
modules showing up in your lsmod output.
Post by jy
Post by Jeremy Jongepier
or you're missing ALSA stuff.
I noticed.
Do you have any suggestions ?
jy
What does

dpkg --list | grep -e alsa -e asound
amixer -v

return?

And how does /etc/modprobe.d/alsa-base.conf look like?

Best,

Jeremy
jy
13 years ago
Permalink
Post by jy
0_0, I'm not sure you've read the full thread: it's a fresh ubuntustudio
install.
Oops my bad, sorry. I just noticed there are a lot of OSS related modules
showing up in your lsmod output.
Post by jy
Post by Jeremy Jongepier
or you're missing ALSA stuff.
I noticed.
Do you have any suggestions ?
jy
What does
dpkg --list | grep -e alsa -e asound
$ dpkg --list | grep -e alsa -e asound
ii alsa-base
1.0.25+dfsg-0ubuntu1 ALSA driver configuration files
ii alsa-tools
1.0.25-1ubuntu1 Console based ALSA utilities for
specific hardware
ii alsa-tools-gui
1.0.25-1ubuntu1 GUI based ALSA utilities for
specific hardware
ii alsa-utils
1.0.25-1ubuntu5 Utilities for configuring and using
ALSA
ii bluez-alsa
4.98-2ubuntu7 Bluetooth ALSA support
ii gstreamer0.10-alsa
0.10.36-1ubuntu0.1 GStreamer plugin for ALSA
ii libasound2
1.0.25-1ubuntu10.1 shared library for ALSA applications
ii libasound2-plugins
1.0.25-1ubuntu1 ALSA library additional plugins
ii libclalsadrv2
2.0.0-3 ALSA driver C++ access library
ii libsox-fmt-alsa
14.3.2-3 SoX alsa format I/O library
amixer -v
$ amixer -v
amixer version 1.0.25
return?
And how does /etc/modprobe.d/alsa-base.conf look like?
$ cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && {
/sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet
--use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && {
/sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS
&& { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && {
/sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe
--quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi
$CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; :
; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1
$CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth
; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx
$CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && {
/sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
options snd-hda-intel model=acer


options snd-usb-audio index=-2 ???
Hum i don't like the -2 index....
What do you think of this ?

jy
Best,
Jeremy
______________________________**_________________
Linux-audio-user mailing list
http://lists.linuxaudio.org/**listinfo/linux-audio-user<http://lists.linuxaudio.org/listinfo/linux-audio-user>
Jeremy Jongepier
13 years ago
Permalink
Post by jy
options snd-usb-audio index=-2 ???
Hum i don't like the -2 index....
What do you think of this ?
Thanks for the info! Looks all pretty standard to me. And -2 is the
default. So no breakthrough here ;)

Did you try a different USB cable? A different USB port maybe?

Best,

Jeremy
david
13 years ago
Permalink
Post by Jeremy Jongepier
Post by jy
options snd-usb-audio index=-2 ???
Hum i don't like the -2 index....
What do you think of this ?
Thanks for the info! Looks all pretty standard to me. And -2 is the
default.
I saw that in my alsa conf, too, for items like the on-board sound
drivers. I think there was also a comment in it saying that this was to
prevent the device from taking index 0.
--
David
***@hawaii.rr.com
authenticity, honesty, community
http://clanjones.org/david/
http://dancing-treefrog.deviantart.com/
jy
13 years ago
Permalink
...
available in the thread). so I think usbcore is not missing but i know
snd_seq_midi is.

jy
Nigel Henry
13 years ago
Permalink
...
It seems strange that snd_seq_midi is missing on ubuntustudio 12.04. I've seen
a post where it's missing on the remix version of 12.04 though.

Try:
modinfo snd_seq_midi
This should show if it actually does exist or not. If it does, according to
some docs on jackd it may need to be forced at bootup. Worth a try, so add
snd_seq_midi on one line in /etc/modules then reboot and check lsmod again.

Nigel.
Ralf Mardorf
13 years ago
Permalink
...
jy
13 years ago
Permalink
...
hum bad news
$ modinfo snd_seq_midi
ERROR: modinfo: could not find module snd_seq_midi

should i try to get it ?

jy
Post by jy
Nigel.
_______________________________________________
Linux-audio-user mailing list
http://lists.linuxaudio.org/listinfo/linux-audio-user
jy
13 years ago
Permalink
intrigued by all this module stuff (i believe there is something about it)
i checked my blacklisted modules and discovered a blacklist-oss.conf which
is as follow

$ cat /etc/modprobe.d/blacklist-oss.conf
blacklist ac97
blacklist ac97_codec
blacklist ac97_plugin_ad1980
blacklist ad1848
blacklist ad1889
blacklist adlib_card
blacklist aedsp16
blacklist ali5455
blacklist btaudio
blacklist cmpci
blacklist cs4232
blacklist cs4281
blacklist cs461x
blacklist cs46xx
blacklist emu10k1
blacklist es1370
blacklist es1371
blacklist esssolo1
blacklist forte
blacklist gus
blacklist i810_audio
blacklist kahlua
blacklist mad16
blacklist maestro
blacklist maestro3
blacklist maui
blacklist mpu401
blacklist nm256_audio
blacklist opl3
blacklist opl3sa
blacklist opl3sa2
blacklist pas2
blacklist pss
blacklist rme96xx
blacklist sb
blacklist sb_lib
blacklist sgalaxy
blacklist sonicvibes
blacklist sound
blacklist sscape
blacklist trident
blacklist trix
blacklist uart401
blacklist uart6850
blacklist via82cxxx_audio
blacklist v_midi
blacklist wavefront
blacklist ymfpci
blacklist ac97_plugin_wm97xx
blacklist ad1816
blacklist audio
blacklist awe_wave
blacklist dmasound_core
blacklist dmasound_pmac
blacklist harmony
blacklist sequencer
blacklist soundcard
blacklist usb-midi


the last line seems really strange, why would usb-midi be blacklisted ?????

jy
...
Ralf Mardorf
13 years ago
Permalink
I've got 12.04, Precise installed too, but I don't have time to boot it
now. However, Precise does work here.
But I can list the seq modules ;).

[***@archlinux ~]$ ls
-hAl /run/media/spinymouse/precise/lib/modules/3.2.0-23-lowlatency/kernel/sound/core/seq
total 204K
-rw-r--r-- 1 root root 17K Apr 11 04:38 snd-seq-device.ko
-rw-r--r-- 1 root root 8.6K Apr 11 04:38 snd-seq-dummy.ko
-rw-r--r-- 1 root root 16K Apr 11 04:38 snd-seq-midi-emul.ko
-rw-r--r-- 1 root root 15K Apr 11 04:38 snd-seq-midi-event.ko
-rw-r--r-- 1 root root 17K Apr 11 04:38 snd-seq-midi.ko
-rw-r--r-- 1 root root 16K Apr 11 04:38 snd-seq-virmidi.ko
-rw-r--r-- 1 root root 101K Apr 11 04:38 snd-seq.ko
[***@archlinux ~]$ ls
-hAl /run/media/spinymouse/precise/lib/modules/3.0.30/kernel/sound/core/seq
total 200K
-rw-r--r-- 1 root root 17K May 7 00:14 snd-seq-device.ko
-rw-r--r-- 1 root root 8.6K May 7 00:14 snd-seq-dummy.ko
-rw-r--r-- 1 root root 15K May 7 00:14 snd-seq-midi-emul.ko
-rw-r--r-- 1 root root 15K May 7 00:14 snd-seq-midi-event.ko
-rw-r--r-- 1 root root 17K May 7 00:14 snd-seq-midi.ko
-rw-r--r-- 1 root root 15K May 7 00:14 snd-seq-virmidi.ko
-rw-r--r-- 1 root root 100K May 7 00:14 snd-seq.ko

I suspect you run 3.2.0-23-lowlatency, reinstall the kernel!

Regards,
Ralf
Nigel Henry
13 years ago
Permalink
...
Ignore those. They are old OSS modules, and nothing should be trying to load
those anymore, which is why they are blacklisted.

Nigel.
Ralf Mardorf
13 years ago
Permalink
Post by jy
hum bad news
$ modinfo snd_seq_midi
ERROR: modinfo: could not find module snd_seq_midi
should i try to get it ?
*?*

After startup, before I run Qtractor snd_seq_midi wasn't loaded. After
running Qtractor (even without starting jackd) snd_seq_midi is loaded.

[***@archlinux ~]$ lsmod | grep snd_seq_midi
[***@archlinux ~]$ lsmod | grep snd_seq_midi
snd_seq_midi 5328 0
snd_seq_midi_event 5692 1 snd_seq_midi
snd_seq 50881 3
snd_seq_midi_event,snd_seq_dummy,snd_seq_midi
snd_rawmidi 18479 3 snd_hdspm,snd_mpu401_uart,snd_seq_midi
snd_seq_device 5300 4
snd_seq,snd_rawmidi,snd_seq_dummy,snd_seq_midi
[***@archlinux ~]$ modinfo snd_seq_midi
filename: /lib/modules/3.5.3-1-ARCH/kernel/sound/core/seq/snd-seq-midi.ko.gz
license: GPL
description: Advanced Linux Sound Architecture sequencer MIDI synth.
author: Frank van de Pol <***@coil.demon.nl>, Jaroslav Kysela
<***@perex.cz>
depends: snd-seq-midi-event,snd-seq,snd-rawmidi,snd-seq-device
intree: Y
vermagic: 3.5.3-1-ARCH SMP preempt mod_unload modversions
parm: output_buffer_size:Output buffer size in bytes. (int)
parm: input_buffer_size:Input buffer size in bytes. (int)

I've got 12.04, Precise installed too, but I don't have time to boot it
now. However, Precise does work here.

Regards,
Ralf
Nigel Henry
13 years ago
Permalink
...
No. forget about snd_seq_midi as I've an idea it's only for soundcards that
have a hardware synth like my Audigy 2 Soundblaster.

More important is the usbcore module which Ralf mentions is missing in your
lsmod. It's a dependency for snd_usb_audio and I've had someone else in the
past where that wasn't loading and caused similar problems to yours.

So do a:
sudo modprobe usbcore
If it doesn't immediately resolve the problem add it on a line in /etc/modules
and reboot as it may need to be loaded before snd_usb_audio as it's a
dependency. You'll need it in /etc/modules anyway if there's something
stopping it being loaded automatically.

All the best.

Nigel.
Post by jy
Post by jy
_______________________________________________
Linux-audio-user mailing list
http://lists.linuxaudio.org/listinfo/linux-audio-user
david
13 years ago
Permalink
...
Hmm, I have it on my Debian Sid laptop, and have no soundcard with a
hardware synth. I think it's for any MIDI device.
--
David
***@hawaii.rr.com
authenticity, honesty, community
http://clanjones.org/david/
http://dancing-treefrog.deviantart.com/
Ralf Mardorf
13 years ago
Permalink
...
I booted Ubuntu Studio Precise.

***@precise:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
***@precise:~$ uname -a
Linux precise 3.2.0-23-lowlatency #31-Ubuntu SMP PREEMPT Wed Apr 11 02:24:03 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Connected a KORG nanoKONTROL

***@precise:~$ lsmod | grep usbcore
***@precise:~$

QJackCtl's ALSA tab does show "nanoKONTROL"

Disconnected the nanoKONTROL and connected a swissonic USB MIDI IO device

***@precise:~$ lsmod | grep usbcore
***@precise:~$

QJackCtl's ALSA tab does show "USB Device"

Reboot

***@precise:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
***@precise:~$ uname -a
Linux precise 3.0.30 #1 SMP PREEMPT Sun May 6 22:44:54 CEST 2012 x86_64 x86_64 x86_64 GNU/Linux

Connected a KORG nanoKONTROL

***@precise:~$ lsmod | grep usbcore
***@precise:~$

QJackCtl's ALSA tab does show "nanoKONTROL"

Disconnected the nanoKONTROL and connected a swissonic USB MIDI IO device

***@precise:~$ lsmod | grep usbcore

QJackCtl's ALSA tab does show "USB Device"

***@precise:~$ sudo modprobe usbcore
[sudo] password for spinymouse:
***@precise:~$

Both kernels are used with threadirqs. 3.2.0-23-lowlatency is from the repositories, 3.0.30 is a self-build kernel.

So here no usbcore too, but everything is ok.

Regards,
Ralf
Jeremy Jongepier
13 years ago
Permalink
Post by jy
hum bad news
$ modinfo snd_seq_midi
ERROR: modinfo: could not find module snd_seq_midi
should i try to get it ?
Yes otherwise your system is a bit crippled MIDI wise. Fwiw, I had a
Oxygen8 v2 too. It stopped working from one day to another too. But that
was because of a hardware failure.

Best,

Jeremy
Ralf Mardorf
13 years ago
Permalink
Post by Jeremy Jongepier
Post by jy
hum bad news
$ modinfo snd_seq_midi
ERROR: modinfo: could not find module snd_seq_midi
should i try to get it ?
Yes otherwise your system is a bit crippled MIDI wise. Fwiw, I had a
Oxygen8 v2 too. It stopped working from one day to another too. But that
was because of a hardware failure.
Apologize, I forget to check this.

***@precise:~$ lsmod | grep snd_seq_midi
snd_seq_midi 12848 0
snd_seq_midi_event 13316 1 snd_seq_midi
snd_seq 56993 3
snd_seq_dummy,snd_seq_midi,snd_seq_midi_event
snd_rawmidi 26976 4
snd_hdspm,snd_usbmidi_lib,snd_mpu401_uart,snd_seq_midi
snd_seq_device 13132 4
snd_seq_dummy,snd_seq_midi,snd_seq,snd_rawmidi
***@precise:~$ sudo modprobe snd_seq_midi

No output for sudo modprobe snd_seq_midi. Oops :D.

***@precise:~$ modinfo snd_seq_midi
filename: /lib/modules/3.0.30/kernel/sound/core/seq/snd-seq-midi.ko
license: GPL
description: Advanced Linux Sound Architecture sequencer MIDI synth.
author: Frank van de Pol <***@coil.demon.nl>, Jaroslav Kysela
<***@perex.cz>
srcversion: A579850A9D01B2F45AF32BF
depends: snd-seq-midi-event,snd-seq,snd-rawmidi,snd-seq-device
vermagic: 3.0.30 SMP preempt mod_unload modversions
parm: output_buffer_size:Output buffer size in bytes. (int)
parm: input_buffer_size:Input buffer size in bytes. (int)

***@precise:~$ modinfo usbcore
ERROR: modinfo: could not find module usbcore

Again, on my system there aren't issues regarding to QJackCtl's ALSA
tab.
Ralf Mardorf
13 years ago
Permalink
Post by Ralf Mardorf
Apologize, I forget to check this.
snd_seq_midi 12848 0
snd_seq_midi_event 13316 1 snd_seq_midi
snd_seq 56993 3
snd_seq_dummy,snd_seq_midi,snd_seq_midi_event
snd_rawmidi 26976 4
snd_hdspm,snd_usbmidi_lib,snd_mpu401_uart,snd_seq_midi
snd_seq_device 13132 4
snd_seq_dummy,snd_seq_midi,snd_seq,snd_rawmidi
Module was loaded without launching a sequencer.
Ralf Mardorf
13 years ago
Permalink
Post by Ralf Mardorf
Post by Ralf Mardorf
Apologize, I forget to check this.
snd_seq_midi 12848 0
snd_seq_midi_event 13316 1 snd_seq_midi
snd_seq 56993 3
snd_seq_dummy,snd_seq_midi,snd_seq_midi_event
snd_rawmidi 26976 4
snd_hdspm,snd_usbmidi_lib,snd_mpu401_uart,snd_seq_midi
snd_seq_device 13132 4
snd_seq_dummy,snd_seq_midi,snd_seq,snd_rawmidi
Module was loaded without launching a sequencer.
QJackCtl tab Misc, "[x] Enable ALSA sequencer support" is enabled.

***@precise:~$ jackd -V
jackdmp 1.9.8
jy
13 years ago
Permalink
Hi all,

reading all your answers, i'm not sure what the problem is ! :)
I'll be away for the week-end so I'll look into it early next week and
reread all this thread one reply at a time !
Cheers !
jy
...
jy
13 years ago
Permalink
Hi all,

I re-read the whole thread. So basically, for now and looking at the
various logs, there's something ALSA related that's not clear but I'm not
sure wether it's modules or something else.

This is my kernel version : Linux 3.2.0-23-lowlatency-pae #31-Ubuntu SMP
PREEMPT Wed Apr 11 04:07:36 UTC 2012 i686 i686 i386 GNU/Linux

Here's basically what we know so far :
* keyboard is detected, it's present in both lsusb and amidi -l. Qjackctl
lists it as hw:1 in the interface list.
* snd_usb_audio is present and loaded
* snd_seq_midi is missing (as says modinfo) but some people say that it's
not necessary. I tried to load it manually (sudo modprobe snd_seq_midi) but
a fatal error occurs saying there's no such module. After a quick look, I
found that I have snd-seq-midi-emul and snd-seq-midi-event modules. I'm
deducing from these names that snd-seq-midi is actually installed but it
might have changed name slightly.
* usbcore is also missing. I tried to load it manually (sudo modprobe
usbcore) but nothing happens. Looking at the ALSA pages, there seems to be
no usbcore module but a usbaudio one (supposed to handle both audio and
MIDI hardware) which is not present. See http://alsa.opensrc.org/Usb-audio
* when running jack with no midi driver and use a2jmidid -e instead, the
keyboard does not appear in the MIDI tab.

Here's what I discovered after a little search :
* There's seems to be something wrong with my audio card setup. I can see
three devices with aplay -l but only 2 in the qjackctl settings, one of
them with a different name. I might wanna try to reinstall the audio
drivers Realtek ACL888.


So basically, the strangest thing is probably that ALSA properly recognizes
the keyboard (amidi -l sees it) whereas a2jmidid -e does not.

Any idea on this one ? Where would a2jmidid go look for ALSA midi ports ?

Thank !!

jy
...
Jeremy Jongepier
13 years ago
Permalink
Post by jy
I might wanna try to reinstall the audio
drivers Realtek ACL888.
Did you do this before then? Doesn't ALSA support this codec?

Best,

Jeremy
Ralf Mardorf
13 years ago
Permalink
Post by jy
Linux 3.2.0-23-lowlatency
* usbcore
I'm missing this module for the same Ubuntu Studio kernel, but 64bit
too. Perhaps it's a new module for kernels > 3.2.

Regards,
Ralf
Ralf Mardorf
13 years ago
Permalink
Post by Ralf Mardorf
Post by jy
Linux 3.2.0-23-lowlatency
* usbcore
I'm missing this module for the same Ubuntu Studio kernel, but 64bit
too. Perhaps it's a new module for kernels > 3.2.
Regards,
Ralf
Or it's not compiled as a module, but part of the kernel. When compiling
there often is the yes, no, module option.
Pedro Lopez-Cabanillas
13 years ago
Permalink
Post by jy
This is my kernel version : Linux 3.2.0-23-lowlatency-pae #31-Ubuntu SMP
PREEMPT Wed Apr 11 04:07:36 UTC 2012 i686 i686 i386 GNU/Linux
And here is the list of files that are installed by that package:

http://packages.ubuntu.com/precise/i386/linux-image-3.2.0-23-lowlatency-
pae/filelist

Two observations: there is no module "usbcore.ko" for this kernel, but there
is one named "snd-seq-midi.ko". You may check if the file is missing in your
machine, or it is corrupt.

Another easy verification that you can do is: start the machine with a live
CD/DVD disk, checking lsmod before and after you plug the keyboard.

Beware that the module file name is "snd-seq-midi" (with "-"), but lsmod
prints "snd_seq_midi" (with "_").

Regards,
Pedro
jy
13 years ago
Permalink
Hi Pedro,

This turned out to be a great idea. With a live USB stick of ubuntustudio,
my keyboard works out of the box !!!
Checked the modules and snd-seq-midi is present with the live USB stick.

Rebooted without the live USB stick and I can now confirm that snd-seq-midi
is missing whereas it shouldn't be.

How can i get it back ?

jy
...
jy
13 years ago
Permalink
Post by jy
Hi Pedro,
This turned out to be a great idea. With a live USB stick of ubuntustudio,
my keyboard works out of the box !!!
Checked the modules and snd-seq-midi is present with the live USB stick.
Rebooted without the live USB stick and I can now confirm that
snd-seq-midi is missing whereas it shouldn't be.
How can i get it back ?
I'm figuring reinstalling the 3.2.0-23-lowlatency-pae kernel... :-/
Am I correct ?

jy
...
Pedro Lopez-Cabanillas
13 years ago
Permalink
Post by jy
Post by jy
Hi Pedro,
This turned out to be a great idea. With a live USB stick of
ubuntustudio, my keyboard works out of the box !!!
Checked the modules and snd-seq-midi is present with the live USB stick.
Rebooted without the live USB stick and I can now confirm that
snd-seq-midi is missing whereas it shouldn't be.
How can i get it back ?
I'm figuring reinstalling the 3.2.0-23-lowlatency-pae kernel... :-/
Am I correct ?
Well, yes, I guess. But I'm not an ubuntu/debian user and I don't know the
best way to do so.

Another question is: how could it happen in the first place? Was there an
accident while/after the installation? Or maybe a disk malfunction? I would
try to check the filesystem before trying any other repair.

Regards,
Pedro
jy
13 years ago
Permalink
...
I installed another kernel: 3.2.0-23-lowlatency (not pae). Keyboard works
out of the box and snd-seq-midi loads perfectly.
Post by Pedro Lopez-Cabanillas
Another question is: how could it happen in the first place?
I guess some tweaking with the audio configuration. Maybe the installation
of my audio drivers since it's the only audio-related operation I did since
the install.
Post by Pedro Lopez-Cabanillas
Was there an
accident while/after the installation? Or maybe a disk malfunction?
Nope nothing like this....
Post by Pedro Lopez-Cabanillas
I would
try to check the filesystem before trying any other repair.
Well since the new kernel solved everything, I think I'm gonna be allright
now. I'll do a disk check though. It's a good idea.

I'm also gonna reinstall 3.2.0-23-lowlatency-pae kernel and see if the
problem remains...
Post by Pedro Lopez-Cabanillas
Regards,
Pedro
Thanks a lot to all of you, you pointed the right direction :)
I always love when the community effort is rewarded with a big SOLVED in
the title of thread

I'll keep you posted about the 3.2.0-23-lowlatency-pae reinstall !

Cheers and thanks

jy
jy
13 years ago
Permalink
reinstallation of 3.2.0-23-lowlatency-pae kernel did also resolve the
problem.
both kernels (pae and not pae) now load snd-seq-midi properly !
keyboard works perfectly

thanks a lot to all of you

cheers !

jy
...
Continue reading on narkive: