[linux-usb-devel] Usb serial with power ON/OFF problem

2005-05-30 Thread rao.shalini
Hi Greg/Lee, On this problem one more scenario, we tried to do switch off mobile manually without AT+CFUN=0, with this we are not getting control on file descriptors and we are not able to reopen file descriptors. Whereas in other case we could trap AT command and open the file descriptor, but in

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-16 Thread Greg KH
On Mon, May 16, 2005 at 06:40:52PM -0400, Greg Lee wrote: > > What oops do you get? On a recent 2.6 kernel? > > The kernel is 2.6.11.7. It's not a full kernel Oops, rather a NULL pointer > dereference in the kernel. The phone is recognized as an ACM device under > 2.6 kernels (not usbserial).

RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-16 Thread Greg Lee
> What oops do you get? On a recent 2.6 kernel? The kernel is 2.6.11.7. It's not a full kernel Oops, rather a NULL pointer dereference in the kernel. The phone is recognized as an ACM device under 2.6 kernels (not usbserial). I have a copy of all of the console output from boot to the error if

RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-16 Thread Greg Lee
> And yes, if a device goes away with a open file descriptor, > on 2.6, you will get a new usb device node for when the > device shows back up. It will not reconnect to the same open > file descriptor, sorry. That is not a problem, we re-open anyways. But if we write on the old file descripto

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-12 Thread Greg KH
On Wed, May 11, 2005 at 04:25:03PM -0400, Greg Lee wrote: > Greg, I'm jumping in here with some information that I hope helps a bit. Don't take people off of the CC: they might not notice :) > I > presently work with several different kernels (2.4.17, 2.4.19, 2.4.21 and a > recent 2.6 kernel whic

RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-12 Thread rao.shalini
Sent: Thursday, May 12, 2005 1:55 AM To: linux-usb-devel@lists.sourceforge.net Subject: RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8 > I'm sorry, but I don't see the specs for your device on how > it works. Did you forget to attach them? >

RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-11 Thread Greg Lee
> I'm sorry, but I don't see the specs for your device on how > it works. Did you forget to attach them? > > thanks, > > greg k-h Greg, I'm jumping in here with some information that I hope helps a bit. I presently work with several different kernels (2.4.17, 2.4.19, 2.4.21 and a recent 2.6 ke

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-11 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I includ

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-11 Thread Greg KH
On Wed, May 11, 2005 at 12:46:40PM +0530, [EMAIL PROTECTED] wrote: > > Hi Greg, > > I'm sending driver code and device info, so that you can get an idea of > what is happening? > > > Please find enclosed attachment of driver code and device info Um, that is an old 2.4 version of the usb-serial

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-10 Thread Greg KH
On Tue, May 10, 2005 at 03:29:29PM +0530, [EMAIL PROTECTED] wrote: > > I wanted to add one more scenario that is, device is OFF, it's charging > if we give AT+CFUN=0 command, it again disconnect the device. > > Please update this with previous mail. > > Tell me what could be done on this. Witho

FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-10 Thread rao.shalini
ailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 2:16 PM To: [EMAIL PROTECTED] Cc: linux-usb-devel@lists.sourceforge.net Subject: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8 Hi Greg, I tried Linux-2.6.11.8 and patch-2.6.12-rc3 to chec

[linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-10 Thread rao.shalini
Hi Greg, I tried Linux-2.6.11.8 and patch-2.6.12-rc3 to check USB device (mobile) power ON/OFF. But still it is disconnecting and connecting the device while USB device is charging. And also I observed some of the conditions on power ON/OFF One scenario is, if device is OFF and while charging