Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Parallelportproblem [GELÖST]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Feb 27, 2005 9:13 am    Post subject: Parallelportproblem [GELÖST] Reply with quote

Hallo!

Würde gerne lcdproc oder lcd4linux zum Laufen bringen, doch egal mit welchem Programm ich auf /dev/parport0 zugreifen will, ich hab keinen Zugriff darauf.

Code:
root@markus: pts/1: 22 files 11Gb -> !dd
dd if=/dev/parport0
dd: öffne ,,/dev/parport0": Kein passendes Gerät bzw. keine passende Adresse gefunden



Support dafür ist im Kernel drinnen:

Code:
root@markus: pts/1: 22 files 11Gb -> zcat /proc/config.gz |grep PARPORT|grep -v "#"
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y


und wird auch beim Booten erkannt:

Code:
Jan 10 14:03:08 markus parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
Jan 10 14:03:08 markus parport0: irq 7 detected
Jan 10 14:03:08 markus lp0: using parport0 (polling).


System ist gentoo-dev-sources-2.6.10-gentoo-r4 und devfsd.

Bitte um Hilfe, hab schon die Devicefiles gelöscht und mit mknod neu angelegt, hat aber nichts geholfen.

Welches Device ist überhaupt der Parallelport /dev/lp0 oder /dev/parport0 ode beides?
Was ist der Unterschied?


Last edited by tuxian on Sat Mar 05, 2005 10:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sun Feb 27, 2005 4:41 pm    Post subject: Reply with quote

Der Parallel-Port ist schon parport0. lp0 ist der 'line printer', der anscheinend auch den parport0 benutzt und wahrscheinlich nicht allzu glücklich darüber ist, wenn dann noch ein anderes Programm angeschissen kommt und Zugriff will. Du könntest ja den line printer als Modul in den Kernel nehmen und vorher mit rmmod entladen. Oder aber etwas stimmt mit den Zugriffsrechten nicht. Versuchst Du den Zugriff auf parport0 als root? Oder dein Parallelport funktioniert grundsätzlich aus irgendwelchen Gründen nicht. Kannst Du mal einen Drucker dranhängen und ihn testen mit
Code:
echo 'Hallo Welt' > /dev/lp0

?
Back to top
View user's profile Send private message
peje
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2003
Posts: 100

PostPosted: Sun Feb 27, 2005 4:47 pm    Post subject: Reply with quote

oft kann man im bios noch einstellungen zum parport vornehmen so in etwa ecp und eep musst du auch checken falls dein display net will.....
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Feb 27, 2005 5:59 pm    Post subject: Reply with quote

Hab leider keinen parallelen Drucker.
An den Rechten liegt es nicht, hab sie schon überprüft und das ganze auch als root probiert.
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sun Feb 27, 2005 6:05 pm    Post subject: Reply with quote

Dann schmeiß doch einfach line printer support aus dem Kernel.
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Feb 27, 2005 6:15 pm    Post subject: Reply with quote

Voltago wrote:
Dann schmeiß doch einfach line printer support aus dem Kernel.


Welche Option meinst du genau?
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sun Feb 27, 2005 9:50 pm    Post subject: Reply with quote

Offiziell heißt das Teil 'Parallel Printer Support' und steht unter 'Character Devices' in der kernel config.
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Feb 27, 2005 10:15 pm    Post subject: Reply with quote

Hab ich gemacht, hat auch nix geholfen ;(
Back to top
View user's profile Send private message
b3rT
n00b
n00b


Joined: 09 Jun 2003
Posts: 72
Location: Germany

PostPosted: Mon Feb 28, 2005 7:02 am    Post subject: Reply with quote

Quote:
Jan 10 14:03:08 markus lp0: using parport0 (polling)

im polling-mode ist der parport (soweit ich weiss) nicht bidirektional, sodass du nur darauf schreiben kannst, aber nicht lesen. schau mal in die kernel-docs, wie du einen 'besseren' mode bekommst

edit: schwachsinn, lesen sollte auch gehen, nur eben nicht gleichzeitig....ignorier meinen post :)
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Mon Feb 28, 2005 9:50 am    Post subject: Reply with quote

lcdproc und lcd4linux schreiben nur, den Parallelportmodus kann ich im BIOS einstellen, hab schon schon verschiedene Möglichkeiten probiert, half nichts.

Ich werde mir für ein paar Euro eine Parallelportsteckkarte zulegen denn es muss ein Hardwareproblem sein.
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sat Mar 05, 2005 10:25 pm    Post subject: Reply with quote

Problem gelöst.

CONFIG_PPDEV=m

war nicht gesetzt, nach Laden des Moduls ppdev funktioniert lcdproc super!
Back to top
View user's profile Send private message
theche
Guru
Guru


Joined: 26 Feb 2004
Posts: 512

PostPosted: Sun Mar 06, 2005 10:28 am    Post subject: Reply with quote

was für ein LCD ist das denn? So eins?
blinkenleds
_________________
Stellt euch vor, es geht, und keiner bekommt's hin! --theche, der gefragt worden ist, was sein nick bedeuten soll...
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Mar 06, 2005 10:44 am    Post subject: Reply with quote

Nein, ein normales HD44780 kompatibles:

http://layr.at/lcd.jpg
Back to top
View user's profile Send private message
theche
Guru
Guru


Joined: 26 Feb 2004
Posts: 512

PostPosted: Mon Mar 07, 2005 11:53 am    Post subject: Reply with quote

schad...aber des andere sollte man ja auch zum laufen kriegen... ;)
_________________
Stellt euch vor, es geht, und keiner bekommt's hin! --theche, der gefragt worden ist, was sein nick bedeuten soll...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum