Skip to contentSkip to conversation

Barcode reader (rs232 + usb device) on buildroot

Buildroot Willy 2 participants 2 messages Jul 6, 2012

lore
Share & tools
lore

Willy

author
#0 lore raw

Hi,
I've a barcode reader with RS232 and USB interfaces.
In my host pc with Ubuntu 10.04 64bit I use it in both way without problems.
in serial mode I retrieve the device at /dev/ttyS0
In USB mode (directly with USB or whit RS232/USB adaptor) I retrieve the device at /dev/ttyUSB0

With buildroot in serial mode I read the code (and some error strings, [probably a configuration error])
in USB mode I can't read anything: I don't have /dev/ttyUSB*

I think something is missing, but in buildroot and kernel configuration I can't figured out what is it... :(

Someone can give me an hint?

Thanks

Signature · 1 line
Willy
#1 lore raw

Le Fri, 06 Jul 2012 13:17:38 +0200,
Willy <[email protected]> a ?crit :

Quoted 7 lines

I've a barcode reader with RS232 and USB interfaces.
In my host pc with Ubuntu 10.04 64bit I use it in both way without problems.
in serial mode I retrieve the device at /dev/ttyS0
In USB mode (directly with USB or whit RS232/USB adaptor) I retrieve the device at /dev/ttyUSB0

Quoted 8 lines

With buildroot in serial mode I read the code (and some error strings, [probably a configuration error])
in USB mode I can't read anything: I don't have /dev/ttyUSB*

I think something is missing, but in buildroot and kernel configuration I can't figured out what is it... :(

Someone can give me an hint?

You probably lack the usbserial driver, and maybe some other underlying usb serial driver. Depends on what your hardware is exactly. The problem is definitely not Buildroot related, but kernel configuration related.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com