On Mon, 4 Feb 2013, Jon Elson wrote:

> On 02/04/2013 02:44 PM, [email protected] wrote:
>> if i modify the pcisetup utility to read and write
>>
>> val = inb(extctrl_addr);
>> printf("val => 0x%x\n",val);
>> outb(0x80,extctrl_addr);  // set for EPP mode
>> printf("wrote 0x80 to 0x%x\n",extctrl_addr);
>> val = inb(extctrl_addr);
>> printf("val => 0x%x\n",val);
>>
>> i get
>>
>> val => 0x35
>> wrote 0x80 to 0x77a
>> val => 0x85
>>
>> and i notice that "$ cat /proc/sys/dev/parport/parport0/modes"
>> shows no epp mode available
>>
>> PCSPP,TRISTATE,COMPAT,ECP
>>
>> does that mean hardware that requires epp mode will not work
>>
>>
> It doesn't tell you a whole lot.  But, it is quite possible that after
> running this,
> programs that need EPP mode may work fine.  The result looks similar
> to what I see on other computers.  The 5 in the extctrl register
> comes from unrelated hardware.  But, the 0x80 bit did get set,
> that's the important one.
>
> The parport0 mode info comes from the incorrect BIOS, so what it
> telly the system is wrong, that is the CRUX of the whole problem.
> And, it is wrong on a NUMBER of different systems.
>

i checked /proc/sys/dev/parport/parport0/modes on half a dozen different 
machines and not one listed epp
all were dell and hp

thanks
richard

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to