I have a USB NFC reader that works, but only if it is physically connected after I start my userspace program. If it's already attached, I need to unplug and plug it back into be seen. It's using libnfc so there aren't any device drivers involved. I've tried an assortment of udev rules but none have worked thus far. The error in dmesg originally looked like this which gave me a hint to my problem:
usb 1-1.3.1: usbfs: interface 0 claimed by usbfs while 'myProg' sets config #1
I added a udev rule so it doesn't say this anymore, but it still doesn't work. Any ideas?