Greetings,
Device::HID is failing to get the usb device when Device::USB appears to get it.
bash$ perl irrad_hid_probe.pl
Failed to hid_open at irrad_hid_probe.pl line 12.
No such device!
use Device::HID;
my $dev = Device::HID->new(vendor => 0x10c4, product => 0x63cd) or die "No such device!\n";
vs
use Device::USB;
my $usb = Device::USB->new();
...
my $dev = $usb->find_device( 0x10c4, 0x63cd );
$dev->open();
print "Manufactured by ", $dev->manufacturer(), "\n",
" Product: ", $dev->product(), "\n";
...
How can I debug this?
Greetings,
Device::HID is failing to get the usb device when Device::USB appears to get it.
bash$ perl irrad_hid_probe.pl
Failed to hid_open at irrad_hid_probe.pl line 12.
No such device!
vs
How can I debug this?