Using lssuperio, I get the following:
# ./lssuperio
lssuperio V0.69 (EXPERIMENTAL)
Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ...
SMSC Super-IO detection, now testing Ports 2F0, 370, 2E, 4E ...
SMSC chip at EFER=0x2e key=0x55 id=0e rev=01
oldid=0x00 oldrev=0x00
LDN 0( FDC): io=0x3f0, irq= 6, dma= 2
LDN 1(reserved): Disabled.
LDN 2(reserved): Disabled.
LDN 3( LPT): io=0x378, irq= 7, dma= 4
LDN 4( UART_A): io=0x3f8, irq= 4, dma=No
LDN 5( UART_B): Disabled.
LDN 6( RTC): Disabled.
LDN 7( KBC): io=0x0, irq= 1, irq2=12, dma=No
LDN 8( ACPI EC): Disabled.
LDN 9(Mailbox Reg. (8051)): io=0x910, irq=No, dma=No
LDN a( LGPIO): io=0x900, irq=No, dma=No
LPT mode=ECP FIFO thresh.=7
Checking around in /proc/sys/dev/parport/parport0
# cat irq
7
# cat dma
4
int cap;
ieee1284_open(port, flags, &cap);
printf("%d\n", cap);
Gives me a cap = 2191, coverting that to bin 1000 1000 1111
Looking at ieee1284.h at enum ieee1284_capabilities. the output of lssuperio,
confirmed with the BIOS does not match the capabilities from ieee1284_open().
I should have the CAP1284_DMA (1<<12) (ala dma channel 4) and
CAP1284_IRQ(1<<11) (ala irq 7) capabilities. But the cap is only showing
IRQs. Is this because libieee1284 is detecting my port can only do EPPSWE?
-- Bob Tanner <tanner@mn-linux.org> | Phone : (952)943-8700 http://www.mn-linux.org, Minnesota, Linux | Fax : (952)943-8500 Key fingerprint = AB15 0BDF BCDE 4369 5B42 1973 7CF1 A709 2CC1 B288-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 18:22:21 EDT