hi , i have a lcd of 5120 phone , this lcd i use in windows with lcdhype and works fine , but in linux not works , i use this modules:
modprobe parport
modprobe parport_pc
modprobe ppdev
and i execute with this command:
./testserdisp -n PCD8544 -p /dev/parport0
and my lcd not works =S i execute with this command too
modprobe lp
./testserdisp -n PCD8544 -p PAR:/dev/lp0
in this case the backlight of the lcd is on but testserdisp display this message
WarLordx:/home/volrath/serdisplib-1.97.2/src# ./testserdisp -n PCD8544 -p PAR:/dev/lp0
Error: Unable to open PAR:/dev/lp0, additional info: ioctl(PPCLAIM) failed for device /dev/lp0 (cause: Invalid argument)
i use testserdisp in ubuntu and debian and not works please help me i want out of window$
pd:sorry for my bad english
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi
you need parport-devices because lp-devices do not support ioctl-calls
so -p /dev/parport0 is the right way (you may have to check read/write-access rights before!)
have a look if parport0 is at some other position in /dev/ - but usually /dev/parport0 is used.
if /dev/parport0 doesn't exist you will have to create it:
rmmod parport_pc parport ppdev
modprobe ppdev
./testserdisp -n PCD8544 -p /dev/parport0
enter 'help' to get help
> bg
bg=on
but the backlight not works and i try with test and not works =S the lcd in linux is dead but in windows with lcdhype works fine =S =s =S =S i have only one parport please helpme i want use linux 24 hr but i have this problem .
thx Wolfgang for you resp.
sorry for my bad english!!!!!!
my lcd is from nokia 5120 celphone
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
* does lcdhype have the same wiring then the default one in serdisplib/pcd8544? if not so: look for the right wiring: http://serdisplib.sourceforge.net/ser/pcd8544.html#options
* PCD8544's default wiring does not have support for bglight: look at link above
* add -d 2 when calling testserdisp and look for the debugging info written to /var/log/messages
/mrwastl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
* did you do the windows and linux tests on the same pc?
* please give the complete call of testserdisp (src/testserdisp -n ..... )
* please paste the serdisplib-specific /var/log/messages output
without these things it is very hard to debug your problem
/mrwastl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi , i have a lcd of 5120 phone , this lcd i use in windows with lcdhype and works fine , but in linux not works , i use this modules:
modprobe parport
modprobe parport_pc
modprobe ppdev
and i execute with this command:
./testserdisp -n PCD8544 -p /dev/parport0
and my lcd not works =S i execute with this command too
modprobe lp
./testserdisp -n PCD8544 -p PAR:/dev/lp0
in this case the backlight of the lcd is on but testserdisp display this message
WarLordx:/home/volrath/serdisplib-1.97.2/src# ./testserdisp -n PCD8544 -p PAR:/dev/lp0
Error: Unable to open PAR:/dev/lp0, additional info: ioctl(PPCLAIM) failed for device /dev/lp0 (cause: Invalid argument)
i use testserdisp in ubuntu and debian and not works please help me i want out of window$
pd:sorry for my bad english
hi
you need parport-devices because lp-devices do not support ioctl-calls
so -p /dev/parport0 is the right way (you may have to check read/write-access rights before!)
have a look if parport0 is at some other position in /dev/ - but usually /dev/parport0 is used.
if /dev/parport0 doesn't exist you will have to create it:
mknod /dev/parport0 c 99 0
chmod 0660 /dev/parport0
chown root.lp /dev/parport0
the unload (rmmod ppdev) and reload (insmod ppdev) module 'ppdev' - this module is required!
with the commands above the user executing testserdisp and other programs that use serdisplib needs to be member of the group 'lp'!
/mrwastl
dont works i try this:
rmmod parport_pc parport ppdev
modprobe ppdev
./testserdisp -n PCD8544 -p /dev/parport0
enter 'help' to get help
> bg
bg=on
but the backlight not works and i try with test and not works =S the lcd in linux is dead but in windows with lcdhype works fine =S =s =S =S i have only one parport please helpme i want use linux 24 hr but i have this problem .
thx Wolfgang for you resp.
sorry for my bad english!!!!!!
my lcd is from nokia 5120 celphone
i test with knoppix too =(
please somebody help me !!!!! =(
* does lcdhype have the same wiring then the default one in serdisplib/pcd8544? if not so: look for the right wiring:
http://serdisplib.sourceforge.net/ser/pcd8544.html#options
* PCD8544's default wiring does not have support for bglight: look at link above
* add -d 2 when calling testserdisp and look for the debugging info written to /var/log/messages
/mrwastl
is the same wiring and my /var/log/messages is normal when i call testserdisp with -d option =S =(=(=(=(=(
* did you do the windows and linux tests on the same pc?
* please give the complete call of testserdisp (src/testserdisp -n ..... )
* please paste the serdisplib-specific /var/log/messages output
without these things it is very hard to debug your problem
/mrwastl