Ingreso rápido:  

Forum: Old versions

Tema: USB vid & pid (@CSTOLL)

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

pOpYDJPRO InfinityMember since 2006
Hello Community.

A while ago i have written a Mapper for Traktor Kontrol X1. Here it is: http://www.virtualdj.com/addons/12019/NI_Kontrol_X1_def_mapper_incl__LEDs.html

It works as it should but the usb vid & pid recognition doesnt work correctly.

Here is the header (device tag) of the file:


<device name="Traktor Kontrol X1" author="Felix Geibel & pOpY" type="MIDI" decks="2" vid="0x17CC" pid="0x2305">
...
...
...
</device>



In this german thread (page 5 - topmost post) you can see the vid & pid in USB VIEW and device manager:

http://www.virtualdj.com/forums/131660/German_Forum/Traktor_Kontrol_X1.html

The VID and PID of the X1 is: " vid="0x17CC" pid="0x2305".
Also my definition file have this values.

The problem is VDJ always shows the X1, also when not connected.
Seems to me there is something wrong.
I have tested this in XP SP3 & Windows 7 x64 -> Same result. VDJ always shows the X1.

@CSTOLL: heiko has told me that I should contact you about this issue. Please take a look at my definition. Maybe there is something wrong. Or you can reproduce the problem?

cu
pOpY
 

Mensajes Tue 31 May 11 @ 1:27 pm
The definition also needs to have either sysexid= or drivername= defined, otherwise it will be applied to ALL unrecognised MIDI devices.

Try also adding drivername="Name as it appears in MIDItrace" to the definition, and if it supports SysEx ID, add this as well.

NOTE: VID/PID is not supported in Windows XP. Driver name will also not work because XP names all its MIDI devices with the generic name 'USB Audio Device' instead of the true device name. If the controller does not support SysEx ID, it will not be detected on XP (Unless you remove all means of identification to force it to be applied to all unrecognised devices.)
 

Mensajes Tue 31 May 11 @ 3:19 pm
pOpYDJPRO InfinityMember since 2006
I have asked the NI support and there is no sysexid support :-(

In earlier versions of my mapper i have worked with drivername but this hasnt worked for MACs.
But in XP this worked as it should!!!!
With MidiTrace i have found the drivername (XP):


drivername="Traktor Kontrol X1 In"


But this doesnt work on MACs.
I want a solution which works on all OSes.

My feature wish for future versions is that VDJ regonizes an MIDI device just on vid & pid :-)
This should work for all OSes (not depending on any driver or device name).

cu
pOpY

 

Mensajes Tue 31 May 11 @ 3:48 pm
cstollPRO InfinityMember since 2004
The fix for the Mac OS is to rename the device the same as used in the device file. Mac allows you to rename the device in the OSX Audio/MIDI Setup tool.
 

Mensajes Tue 31 May 11 @ 4:50 pm
pOpYDJPRO InfinityMember since 2006
Hey cstoll.

thx for the hint.
I dont have an mac so i ask some german people to try this.
If it works i will write this info intoi the readme file.

will report back

thx
pOpY
 

Mensajes Wed 01 Jun 11 @ 12:03 pm
 

Mensajes Wed 29 Jun 11 @ 5:57 am


(Los tópicos y foros antiguos son automáticamente cerrados)