Re: LG PM-325 auto detect

Jerad Clark <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
ok, so more support needs to be added to get auto-detection, and the
Exception text is attached.

Thanks,
Jerad

On 10/26/05, Joe Pham <[email protected]> wrote:
> >What needs to happen to get it to detect it as the LG PM-325?
>
> First, the phone must be fully supported and moved out of the Debug mode.  Second, a phone detection routine must be written for the phone.
>
> >And if I detect twice I get an exception, is this normal?
>
> No, please post the exception text.
>
> -Joe Pham
>
>
>
> ______________________________________________________________________
> Revolutionize the way you surf the Web!
> Try NetZero HiSpeed 3G.
> Visit http://www.netzero.com to sign up today!
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> BitPim-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bitpim-devel
>


--
All the evil in this world is a denial of what is true.
exception.txt (text/plain, 5 KB)
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "C:\projects\bitpim\gui.py", line 173, in run
    res=call()
  File "C:\projects\bitpim\gui.py", line 113, in __call__
    return apply(self.method, self.args+args, d)
  File "C:\projects\bitpim\gui.py", line 1736, in detectphone
    return phone_detect.DetectPhone(self).detect(using_port)
  File "C:\projects\bitpim\phone_detect.py", line 236, in detect
    self)
  File "C:\projects\bitpim\com_lgvx4400.py", line 889, in detectphone
    p.get_detect_data(res[port])
  File "C:\projects\bitpim\com_lgvx4400.py", line 814, in get_detect_data
    s=self.getfilecontents(self.brew_version_file)
  File "C:\projects\bitpim\com_brew.py", line 752, in getfilecontents
    node=self.statfile(file)
  File "C:\projects\bitpim\com_brew.py", line 862, in statfile
    res=self.sendbrewcommand(req, p_brew.new_statfileresponse)
  File "C:\projects\bitpim\com_brew.py", line 601, in sendbrewcommand
    raise common.CommsDataCorruption("Brew packet failed CRC check", self.desc)
CommsDataCorruption: LG-PM325: Brew packet failed CRC check

Variables by last 8 frames, innermost last

Frame __call__ in C:\projects\bitpim\gui.py at line 113
           self =  <gui.Request instance at 0x02DE8CD8>
           args =  ()
              d =  Keys []
                   {}
         kwargs =  Keys []
                   {}

Frame detectphone in C:\projects\bitpim\gui.py at line 1736
           self =  <WorkerThread(BitPim helper, started daemon)>
     using_port =  None

Frame detect in C:\projects\bitpim\phone_detect.py at line 236
   likely_ports =  ['COM6']
              e =  'COM5'
         models =  ['Audiovox CDM-8900', 'LG-G4015 (AT&T)', 'LG-PM325 (Sprint)', 'LG-TM520', 'LG-VX
     using_port =  None
           coms =  [{'available': False, 'driverdate': (2001, 7, 1), 'description': 'Communications
     found_port =  None
              q =  'Done on port: COM5'
        threads =  [<Thread(Thread-2, stopped daemon)>]
              t =  <Thread(Thread-2, stopped daemon)>
    found_model =  None
              x =  Keys ['active', 'available', 'class', 'description', 'driverdate', 'driverdescription', 'driverprovider', 'driverversion', 'hardwareinstance', 'name']
                   {'available': True, 'driverdate': (2004, 9, 14), 'description': 'LG COM Port (CO
          model =  'LG-PM325 (Sprint)'
             pm =  Keys ['Audiovox CDM-8900', 'LG-G4015 (AT&T)', 'LG-PM325 (Sprint)', 'LG-TM520', 'LG-VX10', 'LG-VX3200', 'LG-VX4400', 'LG-VX4500', 'LG-VX4600 (Telus Mobility)', 'LG-VX4650 (Verizon Wireless)', 'LG-VX6000', 'LG-VX6100', 'LG-VX7000', 'LG-VX8000 (Verizon Wireless)', 'LG-VX8100 (Verizon Wireless)', 'MM-7400', 'MM-8300', 'Other CDMA phone', 'PM-8200', 'RL-4920', 'SCH-A310', 'SCH-A650', 'SCH-A670', 'SCP-4900', 'SCP-5300', 'SCP-5400', 'SCP-5500', 'SCP-7200', 'SCP-7300', 'SCP-8100', 'SCP-8100 (Bell Mobility)', 'SK6100 (Pelephone)', 'SPH-A460', 'SPH-A620 (VGA1000)', 'SPH-N200']
                   {'LG-VX3200': 'com_lgvx3200', 'SCP-7200': 'com_sanyo7200', 'SPH-N200': 'com_sams
 available_coms =  ['COM5', 'COM6']
           self =  <phone_detect.DetectPhone object at 0x02605BF0>
available_modem_coms =  ['COM5']

Frame detectphone in C:\projects\bitpim\com_lgvx4400.py at line 894
            res =  Keys ['COM5', 'COM6']
                   {'COM5': {'mode_modem': True, 'mode_brew': False, 'firmwareresponse': None, 'esn
           coms =  [{'available': False, 'driverdate': (2001, 7, 1), 'description': 'Communications
              p =  <com_lgpm325.Phone instance at 0x02DEB4E0>
   likely_ports =  ['COM6']
           _log =  <phone_detect.DetectPhone object at 0x02605BF0>
           port =  'COM6'

Frame get_detect_data in C:\projects\bitpim\com_lgvx4400.py at line 820
            res =  Keys ['esn', 'firmware_version', 'firmwareresponse', 'manufacturer', 'mode_brew', 'mode_modem', 'model']
                   {'mode_modem': None, 'mode_brew': True, 'firmwareresponse': None, 'esn': None, '
           self =  <com_lgpm325.Phone instance at 0x02DEB4E0>

Frame getfilecontents in C:\projects\bitpim\com_brew.py at line 752
           self =  <com_lgpm325.Phone instance at 0x02DEB4E0>
      use_cache =  False
           file =  'brew/version.txt'

Frame statfile in C:\projects\bitpim\com_brew.py at line 862
           self =  <com_lgpm325.Phone instance at 0x02DEB4E0>
            req =  <p_brew.new_statfilerequest object at 0x02693AB0>
           name =  'brew/version.txt'

Frame sendbrewcommand in C:\projects\bitpim\com_brew.py at line 601
       origdata =  '\x13K\x13\x0f\x00brew/version\x1f\xf0~'
              d =  1
  responseclass =  <class 'p_brew.new_statfileresponse'>
         buffer =  <prototypes.buffer instance at 0x02DEB0D0>
           data =  'K\x13\x0f\x00brew/version'
    callsetmode =  True
       firsttwo =  'K\x13'
        request =  <p_brew.new_statfilerequest object at 0x02693AB0>
            crc =  '\x1f\xf0'
        calccrc =  'Z\xaf'
           self =  <com_lgpm325.Phone instance at 0x02DEB4E0>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.