Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > USB Composite Device (Code 38)

Reply
Thread Tools Display Modes

USB Composite Device (Code 38)

 
 
Carl-Fredrik Neikter
Guest
Posts: n/a

 
      10-05-2010
Hello

We are facing a problem with a device driver to an USB-device. The USB
device is a Cinterion EU3, which is connected to our computer. During certain
circumstances, we need to restart the USB device by the AT^SMSO (Switch Off
Mobile Station) command. We can also control the shutdown of the USB device
by certain control signals (emergency reset).

However, after a shutdown and restart, the USB device is not recognized
correctly in Windows any longer. Windows reports Code 38 ("Windows cannot
load the device driver for this hardware because a previous instance of the
device driver is still in memory"). In other words, the removal (plug off) of
the device seems to be the culprit. The driver(s) cannot unload itself
completely during removal. The driver in question is USB Composite Device
(usbccgp.sys).

The USB Composite Device is a standard Microsoft driver. We have tried to
plug-in, remove and plug-in another composite device (keyboard/mouse) with no
problem at all. So it might also be the case that the dependent Cinterion
driver eu3eusbser.sys have an inherent problem that spreads to the composite
device driver.

Please note that before shut off and removal of the device, we try to close
all possible handles to the device. So this should not be a problem. Also
note that just trying do disable/enable the composite device in Device
Manager also gives the same driver loading problem, i.e. Code 38.

How should we continue the error tracing to pinpoint the problem?

--Carl-Fredrik

 
Reply With Quote
 
 
 
 
Pavel A.
Guest
Posts: n/a

 
      10-05-2010
From your description, the eu3eusbser.sys seems to be the culprit.
Possibly it holds some IRP pending, or something like that.
--pa

"Carl-Fredrik Neikter" <> wrote
in message news:16C6BD99-2FAC-4FCE-99E6-...
> Hello
>
> We are facing a problem with a device driver to an USB-device. The USB
> device is a Cinterion EU3, which is connected to our computer. During
> certain
> circumstances, we need to restart the USB device by the AT^SMSO (Switch
> Off
> Mobile Station) command. We can also control the shutdown of the USB
> device
> by certain control signals (emergency reset).
>
> However, after a shutdown and restart, the USB device is not recognized
> correctly in Windows any longer. Windows reports Code 38 ("Windows cannot
> load the device driver for this hardware because a previous instance of
> the
> device driver is still in memory"). In other words, the removal (plug off)
> of
> the device seems to be the culprit. The driver(s) cannot unload itself
> completely during removal. The driver in question is USB Composite Device
> (usbccgp.sys).
>
> The USB Composite Device is a standard Microsoft driver. We have tried to
> plug-in, remove and plug-in another composite device (keyboard/mouse) with
> no
> problem at all. So it might also be the case that the dependent Cinterion
> driver eu3eusbser.sys have an inherent problem that spreads to the
> composite
> device driver.
>
> Please note that before shut off and removal of the device, we try to
> close
> all possible handles to the device. So this should not be a problem. Also
> note that just trying do disable/enable the composite device in Device
> Manager also gives the same driver loading problem, i.e. Code 38.
>
> How should we continue the error tracing to pinpoint the problem?
>
> --Carl-Fredrik
>

 
Reply With Quote
 
Philip Ries [MSFT]
Guest
Posts: n/a

 
      10-05-2010
I've never dealt with a Code 38, but this blog post might help.

"Why doesn't my driver unload?"
http://blogs.msdn.com/b/usbcoreblog/...er-unload.aspx

Specifically you could try the debugger commands near the end.

On 10/5/2010 2:32 AM, Pavel A. wrote:
> From your description, the eu3eusbser.sys seems to be the culprit.
> Possibly it holds some IRP pending, or something like that.
> --pa
>
> "Carl-Fredrik Neikter" <>
> wrote in message news:16C6BD99-2FAC-4FCE-99E6-...
>> Hello
>>
>> We are facing a problem with a device driver to an USB-device. The USB
>> device is a Cinterion EU3, which is connected to our computer. During
>> certain
>> circumstances, we need to restart the USB device by the AT^SMSO
>> (Switch Off
>> Mobile Station) command. We can also control the shutdown of the USB
>> device
>> by certain control signals (emergency reset).
>>
>> However, after a shutdown and restart, the USB device is not recognized
>> correctly in Windows any longer. Windows reports Code 38 ("Windows cannot
>> load the device driver for this hardware because a previous instance
>> of the
>> device driver is still in memory"). In other words, the removal (plug
>> off) of
>> the device seems to be the culprit. The driver(s) cannot unload itself
>> completely during removal. The driver in question is USB Composite Device
>> (usbccgp.sys).
>>
>> The USB Composite Device is a standard Microsoft driver. We have tried to
>> plug-in, remove and plug-in another composite device (keyboard/mouse)
>> with no
>> problem at all. So it might also be the case that the dependent Cinterion
>> driver eu3eusbser.sys have an inherent problem that spreads to the
>> composite
>> device driver.
>>
>> Please note that before shut off and removal of the device, we try to
>> close
>> all possible handles to the device. So this should not be a problem. Also
>> note that just trying do disable/enable the composite device in Device
>> Manager also gives the same driver loading problem, i.e. Code 38.
>>
>> How should we continue the error tracing to pinpoint the problem?
>>
>> --Carl-Fredrik
>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"No Audio Output Device is installed" Paul H Windows Vista General Discussion 16 07-19-2010 11:29 PM
Windows Update Error Code: 80070005 Joe Davis Windows Update 33 05-05-2010 08:03 AM
WMDC not syncing Ben ActiveSync 19 04-25-2008 03:43 PM
Unresolved items: incredible! Massimo ActiveSync 9 04-18-2006 03:11 PM
Help !!! Unable to connecte Asus 620 Nick ActiveSync 4 05-23-2005 11:56 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59