On Thu, Mar 01, 2012 at 03:48:57PM +0530, Manavendra Nath Manav wrote:
On Thu, Mar 1, 2012 at 1:57 PM, Stefan Dreyer <stefan.dreyer@ddnetservice.net> wrote:
Hi,
allthough the answer is offtopic for cdc-acm-driver, i will answer, because maybe it helps other people in future.
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>
Thanks a lot for the prompt reply, this should adequately solve my problem. I am able to download the driver source and compile. However, I have run into a trivial module format error.
[root@pe1800xs serial]# modinfo metro-usb.ko filename: metro-usb.ko description: Metrologic Instruments Inc. - USB-POS driver author: Aleksey Babahin <tamerlan311@gmail.com> author: Philip Nicastro license: GPL srcversion: AF4C7DDE2804EBB1578A05F alias: usb:v0C2Ep0710d*dc*dsc*dp*ic*isc*ip* alias: usb:v0C2Ep0720d*dc*dsc*dp*ic*isc*ip* depends: usbserial vermagic: 2.6.35.6-45.fc14.i686 SMP mod_unload modversions 686 parm: debug:Print debug info (bool 1=on, 0=off) (bool) parm: vendor:User specified vendor ID (ushort) (ushort) parm: product:User specified product ID (ushort) (ushort)
Aleksey, any reason this driver hasn't been submitted upstream yet? If you don't mind, I'll be glad to forward port it and get it merged to the main kernel.org tree. Or is there some reason we can't do that? thanks, greg k-h