Re: Disabling an interrupt

2011-03-02 Thread Dave Hylands
Hi Jacky, On Wed, Mar 2, 2011 at 6:26 PM, Jacky Lam wrote: > Hi Dave, > >     I have confirmed the execution has go into >         desc->irq_data.chip->irq_disable(&desc->irq_data); > > However, irq_disable points to kernel/irq/chip.c:default_disable() which > do nothings. > Unlike default_en

Re: Disabling an interrupt

2011-03-02 Thread Jacky Lam
Hi Dave, I have confirmed the execution has go into desc ->irq_data .chip ->irq_disable (&desc

Re: Disabling an interrupt

2011-03-02 Thread Dave Hylands
Hi Jacky, Sending to the list as well. On Tue, Mar 1, 2011 at 1:55 AM, Jacky Lam wrote: > Hi, > > It's long before when I want to enable/disable an interrupt, I call > enable_irq()/disable_irq(). However, recently, I do that again. > disable_irq() do nothing. I looked into the code and find

Re: Disabling an interrupt

2011-03-02 Thread Sri Ram Vemulpali
http://lxr.linux.no/linux+v2.6.37.2/kernel/irq/manage.c#L217 Check the above link. --Sri On Tue, Mar 1, 2011 at 3:55 AM, Jacky Lam wrote: > Hi, > >     It's long before when I want to enable/disable an interrupt, I call > enable_irq()/disable_irq(). However, recently, I do that again. > disable

Re: likely kernel/driver problem with 3G USB stick

2011-03-02 Thread John Mahoney
On Tue, Mar 1, 2011 at 11:10 AM, Simon Leung wrote: > Hi all, > > I'm having a problem with my 3G USB stick (Huawei E220) . > > The kernel I'm using is version 2.6.21 customized for an ARM board. When > I insert the USB stick into the system, normally 3 device show up: > /dev/ttyUSB{0,1,2}. The p

Re: what is the kernel symbol for user space grant access driver

2011-03-02 Thread Tapas Mishra
On Wed, Mar 2, 2011 at 8:35 PM, Daniel Baluta wrote: > Hello, > >> I want to know with respect to an image here >> http://bderzhavets.files.wordpress.com/2010/04/pv-2-6-32-12.png >> I have already compiled a kernel >> it mentions to enable  "user space grant access driver" >> While compiling I did

Re: what is the kernel symbol for user space grant access driver

2011-03-02 Thread Daniel Baluta
Hello, > I want to know with respect to an image here > http://bderzhavets.files.wordpress.com/2010/04/pv-2-6-32-12.png > I have already compiled a kernel > it mentions to enable  "user space grant access driver" > While compiling I did not notice it how can I now verify post compile > some symbol

what is the kernel symbol for user space grant access driver

2011-03-02 Thread Tapas Mishra
Hi, I want to know with respect to an image here http://bderzhavets.files.wordpress.com/2010/04/pv-2-6-32-12.png I have already compiled a kernel it mentions to enable  "user space grant access driver" While compiling I did not notice it how can I now verify post compile some symbol CONFIG_* which

Simple write to an UART mode register fails

2011-03-02 Thread Frey ext-FA, Maurus
Hi, I wrote a simple module, which should initialise an USART in RS485-mode (RTS stays low after initialisation) and register it as platform_device. Its on an Atmel at91sam9260 board, so I can re-use most of the mach arm-sources (atmel_serial.c etc.) When the module gets loaded I got the followin

Re: To schedule a process?

2011-03-02 Thread sanjeev sharma
Hi All, I am agree that these question come across so many times and that's why Anuz has written some Kernel newbies Guidelines. So people should read these guidelines first. Thanks Sanjeev Sharma On Tue, Mar 1, 2011 at 11:39 AM, Manish Katiyar wrote: > On Mon, Feb 28, 2011 at 10:03 PM, Muly