tags:

views:

9

answers:

0

Maybe third time's the charm. I've been working on retrofiting an existing libxt program to use input from a MIDI USB on Linux. I first tried it using oss_usb on CentOS, only to find that it doesn't work like that.

Now, I'm trying it on a Debian system, and am writing an Xt app for it. Only problem is that in my code, I'm trying to call XtAppAddInput in order to detect when the /dev/midi file descriptor is "ready", but for some reason, it hangs when I call it. Using gdb, it looks like it's going into a file called EventDispatch.c at alternating between line 944 and 943. (I also installed the debugging symbols for libxt6-dbg)