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....<br><br>i might have another lead though. I looked into the system logs when plugging/unplugging the device and here is what showed up <br>

[  782.208027] usb 7-1: new full-speed USB device number 8 using uhci_hcd<br><br>i was more or less expecting usb_snd_audio to be loaded. Any ideas ?<br>Other logs are below<br><br>cheers<br>jy<br><br>keyboard unplugged:<br>

$ cat /proc/asound/cards<br> 0 [Intel          ]: HDA-Intel - HDA Intel<br>                      HDA Intel at 0xf0400000 irq 45<br><br>$ aplay -l<br>**** Liste des Périphériques Matériels PLAYBACK ****<br>carte 0: Intel [HDA Intel], périphérique 0: ALC888 Analog [ALC888 Analog]<br>

  Sous-périphériques: 1/1<br>  Sous-périphérique #0: subdevice #0<br>carte 0: Intel [HDA Intel], périphérique 1: ALC888 Digital [ALC888 Digital]<br>  Sous-périphériques: 1/1<br>  Sous-périphérique #0: subdevice #0<br>carte 0: Intel [HDA Intel], périphérique 3: HDMI 0 [HDMI 0]<br>

  Sous-périphériques: 1/1<br>  Sous-périphérique #0: subdevice #0<br><br>$ amidi -l<br>Dir Device    Name<br>cannot determine device number: Inappropriate ioctl for device<br><br><br>keyboard plugged in<br><br>$ cat /proc/asound/cards<br>

 0 [Intel          ]: HDA-Intel - HDA Intel<br>                      HDA Intel at 0xf0400000 irq 45<br> 1 [v2             ]: USB-Audio - USB Oxygen 8 v2<br>                      M-Audio USB Oxygen 8 v2 at usb-0000:00:1d.1-1, full speed<br>

<br>$ aplay -l<br>SAME OUTPUT<br><br>$ amidi -l<br>Dir Device    Name<br>IO  hw:1,0,0  USB Oxygen 8 v2 MIDI 1<br><br>$ lsusb<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader<br>

Bus 001 Device 004: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam [CN0314]<br>Bus 004 Device 002: ID 147e:1000 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor<br>Bus 007 Device 002: ID 046d:c062 Logitech, Inc. LS1 Laser Mouse, corded<br>

Bus 007 Device 003: ID 0763:0195 Midiman Oxygen 8 v2<br><br><br><br><div class="gmail_quote">2012/9/10 Nigel Henry <span dir="ltr"><<a href="mailto:cave.dnb2m97pp@aliceadsl.fr" target="_blank">cave.dnb2m97pp@aliceadsl.fr</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Monday 10 September 2012 09:50, jy wrote:<br>
> 2012/9/9 Nigel Henry <<a href="mailto:cave.dnb2m97pp@aliceadsl.fr">cave.dnb2m97pp@aliceadsl.fr</a>><br>
><br>
> > On Sunday 09 September 2012 20:54, jy wrote:<br>
> > > 2012/9/9 Nigel Henry <<a href="mailto:cave.dnb2m97pp@aliceadsl.fr">cave.dnb2m97pp@aliceadsl.fr</a>><br>
> > ><br>
> > > > On Sunday 09 September 2012 18:57, jy wrote:<br>
> > > > > Hi all,<br>
> > > > ><br>
> > > > > I've recently installed ubuntustudio 12.04 and after trying it out,<br>
> > > > > i discovered that my M-Audio Oxygen8 v2 MIDI USB (yes it is class<br>
> > > ><br>
> > > > compliant)<br>
> > > ><br>
> > > > > keyboard is not recognised.<br>
> > > > > It was recognised out of the box on my previous setup based on<br>
> > > > > ubuntu 10.04.<br>
> > > > ><br>
> > > > > By not recognized, i mean that it doesn't appear in qjackctl<br>
> > > > > connexions. thus i cant route the connexions correctly...<br>
> > > > > Below are some logs !<br>
> > > > ><br>
> > > > > How come it doesn't work any more ? How can i correct this ?<br>
> > > > ><br>
> > > > > Thanks a lot<br>
> > > > ><br>
> > > > > Cheers,<br>
> > > > > jy<br>
> > > > ><br>
> > > > > ####LOGS####<br>
> > > > > $cat /proc/asound/cards<br>
> > > > >  0 [Intel          ]: HDA-Intel - HDA Intel<br>
> > > > >                       HDA Intel at 0xf0400000 irq 45<br>
> > > ><br>
> > > > It's not showing up in the cards list above, which seems to indicate<br>
> ><br>
> > that<br>
> ><br>
> > > > the<br>
> > > > snd_usb_audio module isn't loaded, or you've forgotten to switch the<br>
> > > > keyboard<br>
> > > > on.  Have a look in lsmod to see if the module is showing there.<br>
> > > ><br>
> > > > If not, load it with.<br>
> > > > sudo modprobe snd_usb_audio<br>
> > > ><br>
> > > > Then see if the keyboard shows up in the cards list.<br>
> > > ><br>
> > > > Nigel.<br>
> > ><br>
> > > So :<br>
> > ><br>
> > > * module snd_usb_audio is already loaded<br>
> > > * after running aj2midid -e, keyboard is still missing from ALSA and<br>
> > > JACK tabs...<br>
> > ><br>
> > > It's true that I was surprised that the keyboard did not appear in<br>
> > > /proc/asound/cards but as it does appear in amidi -l, i'm thinking that<br>
> > > alsa is correctly recognizing the keyboard... Could i be wrong?<br>
> > > Thing is I'm not sure if this is an ALSA issue or jack/qjackctl one.<br>
> > ><br>
> > > how could i troubleshoot this ?<br>
> > ><br>
> > > jy<br>
> ><br>
> > Please send replies to the list and put your replies at the bottom of the<br>
> > post, which makes it easier to follow.<br>
><br>
> Oups! Sorry i didn't mean to ! I assumed that the list would handle replies<br>
> but I made a mistake. My bad !<br>
><br>
> > Ok. It does need to be listed as a card in /proc/asound/cards, just as a<br>
> > webcam with built in mike (although not a soundcard as such) will have a<br>
> > card<br>
> > entry and uses snd_usb_audio. So why isn't it there?<br>
> ><br>
> ><br>
> > Does it need firmware loading? I know some M-audio keyboards do. My<br>
> > Evolution<br>
> > keyboard doesn't, but someone with the same as yours will say.<br>
><br>
> Nope. The very same keyboard was properly recognized with my previous setup<br>
> (ubuntu 10.04). Plus it's USB class compliant.<br>
><br>
> > Have you tried it in a different USB slot if you have spare ones?  Not in<br>
> > a hub as some USB things don't like hubs.<br>
><br>
> I use the very same slot that I used on my previous setup.<br>
><br>
> > The only other thing I can think of is that both the sound card and the<br>
> > keyboard are trying to grab card0 and the soundcard is winning, thus the<br>
> > keyboard can't use it.  Now I've seen this the other way round due to the<br>
> > USB<br>
> > coming up early in the boot process and my keyboard grabbing card0<br>
> > leaving no<br>
> > place for the actual soundcard.<br>
> ><br>
> ><br>
> > This is a very old problem, but may for some reason be happening in your<br>
> > case,<br>
> > so I suggest putting some index options in /etc/modprobe.d/options, which<br>
> > will at least confirm if that is the problem or not. See below.<br>
> ><br>
> > options snd_hda_intel index=0<br>
> > options snd_usb-audio index=1<br>
> ><br>
> > Best to reboot and then see if /proc/asound/cards lists both.<br>
> ><br>
> > Seems a good idea ! I'll try that. I might not be able to do it before<br>
><br>
> tomorrow though...<br>
><br>
> Still it's strange that the keyboard does not appear in /proc/asound/cards<br>
><br>
> The other thing that strikes me is that on my previous setup after<br>
> installing my soundcard drivers (Realtek ACL888), /proc/asound/cards listed<br>
> 3 different ones : ACL888 anog, ACL888 digital and some kind of HDMI sound<br>
> card.<br>
> Here wiht my new setup, /proc/asound/cards only lists 1 sound card HDA<br>
> intel but aplay -l lists the 3 i was telling you about above...<br>
<br>
</div></div>Yeh, that's another little problem.<br>
<div class="im">><br>
> That doesn't seem right to me... :-/<br>
><br>
> Thanks a lot<br>
> jy<br>
><br>
</div>Lets have a go at the USB problem. Your lsusb shows a webcam. I can't find any<br>
details about it on the web, but presume there's a mike on the card which<br>
will need to use snd_usb_audio. I'm guessing there may be a conflict where<br>
both usb audio devices are trying to use snd_usb_audio in the same card slot.<br>
So first thing to try is to remove the midi keyboard from the machine, then<br>
see if anything turns up in /proc/asound/cards, like hopefully the webcam<br>
mike using snd_usb_audio as card1.<br>
<br>
If by some miracle it does, you need to add an options line<br>
in /etc/modprobe,d/options to cover both devices, the webcam mike and the<br>
midi keyboard.<br>
<br>
Run lsusb -n  and you should see the Vid/Pid's for both devices in hex. Add<br>
the following options line, removing the snd_usb_audio options line I gave<br>
you yesterday but leaving the one for the soundcard.<br>
<br>
[courtesy of a post on Linux Musicians forum]<br>
Look at the output of “lsusb” and “lsusb -n” for the vendor/product IDs of the<br>
devices, then specify these IDs in the vid and/or pid options, in<br>
hexadecimal. For exampe, if your first USB device has IDs 0123:4567 and the<br>
second 89ab:cdef, use the line<br>
<br>
options snd-usb-audio index=2,3 pid=0x4567,0xcdef<br>
<br>
You will need to change the 4567 and cdef for whatever the pid's are for the<br>
webcam and midi keyboard.<br>
<br>
Right. Go for it!  He says, not holding out much hope.<br>
<div class="HOEnZb"><div class="h5"><br>
Nigel.<br>
<br>
<br>
> > _______________________________________________<br>
> > Linux-audio-user mailing list<br>
> > <a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
> > <a href="http://lists.linuxaudio.org/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
_______________________________________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
</div></div></blockquote></div><br>