Hi all,

I'm developing a device based on pxa255+isp1362 usb host IC.

I've run into the next problem...

when I connect an USB Keyboard the system launches usbhid.dll,
hidparse.dll, conshid.dll and kbdhid.dll but nothing happens when I
press a key.

The controller driver should be phci2.dll provided by phytec. I also
added ohci controller but ohci.dll isnt on windows folder.

The image contains Device Drivers\Input Devices\Keyboard/Mouse. It is a
release version.

USB mouse works fine.

Am I missing something?

Thanks

Jose

RE: USB Keyboard by Anurag

Anurag
Fri Dec 29 05:18:00 CST 2006

What are the registry entries and the catalog items added into the OS
design???

"jsilengo@gmail.com" wrote:

> Hi all,
>
> I'm developing a device based on pxa255+isp1362 usb host IC.
>
> I've run into the next problem...
>
> when I connect an USB Keyboard the system launches usbhid.dll,
> hidparse.dll, conshid.dll and kbdhid.dll but nothing happens when I
> press a key.
>
> The controller driver should be phci2.dll provided by phytec. I also
> added ohci controller but ohci.dll isnt on windows folder.
>
> The image contains Device Drivers\Input Devices\Keyboard/Mouse. It is a
> release version.
>
> USB mouse works fine.
>
> Am I missing something?
>
> Thanks
>
> Jose
>
>

Re: USB Keyboard by DarthV

DarthV
Tue Jan 02 08:07:45 CST 2007

Anurag, thanx for your answer. Here config:


catalog items:
- USB P1362 Host Controller: part of BSP provided by board
manufacturer.
- USB Host Controller / OHCI: from platform builder(PB)
- Input Devices/Keyboard-Mouse/8042 Keyboard-mouse English from PB
- USB Host Support: PB. It contains OHCI Driver-Library, idem UHCI, USB
Driver and USB HID, HID class driver+Mouse+Keyboard.

Registry:
- HKLM/Drivers/builtin/ohci: I guess this is for OHCI support at
startup, but ohci.dll is not on windows folder... I've read support for
this was upto wince 4.1 and now should be ohci2.dll, but this entry is
made by system automatically, so ?????

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OHCI]
"Prefix"="HCD"
"Dll"="ohci.dll"
"Index"=dword:00000001
"Order"=dword:00000001

- HKLM/Drivers/builtin/phci: this is for loading phci2.dll driver for
USB P1362 Host Controller here is the key:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PHCI]
"Prefix"="PCD"
"Dll"="phci2.dll"
"Order"=dword:00000003
"Priority256"=dword:00000062
"SysIntr"=dword:0000001c
"MemBase"=dword:afa00000
"MemLen"=dword:00000008
"InstanceIndex"=dword:00000001
"InterfaceType"=dword:00000000
"Alone"=dword:00000001
"Otg"=dword:00000000

- HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USB: I dont know what this is
for.... PB again
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USB]
"Irq"=dword:00000000
"IoLen"=dword:00001000
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:00000000
"Prefix"="COM"
"Order"=dword:00000000
"DeviceType"=dword:00000000
"FriendlyName"="USB Cable:"
"DevConfig"=hex:\

10,00,00,00,05,00,00,00,00,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00

- HID class and drivers

[HKEY_LOCAL_MACHINE\Drivers\HID]

[HKEY_LOCAL_MACHINE\Drivers\HID\ClientDrivers]

[HKEY_LOCAL_MACHINE\Drivers\HID\ClientDrivers\Keyboard]
"DLL"="KBDHID.DLL"
"Prefix"="KBD"
"IClass"="{CBE6DDF2-F5D4-4e16-9F61-4CCC0B6695F3}"

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients]

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default]

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default]

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_2]

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_2\Mouse]
"DLL"="MOUHID.DLL"

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_6]

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_6\Keyboard]
"DLL"="KBDHID.DLL"

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\12_1]

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\12_1\Consumer]
"DLL"="CONSHID.DLL"

Also I added support for an USB fingerprint sensor device following
manufacturer recomendations:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Secugen]
"Prefix"="FDU"
"Dll"="fdu02a.dll"
"Order"=dword:00000003
"Index"=dword:00000001
"Ioctl"=dword:00000004

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\SecuGen_FDU02A_Driver]

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\255_255_255\SecuGen_FDU02A_Driver]

When I connect the keyboard, system loads the dlls and keyboard is
shown up as an active driver, also hid class

I know keyboard and isp1362 work together because there is a wince
image that actually works.... but I dont have the project... :(

Any hint????

Jose


Anurag ha escrito:

> What are the registry entries and the catalog items added into the OS
> design???
>
> "jsilengo@gmail.com" wrote:
>
> > Hi all,
> >
> > I'm developing a device based on pxa255+isp1362 usb host IC.
> >
> > I've run into the next problem...
> >
> > when I connect an USB Keyboard the system launches usbhid.dll,
> > hidparse.dll, conshid.dll and kbdhid.dll but nothing happens when I
> > press a key.
> >
> > The controller driver should be phci2.dll provided by phytec. I also
> > added ohci controller but ohci.dll isnt on windows folder.
> >
> > The image contains Device Drivers\Input Devices\Keyboard/Mouse. It is a
> > release version.
> >
> > USB mouse works fine.
> >
> > Am I missing something?
> >
> > Thanks
> >
> > Jose
> >
> >


Re: USB Keyboard by Michele

Michele
Wed Jan 03 04:28:48 CST 2007

DarthV ha scritto:

>
> Any hint????
>
> Jose

Maybe, you need the following component from the catalog:

NOP (Stub) Keyboard/Mouse English

Michele.