I had the old Dallas One Wire system with the weather station and more. It also had an USB to one wire dongle and at the time Dallas had example code. In your case back to Maxim to see if they have example code and drivers.
In short I had to install the driver for the USB dongle then the apps would work.
I am trying to write a C program to communicate with some OneWire devices from a Windows PC via a Maxim DS9490R USB-to-OneWire bridge. The C program (a simple command line application) is built using Visual Studio C++. I am having trouble with the CreateFile() function. What string do I have to supply as the "filename" parameter (the first parameter) to identify the DS9490R, which is plugged into a USB port on my PC? The code that I am basing my program on (part of Maxim's OneWire Public Domain API) contains the comment "For this platform use format '\\.\DS2490-X' where X is the port number". DS2490 is the name of the chip inside the DS9490R. I have tried the format given, and many variations of it, and all give me an error "Error 23: Failed to acquire a necessary system resource". I know that the hardware is working, because a different Maxim application (OneWireViewer, a Java app) works perfectly well, and finds the DS9490R, and the devices attached to the OneWire network, and can read values back from them. I just need to make this work in my C program.
I hope someone can give me a hint that can get me over this hurdle.
Thanks - Rowan

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic