Re: how to modify serial number of usb device by usb filter driver
- From: curliph <curliph@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Jun 2006 20:17:02 -0700
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!use
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
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!
- Follow-Ups:
- Re: how to modify serial number of usb device by usb filter driver
- From: Doron Holan [MS]
- Re: how to modify serial number of usb device by usb filter driver
- References:
- Re: how to modify serial number of usb device by usb filter driver?
- From: Doron Holan [MS]
- Re: how to modify serial number of usb device by usb filter driver
- From: Maxim S. Shatskih
- Re: how to modify serial number of usb device by usb filter driver
- From: Doron Holan [MS]
- Re: how to modify serial number of usb device by usb filter driver?
- Prev by Date: Re: Newbie: need to develop a filter driver for a USB device ?
- Next by Date: Re: how to modify serial number of usb device by usb filter driver
- Previous by thread: Re: how to modify serial number of usb device by usb filter driver
- Next by thread: Re: how to modify serial number of usb device by usb filter driver
- Index(es):
Relevant Pages
|