Re: Mobile CDMA problem with my SAMSUNG phone (NM sees it as GSM?)?



On Fri, 2009-01-16 at 12:01 -0500, Derek Atkins wrote:
> Hi Dan (et al),
> 
> I just upgraded to F10 and I'm trying to get NM to talk to
> my mobile phone again.   I have a CDMA (SprintPCS) phone,
> but when I plug it in NM seems to think it's a GSM phone
> and there's no way I can tell it otherwise.
> 
> When I plug my phone in I see:
> 
> Jan 16 09:19:29 pgpdev kernel: usb 4-1: New USB device found, idVendor=04e8, idP
> roduct=6601
> Jan 16 09:19:29 pgpdev kernel: usb 4-1: New USB device strings: Mfr=1, Product=2
> , SerialNumber=0
> Jan 16 09:19:29 pgpdev kernel: usb 4-1: Product: SAMSUNG CDMA Technologies
> Jan 16 09:19:29 pgpdev kernel: usb 4-1: Manufacturer: SAMSUNG Electronics Co.,Lt
> d.

Looks like Samsung used the same VID/PID for the Samsung SGH-A707 (AT&T
Sync).  Or maybe the USB device is actually in the cable and both these
phones use the same cable.

For the time being, until we push auto-probing into udev, you can
edit /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi and
change the section for the Sync to be:

      <!-- Samsung SGH-A707 (AT&T Sync) -->
      <match key="@info.parent:usb.vendor_id" int="0x04e8">
        <match key="@info.parent:usb.product_id" int="0x6601">
          <match key="@info.parent:usb.interface.number" int="0">
            <append key="info.capabilities" type="strlist">modem</append>
              <append key="modem.command_sets" type="strlist">IS-707-A</append>
          </match>
        </match>
      </match>

The magic bit is removing the "GSM" lines and adding the "IS-707-A" line.

Dan

> And NM logs:
> 
> Jan 16 09:19:29 pgpdev NetworkManager: <info>  ttyACM0: driver is 'cdc_acm'.
> Jan 16 09:19:29 pgpdev NetworkManager: <info>  Found new Modem device 'ttyACM0'.
> Jan 16 09:19:29 pgpdev NetworkManager: <info>  (ttyACM0): exported as /org/freed
> esktop/Hal/devices/usb_device_4e8_6601_noserial_if0_serial_unknown_0
> Jan 16 09:19:33 pgpdev NetworkManager: <info>  (ttyACM0): device state change: 1
>  -> 2
> Jan 16 09:19:33 pgpdev NetworkManager: <info>  (ttyACM0): deactivating device (r
> eason: 2).
> Jan 16 09:19:33 pgpdev NetworkManager: nm_system_device_flush_ip4_routes_with_if
> ace: assertion `iface_idx >= 0' failed
> Jan 16 09:19:33 pgpdev NetworkManager: nm_system_device_flush_ip4_addresses_with
> _iface: assertion `iface_idx >= 0' failed
> Jan 16 09:19:33 pgpdev NetworkManager: <info>  (ttyACM0): device state change: 2
>  -> 3
> 
> So what changes do I need to make to get NM to see my phone
> as a CDMA phone instead of a GSM phone?
> 
> -derek



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]