Discussion:
[lcd4linux] Wire a LCD HD44780 with GPIO from Raspberry Pi - How to define the Port information?
Baran Altundal
2015-04-19 17:45:43 UTC
Permalink
Hey there,

i tried to wire a HD44780 LCD with the GPIO Pins from a Raspberry Pi. In the LCD4Linux.conf file, i have to define the Port, but the Raspberry Pi haven®t any driver ports like an Parallel Port


Display HD44780-generic {

Driver 'HD44780'

Model 'generic'

Port '/dev/parports/0‘ <<----

Size ‘16x2‘



.

How can i define the Port information, if i want to use it with the GPIO Pins? Is that maybe the incorrect HD44780 driver, which iÂŽm using?

I want it to use like the LCD-Linux driver but with LCD4Linux, how can i change this?



Best Regards

Baran
Michael Reinelt
2015-04-20 01:21:45 UTC
Permalink
As faras I know, LCD4Linux does not support the GPIO pins of the Raspberyy.
Post by Baran Altundal
Hey there,
i tried to wire a HD44780 LCD with the GPIO Pins from a Raspberry Pi. In the LCD4Linux.conf file, i have to define the
Port, but the Raspberry Pi haven´t any driver ports like an Parallel Port…
Display HD44780-generic {
Driver 'HD44780'
Model 'generic'
Port '/dev/parports/0‘ <<----
Size ‘16x2‘
…….
How can i define the Port information, if i want to use it with the GPIO Pins? Is that maybe the incorrect HD44780
driver, which i´m using?
I want it to use like the LCD-Linux driver but with LCD4Linux, how can i change this?
Best Regards
Baran
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Lcd4linux-users mailing list
https://lists.sourceforge.net/lists/listinfo/lcd4linux-users
--
Michael Reinelt <***@reinelt.co.at>
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
Baran Altundal
2015-04-20 12:06:42 UTC
Permalink
Maybe there should be a way to modify the source code of a driver...
Does anybody know, how big would be the effort to write a new driver and
which area of the source code, needs to be changed?

Thank you.


best regards

Baran
Post by Michael Reinelt
As faras I know, LCD4Linux does not support the GPIO pins of the Raspberyy.
Post by Baran Altundal
Hey there,
i tried to wire a HD44780 LCD with the GPIO Pins from a Raspberry Pi. In
the LCD4Linux.conf file, i have to define the
Post by Baran Altundal
Port, but the Raspberry Pi havenÂŽt any driver ports like an Parallel
Port

Post by Baran Altundal
Display HD44780-generic {
Driver 'HD44780'
Model 'generic'
Port '/dev/parports/0‘ <<----
Size ‘16x2‘


.
How can i define the Port information, if i want to use it with the GPIO
Pins? Is that maybe the incorrect HD44780
Post by Baran Altundal
driver, which iÂŽm using?
I want it to use like the LCD-Linux driver but with LCD4Linux, how can i
change this?
Post by Baran Altundal
Best Regards
Baran
------------------------------------------------------------------------------
Post by Baran Altundal
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
Post by Baran Altundal
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
Post by Baran Altundal
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Lcd4linux-users mailing list
https://lists.sourceforge.net/lists/listinfo/lcd4linux-users
--
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Lcd4linux-users mailing list
https://lists.sourceforge.net/lists/listinfo/lcd4linux-users
Michael Reinelt
2015-04-21 01:24:42 UTC
Permalink
https://ssl.bulix.org/projects/lcd4linux/wiki/driver_howto
Post by Baran Altundal
Maybe there should be a way to modify the source code of a driver...
Does anybody know, how big would be the effort to write a new driver and which area of the source code, needs to be changed?
Thank you.
best regards
Baran
As faras I know, LCD4Linux does not support the GPIO pins of the Raspberyy.
Post by Baran Altundal
Hey there,
i tried to wire a HD44780 LCD with the GPIO Pins from a Raspberry Pi. In the LCD4Linux.conf file, i have to
define the
Post by Baran Altundal
Port, but the Raspberry Pi haven´t any driver ports like an Parallel Port…
Display HD44780-generic {
Driver 'HD44780'
Model 'generic'
Port '/dev/parports/0‘ <<----
Size ‘16x2‘
…….
How can i define the Port information, if i want to use it with the GPIO Pins? Is that maybe the incorrect HD44780
driver, which i´m using?
I want it to use like the LCD-Linux driver but with LCD4Linux, how can i change this?
Best Regards
Baran
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Lcd4linux-users mailing list
https://lists.sourceforge.net/lists/listinfo/lcd4linux-users
--
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Lcd4linux-users mailing list
https://lists.sourceforge.net/lists/listinfo/lcd4linux-users
--
Michael Reinelt <***@reinelt.co.at>
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
Baran Altundal
2015-04-21 11:57:25 UTC
Permalink
Is it necessary for the Subversion access to become a developer? As far as i have understood, i need an developer account, but who should i contact to send the htpasswd user information ? At the moment i just have write only permission.

thanks

best regards

Baran
Post by Michael Reinelt
https://ssl.bulix.org/projects/lcd4linux/wiki/driver_howto
Post by Baran Altundal
Maybe there should be a way to modify the source code of a driver...
Does anybody know, how big would be the effort to write a new driver and which area of the source code, needs to be changed?
Thank you.
best regards
Baran
As faras I know, LCD4Linux does not support the GPIO pins of the Raspberyy.
Post by Baran Altundal
Hey there,
i tried to wire a HD44780 LCD with the GPIO Pins from a Raspberry Pi. In the LCD4Linux.conf file, i have to
define the
Post by Baran Altundal
Port, but the Raspberry Pi haven´t any driver ports like an Parallel Port…
Display HD44780-generic {
Driver 'HD44780'
Model 'generic'
Port '/dev/parports/0‘ <<----
Size ‘16x2‘
…….
How can i define the Port information, if i want to use it with the GPIO Pins? Is that maybe the incorrect HD44780
driver, which i´m using?
I want it to use like the LCD-Linux driver but with LCD4Linux, how can i change this?
Best Regards
Baran
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Lcd4linux-users mailing list
https://lists.sourceforge.net/lists/listinfo/lcd4linux-users
--
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Lcd4linux-users mailing list
https://lists.sourceforge.net/lists/listinfo/lcd4linux-users
--
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
Michael Reinelt
2015-04-21 12:03:56 UTC
Permalink
Hello baran,
Post by Baran Altundal
Is it necessary for the Subversion access to become a developer?
If you plan to do more, its easier, yes. But you can do your modifications, and send me a patch, which I can apply and
check in for you.
Post by Baran Altundal
At the moment i just have write only permission.
I am sure you mean "read-only" :-)

regards, Michael
--
Michael Reinelt <***@reinelt.co.at>
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
Baran Altundal
2015-04-21 12:34:36 UTC
Permalink
Oh sry youÂŽre right, i mean read-only :)

My programming skills to be an developer is not so good, but i want to try, to write a driver for the Raspberry Pi GPIO access or maybe to modify an available driver if its possible. The how_to says:

use drv_Sample.c as a template but do not simply copy it, but let subversion do the job:
svn cp drv_Sample.c drv_<yourname>.c

I got an error, but the svn cp and svn up code is working now :/

When i do changes on the lcd4linux folder, recognizes the LCD4Linux.conf file int he /etc section, too? Because the main folder which iÂŽm using is lcd4linux-0.10.1-RC2
Post by Michael Reinelt
Hello baran,
Post by Baran Altundal
Is it necessary for the Subversion access to become a developer?
If you plan to do more, its easier, yes. But you can do your modifications, and send me a patch, which I can apply and check in for you.
Post by Baran Altundal
At the moment i just have write only permission.
I am sure you mean "read-only" :-)
regards, Michael
--
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
Baran Altundal
2015-04-23 11:18:24 UTC
Permalink
Hey there,

i working on my driver and get a compile error. Does anybody know, what this means?

/configure: line 10380: syntax error: unexpected end of file
Makefile 381: recipe for target ÂŽconfig.statusÂŽfailed
make: *** [config.status] Error 2

At the first time, the ./configure command works, after the make command i got this error...

./configure: line 10380: syntax error: unexpected end of file

I followed all steps until to run the first compiling (before the framework setup) from the "how to write a new driver“ wiki. I®m not using svn, because i just have read only permissions.

thanks!

best regards

Baran
Post by Baran Altundal
Oh sry youÂŽre right, i mean read-only :)
svn cp drv_Sample.c drv_<yourname>.c
I got an error, but the svn cp and svn up code is working now :/
When i do changes on the lcd4linux folder, recognizes the LCD4Linux.conf file int he /etc section, too? Because the main folder which iÂŽm using is lcd4linux-0.10.1-RC2
Post by Michael Reinelt
Hello baran,
Post by Baran Altundal
Is it necessary for the Subversion access to become a developer?
If you plan to do more, its easier, yes. But you can do your modifications, and send me a patch, which I can apply and check in for you.
Post by Baran Altundal
At the moment i just have write only permission.
I am sure you mean "read-only" :-)
regards, Michael
--
http://home.pages.at/reinelt <http://home.pages.at/reinelt>
GPG-Key 0xDF13BA50
ICQ #288386781
Loading...