linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How my i2c device bring up?
@ 2017-05-17  8:41 劉嘉駿
  2017-05-17 11:55 ` Jarkko Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: 劉嘉駿 @ 2017-05-17  8:41 UTC (permalink / raw)
  To: linux-i2c, linux-acpi, linux-input
  Cc: Dmitry Torokhov, benjamin.tissoires, jeff.chuang

[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]


I asked this because I have problem to bring my I2C device up on Chromium
OS.
I have a x86 laptop which works well on win10 OS with I2C-HID touchscreen
device.
Currently, I want to install Chromium OS on it with original set (No
retrofit required).

I have tried to install three versions of Chromium OS(R58-9334, R59-9351,
R60-9554) respectively, 
all of them runs kernel v4.4 and all of them can see nothing for my device
by “ls /sys/bus/i2c/devices”.
The output file is as “Chromum_v4.4.52_dev_bus_i2c_devices_0517.jpg”.
I guess the underlying drivers(I2C bus, ACPI DSDT table) could be failed to
recognize my I2C device.

Also I do some experiment by installed Ubuntu desktop version(16.04) with
kernel version v4.4 on the same laptop.
My device can be found and touchscreen works. Please refer to
"Ubuntu_16.04_Kernel-v.4.4_0517.jpg".

Attached files is my kernel log(kernel version: v4.4.52) and DSDT table, the
label [ELAN] is by me; please ignore it.

I am not familiar with I2C bus / ACPI driver, please let me know if any idea
or any logs you need.
Thanks.

BR,
Scott 


[-- Attachment #2: Kernel_log.bz2 --]
[-- Type: application/octet-stream, Size: 33789 bytes --]

[-- Attachment #3: dsdt.dsl.bz2 --]
[-- Type: application/octet-stream, Size: 84878 bytes --]

[-- Attachment #4: Chromum_v4.4.52_dev_bus_i2c_devices_0517.jpg --]
[-- Type: image/jpeg, Size: 22465 bytes --]

[-- Attachment #5: Ubuntu_16.04_Kernel-v.4.4_0517.jpg --]
[-- Type: image/jpeg, Size: 37460 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How my i2c device bring up?
  2017-05-17  8:41 How my i2c device bring up? 劉嘉駿
@ 2017-05-17 11:55 ` Jarkko Nikula
  2017-05-18 11:09   ` 劉嘉駿
  2017-05-19  6:42   ` 劉嘉駿
  0 siblings, 2 replies; 6+ messages in thread
From: Jarkko Nikula @ 2017-05-17 11:55 UTC (permalink / raw)
  To: 劉嘉駿, linux-i2c, linux-acpi, linux-input
  Cc: Dmitry Torokhov, benjamin.tissoires, jeff.chuang

Hi

On 05/17/2017 11:41 AM, 劉嘉駿 wrote:
>
> I have tried to install three versions of Chromium OS(R58-9334, R59-9351,
> R60-9554) respectively,
> all of them runs kernel v4.4 and all of them can see nothing for my device
> by “ls /sys/bus/i2c/devices”.
> The output file is as “Chromum_v4.4.52_dev_bus_i2c_devices_0517.jpg”.
> I guess the underlying drivers(I2C bus, ACPI DSDT table) could be failed to
> recognize my I2C device.
>
Is this Intel Skylake ix-6xxx based laptop?

My guess is that based on your finding that i2c touchscreen works in 
Ubuntu that Chromium kernel may not have needed drivers enabled.

If you have access to kernel config of Chromium image could you check 
does it have these MFD_INTEL_LPSS configurations on? I have them as 
built-in but should work when built as modules too.

CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y

I suppose these I2C_DESIGNWARE options are already on since I know there 
are Intel Baytrail based Chromebooks out there.

CONFIG_I2C_DESIGNWARE_CORE=m
CONFIG_I2C_DESIGNWARE_PLATFORM=m
CONFIG_I2C_DESIGNWARE_PCI=m
CONFIG_I2C_DESIGNWARE_BAYTRAIL=y

-- 
Jarkko

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: How my i2c device bring up?
  2017-05-17 11:55 ` Jarkko Nikula
@ 2017-05-18 11:09   ` 劉嘉駿
  2017-05-19  6:42   ` 劉嘉駿
  1 sibling, 0 replies; 6+ messages in thread
From: 劉嘉駿 @ 2017-05-18 11:09 UTC (permalink / raw)
  To: 'Jarkko Nikula', linux-i2c, linux-acpi, linux-input
  Cc: 'Dmitry Torokhov', benjamin.tissoires, jeff.chuang

Hi Jakko,
	I am not happy because the internet & network are so slow..... :(
	The kernel of those configurations are still on compile. 

	I have checked that my target platform is Intel Baytrail, so good
luck with me.
	Thank you !

BR,
Scott 


> -----Original Message-----
> From: Jarkko Nikula [mailto:jarkko.nikula@linux.intel.com]
> Sent: Wednesday, May 17, 2017 7:56 PM
> To: 劉嘉駿; linux-i2c@vger.kernel.org; linux-acpi@vger.kernel.org;
> linux-input@vger.kernel.org
> Cc: Dmitry Torokhov; benjamin.tissoires@gmail.com;
> jeff.chuang@emc.com.tw
> Subject: Re: How my i2c device bring up?
> 
> Hi
> 
> On 05/17/2017 11:41 AM, 劉嘉駿 wrote:
> >
> > I have tried to install three versions of Chromium OS(R58-9334,
> > R59-9351,
> > R60-9554) respectively,
> > all of them runs kernel v4.4 and all of them can see nothing for my
> > device by “ls /sys/bus/i2c/devices”.
> > The output file is as “Chromum_v4.4.52_dev_bus_i2c_devices_0517.jpg”.
> > I guess the underlying drivers(I2C bus, ACPI DSDT table) could be
> > failed to recognize my I2C device.
> >
> Is this Intel Skylake ix-6xxx based laptop?
> 
> My guess is that based on your finding that i2c touchscreen works in
Ubuntu
> that Chromium kernel may not have needed drivers enabled.
> 
> If you have access to kernel config of Chromium image could you check does
it
> have these MFD_INTEL_LPSS configurations on? I have them as built-in but
> should work when built as modules too.
> 
> CONFIG_MFD_INTEL_LPSS=y
> CONFIG_MFD_INTEL_LPSS_ACPI=y
> CONFIG_MFD_INTEL_LPSS_PCI=y
> 
> I suppose these I2C_DESIGNWARE options are already on since I know there
> are Intel Baytrail based Chromebooks out there.
> 
> CONFIG_I2C_DESIGNWARE_CORE=m
> CONFIG_I2C_DESIGNWARE_PLATFORM=m
> CONFIG_I2C_DESIGNWARE_PCI=m
> CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
> 
> --
> Jarkko

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: How my i2c device bring up?
  2017-05-17 11:55 ` Jarkko Nikula
  2017-05-18 11:09   ` 劉嘉駿
@ 2017-05-19  6:42   ` 劉嘉駿
  2017-05-19  8:23     ` Jarkko Nikula
  1 sibling, 1 reply; 6+ messages in thread
From: 劉嘉駿 @ 2017-05-19  6:42 UTC (permalink / raw)
  To: 'Jarkko Nikula', linux-i2c, linux-acpi, linux-input
  Cc: 'Dmitry Torokhov', benjamin.tissoires, jeff.chuang

Hi Jarkko,
	After enabled those configurations on, the touch works.
	Chrome can recognize my touch device, thank you for help.

BR,
Scott 


> -----Original Message-----
> From: Jarkko Nikula [mailto:jarkko.nikula@linux.intel.com]
> Sent: Wednesday, May 17, 2017 7:56 PM
> To: 劉嘉駿; linux-i2c@vger.kernel.org; linux-acpi@vger.kernel.org;
> linux-input@vger.kernel.org
> Cc: Dmitry Torokhov; benjamin.tissoires@gmail.com;
> jeff.chuang@emc.com.tw
> Subject: Re: How my i2c device bring up?
> 
> Hi
> 
> On 05/17/2017 11:41 AM, 劉嘉駿 wrote:
> >
> > I have tried to install three versions of Chromium OS(R58-9334,
> > R59-9351,
> > R60-9554) respectively,
> > all of them runs kernel v4.4 and all of them can see nothing for my
> > device by “ls /sys/bus/i2c/devices”.
> > The output file is as “Chromum_v4.4.52_dev_bus_i2c_devices_0517.jpg”.
> > I guess the underlying drivers(I2C bus, ACPI DSDT table) could be
> > failed to recognize my I2C device.
> >
> Is this Intel Skylake ix-6xxx based laptop?
> 
> My guess is that based on your finding that i2c touchscreen works in
Ubuntu
> that Chromium kernel may not have needed drivers enabled.
> 
> If you have access to kernel config of Chromium image could you check does
it
> have these MFD_INTEL_LPSS configurations on? I have them as built-in but
> should work when built as modules too.
> 
> CONFIG_MFD_INTEL_LPSS=y
> CONFIG_MFD_INTEL_LPSS_ACPI=y
> CONFIG_MFD_INTEL_LPSS_PCI=y
> 
> I suppose these I2C_DESIGNWARE options are already on since I know there
> are Intel Baytrail based Chromebooks out there.
> 
> CONFIG_I2C_DESIGNWARE_CORE=m
> CONFIG_I2C_DESIGNWARE_PLATFORM=m
> CONFIG_I2C_DESIGNWARE_PCI=m
> CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
> 
> --
> Jarkko


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How my i2c device bring up?
  2017-05-19  6:42   ` 劉嘉駿
@ 2017-05-19  8:23     ` Jarkko Nikula
  2017-05-19  8:38       ` 劉嘉駿
  0 siblings, 1 reply; 6+ messages in thread
From: Jarkko Nikula @ 2017-05-19  8:23 UTC (permalink / raw)
  To: 劉嘉駿, linux-i2c, linux-acpi, linux-input
  Cc: 'Dmitry Torokhov', benjamin.tissoires, jeff.chuang

On 05/19/2017 09:42 AM, 劉嘉駿 wrote:
> Hi Jarkko,
> 	After enabled those configurations on, the touch works.
> 	Chrome can recognize my touch device, thank you for help.
>
Nice to hear. Looks like those Chromium images don't support platforms 
that require those CONFIG_MFD_INTEL_LPSS options.

-- 
Jarkko


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: How my i2c device bring up?
  2017-05-19  8:23     ` Jarkko Nikula
@ 2017-05-19  8:38       ` 劉嘉駿
  0 siblings, 0 replies; 6+ messages in thread
From: 劉嘉駿 @ 2017-05-19  8:38 UTC (permalink / raw)
  To: 'Jarkko Nikula', linux-i2c, linux-acpi, linux-input
  Cc: 'Dmitry Torokhov', benjamin.tissoires, jeff.chuang

> >
> Nice to hear. Looks like those Chromium images don't support platforms
that
> require those CONFIG_MFD_INTEL_LPSS options.
> 

Those configurations are default in 64bits image.
The image was 32bits in the first place I built which 
doesn't default set those configurations for Intel Baytrail.

Thanks.
Scott


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-19  8:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17  8:41 How my i2c device bring up? 劉嘉駿
2017-05-17 11:55 ` Jarkko Nikula
2017-05-18 11:09   ` 劉嘉駿
2017-05-19  6:42   ` 劉嘉駿
2017-05-19  8:23     ` Jarkko Nikula
2017-05-19  8:38       ` 劉嘉駿

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).