On my device, there is a program called "UsbSwitch" that does exactly
this. Does that help?
--
Richard Alimi
Department of Computer Science
Yale University
On Mon, 9 Jul 2007, Dennis Herber wrote:
> Okay, I loaded the three modules step for step (each one with one
> modprobe-command) and there was no error. lsmod says:
>
> ---snip---
> Module Size Used by
> rndis_host 8192 0
> cdc_ether 7424 1 rndis_host
> usbnet 19976 2 rndis_host,cdc_ether
> ipaq 34456 0
> usbserial 32488 1 ipaq
> vmnet 32932 13
> vmmon 185676 0
> binfmt_misc 12680 1
> rfcomm 40856 0
> l2cap 25728 5 rfcomm
> bluetooth 55908 4 rfcomm,l2cap
> ipv6 268704 12
> ppdev 10116 0
> acpi_cpufreq 10056 1
> cpufreq_userspace 5408 0
> cpufreq_stats 7360 0
> cpufreq_powersave 2688 0
> cpufreq_ondemand 9228 1
> freq_table 5792 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
> cpufreq_conservative 8200 0
> tc1100_wmi 8068 0
> pcc_acpi 13184 0
> dev_acpi 12292 0
> sony_acpi 6284 0
> video 16388 0
> sbs 15652 0
> i2c_ec 5888 1 sbs
> dock 10268 0
> button 8720 0
> battery 10756 0
> container 5248 0
> ac 6020 0
> asus_acpi 17308 0
> backlight 7040 1 asus_acpi
> aes 28608 1
> cbc 5504 1
> blkcipher 6784 1 cbc
> dm_crypt 14856 1
> dm_mod 59084 3 dm_crypt
> sbp2 23812 0
> parport_pc 36388 0
> lp 12452 0
> parport 36936 3 ppdev,parport_pc,lp
> snd_hda_intel 21912 1
> snd_hda_codec 205440 1 snd_hda_intel
> snd_pcm_oss 44544 0
> snd_pcm 79876 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
> snd_mixer_oss 17408 1 snd_pcm_oss
> snd_seq_dummy 4740 0
> snd_seq_oss 32896 0
> snd_seq_midi 9600 0
> snd_rawmidi 25472 1 snd_seq_midi
> snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
> snd_seq 52592 6
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
> snd_timer 23684 2 snd_pcm,snd_seq
> snd_seq_device 9100 5
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
> ipw3945 118816 1
> joydev 10816 0
> nvidia 6837140 22
> ieee80211 34760 1 ipw3945
> snd 54020 12
> snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
> soundcore 8672 1 snd
> sdhci 18700 0
> mmc_core 26756 1 sdhci
> ieee80211_crypt 7040 1 ieee80211
> pcmcia 39212 0
> snd_page_alloc 10888 2 snd_hda_intel,snd_pcm
> i2c_core 22784 2 i2c_ec,nvidia
> tifm_7xx1 10240 0
> tifm_core 9856 1 tifm_7xx1
> yenta_socket 27532 1
> rsrc_nonstatic 14080 1 yenta_socket
> pcmcia_core 40852 3 pcmcia,yenta_socket,rsrc_nonstatic
> iTCO_wdt 11812 0
> iTCO_vendor_support 4868 1 iTCO_wdt
> intel_agp 25116 1
> agpgart 35400 2 nvidia,intel_agp
> shpchp 34324 0
> pci_hotplug 32576 1 shpchp
> psmouse 38920 0
> serio_raw 7940 0
> af_packet 23816 2
> evdev 11008 4
> tsdev 8768 0
> ext3 133128 4
> jbd 59816 1 ext3
> mbcache 9604 1 ext3
> sg 36252 0
> sr_mod 17060 0
> cdrom 37664 1 sr_mod
> sd_mod 23428 6
> ata_piix 15492 5
> ata_generic 9092 0
> libata 125720 2 ata_piix,ata_generic
> scsi_mod 142348 5 sbp2,sg,sr_mod,sd_mod,libata
> usbhid 26592 0
> hid 27392 1 usbhid
> ehci_hcd 34188 0
> generic 5124 0 [permanent]
> e100 36232 0
> mii 6528 2 usbnet,e100
> ohci1394 36528 0
> ieee1394 299448 2 sbp2,ohci1394
> uhci_hcd 25360 0
> usbcore 134280 9
> rndis_host,cdc_ether,usbnet,ipaq,usbserial,usbhid,ehci_hcd,uhci_hcd
> thermal 14856 0
> processor 31048 2 acpi_cpufreq,thermal
> fan 5636 0
> capability 5896 0
> commoncap 8192 1 capability
> vesafb 9220 1
> fbcon 42656 71
> tileblit 3584 1 fbcon
> font 9216 1 fbcon
> bitblit 6912 1 fbcon
> softcursor 3200 1 bitblit
> ---snip---
>
> So the three modules are now correctly loaded. Next, I start
>
> $ sudo odccm
>
> No error again, so looks good.
>
> But then:
>
> $ tail -f /var/log/messages
>
> Jul 9 15:49:12 ward kernel: [25992.508000] ipaq ttyUSB0: PocketPC PDA
> converter now disconnected from ttyUSB0
> Jul 9 15:49:12 ward kernel: [25992.508000] ipaq 2-1:1.0: device disconnected
> Jul 9 15:49:12 ward kernel: [25992.508000] ipaq ttyUSB1: PocketPC PDA
> converter now disconnected from ttyUSB1
> Jul 9 15:49:12 ward kernel: [25992.508000] ipaq 2-1:1.1: device disconnected
> Jul 9 15:49:17 ward kernel: [25997.536000] usb 2-1: new full speed USB
> device using uhci_hcd and address 8
> Jul 9 15:49:17 ward kernel: [25997.712000] usb 2-1: configuration #1 chosen
> from 1 choice
> Jul 9 15:49:17 ward kernel: [25997.712000] ipaq 2-1:1.0: PocketPC PDA
> converter detected
> Jul 9 15:49:17 ward kernel: [25997.716000] usb 2-1: PocketPC PDA converter
> now attached to ttyUSB0
> Jul 9 15:49:17 ward kernel: [25997.716000] ipaq 2-1:1.1: PocketPC PDA
> converter detected
> Jul 9 15:49:17 ward kernel: [25997.716000] usb 2-1: PocketPC PDA converter
> now attached to ttyUSB1
>
> So the issue is that the device is not related to rndis, but to ipaq. In the
> board of the synce site, somebody managed to get my device running with
> rndis, but as far as I can see, this looks like a problem of my device.
>
> What I now did is to look through all settings of my device, but I didn´t
> found any point where to switch the device to rndis. But: When I connect it
> under windows, it´s recoginzed as "rndis device", so this looks fine.
>
> Could you please tell me what I can do next to get it running under linux?
>
> Regards,
> Dennis Neumeier
> -------- Original-Nachricht --------
> Datum: Mon, 9 Jul 2007 09:41:16 -0400 (EDT)
> Von: [EMAIL PROTECTED]
> An: [EMAIL PROTECTED]
> CC: synce-devel@lists.sourceforge.net
> Betreff: Re: [Synce-devel] Problems installing synce
>
> > When you do the 'sudo ./clean.sh', it will first try to unload those
> > modules if they are indeed loaded. If they were not loaded, you will see
> > the error messages you described - this is normal and expected behavior.
> > Running 'sudo make install' _after_ this should install the modules in the
> > proper location. Once they are installed in the proper location, you
> > should be able to do the following:
> >
> > # modprobe usbnet cdc_ether rndis_host
> > # lsmod
> >
> > Then, you should see that these modules are properly loaded into the
> > kernel. Does this work? If not, at which point does the behavior on your
> > system differ from what I described?
> >
> > --
> > Richard Alimi
> > Department of Computer Science
> > Yale University
> >
> > On Mon, 9 Jul 2007, [EMAIL PROTECTED] wrote:
> >
> > > Hello,
> > >
> > > surely, I followed the instructions step for step, that means, I used
> > "sudo make install" (or, on my system: "su", root-password (I disabled sudo
> > in combination with user password, so I have a "real" root user on my
> > system), "make install", "exit").
> > >
> > > Though this may be important: If you mean the "sudo make install" as
> > described on
> > http://www.synce.org/index.php/Connecting_your_Windows_Mobile_2005_device_via_USB_%28usb-rndis-lite%29,
> > > then I did it although the command "sudo ./clean.sh" which should be
> > used before that leads to the described output.
> > >
> > > I guess it may have to do with some kernel components, but as I am not
> > that deep into kernel technology, I can´t really tell.
> > >
> > > Regards,
> > > Dennis Neumeier
> > >
> > > -------- Original-Nachricht --------
> > > Datum: Mon, 9 Jul 2007 08:07:20 -0400 (EDT)
> > > Von: [EMAIL PROTECTED]
> > > An: synce-devel@lists.sourceforge.net
> > > Betreff: Re: [Synce-devel] Problems installing synce
> > >
> > > > This is perhaps a stupid question: did you do the 'sudo make install'
> > that
> > > > is part of the installation instructions as well?
> > > >
> > > > --
> > > > Richard Alimi
> > > > Department of Computer Science
> > > > Yale University
> > > >
> > > > On Mon, 9 Jul 2007, [EMAIL PROTECTED] wrote:
> > > >
> > > > > Hello developers,
> > > > >
> > > > > Please be so kind ond read through this, as I didn´t get any reply
> > on
> > > > the users list and I guess this may lead to a correction to the wiki
> > (and I
> > > > am willing to do this as soon as I know where´s the mistake).
> > > > >
> > > > > As I received a new mobile phone (o2 Xda Orbit, can be found as a
> > HTC
> > > > Artemis and with usb-rndis-lite driver on the synce site), I would
> > like to
> > > > synchronize the contacts with my KDE 3.5.6 adressbook from my former
> > mobile
> > > > phone.
> > > > >
> > > > > Now, I deleted all synce applications from my Kubuntu Feisty and
> > started
> > > > to install als described on the site. But I fail on
> > > > >
> > > > >
> > > >
> > http://www.synce.org/index.php/Connecting_your_Windows_Mobile_2005_device_via_USB_%28usb-rndis-lite%29
> > > > >
> > > > > because I get the following error when executing "./clean.sh":
> > > > >
> > > > > ERROR: Module rndis_host does not exist in /proc/modules
> > > > > ERROR: Module cdc_ether does not exist in /proc/modules
> > > > > ERROR: Module usbnet does not exist in /proc/modules
> > > > >
> > > > > I read that I need the CONFIG_USB_NET_CDCETHER driver in my
> > 2.6.20-15
> > > > kernel, so I started make menuconfig in /usr/src/linux and checked the
> > driver
> > > > as described on the site above. It´s modularized, so this should be
> > > > okay.
> > > > >
> > > > > But it still doesn´t work: I can´t load the usb-rndis-lite
> > driver,
> > > > because it´s not found.
> > > > >
> > > > > Please: Can anybody tell me what to do?
> > > > >
> > > > > Regards,
> > > > > Dennis Neumeier
> > > > > --
> > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > > > > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> > > > >
> > > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > This SF.net email is sponsored by DB2 Express
> > > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > http://sourceforge.net/powerbar/db2/
> > > > > _______________________________________________
> > > > > SynCE-Devel mailing list
> > > > > SynCE-Devel@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/synce-devel
> > > > >
> > >
> > > --
> > > Psssst! Schon vom neuen GMX MultiMessenger gehört?
> > > Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
> > >
> > >
> > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > SynCE-Devel mailing list
> > > SynCE-Devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/synce-devel
> > >
>
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel