Msr, Intermac Scanner, And Omni Scanner Configuration - IBM 4800-C41 Configuration Manual

Linux operating systems
Table of Contents

Advertisement

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 ttyUSBUSB_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/ttySn
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/ttyUSBUSB_port /dev/ttySn
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/ttySn
7. On the command line, enter the following:
/bin/stty -F /dev/ttySn 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/ttySn
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

Advertisement

Table of Contents
loading

Table of Contents