Re: Documentation for usbmouse.c

2015-05-08 Thread Farm Dve
Valdis, for quite some time now you have been attaching a 'noname'
attachment to all your replies. Is this intentional? If it isn't I
kindly ask you to resolve the issue :)

Sorry for the offtopic response.

On Thu, Apr 30, 2015 at 7:59 AM,   wrote:
> On Thu, 30 Apr 2015 09:56:23 +0530, Ronit Halder said:
>
>> Where do i get documentation for usb mouse ( usbmouse.c ).I was reading
>> /home/roni/linux/drivers/hid/usbhid/usbmouse,c and i am unable to
>> understand some part of it.So,i need help.
>
> Which parts *specifically* are you confused about and what exactly do you
> not understand?
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Linux and interrupts. How do they work?

2015-02-20 Thread Farm Dve
My question pertains interrupts in SoCs, smartphones etc.

I am examining some drivers and the code for the architecture in
arch/ and I see code that defines a struct resource with .start
and .end members that are the same, with .flags = IORESOURCE_IRQ.

Where .start and .end is some value like 0x234, my question is if this
is an address of the phone's memory(RAM) or is it something else? I am
simply trying to figure out how various hardware issue interrupts, is
0x234 a memory address or a value that the CPU sees somehow(but from,
where?) and tries to find a handler for this specific interrupt.
My specific issue here is that I have a SoC that has an ARM cpu that
runs the Linux kernel and everything else, but the SoC also has
another chip that has a separate embedded arm CPU inside it running
some ARM code, which when it has some work to send it issues an
interrupt. And I am simply trying to understand how that works.
I apologize if my question is too generic and does not pertain to Linux at all.

Thank  you.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies