Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031641 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS Hardware Manager | minor | always | 2015-12-02 13:30 | 2022-03-03 14:10 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | malsasua | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031641: To improve the documentation about the hw manager running ubuntu | |||||||
Description | it will be nice to improve the documentation about how to run the hw manager over ubuntu. For example: - In order for Linux to detect a USB-to-Serial device, the module ftdi_sio must be enabled in modprobe (not enabled by default in Ubuntu 14.04+ and Linux Mint Rebecca, as far as I can tell) - If the device does not get mapped as ttyUSB0 right away (you can check that in /var/log/syslog), you have to manually add its ID to the config file of ftdi_sio about serial ports: create a new rule: SUBSYSTEM=="usb",ATTRS{idVendor}=="0519", ATTRS{idProduct}=="0007", RUN+="/sbin/modprobe", RUN+="/bin/sh -c 'echo 0519 0007 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'" if it is needed to change the bauds, you need to aggregate the next line to udev rule: KERNEL=="ttyUSB0", RUN+="/bin/stty -F /dev/ttyUSB0 19200 raw -echo" | |||||||
Steps To Reproduce | n/a | |||||||
Tags | documentation | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0082535) malsasua (developer) 2015-12-02 14:31 |
Installation example of a Star Micronics SCD122 (USB) in Ubuntu Linux (14.04 - 15.10) 1 - Check if the USB-to-Serial driver is loaded after a fresh start (dmesg | grep -i ftdi) 2 - If it not loaded, add a new line "ftdi_sio" to the bottom of the the file /etc/modules and reboot, so that the driver is properly loaded at startup. Repeat step 1 and confirm the driver has been loaded. The output should look like this: [ 3.143155] usbcore: registered new interface driver ftdi_sio [ 3.143164] usbserial: USB Serial support registered for FTDI USB Serial Device 3 - Open a terminal and monitor the system logs (tail /var/log/syslog -f) 4 - Plug in the device 5 - If the device gets mapped to ttyUSB0, you can skip to step 9. Otherwise, go to next step. 6 - Register the Vendor and Product ID in the driver by adding creating a new udev rule 99-star-micronics.rules in the /etc/udev/rules.d folder: SUBSYSTEM=="usb",ATTRS{idVendor}=="0519", ATTRS{idProduct}=="0007", RUN+="/sbin/modprobe", RUN+="/bin/sh -c 'echo 0519 0007 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'" 7 - Reload udev rules (sudo udevadm control --reload-rules) or reboot 8 - Repeat steps 3-5 and confirm the device now gets mapped to ttyUSB0 9 - Configure the speed of the serial port ttyUSB0 creating a new udev rule 99-star-micronics.rules in the /etc/udev/rules.d folder (If you do not perform this step, the display will only show "noise"): KERNEL=="ttyUSB0", RUN+="/bin/stty -F /dev/ttyUSB0 19200 raw -echo" 10 - Reload udev rules (sudo udevadm control --reload-rules) or reboot 11 - Define the device in openbravo.properties as follows: machine.display = epson:file,/dev/ttyUSB0 12 - Start the Hardware Manager, access to the "Printer" Tab, click the button "Test Display" and confirm the display is working correctly. |
(0135428) adrianromero (manager) 2022-03-03 14:05 |
http://wiki.openbravo.com/wiki/Retail:Hardware_and_Peripherals_Installation#Serial_and_parallel_port_configuration [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2015-12-02 13:30 | malsasua | New Issue | |
2015-12-02 13:30 | malsasua | Assigned To | => Retail |
2015-12-02 13:30 | malsasua | Triggers an Emergency Pack | => No |
2015-12-02 13:30 | malsasua | Tag Attached: documentation | |
2015-12-02 14:31 | malsasua | Note Added: 0082535 | |
2015-12-02 14:48 | pcg_elopez | Issue Monitored: pcg_elopez | |
2022-01-11 12:31 | alostale | Assigned To | Retail => Triage Platform Conn |
2022-03-03 14:04 | adrianromero | Status | new => scheduled |
2022-03-03 14:04 | adrianromero | Assigned To | Triage Platform Conn => adrianromero |
2022-03-03 14:05 | adrianromero | Note Added: 0135428 | |
2022-03-03 14:05 | adrianromero | Status | scheduled => resolved |
2022-03-03 14:05 | adrianromero | Resolution | open => fixed |
2022-03-03 14:10 | malsasua | Review Assigned To | => malsasua |
2022-03-03 14:10 | malsasua | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |