Re: Linux cdc-acm-driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

allthough the answer is offtopic for cdc-acm-driver, i will answer, because maybe it helps other people in future.

On 03/01/12 06:52, Manavendra Nath Manav wrote:
Hi Johan


Sorry for jumping in the middle of the thread, but I too have a
similar problem with Metrologic Focus MS1690 Barcode scanner.
Currently, I am getting the device as bi-directional serial mode but I
want to make it work as a USB HID Keyboard device. In the
manufacturer's manual there is a barcode to configure the device as
such. After this I can see from dmesg that first the device gets
registered as  USB HID v1.11 Keyboard, the I guess the scanner power
cycles disconnecting the USB  and again gets registered as a new
device.

*** dmesg snip ***
[69818.065741] input: Honeywell Scanning and Mobility Honeywell
Scanning and Mobility Scanner as
/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/input/input6
[69818.065810] generic-usb 0003:0C2E:0200.0003: input,hidraw2: USB HID
v1.11 Keyboard [Honeywell Scanning and Mobility Honeywell Scanning and
Mobility Scanner] on usb-0000:00:1d.1-1/input0
[69823.804854] usb 7-1: USB disconnect, address 2
[69827.180717] usb 7-1: new low speed USB device using uhci_hcd and address 3
[69827.355585] usb 7-1: New USB device found, idVendor=0c2e, idProduct=0720
[69827.355590] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[69827.355593] usb 7-1: Product: Honeywell Scanning and Mobility Scanner
[69827.355596] usb 7-1: Manufacturer: Honeywell Scanning and Mobility

Bus 007 Device 003: ID 0c2e:0720 Metro Metrologic MS7120 Barcode
Scanner (bi-directional serial mode)
>
How to make this device work on Linux?

I can tell you exactly, what is going on. If the scanner switches to ProductId=0720 (0c2e:0720) the scanner is working in Serial-Mode. If you want the scanner let work as serial device, you have to use the driver metro-usb. The manufacturer has this driver, but that one is outdatet and doesn't compile on actual Linux kernel. I found an actual driver, which compiles even with kernel 3.2 <https://gitorious.org/other/metro-usb/commits/master>

In HID/keyboard-mode, the Scanner identifies as ProductId=0720 (0C2E:0200). If you want to let the scanner work in keyboard-Mode, you have to scan Code Number 3 on the following document:

<http://entwurf.ddnetservice.de/scanner/Factory_Recall_Defaults_39.doc>

If you use keyboard-mode with alphanumeric Barcodes, you have to set your keyboard-Layout correctly. In my case, i have to set the scanner in german-keyboard-mode. You find all scancodes for configuration on the manufacturer-website:
<http://www.honeywellaidc.com/en-US/Downloads/Docs/Pages/default.aspx?pid=1690>

Don't bother to contact the technical support, if you have some more problems.


Stefan





--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux