Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a USB Zebex barcode scanner, this device works properly using WinXP , Vista when I open notepad. However I can't get it to work on Ubunbodytu. I open Gedit, and it makes the same noise as in Win, but nothing scans.

If any advise will be appreciated

share|improve this question
    
Looking around, I see that it also doesn't work in Xubuntu. In OpenSuse it works without a problem. Maybe you need some additional drivers (keyboard, maybe?). –  alex Sep 14 '09 at 14:08
    
It's really weird, going to have to search for a solution –  Roland Sep 14 '09 at 19:12
    
usb keyword works 100% –  Roland Sep 14 '09 at 19:23

2 Answers 2

up vote 1 down vote accepted
+100

Two things you could try:

xinput list

This will give you a list of all input devices that are recognized by Xorg and allows you to enable or disable devices as well as test them (replace ${DEVICEID} with what is displayed by xinput list):

xinput set-int-prop ${DEVICEID} 'Device Enabled' 32 1
xinput test ${DEVICEID}

Second thing you could try would be the more low-level evtest tool (replace /dev/input/eventX with the proper device file):

evtest /dev/input/eventX

It should print events to the screen when it gets data. evtest is part of the joystick package in Ubuntu.

Neither of these will make your Barcode scanner work, but they will allow you to figure out where the problem is. If evtest works, but xinput doesn't, then you have to tweak your Xorg.conf and manually add it as extra keyboard, if neither works then its a Kernel driver problem.

share|improve this answer

Does the sound come from the PC speakers or from the scanner?

Check and make sure the scanner is properly detected

dmesg

and see if you have something that looks like this when you plug in the scanner

usb 5-1: new low speed USB device using uhci_hcd and address 2
usb 5-1: new device found, idVendor=0000, idProduct=0001
usb 5-1: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 5-1: configuration #1 chosen from 1 choice
input: HID 0000:0001 as /class/input/input6
input: USB HID v1.00 Keyboard [HID 0000:0001] on usb-0000:00:10.3-1

if you see the above, then you should also see events in dmesg after you push the scan button.

if you dont see the above, then you probably need to initialize the usb keyboard module with you might try

sudo modprobe usbkbd
share|improve this answer
    
Yes, it makes a noise. initialized the usb keyboard and still nothing –  Roland Sep 14 '09 at 15:24

protected by Community May 20 at 20:25

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.