[linux-usb-devel] Suspend to disk with PCMCIA card plugged in with kernel 2.6.16.28

2006-10-05 Thread rasmit.ranjan
Hi, I have a PCMCIA card hosting a USB port. I am facing some problems while trying to suspend my laptop to disk . Given below are some of my observations: 1. With kernel 2.6.15.4, my system does not get suspended to disk with the PCMCIA card plugged in. I went through the mailing list

Re: [linux-usb-devel] [linux-pm] Suspend to disk with PCMCIA card plugged in with kernel 2.6.16.28

2006-10-02 Thread rasmit.ranjan
> -Original Message- > From: Pavel Machek [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 01, 2006 10:35 PM > To: Rasmit Ranjan (WT01 - Semiconductors & Consumer Electronics) > Cc: [EMAIL PROTECTED]; Deepti Chotai (WT01 - > Semiconductors & Consumer Electronics) > Subject: Re: [linux

[linux-usb-devel] Issue with umount and nautilus

2006-09-26 Thread rasmit.ranjan
Hi, I have a multifunction PCMCIA card hosting a USB and UART port. Basically I am facing two problems while doing some operations. 1. PCMCIA card removal while bulk transfer through USB key in progress causes oops and crashes. The log is given bellow. Unable to handle kernel paging request at

[linux-usb-devel] Volume control of usb speaker not working with ehci-hcd.

2006-07-10 Thread rasmit.ranjan
Hi all, I have a usb-speaker which I plugged into my system with ehci-hcd. I use xmms to play .mp3 file and its working properly.Even I try using play command to play .wav file. This is also working fine.Only prblem is, both the volume control of xmms and the speaker is not working. I am us

[linux-usb-devel] soft lockup detected in CPU#0

2006-06-29 Thread rasmit.ranjan
Hi, When ever remove entry point of my host controler is called i get the bug "BUG:soft lockup detected in CPU#0". I searched and found many people facing the problem of getting this bug in different context. Can anyone please explain why does this bug come ? What exactly soft lockup means? Ple

Re: [linux-usb-devel] Problem in HCD resume

2006-06-05 Thread rasmit.ranjan
> -Original Message- > From: Alan Stern [mailto:[EMAIL PROTECTED] > Sent: Friday, June 02, 2006 8:59 PM > To: Rasmit Ranjan (WT01 - Semiconductors & Consumer Electronics) > Cc: [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net > Subject: Re: [linux-usb-devel] Problem in HCD resum

[linux-usb-devel] Problem in HCD resume

2006-06-02 Thread rasmit.ranjan
Hi, I was trying suspend/resume of OHCI based host controller. I suspend the device interface, device/port and the roothub interface/bus selectively through sysfs. According to Power Management sub-system if I resume the roothub interface the all the downsteam devices( device/port and devic

RE: [linux-usb-devel] RWE and RWC bits of OHCI control register

2006-06-01 Thread rasmit.ranjan
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 01, 2006 7:28 AM > To: linux-usb-devel@lists.sourceforge.net > Cc: Rasmit Ranjan (WT01 - Semiconductors & Consumer Electronics) > Subject: Re: [linux-usb-devel] RWE and RWC bits of OHCI > contro

[linux-usb-devel] RWE and RWC bits of OHCI control register

2006-05-29 Thread rasmit.ranjan
Hi all, I have a doubt in RWE and RWC bits of OHCI control register. According to OHCI specification RWC bit is to indicate whether the controller supports remote wakeup or not and this bit is set by the system firmware at the time of POST. But this bit is set in ohci_bus_resume depending on hc

[linux-usb-devel] RE: [linux-pm] Behavior of PCMCIA based HCD in the event of SUSPEND

2006-04-18 Thread rasmit.ranjan
> -Original Message- > From: Alan Stern [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 18, 2006 7:19 PM > To: Rasmit Ranjan (WT01 - Semiconductors & Consumer Electronics) > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: [linux-pm] Behavior of PCMCIA based HCD in the > event

[linux-usb-devel] Re: [linux-pm] Behavior of PCMCIA based HCD in the event of SUSPEND

2006-04-17 Thread rasmit.ranjan
Hi Alan, I went through the reply sent by you to Kaustav.I have some doubts. -- Message: 3 Date: Mon, 17 Apr 2006 10:15:04 -0400 (EDT) From: Alan Stern <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: linux-usb-devel@lists.so

[linux-usb-devel] Problem in kernel recompilation

2006-04-11 Thread rasmit.ranjan
Hi all, I have a laptop which doesn't have a brandname. It is a 'china make' and I think is assembled laptop. This laptop uses a promise SATA card, to which a harddisk is connected. So, during booting it requires a promise SATA card driver, otherwise Harddisk is not detected properly. I faced this

[linux-usb-devel] significance of __devexit_p()

2006-03-24 Thread rasmit.ranjan
Hi all, I was going through platform_driver structure of "sl811-hcd.c". The defined structure is given below. struct platform_driver sl811h_driver = { .probe = sl811h_probe, .remove = __devexit_p(sl811h_remove), .suspend = sl811h_suspend, .resume = sl811h_resume, .driver = { .name =

[linux-usb-devel] timer in linux driver

2006-03-22 Thread rasmit.ranjan
Hi all, If I do add_timer() multiple times with same timer object as parameter then the last one will be executed as there can be only one timer running for a timer object. Now if I call add_timer() multiple times with different timer objects then the timer objects will be queued up in acti

[linux-usb-devel] 250 msec delay before auto suspend

2006-03-20 Thread rasmit.ranjan
Hi all, After the bus resume in ohci_bus_resume (), we are doing ohci->next_statechange = jiffies + msecs_to_jiffies (250); In ohci_hub_status_data(), in auto suspend part before calling ohci_bus_suspend() we are checking some of the conditions. The below condition is one of the

[linux-usb-devel] hcd->self.controller->power.power_state change

2006-03-12 Thread rasmit.ranjan
Hi all, hcd->self.controller->power.power_state is no set to PMSG_SUSPEND or PMSG_ON in any where in linux. But the state is being checked in hcd_submit_urb. So whilewritting ohci do i need to change this value any where? can anyone please suggest ? Thanks and regards, Rasmit. ---

[linux-usb-devel] Significance of HCD_FLAG_SAW_IRQ flag

2006-03-09 Thread rasmit.ranjan
Hi all, Can anyone suggest me the significance of HCD_FLAG_SAW_IRQ ? hcd->flags is set to HCD_FLAG_SAW_IRQ in usb_hcd_irq ( ) and cleared in usb_hcd_pci_resume ( ). Please suggest. Rasmit Ranjan Swain. --- This SF.Net email is sponsor

[linux-usb-devel] usb new polling mechanism

2006-03-09 Thread rasmit.ranjan
Hi all, In usb_hcd structure there are two flags. uses_new_polling and poll_rh. Can anyone suggest the use of these two flags ? In usb_add_hcd ( ), depending upon these two flags ( if they are set ) usb_hcd_poll_rh_status( ) is called . In usb_remove_hcd( ), poll_rh flag is cleared. But these t

RE: [linux-usb-devel] Suspend/Resume of usb host controller

2006-02-27 Thread rasmit.ranjan
Thanks Dave, I have registered my hcd as a platform driver. In my hc_driver structure I have 4 entry points related to PM. Those are bus_suspend/resume and suspend/resume. In my platform driver I have two entry points related to PM. Those r suspend/resume. Now if I can provide all the functiona

[linux-usb-devel] Suspend/Resume of usb host controller

2006-02-23 Thread rasmit.ranjan
Hi, I am developing a driver for a USB Host Controller (HC) on PCMCIA card. The Host controller is OHCI based. I have a doubt. From the specification it seems that once the Host Controller Functional State (HCFS) is changed to suspended, list processing and SOF token generation stop but the HC re