* [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869]
@ 2011-03-16 0:19 Darren Hart
2011-03-16 0:19 ` [PATCH 1/2] n450: add formfactor config Darren Hart
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Darren Hart @ 2011-03-16 0:19 UTC (permalink / raw)
To: poky; +Cc: Darren Hart
From: Darren Hart <dvhart@linux.intel.com>
Before committing these patches to the meta-intel layer, I'd appreciate a
review, perhaps from Tom, to ensure I didn't miss anything - seeing how close
we are to release.
Pull URL: git://git.pokylinux.org/meta-intel.git
Branch: dvhart/bernard/n450
Browse: http://git.pokylinux.org/cgit.cgi/meta-intel/log/?h=dvhart/bernard/n450
Thanks,
Darren Hart <dvhart@linux.intel.com>
---
Darren Hart (2):
n450: add formfactor config
n450: add xorg.conf to disable AutoAddDevices
.../formfactor/formfactor/n450/machconfig | 3 ++
.../recipes-bsp/formfactor/formfactor_0.0.bbappend | 3 ++
.../xserver-xf86-config/n450/xorg.conf | 26 ++++++++++++++++++++
.../xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 ++
4 files changed, 35 insertions(+), 0 deletions(-)
create mode 100644 meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig
create mode 100644 meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend
create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] n450: add formfactor config
2011-03-16 0:19 [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Darren Hart
@ 2011-03-16 0:19 ` Darren Hart
2011-03-16 0:44 ` Tom Zanussi
2011-03-16 0:19 ` [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices Darren Hart
2011-03-16 0:43 ` [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Tom Zanussi
2 siblings, 1 reply; 7+ messages in thread
From: Darren Hart @ 2011-03-16 0:19 UTC (permalink / raw)
To: poky; +Cc: Darren Hart
From: Darren Hart <dvhart@linux.intel.com>
Fixes [YOCTO #869] (1 of 2)
Add a formfactor config for the n450 to include a keyboard and no
touchscreen. Without defining HAVE_TOUCHSCREEN=0, the default was
to set it to 1, and the matchbox session disables the cursor in
the case of a touchscreen device.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
---
.../formfactor/formfactor/n450/machconfig | 3 +++
.../recipes-bsp/formfactor/formfactor_0.0.bbappend | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig
create mode 100644 meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend
diff --git a/meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig b/meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig
new file mode 100644
index 0000000..ffce012
--- /dev/null
+++ b/meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig
@@ -0,0 +1,3 @@
+# Assume a USB mouse and keyboard are connected
+HAVE_TOUCHSCREEN=0
+HAVE_KEYBOARD=1
diff --git a/meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend b/meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend
new file mode 100644
index 0000000..4a41d48
--- /dev/null
+++ b/meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS := "${THISDIR}/${PN}"
+
+PRINC = "1"
--
1.7.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices
2011-03-16 0:19 [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Darren Hart
2011-03-16 0:19 ` [PATCH 1/2] n450: add formfactor config Darren Hart
@ 2011-03-16 0:19 ` Darren Hart
2011-03-16 0:45 ` Tom Zanussi
2011-03-16 0:43 ` [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Tom Zanussi
2 siblings, 1 reply; 7+ messages in thread
From: Darren Hart @ 2011-03-16 0:19 UTC (permalink / raw)
To: poky; +Cc: Darren Hart
From: Darren Hart <dvhart@linux.intel.com>
Fixes [YOCTO #869] (2 of 2)
The n450 needs:
Option "AutoAddDevices" "False"
In the ServerFlags, or it will fail to detect the keyboard.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
---
.../xserver-xf86-config/n450/xorg.conf | 26 ++++++++++++++++++++
.../xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 ++
2 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
new file mode 100644
index 0000000..e18b911
--- /dev/null
+++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
@@ -0,0 +1,26 @@
+Section "Device"
+ Identifier "Intel Graphics Driver"
+ Driver "intel"
+EndSection
+
+Section "Monitor"
+ Identifier "Generic Monitor"
+ Option "DPMS"
+EndSection
+
+Section "Screen"
+ Identifier "Default Screen"
+ Device "Intel Graphics Driver"
+ Monitor "Generic Monitor"
+ DefaultDepth 24
+EndSection
+
+Section "ServerLayout"
+ Identifier "Default Layout"
+ Screen "Default Screen"
+EndSection
+
+Section "ServerFlags"
+ Option "DontZap" "0"
+ Option "AutoAddDevices" "False"
+EndSection
diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
new file mode 100644
index 0000000..4b8d0e6
--- /dev/null
+++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -0,0 +1,3 @@
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
--
1.7.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869]
2011-03-16 0:19 [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Darren Hart
2011-03-16 0:19 ` [PATCH 1/2] n450: add formfactor config Darren Hart
2011-03-16 0:19 ` [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices Darren Hart
@ 2011-03-16 0:43 ` Tom Zanussi
2 siblings, 0 replies; 7+ messages in thread
From: Tom Zanussi @ 2011-03-16 0:43 UTC (permalink / raw)
To: Darren Hart; +Cc: poky@yoctoproject.org
On Tue, 2011-03-15 at 17:19 -0700, Darren Hart wrote:
> From: Darren Hart <dvhart@linux.intel.com>
>
> Before committing these patches to the meta-intel layer, I'd appreciate a
> review, perhaps from Tom, to ensure I didn't miss anything - seeing how close
> we are to release.
Hi Darren,
They both look ok to me...
Thanks,
Tom
>
> Pull URL: git://git.pokylinux.org/meta-intel.git
> Branch: dvhart/bernard/n450
> Browse: http://git.pokylinux.org/cgit.cgi/meta-intel/log/?h=dvhart/bernard/n450
>
> Thanks,
> Darren Hart <dvhart@linux.intel.com>
> ---
>
>
> Darren Hart (2):
> n450: add formfactor config
> n450: add xorg.conf to disable AutoAddDevices
>
> .../formfactor/formfactor/n450/machconfig | 3 ++
> .../recipes-bsp/formfactor/formfactor_0.0.bbappend | 3 ++
> .../xserver-xf86-config/n450/xorg.conf | 26 ++++++++++++++++++++
> .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 ++
> 4 files changed, 35 insertions(+), 0 deletions(-)
> create mode 100644 meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig
> create mode 100644 meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend
> create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
> create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] n450: add formfactor config
2011-03-16 0:19 ` [PATCH 1/2] n450: add formfactor config Darren Hart
@ 2011-03-16 0:44 ` Tom Zanussi
0 siblings, 0 replies; 7+ messages in thread
From: Tom Zanussi @ 2011-03-16 0:44 UTC (permalink / raw)
To: Darren Hart; +Cc: poky@yoctoproject.org
On Tue, 2011-03-15 at 17:19 -0700, Darren Hart wrote:
> From: Darren Hart <dvhart@linux.intel.com>
>
> Fixes [YOCTO #869] (1 of 2)
>
> Add a formfactor config for the n450 to include a keyboard and no
> touchscreen. Without defining HAVE_TOUCHSCREEN=0, the default was
> to set it to 1, and the matchbox session disables the cursor in
> the case of a touchscreen device.
>
> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> CC: Tom Zanussi <tom.zanussi@intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
> ---
> .../formfactor/formfactor/n450/machconfig | 3 +++
> .../recipes-bsp/formfactor/formfactor_0.0.bbappend | 3 +++
> 2 files changed, 6 insertions(+), 0 deletions(-)
> create mode 100644 meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig
> create mode 100644 meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend
>
> diff --git a/meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig b/meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig
> new file mode 100644
> index 0000000..ffce012
> --- /dev/null
> +++ b/meta-n450/recipes-bsp/formfactor/formfactor/n450/machconfig
> @@ -0,0 +1,3 @@
> +# Assume a USB mouse and keyboard are connected
> +HAVE_TOUCHSCREEN=0
> +HAVE_KEYBOARD=1
> diff --git a/meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend b/meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend
> new file mode 100644
> index 0000000..4a41d48
> --- /dev/null
> +++ b/meta-n450/recipes-bsp/formfactor/formfactor_0.0.bbappend
> @@ -0,0 +1,3 @@
> +FILESEXTRAPATHS := "${THISDIR}/${PN}"
> +
> +PRINC = "1"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices
2011-03-16 0:19 ` [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices Darren Hart
@ 2011-03-16 0:45 ` Tom Zanussi
2011-03-16 1:55 ` Darren Hart
0 siblings, 1 reply; 7+ messages in thread
From: Tom Zanussi @ 2011-03-16 0:45 UTC (permalink / raw)
To: Darren Hart; +Cc: poky@yoctoproject.org
On Tue, 2011-03-15 at 17:19 -0700, Darren Hart wrote:
> From: Darren Hart <dvhart@linux.intel.com>
>
> Fixes [YOCTO #869] (2 of 2)
>
> The n450 needs:
>
> Option "AutoAddDevices" "False"
>
> In the ServerFlags, or it will fail to detect the keyboard.
It looks like this patch does more than that, but anyway...
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> CC: Tom Zanussi <tom.zanussi@intel.com>
> ---
> .../xserver-xf86-config/n450/xorg.conf | 26 ++++++++++++++++++++
> .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 ++
> 2 files changed, 29 insertions(+), 0 deletions(-)
> create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
> create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>
> diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
> new file mode 100644
> index 0000000..e18b911
> --- /dev/null
> +++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
> @@ -0,0 +1,26 @@
> +Section "Device"
> + Identifier "Intel Graphics Driver"
> + Driver "intel"
> +EndSection
> +
> +Section "Monitor"
> + Identifier "Generic Monitor"
> + Option "DPMS"
> +EndSection
> +
> +Section "Screen"
> + Identifier "Default Screen"
> + Device "Intel Graphics Driver"
> + Monitor "Generic Monitor"
> + DefaultDepth 24
> +EndSection
> +
> +Section "ServerLayout"
> + Identifier "Default Layout"
> + Screen "Default Screen"
> +EndSection
> +
> +Section "ServerFlags"
> + Option "DontZap" "0"
> + Option "AutoAddDevices" "False"
> +EndSection
> diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> new file mode 100644
> index 0000000..4b8d0e6
> --- /dev/null
> +++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> @@ -0,0 +1,3 @@
> +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
> +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
> +
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices
2011-03-16 0:45 ` Tom Zanussi
@ 2011-03-16 1:55 ` Darren Hart
0 siblings, 0 replies; 7+ messages in thread
From: Darren Hart @ 2011-03-16 1:55 UTC (permalink / raw)
To: Tom Zanussi; +Cc: poky@yoctoproject.org
On 03/15/2011 05:45 PM, Tom Zanussi wrote:
> On Tue, 2011-03-15 at 17:19 -0700, Darren Hart wrote:
>> From: Darren Hart<dvhart@linux.intel.com>
>>
>> Fixes [YOCTO #869] (2 of 2)
>>
>> The n450 needs:
>>
>> Option "AutoAddDevices" "False"
>>
>> In the ServerFlags, or it will fail to detect the keyboard.
>
> It looks like this patch does more than that, but anyway...
Right, this is the delta from whatever it pulls in by default, but the
common practice seems to be to just install a new xorg.conf for each
machine, even if they are very similar.
>
> Acked-by: Tom Zanussi<tom.zanussi@intel.com>
Thanks!
>
>> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
>> CC: Tom Zanussi<tom.zanussi@intel.com>
>> ---
>> .../xserver-xf86-config/n450/xorg.conf | 26 ++++++++++++++++++++
>> .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 ++
>> 2 files changed, 29 insertions(+), 0 deletions(-)
>> create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
>> create mode 100644 meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>>
>> diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
>> new file mode 100644
>> index 0000000..e18b911
>> --- /dev/null
>> +++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
>> @@ -0,0 +1,26 @@
>> +Section "Device"
>> + Identifier "Intel Graphics Driver"
>> + Driver "intel"
>> +EndSection
>> +
>> +Section "Monitor"
>> + Identifier "Generic Monitor"
>> + Option "DPMS"
>> +EndSection
>> +
>> +Section "Screen"
>> + Identifier "Default Screen"
>> + Device "Intel Graphics Driver"
>> + Monitor "Generic Monitor"
>> + DefaultDepth 24
>> +EndSection
>> +
>> +Section "ServerLayout"
>> + Identifier "Default Layout"
>> + Screen "Default Screen"
>> +EndSection
>> +
>> +Section "ServerFlags"
>> + Option "DontZap" "0"
>> + Option "AutoAddDevices" "False"
>> +EndSection
>> diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>> new file mode 100644
>> index 0000000..4b8d0e6
>> --- /dev/null
>> +++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>> @@ -0,0 +1,3 @@
>> +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
>> +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
>> +
>
>
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-03-16 1:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 0:19 [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Darren Hart
2011-03-16 0:19 ` [PATCH 1/2] n450: add formfactor config Darren Hart
2011-03-16 0:44 ` Tom Zanussi
2011-03-16 0:19 ` [PATCH 2/2] n450: add xorg.conf to disable AutoAddDevices Darren Hart
2011-03-16 0:45 ` Tom Zanussi
2011-03-16 1:55 ` Darren Hart
2011-03-16 0:43 ` [PATCH 0/2][meta-intel] Fix Keyboard and Mouse on n450 [YOCTO #869] Tom Zanussi
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.