All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Chris Tapp <opensource@keylevel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Strange USB behavior
Date: Thu, 18 Aug 2011 15:38:18 -0400	[thread overview]
Message-ID: <4E4D6A2A.8020508@windriver.com> (raw)
In-Reply-To: <4BDA6AE3-9B00-450A-912D-83BDFC7B0CC2@keylevel.com>

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@keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



  reply	other threads:[~2011-08-18 19:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-18  8:19 Strange USB behavior Chris Tapp
2011-08-18 19:36 ` Chris Tapp
2011-08-18 19:38   ` Bruce Ashfield [this message]
2011-08-18 21:06   ` Darren Hart
2011-08-18 21:21     ` Chris Tapp
  -- strict thread matches above, loose matches on Subject: below --
2010-12-10 14:47 strange usb behavior Jaap de Jong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E4D6A2A.8020508@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=opensource@keylevel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.