From: "Pali Rohár" <pali.rohar@gmail.com>
To: Mario.Limonciello@dell.com
Cc: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: Dell docking station & Dell Embedded Controller & PS/2 devices
Date: Mon, 7 May 2018 22:28:22 +0200 [thread overview]
Message-ID: <20180507202822.usgjneo7m35bsait@pali> (raw)
In-Reply-To: <6825f48ea6da41799979d83ed37adf73@ausx13mpc124.AMER.DELL.COM>
[-- Attachment #1: Type: text/plain, Size: 2492 bytes --]
On Monday 07 May 2018 20:18:30 Mario.Limonciello@dell.com wrote:
> > > > So I guess you could write a platform driver that would install i8042
> > > > filter on Dell laptops/portables, monitor keyboard data stream and kick
> > > > of rescans on serio ports. The problem is filter gets "serio" so you do
> > > > not really know whether ACK is spurious or not. And I would really
> > > > prefer keeping this crap out of atkbd proper... And all of this is racy
> > > > as hell. What happens if we get keyboard reconnected as we reinitialize
> > > > it?
> > >
> > > If it's done as a platform driver I would suspect it's possible to tell whether
> > > a dock is connected to at least give you some heuristic here to have a better
> > > guess whether it's spurious.
> >
> > Apparently checking for docking station is not enough. There are also
> > Dell Legacy Extenders (or how it is called) which exports internal PS/2,
> > Parallel and Serial Ports. It is also connecting to bottom of laptop.
> > But currently I do not have them for testing.
> >
> > > Pali on your system that supports this dock, check and see how many
> > > System Enclosure SMBIOS tables (structure type 03) are present.
> >
> > Do you mean DMI type 3 structure? Here is something from dmidecode:
> >
> > Handle 0x0003, DMI type 3, 22 bytes
> > Chassis Information
> > Manufacturer: Dell Inc.
> > Type: Laptop
> > Lock: Not Present
> > Version: Not Specified
> > Serial Number: --REMOVED--
> > Asset Tag: Not Specified
> > Boot-up State: Safe
> > Power Supply State: Safe
> > Thermal State: Safe
> > Security Status: None
> > OEM Information: 0x00000000
> > Height: Unspecified
> > Number Of Power Cords: 1
> > Contained Elements: 0
> > SKU Number: To be filled by O.E.M.
> >
> > But probably you mean something different?
>
> Plug in your dock before you boot up and see if you have a second structure like
> that type produced.
I already started docked laptop via dock power button. And in dmidecode
output is only one DMI type 3 block.
> If not, then I guess this isn't a reliable way to find the dock
> on that system and I'll have to see if there is another.
Seems not. Also detection of dock should work also when you connect
laptop at system runtime, not only when connected prior to booting.
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2018-05-07 20:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-24 10:41 Dell docking station & Dell Embedded Controller & PS/2 devices Pali Rohár
2018-02-01 19:29 ` Dmitry Torokhov
2018-02-01 19:35 ` Mario.Limonciello
2018-02-01 21:14 ` Dmitry Torokhov
2018-02-01 21:23 ` Mario.Limonciello
2018-02-04 20:07 ` Pali Rohár
2018-05-06 13:47 ` Pali Rohár
2018-05-07 8:44 ` Pali Rohár
2018-05-07 19:33 ` Dmitry Torokhov
2018-05-07 19:58 ` Pali Rohár
2018-05-07 19:59 ` Mario.Limonciello
2018-05-07 20:07 ` Pali Rohár
2018-05-07 20:18 ` Mario.Limonciello
2018-05-07 20:28 ` Pali Rohár [this message]
2018-05-07 20:30 ` Mario.Limonciello
2018-05-07 20:32 ` Mario.Limonciello
2018-05-07 20:48 ` Pali Rohár
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=20180507202822.usgjneo7m35bsait@pali \
--to=pali.rohar@gmail.com \
--cc=Mario.Limonciello@dell.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).