Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
--- linux/drivers/parport/parport_pc.c.org 2005-02-10 12:50:11.000000000 +0100
+++ linux/drivers/parport/parport_pc.c 2005-02-10 12:52:59.000000000 +0100
@@ -3232,6 +3232,33 @@
static int __init parport_pc_init(void)
{
int count = 0;
+ int base = 0x2E;
+
+ /* Try to activate ACTIVY Parport*/
+
+ outb(0x55, base);
+
+ outb(0x07, base);
+ outb(0x03, base+1);
+ outb(0x30, base);
+ outb(0x01, base+1);
+
+ outb(0x07, base);
+ outb(0x03, base+1);
+ outb(0x60, base);
+ outb(0x03, base+1);
+
+ outb(0x07, base);
+ outb(0x03, base+1);
+ outb(0x61, base);
+ outb(0x78, base+1);
+
+ outb(0x07, base);
+ outb(0x03, base+1);
+ outb(0x70, base);
+ outb(0x07, base+1);
+
+ outb(0xaa, base);
if (parse_parport_params())
return -EINVAL;
|
This post has been edited 1 times, last edit by "giga-san" (Feb 10th 2005, 8:08pm)

![:]](wcf/images/smilies/pleased.gif)
Quoted
Original von giga-san
Jo,
die Treiber brauchen eine gesonderte initialisierung, die die Hardware erst aktiviert
bevor danach gesucht wird.
This post has been edited 1 times, last edit by "HansDampf" (Feb 11th 2005, 2:01pm)
Quoted
Original von HansDampf
Gibt es keine Möglichkeit das ganze im Bios freizuschalten??
Meistens sind solche Optionen ja vorhanden nur leider nicht sichtbar...
Mal schauen ob es nicht für das Phönix Bios ein tool gibt womit man das kann...
Grüsse
Thomas
Edit:Hier ein Link wo es solche Tools gibt..

![:]](wcf/images/smilies/pleased.gif)


Quoted
RE: Dein Display
Da ich grad an dem smsc rumgefummelt hab, hab ich auch nochmal an diesen Thread gedacht. Es sollte also möglich sein, die PPort-Pins vom smsc abzugreifen und dann den smsc so zu konfigurieren, dass der PPort aktiv ist. Ein Kernel/Treiber-Patch wäre bei graphlcd nicht nötig, da dieses direktes Port-IO machen kann (sofern der VDR als root läuft).
arghgr
Quoted
Original von HansDampf
Quoted
RE: Dein Display
Da ich grad an dem smsc rumgefummelt hab, hab ich auch nochmal an diesen Thread gedacht. Es sollte also möglich sein, die PPort-Pins vom smsc abzugreifen und dann den smsc so zu konfigurieren, dass der PPort aktiv ist. Ein Kernel/Treiber-Patch wäre bei graphlcd nicht nötig, da dieses direktes Port-IO machen kann (sofern der VDR als root läuft).
arghgr
würde mich interessieren...
Grüsse
Thomas
