I'm sorry but this is not a question but rather an answer for couple of questions that I found here and wanted to share my knowledge howto get customer display working.
I'm using Odoo version 10, Raspberry Pi 2 as posbox and Glancetron 8034 USB with my setup.
### For the posbox part ###
Connect to your posbox with SSH ssh pi@1.2.3.4 Password: raspberry
Switch to root user pi@raspberrypi:~ $ sudo su -
Remount / and /root_bypass_ramdisks with read and write options
root@raspberrypi:~# mount -o remount,rw /
root@raspberrypi:~# mount -o remount,rw /root_bypass_ramdisks
Edit /root_bypass_ramdisks/etc/rc.local file
root@raspberrypi:~# vi /root_bypass_ramdisks/etc/rc.local
Add these lines above the "exit 0" line
/sbin/modprobe ftdi_sio echo "1504 0011" > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
Install unidecode
root@raspberrypi:~# pip install unidecode
Download hw_customer_display module
root@raspberrypi:~# cd /home/pi/odoo/addons/
root@raspberrypi:/home/pi/odoo/addons# wget -O hw_customer_display.zip https://apps.odoo.com/loempia/download/hw_customer_display/8.0.0.1.0/2DdTzaKCamCQZiU10dp89t.zip?deps root@raspberrypi:/home/pi/odoo/addons# unzip hw_customer_display.zip
root@raspberrypi:/home/pi/odoo/addons# rm hw_customer_display.zip
Edit /root_bypass_ramdisks/etc/init.d/odoo file so that the module starts with posbox root@raspberrypi:/home/pi/odoo/addons# vi /root_bypass_ramdisks/etc/init.d/odoo
For the section:
function _start() {
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER:$USER --background --make-pidfile --exec $DAEMON -- --config $CONFIG --logfile $LOGFILE --load=web,hw_proxy,hw_posbox_homepage,hw_posbox_upgrade,hw_scale,hw_scanner,hw_escpos,hw_blackbox_be
}
Add hw_customer_display to the end of the module list:
function _start() {
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER:$USER --background --make-pidfile --exec $DAEMON -- --config $CONFIG --logfile $LOGFILE --load=web,hw_proxy,hw_posbox_homepage,hw_posbox_upgrade,hw_scale,hw_scanner,hw_escpos,hw_blackbox_be,hw_customer_display
}
Restart posbox root@raspberrypi:/home/pi/odoo/addons# reboot
## For the server part ###
Login to you server with SSH and switch to root user
Check your Odoo addons directory form odoo.conf
# cat /etc/odoo/odoo.conf | grep addons
Change to your addons directory
# cd /usr/lib/python2.7/site-packages/odoo/addons
Download the pos customer display module from https://www.odoo.com/apps/modules/10.0/pos_customer_display/ (please note the vesion)
# wget -O pos_customer_display-10.0.1.0.1.zip https://apps.odoo.com/loempia/download/pos_customer_display/10.0.1.0.1/6Ou4rK39usjTxaXJjW1ORQ.zip?deps
Extract the zip file and get rid of the downloaded file
# unzip pos_customer_display-10.0.1.0.1.zip
# rm pos_customer_display-10.0.1.0.1.zip
Open your browser your odoo and enable developer mode. In version 9 it can be found under your username -> about -> enable developer mode. In version 10 it is under settings -> Activate the developer mode.
Go to Apps and click Update Apps List -> Update Then clear the Apps filter form the search field and type customer and press enter.
Install POS Customer Display module.
Go to Point of Sale Under configuration select Point of Sale Select your POS name Make sure you have your posbox IP entered and select Customer Display. Also change the display character lenght if needed.
Save.
Tips!
If you have a problem with your display printing P at the first line for both lines, then disable the hw_scale module from loading in posbox. For disabling it see the part where hw_customer_display was added to /root_bypass_ramdisks/etc/init.d/odoo and just remove it from there.
Thank you very much for this contribution. But please split it in a question and add the corresponding answer. This way it is properly formatted and we can give you the well earned karma points :-)