Re: how to modify serial number of usb device by usb filter driver

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



By the way, the two devices (with identical pid/vid and serial number) work
well in Win XP, but not in Win 2k.
what's the difference?

"Doron Holan [MS]" wrote:

that is too late. you need to filter the parent hub's query device
relations. you need to filter the entire usb bus since you don't know which
port you will be attached to. this is a very difficult task, you can't
really work around your broken hw this way

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx> wrote in message
news:uVRQ2TAkGHA.1324@xxxxxxxxxxxxxxxxxxxxxxx
Add the filter which will just ignore the serial number by patching the
DEVICE_CAPABILITIES and resetting UniqueId bit.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

"curliph" <curliph@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BDBC08DD-BC5F-4382-819A-0DB6275D9197@xxxxxxxxxxxxxxxx
Thanks for your answer!
Infect, I have two usb device with the same pid/vid and serial number.
them can not co-exist in windows...
for certain reason,I have to fix the bug by modify somthing inside os..
I think I should change the string of iSerialNumber before os load
usbstor.sys.
so,the changed value should be used by usb core or even lower drivers.
right?
but I don't know how to do that!


"Doron Holan [MS]" wrote:

what side affect do you want your change to have? that the usb core
not
use
it for a unique ID or that usbstor uses your changed value ?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no
rights.


"curliph" <curliph@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1683548F-03C7-4752-A1AB-8F8695509BA5@xxxxxxxxxxxxxxxx
hi, I want to modify the serial number or PID/VID of my usb mass
stroage
disk.
I try it by an usb class filter driver to capture the
URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE,then modify the data...
But,It seems useless!
how should I do? many thanks!







.



Relevant Pages

  • Re: how to modify serial number of usb device by usb filter driver
    ... Add the filter which will just ignore the serial number by patching the ... I have two usb device with the same pid/vid and serial number. ... Please do not send e-mail directly to this alias. ... I try it by an usb class filter driver to capture the ...
    (microsoft.public.development.device.drivers)
  • Sound, dual soundcards, second attempt (better I hope)
    ... PCI: PCI BIOS revision 2.10 entry at 0xfdb01, ... Journalled Block Device driver loaded ... usb.c: new USB bus registered, ... alias char-major-10-175 agpgart ...
    (comp.os.linux)
  • Re: Tracking the sound problem.
    ... On Sunday 10 February 2008 06:58, Tim wrote: ... The way I've always understood this, regarding USB devices that use ... If your actual soundcard is aliased as card0, ... The fix I've had to use since FC1, and on other distro's too, is to set alias, ...
    (Fedora)
  • Re: USB to Serial Convertor
    ... KMDF USB APIs ... Please do not send e-mail directly to this alias. ... I think its time for me to start working on KMDF serial sample. ...
    (microsoft.public.development.device.drivers)
  • Re: WDF supplied functions send reset packet twice through USB
    ... Please do not send e-mail directly to this alias. ... I see it on both USB 1.1 ... The time between two reset packets is small, ... if DFU DETACH request is accepted and DFU mode is activated, ...
    (microsoft.public.development.device.drivers)