|
Re: LCD screen for your dockstar (cheap! <$5) July 26, 2012 12:26AM |
Registered: 13 years ago Posts: 61 |
|
tavoc
Re: LCD screen for your dockstar (cheap! <$5) July 31, 2012 12:45PM |
|
Re: LCD screen for your dockstar (cheap! <$5) August 01, 2012 03:41AM |
Registered: 13 years ago Posts: 365 |
kernel: [ 3771.384180] usb 1-1.6: new full-speed USB device number 5 using ehci_hcd mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6" mtp-probe: bus: 1, device: 5 was not an MTP device kernel: [ 3781.467766] generic-usb 0003:1908:3318.0006: timeout initializing reports kernel: [ 3781.468066] generic-usb 0003:1908:3318.0006: hiddev0,hidraw5: USB HID v2.01 Device [BUILDWIN BL206v1.0.0] on usb-0000:00:1a.0-1.6/input0
|
Re: LCD screen for your dockstar (cheap! <$5) August 01, 2012 11:21PM |
Registered: 15 years ago Posts: 58 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 05, 2012 05:38AM |
Registered: 13 years ago Posts: 11 |
--- lcdinit.s.old 2012-08-05 03:21:29.222999970 -0700 +++ lcdinit.s 2012-08-05 03:13:16.085999960 -0700 @@ -163,6 +163,14 @@ lcall X1702 mov a,#0x2c lcall X1702 +; +; initial contrast +; + mov a,#0x25 + lcall X1702 + mov a,#0x38 + lcall X170c +; ret X16ec: mov r5,a
|
Re: LCD screen for your dockstar (cheap! <$5) August 05, 2012 07:08AM |
Registered: 13 years ago Posts: 61 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 05, 2012 07:57AM |
Registered: 13 years ago Posts: 11 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 05, 2012 09:36AM |
Registered: 13 years ago Posts: 365 |
mov a,#0x25
lcall X1707
mov dptr,#X1677
mov a,r3
dec a
movc a,@a+dptr
lcall X1711
ret
;
X1677:
.db 0x25, 0x27, 0x29, 0x2b, 0x2d, 0x30, 0x35, 0x3a, 0x40, 0x45, 0x4a, 0x50, 0x55, 0x5a, 0x60, 0x65
|
Re: LCD screen for your dockstar (cheap! <$5) August 05, 2012 08:48PM |
Registered: 15 years ago Posts: 58 |
... ... checking for mpd_newConnection in -llibmpd... no configure: WARNING: libmpdclient.h header not found: mpd plugin disabled configure: WARNING: get libmpdclient.h from http://www.musicpd.org/libmpdclient.shtml configure: WARNING: and copy those 2 files in the lcd4linux directory. ... ...
|
Re: LCD screen for your dockstar (cheap! <$5) August 08, 2012 01:13AM |
Registered: 13 years ago Posts: 11 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 08, 2012 11:13PM |
Registered: 15 years ago Posts: 58 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 09, 2012 08:26AM |
Registered: 13 years ago Posts: 61 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 09, 2012 08:29AM |
Registered: 13 years ago Posts: 61 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 09, 2012 09:35AM |
Registered: 15 years ago Posts: 58 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 09, 2012 12:26PM |
Registered: 15 years ago Posts: 58 |
... ./configure --with-drivers=DPF ...should be changed to:
... ./configure --with-drivers=all ...and then run build-dpf-lcd4linux.sh manually.
#!/bin/bash
# very crude script that pulls everything together and installs
# build 1184 of lcd4linux with mpd plugin and patch for scaleable fonts
PREREQUISITES='pkg-config aclocal automake autoconf'
for i in $PREREQUISITES; do
if [ -z `which $i` ]; then
echo missing tool "'$i'". Please install package.
err=1
fi
done
if [ $err ]; then
echo "Error, cancelling"
exit
fi
# download and untar dpf-ax tools
curl http://dpf-ax.svn.sourceforge.net/viewvc/dpf-ax/trunk/?view=tar | tar -zxv
cd trunk
# this part takes for a while on dockstar, aside from building custom
# firmware for your dpf, it is needed to build libdpf library and module
make
# download patch for mpd plugin and scaled fonts for dpf
wget http://sourceforge.net/p/pydpf/code/ci/1b10e3224801f9ed1874c52acaa6b98be9f66aae/tree/distributions/pydpflib/dpflib_python_lcd4linux.patch?format=raw -O dpflib_python_lcd4linux.patch
# patch files
patch -p1 < dpflib_python_lcd4linux.patch
# Run lcd4linux installation script
# The lcd4linux installation script from dpf-ax package is configured such that it installs DPF driver only.
# If you are running multiple displays on your dosckstar, you will need to comment out last script call below
# and edit build-dpf-lcd4linux.sh sript so that it configures build with all drivers.
# around line 49 of build-dpf-lcd4linux.sh sript
# change from
# ./configure --with-drivers=DPF
# to:
# ./configure --with-drivers=all
# and then run build-dpf-lcd4linux.sh manually.
./build-dpf-lcd4linux.sh
|
Re: LCD screen for your dockstar (cheap! <$5) August 10, 2012 08:20AM |
Registered: 13 years ago Posts: 365 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 10, 2012 08:44AM |
Registered: 13 years ago Posts: 61 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 11, 2012 12:34PM |
Registered: 13 years ago Posts: 7 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 11, 2012 08:18PM |
Registered: 13 years ago Posts: 61 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 12, 2012 02:35AM |
Registered: 13 years ago Posts: 7 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 12, 2012 01:17PM |
Registered: 15 years ago Posts: 58 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 15, 2012 08:59AM |
Registered: 15 years ago Posts: 58 |
make -C ../dpflib install DESTDIR=.. make[1]: Entering directory `/usr/src/trunk/dpflib' cc -Wall -fPIC -I../include -g -c -o dpflib.o dpflib.c In file included from dpflib.c:14:0: dpf.h:7:17: fatal error: usb.h: No such file or directory compilation terminated. make[1]: *** [dpflib.o] Error 1 make[1]: Leaving directory `/usr/src/trunk/dpflib' make: *** [fwload] Error 2
CFLAGS = -Wall -fPIC -I../include -gtp
CFLAGS = -Wall -fPIC -I../include -I../src -gbut it did not solve the issue.
|
Re: LCD screen for your dockstar (cheap! <$5) August 15, 2012 10:28AM |
Registered: 13 years ago Posts: 365 |
|
Re: LCD screen for your dockstar (cheap! <$5) August 15, 2012 07:37PM |
Registered: 15 years ago Posts: 58 |
> apt-get install libusb-devmay do the
sudo apt-get install subversion sudo apt-get install bison autoconf automake1.10 libtool libgd2-noxpm-dev libgd2-noxpm libibus-1.0-dev libusb-dev libssl-dev python-dev libc6 libncurses5-dev libx11-dev libmpdclient-dev libusb-1.0-0-dev libftdi-dev gettext
deb http://ftp.ca.debian.org/debian wheezy main non-free deb-src http://ftp.ca.debian.org/debian wheezy main non-free
sudo apt-get update sudo apt-get install sdcc
# deb http://ftp.ca.debian.org/debian wheezy main non-free # deb-src http://ftp.ca.debian.org/debian wheezy main non-free
sudo apt-get install sdcc
#!/bin/bash
# tested on raspberry pi running debian wheeze
# very crude script that pulls everything together and installs
# build 1184 of lcd4linux with mpd plugin and patch for scaleable fonts
# does not build firmware for hacking dpf-ax206 frame, only libdpf library
PREREQUISITES='pkg-config aclocal automake autoconf'
for i in $PREREQUISITES; do
if [ -z `which $i` ]; then
echo missing tool "'$i'". Please install package.
err=1
fi
done
if [ $err ]; then
echo "Error, cancelling"
exit
fi
# download and untar dpf-ax tools
curl http://dpf-ax.svn.sourceforge.net/viewvc/dpf-ax/trunk/?view=tar | tar -zxv
cd trunk/dpflib
# this part takes for a while on dockstar, aside from building custom
# firmware for your dpf, it is needed to build libdpf library and module
make
cd ..
# download patch for mpd plugin and scaled fonts for dpf
wget http://sourceforge.net/p/pydpf/code/ci/1b10e3224801f9ed1874c52acaa6b98be9f66aae/tree/distributions/pydpflib/dpflib_python_lcd4linux.patch?format=raw -O dpflib_python_lcd4linux.patch
# patch files
patch -p1 < dpflib_python_lcd4linux.patch
# Run lcd4linux installation script
# The lcd4linux installation script from dpf-ax package is configured such that it installs DPF driver only.
# If you are running multiple displays on your dosckstar, you will need to comment out last script call below
# and edit build-dpf-lcd4linux.sh sript so that it configures build with all drivers.
# around line 49 of build-dpf-lcd4linux.sh sript
# change from
# ./configure --with-drivers=DPF
# to:
# ./configure --with-drivers=all
# and then run build-dpf-lcd4linux.sh manually.
red='\033[31m'
yellow='\033[33m'
NC='\e[0m' # No Color
echo ""
echo -e "${yellow} The lcd4linux installation script from dpf-ax package is configured such"
echo -e " that it installs DPF driver only. If you are running multiple displays on"
echo -e " your dosckstar or Pi, you will need to edit ${red}build-dpf-lcd4linux.sh ${yellow}sript"
echo -e " so that it configures build with all drivers."
echo ""
echo -e " Around line 49 of build-dpf-lcd4linux.sh sript change line from:"
echo -e " ./configure --with-drivers=DPF"
echo -e " to:"
echo -e " ./configure --with-drivers=all"
echo ""
echo -e "Would you like to modify ${red}build-dpf-lcd4linux.sh ${yellow}script? [Y/n]${NC}"
read answer
if [[ $answer == "Y" || $answer == "y" || $answer = "" ]]; then
sudo nano ./build-dpf-lcd4linux.sh
fi
./build-dpf-lcd4linux.sh
|
Re: LCD screen for your dockstar (cheap! <$5) August 16, 2012 07:48AM |
Registered: 15 years ago Posts: 58 |
|
Markus
Re: LCD screen for your dockstar (cheap! <$5) August 18, 2012 04:11PM |
|
Re: LCD screen for your dockstar (cheap! <$5) August 18, 2012 05:13PM |
Registered: 15 years ago Posts: 58 |
|
Markus
Re: LCD screen for your dockstar (cheap! <$5) August 20, 2012 12:10PM |
|
Alex
Re: LCD screen for your dockstar (cheap! <$5) August 22, 2012 09:23AM |
|
Re: LCD screen for your dockstar (cheap! <$5) August 23, 2012 07:18AM |
Registered: 13 years ago Posts: 61 |