Usb thumbdrive hardware Id
Usb thumbdrive hardware Id
Hi
Is there a way to attach Usb thumbdrive serial number to mounted drive? I see that there is something in the Winecfg. but it does not seem to either save the serial when I put it. Maybe it is unfuncional. The reason I am looking for a solution for this is that I have Windows app that checks the usb drives real serial number.
thanks
Is there a way to attach Usb thumbdrive serial number to mounted drive? I see that there is something in the Winecfg. but it does not seem to either save the serial when I put it. Maybe it is unfuncional. The reason I am looking for a solution for this is that I have Windows app that checks the usb drives real serial number.
thanks
Re: Usb thumbdrive hardware Id
Make sure it's mapped as a separate drive in winecfg.kartal wrote:Is there a way to attach Usb thumbdrive serial number to mounted drive? I see that there is something in the Winecfg.
If Wine still doesn't pickup the serial # the create a file ".windows-serial" in the root of the drive. And put whatever serial number you want into it.
Doesn't matter, they all have same end result (more-less).kartal wrote:Which method shall I use to mount my usb flashdrive as a unix device?
So what is your program looking for? And how is it looking for it? If it just looks for s/n of a drive it's one thing. If it trying to find something about the device via ioctls/registry - it won't work on Wine.
Hmm maybe the app is using more rigorous methods to determine the device serial. I cannot event it to recognize the drive as a valid drive.vitamin wrote:Doesn't matter, they all have same end result (more-less).kartal wrote:Which method shall I use to mount my usb flashdrive as a unix device?
So what is your program looking for? And how is it looking for it? If it just looks for s/n of a drive it's one thing. If it trying to find something about the device via ioctls/registry - it won't work on Wine.
Do you know if in the future there will be more native support of these hardware serial issues?
thanks
Then it most likely wants to see it as a device. And since Wine doesn't talk directly to HW, your program won't find the stick.kartal wrote:It cannot event it to recognize the drive as a valid drive.
In some point in the future Wine would be able to talk to USB devices directly. However not sure how much it will help in this case.kartal wrote:Do you know if in the future there will be more native support of these hardware serial issues?
Re: Usb thumbdrive hardware Id
The subject is already old but I struggled with the same problem, voyager on a usb stick, activation depends on usb id. Did not find an answer elsewhere so after some fiddling:
Even if usb is formatted in FAT32, wine shows it internally as NTFS, so start with a NTFS formatted usbstick.
Windows, go to terminal (cmd) change to volume where your usb is mounted, in this case I:, and type dir
You will see:
I:\>dir
Name of volume in station I is EMAIL8GB
Number is 58BA-7DB8
Create file .windows-serial in root usb with sole entry the volume number without the hyphen: 58BA7DB8
create file .windows-label in root usb with sole entry volume name, in this example EMAIL8GB
Activate on windows, and voyager will retain volume number when started through wine under linux and will not request a second activation any more.
Tested with wine 1.5.16 ubuntu 12.04 voyager 5.1.6.5
Even if usb is formatted in FAT32, wine shows it internally as NTFS, so start with a NTFS formatted usbstick.
Windows, go to terminal (cmd) change to volume where your usb is mounted, in this case I:, and type dir
You will see:
I:\>dir
Name of volume in station I is EMAIL8GB
Number is 58BA-7DB8
Create file .windows-serial in root usb with sole entry the volume number without the hyphen: 58BA7DB8
create file .windows-label in root usb with sole entry volume name, in this example EMAIL8GB
Activate on windows, and voyager will retain volume number when started through wine under linux and will not request a second activation any more.
Tested with wine 1.5.16 ubuntu 12.04 voyager 5.1.6.5