Re: [Resend PATCH V2 3/7] usb: Set device removable state based on ACPI USB data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:

Following is the usb port descriptor in the DSDT of Thinkpad T410.
The port is attached with bluetooth on the board.

                      Device (PRTB)
{ Name (_ADR, 0x04) Name (_UPC, Package (0x04) { 0xFF, 0xFF, 0x00, 0x00 }) 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.

于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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux