Re: Accessing Ram on PCI card

2015-06-01 Thread Greg KH
On Mon, Jun 01, 2015 at 10:55:44PM +0530, Robert Clove wrote: > Hi, > > I have a pci card that has some amount of ram and flash memory on it. What kind of card? > I have found the bar address range for the memory. > I want to transfer a file to that memory and read from that memory. PCI card me

Re: How .suspend and .resume are invoked

2015-06-01 Thread Anand Moon
Hi Bjorn, On Monday, June 1, 2015 1:54 PM, Bjørn Mork wrote: Anand Moon writes: > hi All, > > I would like to know how .suspend and .resume > in device driver invoked where ACPI is not used. https://www.kernel.org/doc/Documentation/power/devices.txt > What I meant is suppose you have USB

Accessing Ram on PCI card

2015-06-01 Thread Robert Clove
Hi, I have a pci card that has some amount of ram and flash memory on it. I have found the bar address range for the memory. I want to transfer a file to that memory and read from that memory. Any pointers(in terms of sample code) how can i do that? Regards _

Re: Stop usbhid from claiming usb device on hotplug

2015-06-01 Thread Armin Moradi
>>> Basically what your doing wrong is not understanding the hierarchy of USB >>> devices on your system's bus. >>> What is happening is your trying to register a USB device where the Id >>> marco is not the correct one in the >>> hierarchy and therefore is over ruled by the one from usbhid. >>>

Re: Stop usbhid from claiming usb device on hotplug

2015-06-01 Thread Armin Moradi
> Basically what your doing wrong is not understanding the hierarchy of USB > devices on your system's bus. > What is happening is your trying to register a USB device where the Id marco > is not the correct one in the > hierarchy and therefore is over ruled by the one from usbhid. > If you send

Re: How .suspend and .resume are invoked

2015-06-01 Thread Bjørn Mork
Anand Moon writes: > hi All, > > I would like to know how .suspend and .resume > in device driver invoked where ACPI is not used. https://www.kernel.org/doc/Documentation/power/devices.txt > What I meant is suppose you have USB not connected > then what is the state of the device driver. > > Is

How .suspend and .resume are invoked

2015-06-01 Thread Anand Moon
hi All, I would like to know how .suspend and .resume in device driver invoked where ACPI is not used. What I meant is suppose you have USB not connected then what is the state of the device driver. Is the .probe function running continuously in the background. -Anand Moon __