PDA

View Full Version : No Index Number for USB Devices



Boeing 747 Flyer
03-03-2012, 10:43 AM
Hello everyone,

I am having a rather frustrating problem. Whenever I plug a USB Device into my PC (that is, an Opencockpits USB Device), the SIOC window shows its Index number as "*". See here:

http://i822.photobucket.com/albums/zz146/Stratuspheric/Index.jpg

As you can see, some of them have IDX numbers, and others don't. I'm trying to use Nico Kaan's OCM Module tool to interface my COm Radio to the Level-D 767, but I cannot do this until there is an established IDX number for the COM device.

I've tried swapping USB ports, etc, etc. This problem keeps happening, and it seems random.

Cheers,

Jack

jonesthesoftware
03-03-2012, 02:21 PM
Hi Jack
are you using a USB hub? If so make sure it has it's own power supply.
Have you configured your SIOC.ini with the addresses for each card?
for example in your SIOC.ini you already have

[USBKEYS]
USBKeys=4,13
USBDCmotor=2,50

but what about the other USB devices?
you should have something like

IOCard-Radio-Com =6,187
IOCard-Transpond= 7,189
IOCardUSB= 8,176
IOCard-USBDCMotr=9,38
the first number is simply to identify the particular device to SIOC and the second number is the device address on the USB bus.The first number is what you use in your .ssi file to read or write to that particular device e.g

Var 9XXX Static name Key Link USB_KEYS Device 4 for your keys


regards
geoff

Boeing 747 Flyer
03-04-2012, 08:46 AM
Hi Geoff,

Thanks for the help. I have now assigned the device its own index number in the .ini file. Previously, SIOC did this automatically so I was not used to the procedure.

Cheers,

Jack

kiek
03-04-2012, 09:14 AM
Hi Jack,

I have now assigned the device its own index number in the .ini file.
That's indeed the right procedure. SIOC does not do that for you. An exception is my Opencockpits PnP tool, it generates the sioc.ini for the user and therefore generates the IDX numbers if it succeeds in detecting the USB module ...

Cheers,
Nico