Strange Kingston USB issue

Status
Not open for further replies.
Duh... just fyi... don't know why I didn't think to mention this before but you can easily see which devices are connected to each of your USB 2.0 controllers in Dev Mgr by simply
> Click View->Devices by Connection
> Expand devices under ACPI (as in my example) till you get to your USB controllers then expand them

In my example, you'll see I have only one "Enhanced" (I.e. 2.0) controller. Some of the things connected to mine:
> Logitech mouse and keyboard
> HP Printer
> An external USB drive

attachment.php
 

Attachments

  • USB.jpg
    USB.jpg
    169.8 KB · Views: 37
@LA

What I got in the instances where i installed OS without attaching the device, that the device was listed as "USB Storage Device", it does have capacity to take in SD card, but the OS wouldn't see it as Wireless Broadband connector (driver would install normally though).

Anyway, it is one of those peculiar issues which may be solvable. Luckily I stumbled upon a bit more easier way to get around it.
 
UPDATE:

I finally got that pen drive from my friend again today. Did not work under Windows XP. I was unable to transfer a 3.2GB file into it. However, formatting (not quick formatting) was successful whereas it had failed on Windows 7.

I used another Kingston pendrive (not identical) belonging to another friend. It worked absolutely fine on XP and Win 7.

I give up!!! Any ideas?
 
Frankly I am unable to come up with any explanation of this behavior. I've never heard any 'firmware' update sort of thing for USB drives ....... I guess may be that is what is needed for cases like these.
 
If it's happening with just the one pen drive, it might be easiest and simplest to just chalk it up to just one of those "wonderful-world-of-windows" unknown things!

Though if you still feel the urge to screw around with it a bit more... could you summarize/tell me here (vs. me trying to dig it out by going back in the thread)
1. Did you ever reinstall the controllers and m/b chipset drivers?
  • btw.. I've since updated my post a bit [post=751005]How to Reinstall Your USB Controllers and Motherboard Chipset Drivers[/post]
  • To answer i think one of your prior questions: It is possible the chipset drivers will vary between XP and Win 7. You can only tell by checking if the same or different drivers are provided on the m/b download support site

2. When you say it worked under one OS not the other, did you dual boot on the same hardware? or did you test the different OS on different hardware?

3. Last, i might be able to learn more if you tell me the Hardware ID. Plug in the device, find it in Device Manager under USB category. (should appear as a USB Mass Storage Device).
> Confirm it's the right device by unplugging/replugging it and watch its USB Mass Storage device entry disappear/reappear in Device Manager
> Then rt click Properties, click Details tab. Select either Hardware ID or Device Instance ID in the pull down tab.
> If Win 7, you can copy paste what you see
> If XP, you can take a snapshot or use SysExporter to grab the text for copy/paste
 
@LA

In my case this Huawei Wireless Broadband device is listed as 'USB Composite Device', and also as 'USB Mass Storage Device.

The 3rd entry belongs to Huawei device I think, and first two I haven't checked yet;

1. USB\VID_064E&PID_C107&REV_0100
2. USB\VID_09DA&PID_024F&REV_0001
3. USB\VID_12D1&PID_1412&REV_0000

For the storage card option of Huawei the hardware id is:

4. USB\VID_12D1&PID_1412&REV_0000&MI_03
 
Hi Archean

Your situation is another good mystery in the “wonderful-world-of-windows”. I can offer some info and theory but, unfortunately, not a good, solid explanation.

First, a little background on Plug and Play (PnP) devices, drivers, the Windows install process and log files

You might also skim through another post I wrote awhile back. It needs updating ( when I can get to it) but I provide some more details below
==> See [post=755153]Plug and Play Overview: How Windows Finds Drivers for USB Devices[/post]​

The firmware on every PnP device is programmed by the manufacturer to include the device's PnP ID strings. These strings include things like the device's Hardware IDs and Compatible IDs. The PnP IDs are a fundamental part of how PnP works

When you first connect a PnP device there’s a PnP handshake

Windows <-----------------------------------------------> PnP Device
  1. Device is plugged/unplugged from a data bus (e.g. PCI or USB)
  2. Windows detects the electrical change on the bus
    > For USB, the change is detected and propagated by each USB hub
  3. Windows figures out what devices arrived or were just unplugged by broadcasting a “who’s there” on the bus and pinging devices for their PnP ID strings
  4. Windows uses a DRIVERPATH variable in the registry to search throughout your disk and look at every driver on your disk
    • It uses both the device Hardware IDs and Compatible IDs to match the device to possible drivers
    • During this search process, Windows builds a list of all possible driver "candidates"
      ==> Windows often finds multiple different driver choices on your disk given a device's PnP IDs. They all become "candidates"
  5. After Windows finishes searching the disk and building its candidate list* (see footnote below), Windows goes through the list to numerically rank each candidate using a number of different criteria
  6. Windows selects and installs the driver it ranks as "best of bunch"
*Note: Windows' search for driver candidates might also include drivers it found by searching the internet using Windows Update

It's important to note: Steps 1 – 4 do not require a driver. In fact, they're specifically designed to work without a driver as the PnP ID strings are what allow Windows to find the driver in the first place!

Also note, PnP ID strings convey a minimal amount of info to Windows. Windows doesn’t really understand what the device is until it can locate a suitable driver. It’s the data contained within the driver that identifies the device, what it can do and how Windows can control and use its functionality. (That;s why devices without drivers typically appear in Device Manager listed under Other devices as Windows doesn't yet know what it is. So, it doesn't know how to categorize it)

All of this leading to what i can only guess might cause your problem. The problem might be
  • Electrical/Firmware. Whether the device is plugged/unplugged during the install is affecting the handshake (which, of course, is much more complicated then my simple overview) OR
  • Software. It might be possible that for some reason whether the device is plugged/unplugged during the OS install is affecting how Windows creates its list of candidates so it's actually selecting two different drivers for the two different cases. And one of the two drivers is problematic.
Log files
There may or may not be some footprints left behind. In either case, it can be helpful to know that for Vista and Windows 7 in C:\Windows you'll find Windows log files
> setuperr.log: Logs errors that occur during the OS installation process
> setupact.log: Logs (i.e. traces) Device Manager (install/uninstall) events. There are registry values which control how detailed it gets during the trace

For XP: there's a setupapi.log file to trace Device Manager events
 
@Archean

In addition to the above info, i should add...

i can point you to tools (and help in running them and interpreting their result) that might (or may not) shed some light on what drivers are involved and what Device Manager is doing before, during, and after this device is installed (as well as the specific driver files involved including what drivers make it onto Windows "candidate" list) but don't know you want to go through the effort or risk another problematic situation with the device?

And, of course, I can't predict if any of the effort will lead to finding the real cause... but, hey, i'm still willing to give it a shot if you want

/* edit */
btw.. based on a quick look, shown below is what I found for the device enumerations based on the Hardware ID

Note the first Hardware ID is defined as a USB Composite Device because it supports multiple other USB "device interfaces". Each of the interfaces that follow it has its own Hardware ID (Note each one basically appends _MIxx on the end of the Composite Device ID where xx is an incrementally increasing number)
Code:
Device name: USB Composite Device
Device ID: USB\VID_12D1& PID_1412\5& 2D4F6FC3& 0& 2
Class: {36fc9e60-c465-11cf-8056-444553540000}
Version: 6.1.7137.0

Device name: HUAWEI Mobile Connect - 3G Modem
Device ID: USB\VID_12D1& PID_1412& MI_00\6& F465186& 2& 0000
Class: {4d36e96d-e325-11ce-bfc1-08002be10318}
Version: 2.0.3.819

Device name: HUAWEI Mobile Connect - 3G Application Interface (COM5)
Device ID: USB\VID_12D1& PID_1412& MI_01\6& F465186& 2& 0001
Class: {4d36e978-e325-11ce-bfc1-08002be10318}
Version: 2.0.3.819

Device name: HUAWEI Mobile Connect - 3G PC UI Interface (COM4)
Device ID: USB\VID_12D1& PID_1412& MI_02\6& F465186& 2& 0002
Class: {4d36e978-e325-11ce-bfc1-08002be10318}
Version: 2.0.3.819

Device name: USB Mass Storage Device
Device ID: USB\VID_12D1& PID_1412& MI_03\6& F465186& 2& 0003
Class: {36fc9e60-c465-11cf-8056-444553540000}
Version: 6.1.7137.0

Device name: HUAWEI Mobile Connect - 3G GPS Interface (COM7)
Device ID: USB\VID_12D1& PID_1412& MI_04\6& F465186& 2& 0004
Class: {4d36e978-e325-11ce-bfc1-08002be10318}
Version: 2.0.3.819
 
Well, I would rather sacrifice current os installation on my desktop to try and find out what is happening; instead of my notebook as I need it at work and stuff.
 
2. When you say it worked under one OS not the other, did you dual boot on the same hardware? or did you test the different OS on different hardware?

Hi LookinAround. First off, the pen drive did not "work" under the other OS. My other OS is Windows XP. It's on a separate HDD on the same machine in which I have Windows 7. This HDD is usually left disconnected as I don't use XP any longer. I just plugged it back in to test the pen drive. So XP runs on the identical hardware as Windows 7. The only difference on using XP was that "Format" worked whereas only "Quick Format" works in Win 7. However, all attempts to transfer files failed.

Other USB drives work perfectly on both XP and 7.

1. Did you ever reinstall the controllers and m/b chipset drivers?

I did not reinstall the m/b chipset drivers. Actually, I think that I did not need to install separate motherboard chipset drivers on Windows 7. Everything runs fine on the generic drivers. I did, however, reinstall the controllers in the way you had described.

I don't think it's related to the chipset drivers as XP has them installed and the issue persists there too.

I will do the rest that you've suggested once I get that drive again from my friend.

Thanks a lot for being so patient. It's not really that big an issue as I can use all other USB drives perfectly on my machine. But I'd really like to know why only this one refuses to work. :)
 
@ritwik7
I'll follow up when I have chance to look through some things

@Archean
Don't reinstall Win 7 yet. We'll first collect some info about your current system state and Huawei drivers.

Devcon tool
Devcon is an MS tool. It provides a command line interface for managing and reporting on Windows' devices
> Download devcon to your desktop
==> Unzip and move either the 32 or 64 bit version to C:\Windows\Sytem32
> Copy/paste the script in the code box below into a .bat file
> Rt click the .bat file and run it as admin. Attach the device.txt file it creates on your desktop to next post

Just fyi.. The devcon commands in the script below will display various detail about each of the Huawei device driver interfaces currently installed on your machine. For each device driver interface, the commands report:
  • hwids - Reports the Hardware IDs and Compatible IDs for each device interface
  • drivernodes - Windows reports its list of driver "candidates" it found on your hard drive along with the numerical rank it assigned each node
  • driverfiles - Reports all the driver files associated with the driver node which it selected as "best of bunch" and is currently installed
  • status - driver status of each device interface
  • stack - driver stack of each interface (this includes detail about any driver filters installed and the order in which the filters are called. fyi: On a couple occasion, i've found the order can make a difference in how the device behaves)

Code:
echo "******* HWIDS *******"> "%userprofile%\desktop\device.txt"
devcon hwids "USB\VID_12D1&PID_1412*" >> "%userprofile%\desktop\device.txt"

echo "******* DRIVERFILES *******">> "%userprofile%\desktop\device.txt"
devcon driverfiles "USB\VID_12D1&PID_1412*" >> "%userprofile%\desktop\device.txt"

echo "******* DRIVERNODES *******">> "%userprofile%\desktop\device.txt"
devcon drivernodes "USB\VID_12D1&PID_1412*" >> "%userprofile%\desktop\device.txt"

echo "******* STACK *******">> "%userprofile%\desktop\device.txt"
devcon stack "USB\VID_12D1&PID_1412*" >> "%userprofile%\desktop\device.txt"

echo "******* STATUS *******">> "%userprofile%\desktop\device.txt"
devcon status "USB\VID_12D1&PID_1412*" >> "%userprofile%\desktop\device.txt"

Device Management Trace Log
I've run trace logs in XP but not yet for Win 7 so i need to try it on my machine first before i give instruction. But some questions first (answer what you can but don't try yet)
1. Do you know if you can currently unplug/replug the device OK?
2. Do you know if you can currently uninstall/reinstall the device OK?

/* edit */
Huawei support
I couldn't find any support for your device on the Huawei site? Or did i miss something????? On the other hand, i did find a patch somewhere for Windows 7. Are you aware of any Windows 7 patches? Have you applied any patches yet?
 
USB\VID_0951&PID_1613&REV_0200
USB\VID_0951&PID_1613

Hi Ritwik7

I'm not suggesting you change anything (that's up to you) but here's a few interesting things to note:

1. Kingston Device
You probably already knew this point but based on your HW IDs i'm guessing your "Kingston" device is, more specifically, a Kingston DataTraveler 101?

2. Your BIOS
ASUS's BIOS list for your m/b shows the same set of BIOS releases for both XP x64 and Win 7 x64. No big surprise there but i also see
> Did you know ASUS posted a very recent BIOS update for your m/b released 4/30/10?
> It's up to you if you want to install it or not but note the release notes say "Improve system stability" which can mean quite a range of possible different things
> /* edit */ Tho, by the way, which BIOS release are you running now?

3. Your Chipset Drivers
ASUS lists two different chipset drivers: one for XP x64 and a different one for Win 7 x64
  • Win 7 x64
    => AMD Chipset Program Driver WHQL V3.0.732.0 (Package Version 8.63) for Windows 7 & Windows 64bit 7.(WHQL)
    => File Size 120.15 (MBytes)
  • XP x64
    AMD Chipset Program Driver WHQL V5.10.1000.8 (Package Version 8.561) for Windows 32/64bit XP.
    File Size 300.61 (MBytes)

/* edit */
4. Benchmark
I don;t know what to make of this data point but just passing it along.. I happened across a forum web site (in Russian?) where someone benchmarked your USB device. Crystal DiskMark is a freeware tool you can google.
Code:
Kingston DataTraveler 8Gb / DT101Y
WinXP/FAT32

Name: DT 101 II (USB2.0)

VID&PID: Vid_0951&Pid_1613
Speed: high speed

VendorID: Kingston
ProductID: DT 101 II
Product Revision: 1.00

--------------------------------------------------
CrystalDiskMark 2.2 (C) 2007-2008 hiyohiyo
Crystal Dew World : http://crystalmark.info/
--------------------------------------------------

Sequential Read : 12.918 MB/s
Sequential Write : 0.580 MB/s
Random Read 512KB : 12.913 MB/s
Random Write 512KB : 0.568 MB/s
Random Read 4KB : 3.915 MB/s
Random Write 4KB : 0.011 MB/s

Test Size : 100 MB
Date : 2009/01/11 14:51:20
 
@LA
Thankyou very much for your detailed guidelines, I will do this as soon as I get some time, as this week is sort of hellish at work. Regards
 
@Archean

No worries. Take your time. I also still need to play around w/running device logging under Win 7 myself when i have the time ...

btw.. just to note when i said earlier
The PnP handshake is much more complicated then my simple overview
Note: that means i know it's much more complicated.. but not that i know how to debug the handshake and things at the electrical or USB protocol level ;) So, I'm glad to help "take a peek under the hood", so to speak, and explain what i see, but can't predict if we'll ultimately find the root cause
 
Hi LookinAround.

Thanks for all those inputs. My semester examinations are coming up so I wont be messing around with the system for now. However, once they're over I intend to do a fresh install of the OS. If the drive refuses to work after that then I might consider a BIOS update. :)
 
Hi guys!

Another update on the "Curse of the Kingston".

Re-installed Windows 7 (x64). This time I used AHCI. Installed the motherboard chipset drivers provided by ASUS instead of using the Windows 7 generic drivers.

The USB drive still failed to function properly. :(
 
Hey Ritwik!

Thanks for the update. Are you going to try the BIOS update too?

I'd guess the BIOS update as best 50/50 chance of fixing the mysterious Kingston problem but I'd be inclined to do it more so based on the release notes "Improves System stability" but, in any case, that's up to you.

I would, however, also recommend installing the vendor's network driver (i vaguely recall from one of the threads that you said you were using a generic network driver)
 
@LA
First of all sorry for delay in response, but as I said I've been extremely busy at work lately; and whenever I had bit of spare time, I just couldn't motivate myself to do this :rolleyes: .

I have tried to run devcon as per your recommendations/instructions. However, I ran into issues with regard to devcon's (x64 version) compatibility with windows 7. I received error "The image C:\Windows\System32\devcon.exe is valid, but is for machine type other than the current machine". :confused:

Anyway, when I tried to run it with x86 version it worked alright. I have attached the log for your review.

Lastly, Thankyou for your much valued efforts to help. Regards

Edit:
Disregard my comment about x64 version, as it is IA64 (I'm assuming its for Itanium based machines) not x64.
 

Attachments

  • device.txt
    7.8 KB · Views: 1
First of all sorry for delay in response, but as I said I've been extremely busy at work lately; and whenever I had bit of spare time, I just couldn't motivate myself to do this
No worries. This is just a "curiosity excursion" for both of us (as i understand you currently have things working?) so we can both keep it low priority is OK. And should it become too much work for either, is cool if either one calls it quits :)

Disregard my comment about x64 version, as it is IA64 (I'm assuming its for Itanium based machines) not x64.
Thank you!! See, I've already learned something during our excursion. I've never actually used the IA64 version myself so would have made the same mistake! :)

Other points
1. Did you ever apply any Win7 updates for your drivers? Now i don't remember where i found it, but i had downloaded a Win7 driver patch. I uploaded it now to my DropBox account.
==> Also, i looked (but maybe didn't find?) Huwaeii's actual support site for this device? is there a link?

2. If we were to try uninstall/reinstall the drivers on your current Win7 installed partition do you know if would work? or fail?

I also want to minimize any chance/impact of you having a Win7 system without working Huwaei drivers. So also want to understand our "testing sandbox" setup.
  • Would you want to first create a clone image of the working partition before we start?
  • Or would you want to install a new Win7 partition on your machine to be used as "our sandbox" so you can easily boot into our test environment or a Win7 partition you know you can still use when needed?
  • Or other approach you may want to do?

3. The devcon output file you attached doesn't show any surprises on quick glance
> Each of the mulitple interfaces in your "Composite Device" appears to have installed OK and their driver status is OK
> Also, appears Windows only found one suitable driver for each interface (so doesn't look like your problem would have anything to do with Windows having multiple and different driver candidates to choose from)

I'd guess next steps would be
1. Uninstalling all the drivers
2. Turn on device manager trace logs then reinstall the drivers to get a trace where everything works OK
3. Then we'd want to also create a trace file where the reinstall fails and also then run another devcon script so i could look at/compare the data for the two cases

The trace logs will probably be too large to upload on TechSpot so we can swap them either on file sharing site or private email. In any case, when you have the time, answer my questions above and then i lay out instructions for next steps
 
I haven't applied that patch frankly.

Once windows 7 is installed with the device attached, it works without any issues, even if you uninstall and then reinstall drivers.

I will make room for an additional partition to install a fresh copy of windows 7 (just want to start from zero so we do not have any thing else interfering with this).

My feeling is its not the driver issue, its rather windows is unable to somehow detect 'Wireless Broadband' connectivity of this device during PnP handshake. By the way, in this scenario the driver is installed without any issues, its only when I open the Mobile Partner (its front end interface) to connect the device to ISP that it says "Device is not Detected".

Now I think, more appropriate approach right now would be install a fresh copy, and apply that windows patch, then connect the device and see how things go. What is your views on this?

By the way, this issue occurs both on x86 and x64 versions of Win7.
 
quick update... i'm trying to figure out why i can't get Device Manager traces to work in Win 7. Will post again when i have more news...
 
Status
Not open for further replies.
Back