Extracting device name strings from driver

Moderator: James Steele

Forum rules
Discussion related to installation, configuration and use of MOTU hardware such as MIDI interfaces, audio interfaces, etc. with Windows
Post Reply
Quiet_Peter
Posts: 2
Joined: Fri May 13, 2005 10:01 pm
Primary DAW OS: Windows

Extracting device name strings from driver

Post by Quiet_Peter »

Hi, I have written a number of Windows applications that communicate with various MOTU FW interfaces using Martin Fay's excellent OpenASIO dll.

I need to detect the exact hardware that is attached to the user's machine in much the same way as the MOTU Audio Console has separate pages for each attached interface (e.g. 'UltraLite mk3 Hybrid', '828 mk2 FW'). The driver unusually returns channel types, sample rates etc. but I cannot see a way of retrieving the individual interface hardware description strings.

I have had a trawl through the archives but have not found a solution to this - does anyone have experience with extracting these Hardware description strings from the driver? - Thanks in advance
torrentg
Posts: 528
Joined: Tue Oct 06, 2009 7:18 am
Primary DAW OS: Windows

Re: Extracting device name strings from driver

Post by torrentg »

Wow, very cool!

I was going to suggest a few ways, but when I looked into them, I realized that they all just tell me "MOTU" and nothing about my Traveler.

That's wild, actually.

If I think of something, I'll be sure to post, but it's kind of doubtful on my end.

I'm not a programmer, but being that you are, perhaps you can reverse engineer the MOTU Audio Console to see how it does it.
torrentg
Posts: 528
Joined: Tue Oct 06, 2009 7:18 am
Primary DAW OS: Windows

Re: Extracting device name strings from driver

Post by torrentg »

I'm sure you know this, but in the off chance you do not, maybe this can help.

When you go to the Device Manager (devmgmt.msc) and right click the "Motu Audio" then go to Properties - then Details tab - then change the dropdown to say Hardware Ids, it gives a specific unit value.

For example, my Traveler reports "1394\1F2&9"

Maybe you can build a list of all the units' values and then have your program query this on the host machine when installing. How I dunno, but maybe you do.
Quiet_Peter
Posts: 2
Joined: Fri May 13, 2005 10:01 pm
Primary DAW OS: Windows

Re: Extracting device name strings from driver

Post by Quiet_Peter »

Thanks for the reply torrentg. I will take a closer look.

It does make me think of another couple of questions. All of the MOTU interfaces have unique (as far as I know) serial numbers printed on the outside. Are these serial numbers stored internally on the hardware and is there any way of getting to them programatically?
Post Reply