Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Jun 2007 03:42 PM by  dadawan@gmail.com
IMX31 Usb Keyboard/Mouse non-functional
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
dadawan@gmail.com
New Member
New Member
Posts:


--
06 Jun 2007 03:58 PM
    We have a IMX31 key S/N 1006581 Rev 2 We have a VGA 6.4" display (5), and a 3.5" QVGA display (8).

    The Dev Image downloaded from your website runs ok. The mouse works occasionally, but not always. The touchscreen in the Dev image appears to respond, but the axes are all messed up.

    I have installed the IMX BSP and created a OS image for it.

    The OS boots and looks ok, but the mouse, keyboard, and touchscreen do not work so I have no way of interacting with the OS except Kitl.

    Following the Readme.txt for the Usb Host driver, I have included

    Core OS Services\USB Host Support\USB Human Input Device (HID)
    Device Drivers\Input Devices\Keyboard Mouse\NOP (Stub)
    \Shell and User Interface\User Interface\Mouse

    After booting I get no response from the mouse. The mouse pointer remains in the center of the screen. Plugging in a USB keyboard does not work either- No response, and the Caps Lock light does not respond when the capslock key is pressed.

    The debug messages indicate some problem with the touchscreen driver , I will include that below.

    Thanks for any help regarding these issues.

    -Kevin

    --------------- debug output -----------------------
    0 PID:0 TID:0 Sp=ffffc7cc
    724 PID:83db2d4e TID:83dbdf12 UfnPdd_Init, build on Mar 22 2007, at 16:43:11
    854 PID:83db2d4e TID:83dbdf12 VMini:: Kernel does not support ethernet sharing!
    876 PID:83db2d4e TID:83dbdf12 DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
    972 PID:83db2d4e TID:83dbdf12 DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
    995 PID:83db2d4e TID:83dbdf12 ERROR: d:\wince500\platform\loce\src\drivers\ce_drivers\drvlib\mc13783_api\src\pmic.cpp line 91:
    995 PID:83db2d4e TID:83dbdf12 Failed in createFile()
    995 PID:83db2d4e TID:83dbdf12 ERROR: d:\wince500\platform\loce\src\drivers\ce_drivers\audio\lpd_imx31_audio\driver\hwctxt.cpp line 243:
    995 PID:83db2d4e TID:83dbdf12 PmicTouchInit: PmicStartup failed
    1131 PID:63c94d62 TID:63db26e6 Boot string calls for display: 5
    1131 PID:63c94d62 TID:63db26e6 Over-riding registry setting of 3.
    1154 PID:63c94d62 TID:63db26e6 Lyg.p: Layout Manager successfully initialized to 1
    1159 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\drvlib\mc13783_api\src\pmic.cpp line 85:
    1159 PID:63c94d62 TID:63db26e6 Failed in createFile()
    1159 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\touch\lpd_imx31_touch\driver\bsptouch.cpp line 151:
    1159 PID:63c94d62 TID:63db26e6 PmicTouchInit: PmicStartup failed
    1159 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\touch\lpd_imx31_touch\driver\bsptouch.cpp line 114:
    1160 PID:63c94d62 TID:63db26e6 PmicTouchDeinit: PmicInterruptDeregister failed
    1160 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\drvlib\mc13783_api\src\pmic_adc.cpp line 388:
    1160 PID:63c94d62 TID:63db26e6 PMIC_IOCTL_ADC_SET_MODE failed!
    1160 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\touch\lpd_imx31_touch\driver\bsptouch.cpp line 121:
    1160 PID:63c94d62 TID:63db26e6 PmicTouchDeinit: PmicTouchStandby failed
    1160 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\touch\lpd_imx31_touch\driver\bsptouch.cpp line 261:
    1160 PID:63c94d62 TID:63db26e6 BSPTouchInit: PmicTouchInit failed
    1160 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\touch\lpd_imx31_touch\driver\bsptouch.cpp line 114:
    1160 PID:63c94d62 TID:63db26e6 PmicTouchDeinit: PmicInterruptDeregister failed
    1160 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\drvlib\mc13783_api\src\pmic_adc.cpp line 388:
    1160 PID:63c94d62 TID:63db26e6 PMIC_IOCTL_ADC_SET_MODE failed!
    1160 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\touch\lpd_imx31_touch\driver\bsptouch.cpp line 121:
    1160 PID:63c94d62 TID:63db26e6 PmicTouchDeinit: PmicTouchStandby failed
    1166 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\touch\lpd_imx31_touch\driver\bsptouch.cpp line 114:
    1166 PID:63c94d62 TID:63db26e6 PmicTouchDeinit: PmicInterruptDeregister failed
    1166 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\drvlib\mc13783_api\src\pmic_adc.cpp line 388:
    1166 PID:63c94d62 TID:63db26e6 PMIC_IOCTL_ADC_SET_MODE failed!
    1166 PID:63c94d62 TID:63db26e6 ERROR: c:\wince500\platform\loce\src\drivers\ce_drivers\touch\lpd_imx31_touch\driver\bsptouch.cpp line 121:
    1166 PID:63c94d62 TID:63db26e6 PmicTouchDeinit: PmicTouchStandby failed
    1605 PID:23bb0cc6 TID:e3b78eee Explorer(V2.0) taskbar thread started.
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    07 Jun 2007 12:19 PM
    Kevin,

    Did you use bootme & to get the image on the kit?

    Try saving the image on a CF card - that is working still correct? - or just disconnect the ethernet connection before you boot the image.

    You should be able to use the mouse to setup the touchscreen calibration and it should work fine after that.

    Let me know if you still have issues.

    Richard
    dadawan@gmail.com
    New Member
    New Member
    Posts:


    --
    07 Jun 2007 01:10 PM
    Hi Richard,
    I can use bootme and ethernet, or I can put the NK.BIN on the CF card, neither the mouse nor keyboard works. Detaching the ethernet cable does not help make the mouse or keyboard work.

    However, if I load the NK.bin from CF, and run without KITL and the ethernet disconnected, the touchscreen shows some signs of being alive. However, the x and Y axes are switched, so there is no chance that calibration will work. I have a 6.4" VGA display (5) and a 3.5" QVGA display (eight).

    When loading the image via Bootme, the touchscreen does not respond at all.

    Quote:
    Try saving the image on a CF card - that is working still correct?

    It has failed once more today, the same way. I grabbed the Lolo text and posted it in the IMX31 Forum section. I simply power cycled without touching the CF card and tried it again and it worked.

    Why do the mouse and keyboard work in the Dev Image of yours, but not my build? I have included all the necessary components as described in the USB Host readme.

    Why do I get all these Pmic Error messages in my debug output?

    Thanks for your help,

    -Kevin
    dadawan@gmail.com
    New Member
    New Member
    Posts:


    --
    07 Jun 2007 03:42 PM
    I discovered the problem with the keyboard and mouse. Although I had included the USB Human Input Device (HID) Class Driver, I had not included the subitem 'USB HID Keyboard and Mouse'. Now the keyboard and mouse both work fine.


    -Kevin
    You are not authorized to post a reply.