<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1608</bug_id>
          
          <creation_ts>2011-10-04 11:00:02 +0000</creation_ts>
          <short_desc>Improve device management</short_desc>
          <delta_ts>2012-04-18 20:07:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P2) (No QA Needed Currently) (Done)</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock - Disabled">josh</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16670</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-10-04 11:00:02 +0000</bug_when>
    <thetext>Device management is currently very manual with things like machine specific recipes to tweak various features in settings files.

We have two options to add more generic infrastructure:

1) Enhance Zaurusd into Zaurusd++/devmand - a daemon to handle hardware quirks across a range of boards and devices

2) Integrate alsa-state, the more generic recipe mechanism in use by OE already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16674</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-10-04 11:12:16 +0000</bug_when>
    <thetext>alsa-state can be more quickly integrated as a solution for audio only.

Perhaps this issue should be two-phased with the immediate issue being addressed by alsa-state and devmand/zaurus++ development can occur at a more relaxed rate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16736</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-10-05 16:45:05 +0000</bug_when>
    <thetext>Just to contrast the difference, the zaurusd/whatever we want to call it solution allows for multiple variations of hardware to run from the same machine config. The alsa-state solution is more aimed at one config per MACHINE as far as I understand it. The mixer configuration control was already implemented in zaurusd so it shouldn&apos;t be too much work to tweak it...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17033</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-11-01 12:02:11 +0000</bug_when>
    <thetext>Estimate of 1 perfect days work to integrate alsa-state for each of our BSP&apos;s.

Zaurusd++/Devmand will hopefully be worked on later in the cycle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17166</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-11-09 13:50:40 +0000</bug_when>
    <thetext>signed off for simple alsa-state implementation, more details will be needed for the full devmand (or whatever it&apos;s called).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18188</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-01-17 14:16:44 +0000</bug_when>
    <thetext>alsa-state recipe merged to master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c86797abdfc6db4b22710cca7924396c16eb6fc0

Adopted for the beagleboard BSP:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9ea681fffb2944671369bcfd9661d503c0daba4f

and the blacksand BSP:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=fad30a44da749bc966cb2d27dc75b4ead15f94f2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20679</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-04-18 20:07:45 +0000</bug_when>
    <thetext>I did it</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>