Re: error switching modes
Stephen Wood <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
You might try replacing "_setmodebrewtomodem" in com_samsung.py with the routine of the same name in com_samsung_packet.py. In principle it does the same thing, but does it a little differently. AT#PMODE=0 is not what your code is trying to send to the phone when you get the error. It is trying to send the packet "setmodemmoderequest" (in p_brew.p) which is something are not likely to be able to send with cu. Stephen On Thu, 10 Feb 2005 02:32:40 +0200, E L <[email protected]> wrote: > Hey, > when trying to get phone numbers I keep getting: > > 2:25:06.892 SCH-N392: trying to switch from BREW mode > 2:25:06.919 SCH-N392: Switching from BREW to modem > 2:25:12.962 Error: Device needs attention - SCH-N392 on /dev/ttyUSB2 > SCH-N392 on /dev/ttyUSB2: The phone is not responding while > transitioning mode from none to phonebook. > > See the help for troubleshooting tips > > when I do maunally at#PMODE=0 it works fine > (manually means using cu -l/dev/ttyUSB2) > it seems to happen from self.setmode(self.MODEPHONEBOOK) in getfundamentals > > right now com_samsungschn392.py is preety much a copy of com_samsungscha670.py > > Ely > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > BitPim-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bitpim-devel > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click