Signalling interrupts to user space


 
Thread Tools Search this Thread
Top Forums Programming Signalling interrupts to user space
# 1  
Old 11-09-2010
Signalling interrupts to user space

What is the simplest function I can use to signal an interrupt from kernel module to user space. I knw the usr app pid in my module.

Also can someone explain the parameters in kill_fasync and send_sig
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Accessing the user space of one OS from within another.

Recently, I setup a dual boot on this PC. I can currently jump from Ubuntu 12.04 and 16.04. What I would like to be able to do is access the home directory of my 16.04 OS from within the 12.04, is that possible? I can mount the partition of the hard drive where 16.04 lives from within 12.04 but it... (4 Replies)
Discussion started by: Circuits
4 Replies

2. Shell Programming and Scripting

[BASH] signalling

Hi guys, I am using slurm to send file to make calculation on a server at my university. The time limit for these calculation is 5 days but sometimes it is not enough. For this reason I need a clean up function that before the calculation ends copy the unfinished calculation file ( in order to... (5 Replies)
Discussion started by: gbengasi
5 Replies

3. UNIX for Advanced & Expert Users

ftp - any best practices for signalling end of transfer?

Hi, I'm writing shell scripts to handle incoming and outgoing automated sftp transfers between a local server and various remote servers belonging to different organizations. I'm wondering if there are any recommended or "best practices" for signalling the end of a ftp file transmission... (2 Replies)
Discussion started by: _dev_null
2 Replies

4. Programming

Question on interrupts and user space app

Can a user space application be asynchronously affected of its normal execution course by an interrupt? How does the driver know which user space process to interrupt? What are the functions in user space and kernel drivers that achieve this? (1 Reply)
Discussion started by: dragonpoint
1 Replies

5. Programming

Getting notified in user-space on interrupts

Hi, I'm working on an AMD opteron running Linux 2.6.28.6 I want to preload a module specific register (MSR) with a value to have it overflow after a number of a specific event counts. As I understand, when the counter in the register overflows, an interrupt will be generated and handled by the... (2 Replies)
Discussion started by: mylinuxforums
2 Replies

6. UNIX for Advanced & Expert Users

wake up user space thread from kernel space ISR

Hello, I'm searching for a proper way to let the kernel space ISR(implemented in a kernel module) wake up a user space thread on a hardware interrupt. Except for sending a real-time signal, is it possible to use a semaphore? I've searched it on google, but it seems impossible to share a... (0 Replies)
Discussion started by: aaronwong
0 Replies

7. UNIX for Dummies Questions & Answers

about concept of Interrupts.

Hi all, I am new here ,i want to know about interrupts in detail.What r Interrupts .how they r handeled. Thanx in adavnce. (1 Reply)
Discussion started by: vishwasrao
1 Replies

8. UNIX for Dummies Questions & Answers

Traps and Interrupts

Well, I don't know where exactly to ask this doubt so I'm asking in the newbie section. I was reading about traps and interrupts when I thought of traps as something that cease the control of the OS from the user and interrupts that cease the control yet provide support for multitasking. Am I right... (3 Replies)
Discussion started by: Legend986
3 Replies

9. UNIX for Advanced & Expert Users

Interrupts problems

Hi, My machine is a Unixware 7.1.3 is a files server, and I had never problem with that machine, but since two days, the machine presents slows problems, i think that the problem is te device interrupts, I had checked all and I dont found it any problem. Any idea? Thanks, (sorry my... (2 Replies)
Discussion started by: By_Jam
2 Replies

10. Filesystems, Disks and Memory

Does unix use interrupts?

I'm a freshman here and I have a simple question. Does unix use interrupts which is like Dos? Are they the same? Thx.:cool: (6 Replies)
Discussion started by: Frank_M
6 Replies
Login or Register to Ask a Question
uhci(7D)							      Devices								  uhci(7D)

NAME
uhci - host controller driver SYNOPSIS
pcivid,pid@unit-address DESCRIPTION
The uhci host controller driver is a USBA (Solaris USB Architecture) compliant nexus driver that supports the Universal Host Controller Interface Specification 1.1, an industry standard developed by Intel. The uhci driver supports all USB transfers, including interrupt, con- trol, isochronous and bulk. FILES
/kernel/drv/uhci 32-bit ELF kernel module. (SPARC or x86). /kernel/drv/amd64/uhci 64-bit ELF kernel module. (x86). /kernel/drv/sparcv9/uhci 64-bit SPARC ELF kernel module. /kernel/drv/uhci.conf Driver configuration file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+---------------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE VALUE | +-----------------------------+---------------------------------+ |Architecture |SPARC or x86 PCI-based systems | +-----------------------------+---------------------------------+ |Availability |SUNWusb | +-----------------------------+---------------------------------+ SEE ALSO
attributes(5), ehci(7D), hubd(7D), ohci(7D), usba(7D) Writing Device Drivers Universal Host Controller Interface Specification for USB 1.1 Universal Serial Bus Specification 2.0 System Administration Guide: Basic Administration http://www.sun.com/io DIAGNOSTICS
All host controller errors are passed to the client drivers. Root errors are documented in hubd(7D). In addition to being logged, the following messages may appear on the system console. All messages are formatted in the following manner: WARNING: <device path> <uhci><instance number>>: Error message... No SOF interrupts have been received. This USB UHCI host controller is unusable. The USB hardware is not generating Start Of Frame interrupts. Please reboot the system. If this problem persists, contact your system vendor. SunOS 5.11 26 July 2005 uhci(7D)