Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Ubuntu 10.10 in my PC. After that I try to plug in USB barcode scanner, but after I have scanned some barcode, the data does not show.

Why its happen? I use Scan Logic SL-1000-LR barcode scanner. could you give some advice?

I have tried dmesg | grep usb and got :

    [    1.573751] usbcore: registered new interface driver usbfs
[    1.573751] usbcore: registered new interface driver hub
[    1.573751] usbcore: registered new device driver usb
[    2.360026] usb 2-1: new low speed USB device using uhci_hcd and address 2
[    2.764025] usb 2-2: new low speed USB device using uhci_hcd and address 3
[    2.966136] usbcore: registered new interface driver hiddev
[    2.979023] input: OM as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input2
[    2.979169] generic-usb 0003:04F3:0232.0001: input,hidraw0: USB HID v1.11 Mouse [OM] on usb-0000:00:1d.0-1/input0
[    3.009021] input: HID 04d9:1203 as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input3
[    3.009130] generic-usb 0003:04D9:1203.0002: input,hidraw1: USB HID v1.11 Keyboard [HID 04d9:1203] on usb-0000:00:1d.0-2/input0
[    3.070607] input: HID 04d9:1203 as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.1/input/input4
[    3.070726] generic-usb 0003:04D9:1203.0003: input,hidraw2: USB HID v1.11 Device [HID 04d9:1203] on usb-0000:00:1d.0-2/input1
[    3.070752] usbcore: registered new interface driver usbhid
[    3.070755] usbhid: USB HID core driver
[   16.840996] usbcore: registered new interface driver ndiswrapper

but I don't know what should I do after this.

share|improve this question
I assume Scan Logic SL-1000-LR is the device (please tell me if I'm wrong), what kind of software do you use? – Michael K Feb 16 '11 at 8:15
ya.its kind of barcode scanner device.what software do you mean? – klox Feb 16 '11 at 8:20
You need some kind of software to use devices like barcode scanners, don't you? What program did you use to get the data before you installed ubuntu? Maybe this is helpful for you. – Michael K Feb 16 '11 at 8:45
i'm not use different program.but use different input device. 1st use keyboard type manually, and now i try to use barcode scanner. – klox Feb 16 '11 at 9:10
@Michael K: Most barcode scanners operate as a "keyboard wedge" - the older ones used to have PS/2 connectors and were wired between the normal keyboard and the PC's keyboard port. Newer ones act as USB keyboard devices - so any PC and any modern O/S should recognise it as a keyboard device. You shouldn't need extra drivers so far as I know. – RedGrittyBrick Feb 16 '11 at 9:25

The only descriptive information Google can find on the Scanlogic LS1000 is at an Indonesian website and they don't have any support pages for the product (only the usual marketing specification). The lack of support information doesn't give me much confidence in the product.

I don't know whether Ubuntu 10.10 supports the hot-plugging of keyboards so I would try powering the computer off and on again with the scanner connected.

It may be that the scanner doesn't implement the USB HID standards sufficiently fully for Ubuntu but does it well enough for Windows to recognise it. I am just speculating. In this case I would try a different USB barcode scanner - preferably one from a well-known manufacturer. This might help identify if the problem is with the PC, Ubuntu or the SL1000.

The output from dmesg | grep usb should be useful, it looks like it might have detected the USB scanner as a keyboard device on usb-0000:00:1d.0-2/input1. To be sure I'd disconnect it, reboot and compare the output of dmesg | grep usb with and without the scanner connected.

In theory I'd expect messages to be logged whenever you connect or disconnect a USB device - but I haven't tested this.

The Opticon OPI2002 USB version supports either Human Interface Device (HID) or Virtual Com Port (VCP) profiles. To be recognised as a keyboard, it would have to be switched to HID mode. As with many scanners you configure it by scanning special bar-codes from a "menubook" supplement to the user guide. I would start by scanning the "reset to factory default" barcode. On page U6 is a barcode for "USB-HID" - scan that. Make sure power is connected and that you can see the red beam when you pull the trigger.

share|improve this answer
i have tried to unplug then reboot, after that i call dmesg | grep usb again. But the result is still same. Nothing changed. I have tried with another barcode scanner, use Opticon OPI-2002 but it have same problem too.Any suggestion for this case? – klox Feb 17 '11 at 2:22 barcode scanner can't work in windows too.why? but last time either in ubuntu 10.04 or windows xp it works. – klox Feb 17 '11 at 4:01
I have updated my answer to cover the Opticon OPI2002 - at least Opticon provide a decent level of support - the manual and menubook are available as PDF downloads. – RedGrittyBrick Feb 17 '11 at 9:46
up vote 0 down vote accepted

For USB Barcode Scanner i get no answer. I still can't work with that in ubuntu 10.10. I have try like RedGrittyBrick said, but it still same.

After that i try to Serial Barcode scanner, and i got the same problem. But i try to find the answer in google. Some sites told me that some app. in Ubuntu 10.10 not work properly. So, it needs to download some software from Ubuntu Software Centre.

Like Xoscope, we need to install alsa-oss. And for this case i choose to use serial barcode scanner, then i install Softwedge. After that i type some commands:

softwedge -c /dev/ttywhatever

After i use this, i can scan the barcode normally.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .