<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>869</bug_id>
          
          <creation_ts>2011-03-14 19:21:30 +0000</creation_ts>
          <short_desc>[n450]Blacksand keyboard/mouse do not work on X window</short_desc>
          <delta_ts>2011-03-21 19:23:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-configuration</component>
          <version>1.0</version>
          <rep_platform>Blacksand</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Fixed (15/Mar/2011)</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xudong Hao">xudong.hao</reporter>
          <assigned_to name="Ke Yu">ke.yu</assigned_to>
          <cc>dvhart</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>kunwei.tian</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12593</commentid>
    <comment_count>0</comment_count>
    <who name="Xudong Hao">xudong.hao</who>
    <bug_when>2011-03-14 19:21:30 +0000</bug_when>
    <thetext>Image location:
http://autobuilder02.pokylinux.org/n450-bernard/nightly/20110313-1/machines/n450/x86_32/poky-image-sato-live-n450-20110313170309.hddimg.bz2

commit: a33a2cc024f9c9147c92c5da70d8fbb631b968f9

With the n450 image for RC3, on blanksand, when boot up system to X window, the USB and PS2 keyboard/mouse do not work. all X test blocked.

Add &quot;3 psplash=false&quot; in grub to boot on TEXT mode, keyboard and mouse works well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12608</commentid>
    <comment_count>1</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2011-03-15 00:10:38 +0000</bug_when>
    <thetext>this is partially related to the config file: /etc/X11/xorg.conf

If add &quot;AutoAddDevices&quot; option as below

Section &quot;ServerFlags&quot;
    Option        &quot;DontZap&quot;  &quot;0&quot;
    Option        &quot;AutoAddDevices&quot;  &quot;False&quot;
EndSection

then the keyboard will work. but mouse is not working yet. still under investigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12648</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-03-15 12:59:53 +0000</bug_when>
    <thetext>Turns out the mouse is actually working, but the cursor is invisible. I notice the keys on the OSD keyboard highlights as I moved the mouse around, and it works on the other widgets as well. This bug looks related:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/508697

But disabling modeset caused X not to start. I tried adding:

Option &quot;SWCursor&quot;

to the device stanza in xorg.conf, but that didn&apos;t work either. Still digging.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12653</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-03-15 15:43:27 +0000</bug_when>
    <thetext>--- session
+++ session.dbg
@@ -7,6 +7,7 @@
 else
     SHOWCURSOR=&quot;yes&quot;
 fi
+echo &quot;SHOWCURSOR: $SHOWCURSOR&quot;
 
 matchbox-desktop &amp;



# /etc/init.d/xserver-nodm restart
...
SHOWCURSOR: no
...

Whooops.

Forcing to yes and I have a cursor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12656</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-03-15 17:21:37 +0000</bug_when>
    <thetext>By adding a formfactor machconfig and an xserver-x586-config xorg.conf to the n450 bsp, I have a working keyboard and visible mouse. Those patches have sent to the list for review prior to pushing. You can test them from here:

http://git.pokylinux.org/cgit.cgi/meta-intel/log/?h=dvhart/bernard/n450</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12671</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-03-15 21:33:59 +0000</bug_when>
    <thetext>Fix committed to meta-intel bernard branch (also committed to master)

http://git.pokylinux.org/cgit.cgi/meta-intel/commit/?h=bernard&amp;id=2bd6b798cbb21562ace0b53808c544dc38deb4b0

http://git.pokylinux.org/cgit.cgi/meta-intel/commit/?h=bernard&amp;id=14f57b958ba34ad3c5e82188ff3f457f7737b9b5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12682</commentid>
    <comment_count>6</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2011-03-16 01:08:20 +0000</bug_when>
    <thetext>I can verify this issue is gone with Darren&apos;s fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12788</commentid>
    <comment_count>7</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2011-03-17 20:10:42 +0000</bug_when>
    <thetext>mark it as verified</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12888</commentid>
    <comment_count>8</comment_count>
    <who name="Xudong Hao">xudong.hao</who>
    <bug_when>2011-03-21 19:23:05 +0000</bug_when>
    <thetext>Verify this bug in GM image with fix.
http://autobuilder02.pokylinux.org/n450-bernard/nightly/20110319-1/machines/n450/x86_32/poky-image-sato-sdk-live-n450-20110319105742.hddimg.bz2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>