Re: Strange USB behavior


Bruce Ashfield <bruce.ashfield@...>
 

On 11-08-18 3:36 PM, Chris Tapp wrote:
On 18 Aug 2011, at 09:19, Chris Tapp wrote:

I'm running on a platform using the Vortex86DX SoC which includes a
CM119 USB audio interface.

I've got a kernel configuration that recognizes and initializes this
ok (dmesg reports it as an ALSA device). However, this is only the
case if I also have a USB storage device connected when it boots!

1) The audio works if I boot the kernel from the USB device;
2) The audio works if I boot from the system SD card and any USB
storage device is connected (it's not booting from this accidentally);
3) The audio does not work if I boot from the SD card without a USB
storage device.

Can anyone give me an idea where I should start looking to try and
understand what's going on here?

Kernel is a modified 'common-pc' 2.6.34 wrs that has been built using
Yocto 0.9.
Looks like this is just a kernel load order issue.

The USB storage device seems to cause the sound device to initialise
earlier in the boot so it's ready when ALSA loads. Without it, it's not
loaded before ALSA, so a 'No sound card' message is produced in the log
- but there is one once the system is up.
Aha. We've seen similar things here over the years. At least
this doesn't sound like it caused too much pain.

Cheers,

Bruce


Chris Tapp

opensource@...
www.keylevel.com



_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.