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



2012/9/10 Nigel Henry <cave.dnb2m97pp@aliceadsl.fr>
On Monday 10 September 2012 09:50, jy wrote:
> 2012/9/9 Nigel Henry <cave.dnb2m97pp@aliceadsl.fr>
>
> > On Sunday 09 September 2012 20:54, jy wrote:
> > > 2012/9/9 Nigel Henry <cave.dnb2m97pp@aliceadsl.fr>
> > >
> > > > On Sunday 09 September 2012 18:57, jy wrote:
> > > > > 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
> > > >
> > > > 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.
> > >
> > > So :
> > >
> > > * module snd_usb_audio is already loaded
> > > * after running aj2midid -e, keyboard is still missing from ALSA and
> > > JACK tabs...
> > >
> > > It's true that I was surprised that the keyboard did not appear in
> > > /proc/asound/cards but as it does appear in amidi -l, i'm thinking that
> > > alsa is correctly recognizing the keyboard... Could i be wrong?
> > > Thing is I'm not sure if this is an ALSA issue or jack/qjackctl one.
> > >
> > > how could i troubleshoot this ?
> > >
> > > jy
> >
> > Please send replies to the list and put your replies at the bottom of the
> > post, which makes it easier to follow.
>
> Oups! Sorry i didn't mean to ! I assumed that the list would handle replies
> but I made a mistake. My bad !
>
> > 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.
>
> > 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.
>
> > 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.
> >
> > Seems a good idea ! I'll try that. I might not be able to do it before
>
> 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...

Yeh, that's another little problem.
>
> 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.


> > _______________________________________________
> > Linux-audio-user mailing list
> > Linux-audio-user@lists.linuxaudio.org
> > http://lists.linuxaudio.org/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user