From: Lan Tianyu <tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Len Brown <lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Matthew Garrett <mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Oliver Neukum <oneukum-l3A5Bk7waGM@public.gmane.org>,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org,
sarah.a.sharp-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
mfm-Oo0r1OC9pj9iLUuM0BA3LQ@public.gmane.org,
Greg KH
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Subject: Re: [Resend PATCH V2 3/7] usb: Set device removable state based on ACPI USB data
Date: Wed, 09 May 2012 09:00:10 +0800 [thread overview]
Message-ID: <4FA9C19A.2020800@intel.com> (raw)
In-Reply-To: <4FA980C9.4020107-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Thanks, len and Bob. You are right. You make my explain more clear.
于2012年05月09日 星期三 04时23分37秒,Len Brown写到:
> On 05/08/2012 04:52 AM, Lan Tianyu wrote:
>
>> Hi all:
>>
>> Following is the usb port descriptor in the DSDT of Thinkpad T410.
>> The port is attached with bluetooth on the board.
>
>
>> Name (_UPC, Package (0x04) { 0xFF, 0xFF, 0x00, 0x00 })
>
>
> _UPC 1st byte says "connectable"
> _UPC 2nd byte says "proprietary connector"
>
>
> Name (_PLD, Buffer (0x10)
>> { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
>> /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
>> }) }
>> _PLD buffer show the device internal port. Bit 64 – User Visible:
>> Set if the device connection point can be seen by the user without
>> disassembly.
>
>
> According to the decoding from Bob Moore,
> bit 64 is not set, and thus this I/F is NOT user visible.
> Are we decoding this correctly?
>
> 81 6:0 = 1 (revision)
> 7 = 1 (ignore color)
> 00 15:8 (color red = 0)
> 00 23:16 (color green = 0)
> 00 31:24 (color blue = 0)
> 00 47:32 (width = 0)
> 00
> 00 63:48 (Height = 0)
> 00
> 30 64 (user visible = 0)
> 65 (dock = 0)
> 66 (lid = 0)
> 67:69 (Panel = b110 = 6 = unknown)
> 71:70 (vertical = 0 = upper)
> 1c 73:72 (horizontal = b00 = 0 = left)
> 77:74 (shape = b0111 = 7 = unknown)
> 00
> 00
> 00
> 00
> 00
> 00
>
>
> -Len
>
>
>>
>> 于2012年05月08日 星期二 10时58分17秒,Matthew Garrett写到:
>>> On Mon, May 07, 2012 at 09:57:44AM -0700, Greg KH wrote:
>>>> On Mon, May 07, 2012 at 09:38:15AM +0800, Lan Tianyu wrote:
>>>>> This depends on the bios. From my opinion, the bluetooth is device
>>>>> on the
>>>>> motherboard so it belongs to hard-wired type.
>>>>
>>>> That's nice, but it's not what is happening in lots of different laptops
>>>> out there today.
>>>>
>>>> Oliver is right, how does this handle bluetooth USB controllers that are
>>>> turned on/off from magic function-key presses?
>>>
>>> I /believe/ that such devices will be indicated as fixed rather than
>>> removable. The variable indicates the physical state rather than the
>>> logical one - fixed doesn't mean that a device will never go away, it
>>> means that a user can't physically unplug it.
>>>
>>
>>
>>
>
>
--
Best Regards
Tianyu Lan
linux kernel enabling team
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-05-09 1:00 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-04 3:06 [Resend PATCH V2 0/7] usb/acpi: Add binding usb device with acpi Lan Tianyu
2012-05-04 3:06 ` [Resend PATCH V2 1/7] ACPI: Add _PLD support Lan Tianyu
2012-05-04 6:18 ` Oliver Neukum
2012-05-04 3:06 ` [Resend PATCH V2 2/7] usb: Bind devices to ACPI devices when possible Lan Tianyu
[not found] ` <1336100803-28353-3-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-05-05 0:21 ` Greg KH
2012-05-05 5:26 ` Matthew Garrett
2012-05-05 11:14 ` Sergei Shtylyov
2012-05-05 14:47 ` Greg KH
2012-05-05 15:00 ` Matthew Garrett
2012-05-04 3:06 ` [Resend PATCH V2 5/7] usb: move struct usb_device->children to struct usb_hub_port->child Lan Tianyu
[not found] ` <1336100803-28353-1-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-05-04 3:06 ` [Resend PATCH V2 3/7] usb: Set device removable state based on ACPI USB data Lan Tianyu
2012-05-04 6:24 ` Oliver Neukum
2012-05-07 1:38 ` Lan Tianyu
2012-05-07 16:57 ` Greg KH
[not found] ` <20120507165744.GA28045-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2012-05-08 2:58 ` Matthew Garrett
2012-05-08 8:52 ` Lan Tianyu
2012-05-08 20:23 ` Len Brown
[not found] ` <4FA980C9.4020107-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2012-05-09 1:00 ` Lan Tianyu [this message]
2012-05-08 17:31 ` Greg KH
2012-05-09 2:49 ` Lan Tianyu
2012-05-04 3:06 ` [Resend PATCH V2 4/7] usb: add struct usb_hub_port to store port related members Lan Tianyu
2012-05-04 3:06 ` [Resend PATCH V2 6/7] usb/acpi: add the support of usb hub ports' acpi binding without attached devices Lan Tianyu
2012-05-04 3:06 ` [Resend PATCH V2 7/7] usb/acpi: add usb check for the connect type of usb port Lan Tianyu
2012-05-04 6:37 ` Oliver Neukum
2012-05-07 1:37 ` Lan Tianyu
2012-05-04 3:17 ` [Resend PATCH V2 0/7] usb/acpi: Add binding usb device with acpi Matthew Garrett
[not found] ` <20120504031720.GA6840-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2012-05-04 3:20 ` Greg KH
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=4FA9C19A.2020800@intel.com \
--to=tianyu.lan-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mfm-Oo0r1OC9pj9iLUuM0BA3LQ@public.gmane.org \
--cc=mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=oneukum-l3A5Bk7waGM@public.gmane.org \
--cc=sarah.a.sharp-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.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.