USB CDC Driver

Kevin Lambert
I have a Symbol USB barcode scanner that is in CDC mode (which shows up as
COM1 on my windows pc).  It isnt showing up in dmesg when I plug it in with
friendlyarm linux running.  What do I need to do to get it to be detected?

Reggie
possibly check in the kernel driver configuration for usb devices and see
if your scanner is supported?  It might be also be a module and you need to
modprobe it?

Lastly, google your scanner model and linux and see what comes up.

Kevin Lambert
I have rebuilt zImage and activated CONFIG_USB_CONFIG_USB_CDC_COMPOSITE and
found that CONFIG_USB_SERIAL_SYMBOL=y and CONFIG_USB_SERIAL_MOTOROLA=y are
both set.  Calling lsusb shows the Symbol Technologies device on Bus
1:Device 4 05e0:1701 but nothing shows up for /dev/ttyUSB.



I am using a Symbol SE3307 barcode reader.

Kevin Lambert
I figured out that their isnt a driver specifically for this barcode
reader.  I updated the existing symbol driver to also register for my
device except that ends up causing a "Error - the proper endpoints were not
found!" to be thrown.

I am hoping that my contact at Motorola can get me the correct driver file.

Kevin Lambert
Setting CONFIG_USB_ACM and CONFIG_USE_CDC_COMPOSITE to "y" then recompiling
the kernel seems to have worked as now I see it show up as /dev/ttyACM0.

Kevin Lambert
Update:

  That did the trick since my application can now talk to the Symbol
barcode scanner after creating a soft link as ttyS8.

hongdi
Check whether this post is useful:

http://www.vbforums.com/showthread.php?522768-Barcode-scanner-Detecting-...

http://www.barcodelib.com/net_barcode_reader/main.html