01-25-2010
Quote:
Originally Posted by
Corona688
You may need to read more on the ISA specification to see how to properly trigger an interrupt.
Hello,
You are right, it is better for me read more about ISA BUS.
I do not want to disturb anybody with problems if I do not understand what is my problem.
Anyway, Thank you very much Corona688 for your help.
Best regards.
I
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
where can i find the i/o and irq's in mandrake 8
help lost :D (2 Replies)
Discussion started by: RYRY46D9
2 Replies
2. UNIX for Dummies Questions & Answers
ENV: linux Version: Mandrake 8.1, PCMCIA card: longshine lcs-8534TB.
(supported according the PCMCIA docs)
laptop is P-II lifetec
/etc/sysconfig/pcmcia:
PCMCIA=yes
PCIC=i82365 ( found via probe -m )
PCIC_OPTS="cs_irq=11 pci_irq_list=11,11 do_scan=0" ( you see i want to force irq 11 )... (3 Replies)
Discussion started by: progressdll
3 Replies
3. UNIX for Dummies Questions & Answers
FreeBSD 4.5
i installed my sound drivers (which are onboard) with the following lines in my kernel
device pcm
options PNPBIOS
then cd /dev
sh MAKEDEV snd0
output from cat /dev/sndstat show the devicedriver (correct one)
ok this works nice
untill i enter my kde and want to play a... (1 Reply)
Discussion started by: termiEEE
1 Replies
4. UNIX for Dummies Questions & Answers
hi,
i looked around already and had no luck finding anything.
Im trying ot install a wpc11v3 linksys wireless card, and i have been for about a week now. :mad: Im near certain i have figured out my problem. When i plug in my card while knoppix is running, it crashes. When i plug it into... (0 Replies)
Discussion started by: jestra
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to increase IRQ4 priority to maximum in Fedora core 9 (kernel version 2.6.25.11-97).If anybody knows plz help me....
I will be very thankful ..
regards,
Raj (0 Replies)
Discussion started by: rajuprade
0 Replies
6. SCO
I have a SCO 5.0.7 server.As there is no parellel port ,printing is done via USB port.
After loading the Network Card driver ,during booting the server gets hanged and the NIC driver is not loaded.If the USB ports are disabled the NIC driver gets loaded.
As both USB and NIC driver are essential... (0 Replies)
Discussion started by: vikramviky
0 Replies
7. Linux
Hi all,
I am a Linux newbie in kernel development. In class I was asked a question about IRQ distribution as followed.
IRQs can be distributed among the available CPUs (in a multiple-CPU system) in two ways:
(1) Static distribution
The IRQ signal is delivered to the local APICs listed... (2 Replies)
Discussion started by: sunnyhay
2 Replies
8. Programming
------------------------
WARNING: at kernel/irq/manage.c:225 __enable_irq+0x3b/0x57()
Unbalanced enable for IRQ 4
Modules linked in: svsknfdrvr
Pid: 634, comm: ash Tainted: G W 2.6.28 #1
Call Trace:
warn_slowpath+0x76/0x8d
profile_tick+0x2d/0x57
irq_exit+0x32/0x34
... (3 Replies)
Discussion started by: dragonpoint
3 Replies
9. Hardware
Hello everyone. I feel that I'm about to answer my own question, but I just want to be sure that I'm right. I know computers all use, at a very low level, the IRQ system of interrupting the CPU when it needs something. My questions are as follows:
1. Does the device in question, say.. a mouse,... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies
10. Programming
Hello,
I'm writing some serial(UART) handler but have stuck on few issues, maybe anyone can help to show me what I'm doing wrong.
Basically I'm intending to write serial RX signal handler.
Application receives defined packages of data over serial which contains header and payload. Handler... (3 Replies)
Discussion started by: Lauris_k
3 Replies
LEARN ABOUT SUSE
request_threaded_irq
REQUEST_THREADED_IRQ(9) Hardware Interfaces REQUEST_THREADED_IRQ(9)
NAME
request_threaded_irq - allocate an interrupt line
SYNOPSIS
int request_threaded_irq(unsigned int irq, irq_handler_t handler, irq_handler_t thread_fn, unsigned long irqflags, const char * devname,
void * dev_id);
ARGUMENTS
irq
Interrupt line to allocate
handler
Function to be called when the IRQ occurs. Primary handler for threaded interrupts If NULL and thread_fn != NULL the default primary
handler is installed
thread_fn
Function called from the irq handler thread If NULL, no irq thread is created
irqflags
Interrupt type flags
devname
An ascii name for the claiming device
dev_id
A cookie passed back to the handler function
DESCRIPTION
This call allocates interrupt resources and enables the interrupt line and IRQ handling. From the point this call is made your handler
function may be invoked. Since your handler function must clear any interrupt the board raises, you must take care both to initialise your
hardware and to set up the interrupt handler in the right order.
If you want to set up a threaded irq handler for your device then you need to supply handler and thread_fn. handler ist still called in
hard interrupt context and has to check whether the interrupt originates from the device. If yes it needs to disable the interrupt on the
device and return IRQ_WAKE_THREAD which will wake up the handler thread and run thread_fn. This split handler design is necessary to
support shared interrupts.
Dev_id must be globally unique. Normally the address of the device data structure is used as the cookie. Since the handler receives this
value it makes sense to use it.
If your interrupt is shared you must pass a non NULL dev_id as this is required when freeing the interrupt.
FLAGS
IRQF_SHARED Interrupt is shared IRQF_DISABLED Disable local interrupts while processing IRQF_SAMPLE_RANDOM The interrupt can be used for
entropy IRQF_TRIGGER_* Specify active edge(s) or level
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 REQUEST_THREADED_IRQ(9)