can you provide us with the infor from
lsusb.
also run
sudo tail -f /var/log/messages # hit enter a few times.
then plug in the scanner and paste in the output in *code* tags.
[related but not the same]: here is my program for reading a magtek usb magnetic stripe credit card reader:
Code:
[schneidz@hyper temp-cc]$ cat bin2ascii.c
#include "stdio.h"
main(int argc, char *argv[])
{
int i, c;
FILE * fstream;
fstream = fopen(argv[1], "r");
c = fgetc(fstream);
for(i=0; i < 4059; i++)
fgetc(fstream);
for(i=0; i < 380; i++)
{
//printf(" i = %d \n", i);
if((i - 1) % 8 == 0)
printf("%c", c);
// if((c >= 0 && c <= 31) || (c >= 127))
// printf("");
// if(c >= 32 && c <= 126)
// printf("\n%d --- %c\n", (i - 1),c);
c = fgetc(fstream);
}
fclose(fstream);
}
i would run it by typing
bin2ascii.x /dev/ttyUSB0 and it would give me the credit card number / name / expiration date when swiped.