Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: SynCE

  1. #1

    Exclamation SynCE

    Hello!
    If connect phone to my notebook(opensuse 11.1, i586, 32bit, online update + )I have error:
    dmesg:
    Code:
    usb 5-1: new full speed USB device using uhci_hcd and address 2
    usb 5-1: configuration #1 chosen from 1 choice
    usb 5-1: New USB device found, idVendor=0bb4, idProduct=0bce
    usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 5-1: Product: Generic RNDIS
    usb 5-1: Manufacturer: HTC
    usb 5-1: SerialNumber: 00786335-7933-0142-7800-0050bf3f5173
    usbcore: registered new interface driver usbserial
    usbserial: USB Serial support registered for generic
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial Driver core
    rndis_wlan: Unknown symbol rndis_tx_fixup
    rndis_wlan: Unknown symbol rndis_unbind
    rndis_wlan: Unknown symbol rndis_status
    rndis_wlan: Unknown symbol rndis_command
    rndis_wlan: Unknown symbol generic_rndis_bind
    rndis_wlan: Unknown symbol rndis_rx_fixup
    usbserial: USB Serial support registered for PocketPC PDA
    ipaq: USB PocketPC PDA driver v0.5
    ipaq 5-1:1.0: PocketPC PDA converter detected
    usb 5-1: PocketPC PDA converter now attached to ttyUSB0
    ipaq 5-1:1.1: PocketPC PDA converter detected
    usb 5-1: PocketPC PDA converter now attached to ttyUSB1
    usbcore: registered new interface driver ipaq
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver rndis_host
    PPP generic driver version 2.4.2
    BUG: unable to handle kernel NULL pointer dereference at 0000003c
    IP: [<f9721941>] :ipaq:ipaq_open+0x1bb/0x31b
    *pdpt = 000000002850b001 *pde = 0000000000000000 
    Oops: 0002 [#1] SMP 
    last sysfs file: /sys/devices/pci0000:00/0000:00:1d.1/usb5/5-1/5-1:1.0/ttyUSB0/port_number
    Modules linked in: ppp_generic slhc rndis_host(N) cdc_ether(N) ipaq usbnet(N) mii usbserial bridge stp bnep sco rfcomm l2cap bluetooth i915 drm af_packet snd_pcm_oss snd_mixer_oss binfmt_misc snd_seq snd_seq_device vmnet(N) vmblock(N) vmci(N) vmmon(N) ipv6 cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq speedstep_lib fuse loop dm_mod arc4 ecb crypto_blkcipher iwlagn iwlcore snd_hda_intel rfkill led_class ppdev snd_pcm mac80211 video snd_timer rtc_cmos snd_page_alloc parport_pc i2c_i801 rtc_core output snd_hwdep iTCO_wdt usbhid parport rtc_lib intel_agp container button battery ac hid sky2 iTCO_vendor_support snd agpgart pcspkr joydev sr_mod i2c_core serio_raw cfg80211 ff_memless soundcore cdrom usb_storage sg sd_mod crc_t10dif ehci_hcd uhci_hcd usbcore edd reiserfs fan ide_pci_generic ide_core ata_generic ata_piix libata scsi_mod dock thermal processor thermal_sys hwmon
    Supported: No
    
    Pid: 5151, comm: pppd Tainted: G          (2.6.27.7-9-pae #1)
    EIP: 0060:[<f9721941>] EFLAGS: 00210246 CPU: 0
    EIP is at ipaq_open+0x1bb/0x31b [ipaq]
    EAX: 00000000 EBX: 00000100 ECX: f640a140 EDX: ea1b3000
    ESI: 00000000 EDI: e8479ba0 EBP: ea1a7e00 ESP: e842de00
     DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    Process pppd (pid: 5151, ti=e842c000 task=e855a0b0 task.ti=e842c000)
    Stack: c0299a1d e850db00 f55019c0 e8c2e7f0 c02941c4 e8525c34 e8525c00 e8479bb4 
           e9c52540 00000064 f97288f0 ea1a7e00 e9c52540 e8525c00 f9002d42 c0293747 
           0000000b e850dac0 e85265c0 ea1a7e4c ffffffed f9002c68 e85265c0 00000000 
    Call Trace:
     [<f9002d42>] serial_open+0xda/0x134 [usbserial]
     [<c02967eb>] __tty_open+0x192/0x2a0
     [<c029690d>] tty_open+0x14/0x23
     [<c019e889>] chrdev_open+0x14d/0x164
     [<c019aa97>] __dentry_open+0x10e/0x1fd
     [<c019ac1e>] nameidata_to_filp+0x27/0x37
     [<c01a6294>] do_filp_open+0x36d/0x6ee
     [<c019a88d>] do_sys_open+0x46/0xcc
     [<c019a961>] sys_open+0x23/0x28
     [<c0104c9b>] sysenter_do_call+0x12/0x2f
     [<ffffe430>] 0xffffe430
     =======================
    Code: 4c a7 c6 8b 55 7c 85 c0 89 85 8c 00 00 00 75 13 89 d0 e8 e0 53 a7 c6 c7 45 7c 00 00 00 00 e9 37 01 00 00 8b 85 84 00 00 00 31 f6 <89> 50 3c 8b 85 8c 00 00 00 8b 95 94 00 00 00 89 42 3c 8b 85 84 
    EIP: [<f9721941>] ipaq_open+0x1bb/0x31b [ipaq] SS:ESP 0068:e842de00
    ---[ end trace 4f3e78b2631b0a71 ]---
    /var/log/messages:

    Code:
    Feb  3 10:15:18 hq-tma kernel: usb 5-1: new full speed USB device using uhci_hcd and address 2
    Feb  3 10:15:19 hq-tma kernel: usb 5-1: configuration #1 chosen from 1 choice
    Feb  3 10:15:19 hq-tma kernel: usb 5-1: New USB device found, idVendor=0bb4, idProduct=0bce
    Feb  3 10:15:19 hq-tma kernel: usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Feb  3 10:15:19 hq-tma kernel: usb 5-1: Product: Generic RNDIS
    Feb  3 10:15:19 hq-tma kernel: usb 5-1: Manufacturer: HTC
    Feb  3 10:15:19 hq-tma kernel: usb 5-1: SerialNumber: 00786335-7933-0142-7800-0050bf3f5173
    Feb  3 10:15:19 hq-tma kernel: usbcore: registered new interface driver usbserial
    Feb  3 10:15:19 hq-tma kernel: usbserial: USB Serial support registered for generic
    Feb  3 10:15:19 hq-tma kernel: usbcore: registered new interface driver usbserial_generic
    Feb  3 10:15:19 hq-tma kernel: usbserial: USB Serial Driver core
    Feb  3 10:15:19 hq-tma kernel: rndis_wlan: Unknown symbol rndis_tx_fixup
    Feb  3 10:15:19 hq-tma kernel: rndis_wlan: Unknown symbol rndis_unbind
    Feb  3 10:15:19 hq-tma kernel: rndis_wlan: Unknown symbol rndis_status
    Feb  3 10:15:19 hq-tma kernel: rndis_wlan: Unknown symbol rndis_command
    Feb  3 10:15:19 hq-tma kernel: rndis_wlan: Unknown symbol generic_rndis_bind
    Feb  3 10:15:19 hq-tma kernel: rndis_wlan: Unknown symbol rndis_rx_fixup
    Feb  3 10:15:19 hq-tma kernel: usbserial: USB Serial support registered for PocketPC PDA
    Feb  3 10:15:19 hq-tma kernel: ipaq: USB PocketPC PDA driver v0.5
    Feb  3 10:15:19 hq-tma kernel: ipaq 5-1:1.0: PocketPC PDA converter detected
    Feb  3 10:15:19 hq-tma kernel: usb 5-1: PocketPC PDA converter now attached to ttyUSB0
    Feb  3 10:15:19 hq-tma kernel: ipaq 5-1:1.1: PocketPC PDA converter detected
    Feb  3 10:15:19 hq-tma kernel: usb 5-1: PocketPC PDA converter now attached to ttyUSB1
    Feb  3 10:15:19 hq-tma kernel: usbcore: registered new interface driver ipaq
    Feb  3 10:15:19 hq-tma kernel: usbcore: registered new interface driver cdc_ether
    Feb  3 10:15:19 hq-tma kernel: usbcore: registered new interface driver rndis_host
    Feb  3 10:15:19 hq-tma hal-synce-serial[5134] DEBUG : running as addon for device /dev/ttyUSB1
    Feb  3 10:15:19 hq-tma hal-synce-serial[5145] DEBUG : running as addon for device /dev/ttyUSB0
    Feb  3 10:15:19 hq-tma hal-synce-serial[5145] DEBUG : calling pppd as:
    Feb  3 10:15:19 hq-tma hal-synce-serial[5134] DEBUG : calling pppd as:
    Feb  3 10:15:19 hq-tma hal-synce-serial[5134] DEBUG : ['/usr/sbin/pppd', '/dev/ttyUSB1', '115200', 'connect', '/usr/lib/synce-hal/synce-serial-chat', '192.168.131.2:192.168.131.130', 'ms-dns', '192.168.131.2', 'nodefaultroute', 'noauth', 'local', 'crtscts', 'updetach', 'linkname', 'synce-device1']
    Feb  3 10:15:19 hq-tma hal-synce-serial[5145] DEBUG : ['/usr/sbin/pppd', '/dev/ttyUSB0', '115200', 'connect', '/usr/lib/synce-hal/synce-serial-chat', '192.168.131.1:192.168.131.129', 'ms-dns', '192.168.131.1', 'nodefaultroute', 'noauth', 'local', 'crtscts', 'updetach', 'linkname', 'synce-device0']
    Feb  3 10:15:19 hq-tma kernel: PPP generic driver version 2.4.2
    Feb  3 10:15:19 hq-tma pppd[5151]: pppd 2.4.5 started by root, uid 0
    Feb  3 10:15:19 hq-tma pppd[5150]: pppd 2.4.5 started by root, uid 0
    Feb  3 10:15:19 hq-tma hal-synce-serial[5145] ERROR : failed to initialize ppp connection, return code -11
    Feb  3 10:15:19 hq-tma hal-synce-serial[5145] CRITICAL : failed to establish serial connection, aborting...
    How to fix this errors?
    I do setting as write on Synce - openSUSE

  2. #2
    Join Date
    Dec 2008
    Posts
    15

    Default Re: SynCE

    Hi,

    I have/had the same problem. Got it working on my desktop pc (x86_64 11.1 no online update and usb rndis package), on my notebook (i386 11.1 online update, no rndis package avail. anymore) the connection sill has a problem, but i got the interface to device up.

    Blacklist the ipaq module! That helped a lot.
    You can do this by writing

    blacklist ipaq

    into /etc/modprobe.conf.local and reboot. Then try connecting again and look into syslog again.

    Try running the pls command to list files on your device or get an error message

  3. #3
    Join Date
    Dec 2008
    Posts
    15

    Default Re: SynCE

    Now works on my notebook, too. Problem were missing access rights to hal (pls error message told rejected). Solution was creating a settings file with the correct rights, so that hal does not refuse anymore.

  4. #4
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: SynCE

    Quote Originally Posted by vbar View Post
    Now works on my notebook, too. Problem were missing access rights to hal (pls error message told rejected). Solution was creating a settings file with the correct rights, so that hal does not refuse anymore.
    I know this a bit of an old thread but can you explain how you created a settings file and what the content was as I have the same problem with pls reporting that HAL is not seeing any devices.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  5. #5
    Join Date
    Dec 2008
    Posts
    15

    Default Re: SynCE

    Here it is:

    Code:
    <!DOCTYPE busconfig PUBLIC
       "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
       "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
    <busconfig>
    
      <!-- This configuration file specifies the required security policies
           for synce-hal to work. -->
    
      <!-- Allow anyone to invoke methods on the Synce interface -->
      <policy context="default">
        <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Synce"/>
    
      </policy>
    
    </busconfig>

    The file is /etc/dbus-1/system.d/synce-hal.conf

    Maybe try to shut down the firewall temporarily for testing by "rcSuSEfirewall2 stop", too.

  6. #6
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: SynCE

    Thanks for replying.

    I've just looked in /etc/dbus-1/system.d/ and found a file called or.freedesktop.Hal.Device.Synce.conf which has the identical contents to your file. So I assume your file is not required any more - correct?

    Firewall has been disabled while I try get Synce to connect.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  7. #7
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: SynCE

    Just to add that i have also blacklisted the ipaq module as described above but it made no difference.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  8. #8
    Join Date
    Dec 2008
    Posts
    15

    Default Re: SynCE

    so what gets added to syslog (/var/log/messages) when connecting the pda and whats the output of pls (run as root) then?

  9. #9
    Join Date
    Dec 2008
    Posts
    15

    Default Re: SynCE

    Indeed you are right concerning the sync-hal.conf file. It is now part of the synce-hal package, version 0.14-1.1 .

  10. #10
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: SynCE

    I finally got it working. For some strange reason I needed to keep the ipaq module loaded, i.e. remove the blacklist entry.

    My only problem is getting the susefirewall to allow the connection. I've added the firewall restart command to the persistent rules as documented in the wiki but I still need to restart it manually then reconnect the device.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •