<?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>6718</bug_id>
          
          <creation_ts>2014-09-12 18:06:29 +0000</creation_ts>
          <short_desc>Broadcom RFKILL switches are exposed</short_desc>
          <delta_ts>2014-11-07 03:44:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>12</classification_id>
          <classification>Hardware Platforms</classification>
          <product>MinnowBoard MAX Firmware</product>
          <component>minnowboard-uefi-firmware</component>
          <version>2C A1</version>
          <rep_platform>MinnowBoard Max</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Production Release</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcel Holtmann">marcel</reporter>
          <assigned_to name="Marcel Holtmann">marcel</assigned_to>
          <cc>california.l.sullivan</cc>
    
    <cc>danders</cc>
    
    <cc>david.wei</cc>
    
    <cc>dvhart</cc>
    
    <cc>sjolley.yp.pm</cc>
    
    <cc>yoctoproject</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45582</commentid>
    <comment_count>0</comment_count>
    <who name="Marcel Holtmann">marcel</who>
    <bug_when>2014-09-12 18:06:29 +0000</bug_when>
    <thetext>When loading rfkill-gpio driver, the Broadcom RFKILL switches for GPS and Bluetooth are exposed:

[ 7545.939852] rfkill_gpio BCM2E1A:00: BCM2E1A:00 device registered.
[ 7545.945247] rfkill_gpio BCM4752:00: BCM4752:00 device registered.

0: BCM2E1A:00: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: BCM4752:00: GPS
	Soft blocked: no
	Hard blocked: no

Since the board does not have a Broadcom wireless device on it, I have no idea what these are useful for? Are these GPIO PINs actually exposed somehow?

These are platform/80860F0A:00/BCM2E1A:00 and platform/80860F0A:01/BCM4752:00 devices with firmware path \_SB_.URT1.BTH0 and \_SB_.URT2.GPS0 respectively.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45583</commentid>
    <comment_count>1</comment_count>
    <who name="David Anders">danders</who>
    <bug_when>2014-09-12 18:15:00 +0000</bug_when>
    <thetext>can you provide more information on what device this is, how it is connected to the minnowmax?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45584</commentid>
    <comment_count>2</comment_count>
    <who name="Marcel Holtmann">marcel</who>
    <bug_when>2014-09-12 18:21:02 +0000</bug_when>
    <thetext>These switches are exposed via ACPI. On some Baytrail devices they control the reset and shutdown states of Bluetooth and GPS builtin modules. Since the Minnowboard Max does not have these, it have no idea what the behavior would be. So it might be better if these switches are not exposed via ACPI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45585</commentid>
    <comment_count>3</comment_count>
    <who name="David Anders">danders</who>
    <bug_when>2014-09-12 18:30:16 +0000</bug_when>
    <thetext>Tim,

we do not implelment these GPIOs on the minnowmax. they are used to disable wifi/bt/gps via a mPCIe interface. these do not need to be enumerated currently...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45586</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-09-12 20:11:26 +0000</bug_when>
    <thetext>When a mini-PCIe Lure is connected, what mechanism do we use to RFKILL?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45588</commentid>
    <comment_count>5</comment_count>
    <who name="David Anders">danders</who>
    <bug_when>2014-09-12 20:13:25 +0000</bug_when>
    <thetext>we don&apos;t currently. we did not implement it on either the seacat or flotsam lures. because this mechanism wasn&apos;t ironed out at the time of the design, we did not include it. we can always do a revision of the lures as needed...

Dave</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46227</commentid>
    <comment_count>6</comment_count>
    <who name="David_Wei">david.wei</who>
    <bug_when>2014-10-09 09:36:21 +0000</bug_when>
    <thetext>Hi marcel,

These devices have just been removed from our open source release. Please verify it and close this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46847</commentid>
    <comment_count>7</comment_count>
      <attachid>2234</attachid>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2014-11-07 03:42:29 +0000</bug_when>
    <thetext>Created attachment 2234
test logfile

Image: core-image-sato image built with poky dizzy release with kernel configured with rfkill_gpio as a module.

Firmware: 0.73 open source release as found at https://uefidk.com/content/minnowboard-max</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46849</commentid>
    <comment_count>8</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2014-11-07 03:44:59 +0000</bug_when>
    <thetext>Confirmed fixed as per my test a above.

(Sorry for the extra comment - wanted to add an attachment and didn&apos;t realize the attachment page was also the comment page)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2234</attachid>
            <date>2014-11-07 03:42:29 +0000</date>
            <delta_ts>2014-11-07 03:42:29 +0000</delta_ts>
            <desc>test logfile</desc>
            <filename>file_6718.txt</filename>
            <type>text/plain</type>
            <size>942</size>
            <attacher name="California Sullivan">california.l.sullivan</attacher>
            
              <data encoding="base64">cm9vdEBnZW5lcmljeDg2LTY0On4jIGxzbW9kDQpNb2R1bGUgICAgICAgICAgICAgICAgICBTaXpl
ICBVc2VkIGJ5DQpzbmRfaGRhX2NvZGVjX2hkbWkgICAgIDM3NTQ5ICAxDQpyODE2OSAgICAgICAg
ICAgICAgICAgIDYxO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OSAgMA0K
</data>

          </attachment>
      

    </bug>

</bugzilla>