[oe] [PATCH 1/2] x11-common: remove extraneous BSP customizations

Andrea Adami andrea.adami at gmail.com
Fri Jan 6 23:37:24 UTC 2012


On Sat, Jan 7, 2012 at 12:32 AM, Andrea Adami <andrea.adami at gmail.com> wrote:
> Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
> ---
>  .../x11-common/x11-common/etc/X11/Xserver          |   24 --------------------
>  1 files changed, 0 insertions(+), 24 deletions(-)
>
> diff --git a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
> index 57923e6..cea733e 100644
> --- a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
> +++ b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
> @@ -18,14 +18,6 @@ fi
>
>  . /etc/profile
>
> -module_id() {
> -    ## used to read from assets, but sometimes assets is corrupted
> -    # grep "Module ID" /proc/hal/assets | sed "s/.*://"
> -    ## used to read from /proc/hal/model, but that is removed in 2.6
> -    # echo ' iPAQ' `cat /proc/hal/model`
> -    awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
> -}
> -
>  ARGS=" -br -pn"
>
>  if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
> @@ -44,22 +36,6 @@ if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
>           ARGS="$ARGS -mouse tslib"
>         fi
>
> -        # start off server in conventional location.
> -        case `module_id` in
> -                "Generic OMAP1510/1610/1710")
> -                        ARGS="$ARGS -mouse /dev/input/event0" ;;
> -                "Compulab CM-x270")
> -                        #modprobe mbxfb
> -                        #ARGS="$ARGS -fb /dev/fb1"
> -                        ;;
> -                "Nokia N800")
> -                        ARGS="$ARGS -mouse tslib" ;;
> -                "Nokia 770")
> -                        ARGS="$ARGS -mouse tslib" ;;
> -                *)
> -                        ;;
> -        esac
> -
>         ARGS="$ARGS -screen ${DISPLAY_WIDTH_PIXELS}x${DISPLAY_HEIGHT_PIXELS}@${DISPLAY_ORIENTATION}x${DISPLAY_BPP}"
>
>         if [ ! -z "$DISPLAY_DPI" ]; then
> --
> 1.7.3.4
>

please ignore

Andrea




More information about the Openembedded-devel mailing list