LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-03-2018, 08:38 AM   #1
rszulim
LQ Newbie
 
Registered: Apr 2018
Posts: 12

Rep: Reputation: Disabled
slackware 14.2 Fintek Super IO F81866 UART how to check IRQ sharing?


Hello,

I try to install touch panel on AFL-08A-N26/R/2G-R11 PC Panel. The installation program does not detect any PenMount module. This panel is ecquipped with Fintek F81866 Super IO. The support suggested on setting up irq sharing.

Dmesg during startup shows:
[ 0.921855] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.943440] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.965172] 00:06: ttyS2 at I/O 0x3e8 (irq = 10, base_baud = 115200) is a 16550A
[ 0.992712] 00:07: ttyS3 at I/O 0x2e8 (irq = 10, base_baud = 115200) is a 16550A
[ 1.020114] 00:08: ttyS1 at I/O 0x250 (irq = 10, base_baud = 115200) is a 16550A

3 serial ports uses the same irq.
How can I be sure that irq sharing is working fine? How can I check it?

Regards,
Robert
 
Old 05-03-2018, 08:54 AM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
I believe you can check using this:
Code:
$ watch -n1 cat /proc/interrupts
Look at the far-right column for comma separated values, IIRC these are using a shared IRQ when more than one is present. For example on my machine this entry:

Code:
  18:      44726      44770      44359      44534      44477      44823      45504      55564  IR-IO-APIC   18-fasteoi   ohci_hcd:usb8, ohci_hcd:usb9, ohci_hcd:usb10, ohci_hcd:usb11
Being shared by
Code:
ohci_hcd:usb8, ohci_hcd:usb9, ohci_hcd:usb10, ohci_hcd:usb11
 
Old 05-03-2018, 09:08 AM   #3
rszulim
LQ Newbie
 
Registered: Apr 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
In my case:

CPU0 CPU1 CPU2 CPU3
0: 157 0 0 0 IO-APIC 2-edge timer
4: 3 4 4 1 IO-APIC 4-edge
7: 45 0 0 0 IO-APIC 7-edge
8: 7 8 7 5 IO-APIC 8-edge rtc0
9: 0 0 0 0 IO-APIC 9-fasteoi acpi
10: 8 8 7 7 IO-APIC 10-edge
14: 0 0 0 0 IO-APIC 14-edge pata_legacy.0
15: 0 0 0 0 IO-APIC 15-edge pata_legacy.1
16: 0 0 0 0 IO-APIC 16-fasteoi uhci_hcd:usb5
18: 12 13 12 8 IO-APIC 18-fasteoi ath9k, uhci_hcd:usb4
19: 1553 1591 1632 1618 IO-APIC 19-fasteoi ata_piix, i801_smbus, uhci_hcd:usb3
23: 1 0 0 1 IO-APIC 23-fasteoi ehci_hcd:usb1, uhci_hcd:usb2
27: 1215 1264 1300 1276 PCI-MSI 524288-edge eth0
29: 34 70 187 112 PCI-MSI 442368-edge snd_hda_intel
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 60911 54063 47512 38119 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
IWI: 0 0 0 0 IRQ work interrupts
RTR: 0 0 0 0 APIC ICR read retries
RES: 1145 1072 1196 959 Rescheduling interrupts
CAL: 667 500 993 1014 Function call interrupts
TLB: 31 27 27 26 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 11 11 11 11 Machine check polls
ERR: 45
MIS: 0
PIN: 0 0 0 0 Posted-interrupt notification event
PIW: 0 0 0 0 Posted-interrupt wakeup event


How to interpret this listing? I'm not sure.

Robert
 
Old 05-03-2018, 10:54 AM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
The numbers in the first column is the IRQ

IRQ 10, as mentioned by your dmesg is;
Code:
10: 8 8 7 7 IO-APIC 10-edge
* "8,8,7,7" is just the total number of interrupts made on each cpu.
* "IO-APIC" is the interrupt controller for that IRQ.
* "edge" is the type of interrupt.

I'm not sure how serial ports should show up in this output however.
 
Old 05-07-2018, 07:19 AM   #5
rszulim
LQ Newbie
 
Registered: Apr 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi,

I did it by compiling and installing new kernel 4.16.7 with nr_uarts=6 set in the options. Then serial ttyS4 become visible and after setting irq sharing in F81866 the PenMount become active under x11.

Regards,
Robert
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IRQ sharing between modules bzahi Programming 1 09-04-2010 02:13 AM
Two soundcards sharing same IRQ Frybyte Linux - Hardware 3 03-14-2005 06:31 AM
Sharing IRQ wrongman Linux - Hardware 3 05-10-2004 05:08 PM
IRQ 11 Sharing Issues digibliss Linux - Hardware 3 11-23-2003 03:10 PM
IRQ sharing Serena Linux - General 2 04-28-2002 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration