x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

USB IrDA (MosChip MCS7780) Does not Load Driver

torch Page Icon Posted 2023-08-22 11:14 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,755
Location:
United States 
Status:
I managed to locate drivers for the MosChip MCS7780 USB IrDA adapter for Windows CE (x86)

I'm able to install the .cab file and it completes successfully, but when I type in the driver name, and click okay, the window disappears and quickly reappears prompting for driver name, which leads me to believe that the driver didn't take.

I'm wondering if perhaps this driver/cab is hardcoded somehow to Windows CE 5.0.

I am uploading the .inf code from the extracted cab to see if this helps
Fyi, I'm trying to use this driver on Windows CE 6.0 for the HP t5540 (x86 processor)

Show spoiler...
[Version]
Signature = "$Chicago$"
CESignature = "$Windows CE$"
Provider = "MosChip SemiConductor"

[CEStrings]
Appname = "MosUsbIr"
InstallDir = "%CE2%" ; (%CE2%)

[SourceDisksNames]
1 = ,"Dir1",,.\Windows

[SourceDisksFiles]
MosUsbIr.dll = 1 ; 001

[DefaultInstall]
AddReg = ClesRegistre
CopyFiles = CopierVersDir00

[CopierVersDir00] ; (%CE2% : \Windows)
MosUsbIr.dll,,,0x00000001

[DestinationDirs]
CopierVersDir00 = 0, %InstallDir%

[Strings]
reg_path00 = Drivers\USB\LoadClients\38672_30592\255_0_255\Default\mosusbIr
reg_path01 = Drivers\USB\ClientDrivers\Default

[ClesRegistre]
HKLM,%reg_path00%,Dll,0x00000000,mosusbIr.Dll
HKLM,%reg_path01%,Dll,0x00000000,mosusbIr.Dll

Edit: also dependency walker shows I need coredll.dll, ndis.dll, and usbd.dll

Edited by torch 2023-08-23 1:11 AM
 Top of the page
C:Amie Page Icon Posted 2023-08-23 6:28 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,007
Location:
United Kingdom
Status:
It isn't impossible that it is hard coded for CE 5, but unlikely that the developer would do that. The DLL is compiled for 486, so there is no reason why it should not work on your 686 machine.
 Top of the page
torch Page Icon Posted 2023-08-24 5:42 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,755
Location:
United States 
Status:
Understood.
Do you know what it means when CE keeps prompting for the .dll driver name over and over?

So:
-I plug USB device in
-CE prompts for driver name
-I type driver name, and click ok
-The window disappears, but then reappears, basically creating a "loop"
-CE prompts for driver name
 Top of the page
C:Amie Page Icon Posted 2023-08-24 6:45 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,007
Location:
United Kingdom
Status:
It means that the driver load failed
 Top of the page
torch Page Icon Posted 2023-08-24 7:13 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,755
Location:
United States 
Status:
Okay, I thought about using CabMaker to just make a new cab then.

I'm not very good at converting the jargon in the inf file for the cabmaker
Do I need to do the hives or just the RK portion?
Show spoiler...
*****************************************************************************************************************************************************************

Hives Root String

001 HKLM Drivers\USB\LoadClients\38672_30592\255_0_255\Default\mosusbIr
002 HKLM Drivers\USB\ClientDrivers\Default

*****************************************************************************************************************************************************************

R.K. ID Key Value Type

001 HKLM\Drivers\USB\LoadClients\38672_30592\255_0_255\Default\mosusbIr\Dll mosusbIr.Dll REG_SZ
002 HKLM\Drivers\USB\ClientDrivers\Default\Dll mosusbIr.Dll REG_SZ

And how would I translate those calls into cabmaker ?

Edited by torch 2023-08-24 7:28 AM
 Top of the page
Jump to forum:
Seconds to generate: 0.186 - Cached queries : 63 - Executed queries : 8