MSR, Intermac scanner, and Omni scanner configuration
To configure a magnetic stripe reader (MSR) (0x4b3/4543), or an Intermac (0x4b3/454b) or Omni
(0x4b3/454c) scanner:
1.
On the command line, enter the following:
mount -t usbfs usbfs /proc/bus/usb
2.
If the scanner is driven correctly by the driver, you will see the ID of the device in
/proc/bus/usb/devices. For example, an Intermac (0x4b3/454b) scanner shows:
T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2
P: Vendor=04b3 ProdID=454b Rev= 1.01
S: Manufacturer=I.B.M. Corp.
S: Product=I.B.M. Bar Code Scanner
S: SerialNumber=USBSCANNER00000000001
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
C:* #Ifs= 1 Cfg#= 2 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=ti_usb_3410_5052
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl=1ms
3.
Check the dmesg.txt file to determine the port to which the device is linked. In this example, the
Intermac scanner is linked to USB port 3-2:
usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: configuration #1 chosen from 2 choices
usb 3-2: New USB device found, idVendor=04b3, idProduct=454b
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: I.B.M. Bar Code Scanner
usb 3-2: Manufacturer: I.B.M. Corp.
usb 3-2: SerialNumber: USBSCANNER00000000001
You will also see
ttyUSB
USB_port
in /sys/bus/usb/devices/3-2 if it is driven successfully, where
USB_port
is the USB port number to which it is linked.
4.
On the command line, enter the following:
rm -fr /dev/ttyS
n
where
n
is the ttyS number for the RS-232 serial port to which the scanner is attached (which is a
value one less than the physically enumerated port number, because ttyS numbering starts with 0 not
1).
5.
On the command line, enter the following:
ln -s /dev/ttyUSB
USB_port
/dev/ttyS
n
to link the USB port from dmesg.txt to the serial port to which the scanner is connected.
6.
On the command line, enter the following:
chmod 666 /dev/ttyS
n
7.
On the command line, enter the following:
/bin/stty -F /dev/ttyS
n
9600 raw -echo
Note:
For MSRs and Intermac scanners use
19200
in place of
9600
.
If successful, the scanner will light up.
8.
On the command line, enter the following:
cat /dev/ttyS
n
9.
Scan a barcode and confirm that there is output on the display. For an MSR, swipe a magnetic card
and confirm that there is output.
Chapter 1. Common configuration procedures
7
Summary of Contents for 4800-C41
Page 1: ...Point Of Sale Linux Operating Systems Configuration Guide G362 0570 00...
Page 2: ......
Page 3: ...Point Of Sale Linux Operating Systems Configuration Guide G362 0570 00...
Page 6: ...iv Linux OS Configuration...
Page 18: ...10 Linux OS Configuration...
Page 26: ...18 Linux OS Configuration...
Page 31: ...IBM IBM GA27 4004 GA27 4004 Appendix A Safety information 23...
Page 32: ...GA27 4004 GA27 4004 GA27 4004 GA27 4004 GA27 4004 GA27 4004 IBM 24 Linux OS Configuration...
Page 36: ...28 Linux OS Configuration...
Page 41: ......
Page 42: ...G362 0570 00...