Go Down

Topic: Yun, 3G dongle and yun_3g library (Read 13761 times) previous topic - next topic

supermarioprof

Hi!
I'm trying to use a USB 3G dongle to be able to connect Yun to the Internet
where there's no other kind of connection.
The primary aim is to complete a DIY anemometer, but any kind of sensor colud be used:
so wherever you are, whatever you what to measure
you could do it!

Well, Yun is great to do this!
Thinking of this project I found a nice repository on GitHub: https://github.com/pictux/Yun_3g
so that every thing seems to be done, yet!
But there are some problems I report below, taken from LuCI's SystemLog:
Code: [Select]

Apr 24 00:55:34 supermarioyun daemon.info avahi-daemon[1289]: avahi-daemon 0.6.31 starting up.
Apr 24 00:55:34 supermarioyun daemon.warn avahi-daemon[1289]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Apr 24 00:55:34 supermarioyun daemon.info avahi-daemon[1289]: Loading service file /etc/avahi/services/arduino.service.
Apr 24 00:55:34 supermarioyun daemon.info avahi-daemon[1289]: Loading service file /etc/avahi/services/ssh.service.
Apr 24 00:55:34 supermarioyun daemon.info avahi-daemon[1289]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.29.
Apr 24 00:55:34 supermarioyun daemon.info avahi-daemon[1289]: New relevant interface wlan0.IPv4 for mDNS.
Apr 24 00:55:34 supermarioyun daemon.info avahi-daemon[1289]: Network interface enumeration completed.
Apr 24 00:55:34 supermarioyun daemon.info avahi-daemon[1289]: Registering new address record for 192.168.0.29 on wlan0.IPv4.
Apr 24 00:55:34 supermarioyun daemon.info avahi-daemon[1289]: Registering HINFO record with values 'MIPS'/'LINUX'.
Apr 24 00:55:35 supermarioyun daemon.info avahi-daemon[1289]: Server startup complete. Host name is supermarioyun.local. Local service cookie is 1199464232.
Apr 24 00:55:35 supermarioyun user.info sysinit: Start uSDaemon
Apr 24 00:55:36 supermarioyun daemon.info avahi-daemon[1289]: Service "Secure Shell on supermarioyun" (/etc/avahi/services/ssh.service) successfully established.
Apr 24 00:55:36 supermarioyun daemon.info avahi-daemon[1289]: Service "supermarioyun" (/etc/avahi/services/arduino.service) successfully established.
Apr 24 00:55:44 supermarioyun user.notice usb-modeswitch: 1-1.4:1.0: Manufacturer=Generic Product=Mass_Storage_Device Serial=058F0O1111B1
Apr 24 00:55:44 supermarioyun user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.8.3_ehci_hcd Product=EHCI_Host_Controller Serial=ehci-platform
Apr 24 00:55:44 supermarioyun user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0Hub Serial=?
Apr 24 00:55:54 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
Apr 24 00:55:55 supermarioyun user.notice usb-modeswitch: 1-1.1:1.1: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
Apr 24 00:55:55 supermarioyun user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
Apr 24 00:55:58 supermarioyun daemon.notice pppd[2013]: pppd 2.4.5 started by root, uid 0
Apr 24 00:55:59 supermarioyun local2.info chat[2027]: abort on (BUSY)
Apr 24 00:55:59 supermarioyun local2.info chat[2027]: abort on (NO CARRIER)
Apr 24 00:55:59 supermarioyun local2.info chat[2027]: abort on (ERROR)
Apr 24 00:55:59 supermarioyun local2.info chat[2027]: report (CONNECT)
Apr 24 00:55:59 supermarioyun local2.info chat[2027]: timeout set to 10 seconds
Apr 24 00:55:59 supermarioyun local2.info chat[2027]: send (AT&F^M)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: expect (OK)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: +ZDONR: "Not Found"^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: +ZPASR: "No Service"^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: +ZDONR: "Not Found"^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: +ZPASR: "Limited Service"^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: AT&F^M^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: OK
Apr 24 00:56:00 supermarioyun local2.info chat[2027]:  -- got it
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: send (ATE1^M)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: expect (OK)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ATE1^M^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: OK
Apr 24 00:56:00 supermarioyun local2.info chat[2027]:  -- got it
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: send (AT+CGDCONT=1,"IP","tre.it"^M)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: send (AT+SYSCFG=2,2,3FFFFFFF,1,4^M)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: timeout set to 30 seconds
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: expect (OK)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: AT+CGDCONT=1,"IP","tre.it"^M^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: OK
Apr 24 00:56:00 supermarioyun local2.info chat[2027]:  -- got it
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: send (ATD*99#^M)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: expect (CONNECT)
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: AT+SYSCFG=2,2,3FFFFFFF,1,4^M^M
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: ERROR
Apr 24 00:56:00 supermarioyun local2.info chat[2027]:  -- failed
Apr 24 00:56:00 supermarioyun local2.info chat[2027]: Failed (ERROR)
Apr 24 00:56:00 supermarioyun daemon.err pppd[2013]: Connect script failed
Apr 24 00:56:01 supermarioyun cron.info crond[1233]: crond: USER root pid 2038 cmd /root//root/check3g.sh
Apr 24 00:56:01 supermarioyun cron.info crond[1233]: crond: USER root pid 2039 cmd /root//root/check3g.sh
Apr 24 10:58:40 supermarioyun cron.err crond[1233]: time disparity of 602 minutes detected
Apr 24 10:58:40 supermarioyun daemon.info pppd[2013]: Exit.
Apr 24 10:58:40 supermarioyun daemon.notice netifd: Interface 'wan2' is now down
Apr 24 11:00:01 supermarioyun cron.info crond[1233]: crond: USER root pid 2498 cmd /root//root/check3g.sh
Apr 24 11:00:01 supermarioyun cron.info crond[1233]: crond: USER root pid 2499 cmd /root//root/check3g.sh
Apr 24 11:02:01 supermarioyun cron.info crond[1233]: crond: USER root pid 3096 cmd /root//root/check3g.sh


supermarioprof

Here is a second report with a different power supply:

Code: [Select]

Apr 24 01:05:05 supermarioyun user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
Apr 24 01:06:01 supermarioyun cron.info crond[1237]: crond: USER root pid 5846 cmd /root//root/check3g.sh
Apr 24 01:06:01 supermarioyun cron.info crond[1237]: crond: USER root pid 5847 cmd /root//root/check3g.sh
Apr 24 01:06:30 supermarioyun kern.info kernel: [  724.260000] usb 1-1.1: USB disconnect, device number 15
Apr 24 01:06:30 supermarioyun kern.info kernel: [  724.260000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Apr 24 01:06:30 supermarioyun kern.info kernel: [  724.260000] option 1-1.1:1.0: device disconnected
Apr 24 01:06:30 supermarioyun kern.err kernel: [  724.270000] option1 ttyUSB1: option_instat_callback: error -71
Apr 24 01:06:30 supermarioyun kern.info kernel: [  724.280000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Apr 24 01:06:30 supermarioyun kern.info kernel: [  724.280000] option 1-1.1:1.2: device disconnected
Apr 24 01:06:34 supermarioyun kern.info kernel: [  728.850000] usb 1-1.1: new high-speed USB device number 16 using ehci-platform
Apr 24 01:06:34 supermarioyun kern.info kernel: [  728.990000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=2000
Apr 24 01:06:34 supermarioyun kern.info kernel: [  728.990000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
Apr 24 01:06:34 supermarioyun kern.info kernel: [  728.990000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
Apr 24 01:06:34 supermarioyun kern.info kernel: [  729.000000] usb 1-1.1: Manufacturer: ZTE,Incorporated
Apr 24 01:06:34 supermarioyun kern.info kernel: [  729.000000] usb 1-1.1: SerialNumber: 3AUP673A4CDROMMS
Apr 24 01:06:34 supermarioyun kern.info kernel: [  729.020000] scsi13 : usb-storage 1-1.1:1.0
Apr 24 01:06:35 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=3AUP673A4CDROMMS
Apr 24 01:06:35 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Selecting /etc/usb_modeswitch.d/19d2:2000 for mode switching
Apr 24 01:06:35 supermarioyun syslog.notice usb_modeswitch: switching device 19d2:2000 on 001/016
Apr 24 01:06:40 supermarioyun kern.info kernel: [  734.750000] usb 1-1.1: USB disconnect, device number 16
Apr 24 01:06:45 supermarioyun kern.info kernel: [  739.860000] usb 1-1.1: new high-speed USB device number 17 using ehci-platform
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.000000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=0064
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.000000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.000000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.000000] usb 1-1.1: Manufacturer: ZTE,Incorporated
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.010000] option 1-1.1:1.0: GSM modem (1-port) converter detected
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.010000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.020000] scsi14 : usb-storage 1-1.1:1.1
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.020000] option 1-1.1:1.2: GSM modem (1-port) converter detected
Apr 24 01:06:45 supermarioyun kern.info kernel: [  740.020000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
Apr 24 01:06:46 supermarioyun kern.notice kernel: [  741.020000] scsi 14:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
Apr 24 01:06:46 supermarioyun kern.notice kernel: [  741.040000] sd 14:0:0:0: [sdb] Attached SCSI removable disk
Apr 24 01:07:06 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
Apr 24 01:07:06 supermarioyun user.notice usb-modeswitch: 1-1.1:1.1: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
Apr 24 01:07:06 supermarioyun user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
Apr 24 01:08:01 supermarioyun cron.info crond[1237]: crond: USER root pid 6588 cmd /root//root/check3g.sh
Apr 24 01:08:01 supermarioyun cron.info crond[1237]: crond: USER root pid 6589 cmd /root//root/check3g.sh
Apr 24 01:10:01 supermarioyun cron.info crond[1237]: crond: USER root pid 7170 cmd /root//root/check3g.sh
Apr 24 01:10:01 supermarioyun cron.info crond[1237]: crond: USER root pid 7171 cmd /root//root/check3g.sh
Apr 24 01:12:01 supermarioyun cron.info crond[1237]: crond: USER root pid 7762 cmd /root//root/check3g.sh
Apr 24 01:12:01 supermarioyun cron.info crond[1237]: crond: USER root pid 7763 cmd /root//root/check3g.sh


I thought it could be a problem with power supply:
the first report refers to a 5V,600mA power supply, the second to a 5V,1A one.
In the first the system seems unable to determine the Serial
in the second sometimes it does but it seems unable to maintain...

So: any suggestion?

supermarioprof

Here is a KernelLog:
Code: [Select]

[    0.000000] Linux version 3.8.3 (federico@smilzo) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #8 Mon Aug 19 16:22:39 CEST 2013
[    0.000000] bootconsole [early0] enabled

...bla bla bla...

[ 1146.900000] usb 1-1.1: new high-speed USB device number 18 using ehci-platform
[ 1147.040000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=2000
[ 1147.040000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 1147.040000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[ 1147.050000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[ 1147.050000] usb 1-1.1: SerialNumber: 3AUP673A4CDROMMS
[ 1147.070000] scsi15 : usb-storage 1-1.1:1.0
[ 1152.550000] usb 1-1.1: USB disconnect, device number 18
[ 1157.910000] usb 1-1.1: new high-speed USB device number 19 using ehci-platform
[ 1158.050000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=0064
[ 1158.050000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 1158.050000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[ 1158.050000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[ 1158.060000] option 1-1.1:1.0: GSM modem (1-port) converter detected
[ 1158.060000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 1158.070000] scsi16 : usb-storage 1-1.1:1.1
[ 1158.070000] option 1-1.1:1.2: GSM modem (1-port) converter detected
[ 1158.070000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 1159.070000] scsi 16:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
[ 1159.090000] sd 16:0:0:0: [sdb] Attached SCSI removable disk
[ 1640.540000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 1640.550000] option 1-1.1:1.0: device disconnected
[ 1640.550000] option1 ttyUSB1: option_instat_callback: error -143
[ 1640.570000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1640.570000] option 1-1.1:1.2: device disconnected
[ 1640.570000] hub 1-1:1.0: cannot reset port 1 (err = -71)
[ 1640.800000] usb 1-1.1: USB disconnect, device number 19
[ 1640.810000] scsi 16:0:0:0: rejecting I/O to offline device
[ 1640.810000] scsi 16:0:0:0: killing request
[ 1645.840000] usb 1-1.1: new high-speed USB device number 20 using ehci-platform
[ 1645.980000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=2000
[ 1645.980000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 1645.980000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[ 1645.990000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[ 1645.990000] usb 1-1.1: SerialNumber: 3AUP673A4CDROMMS
[ 1646.000000] scsi17 : usb-storage 1-1.1:1.0
[ 1651.490000] usb 1-1.1: USB disconnect, device number 20
[ 1656.850000] usb 1-1.1: new high-speed USB device number 21 using ehci-platform
[ 1656.990000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=0064
[ 1656.990000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 1656.990000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[ 1656.990000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[ 1657.000000] option 1-1.1:1.0: GSM modem (1-port) converter detected
[ 1657.000000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 1657.010000] scsi18 : usb-storage 1-1.1:1.1
[ 1657.010000] option 1-1.1:1.2: GSM modem (1-port) converter detected
[ 1657.010000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 1658.010000] scsi 18:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
[ 1658.030000] sd 18:0:0:0: [sdb] Attached SCSI removable disk


for admins: I know I'doing some kind of crossposting...sorry!
I think it is better to post in the international forum, so if you prefer please delete my other one (http://forum.arduino.cc/index.php?topic=228523.msg1694071)


federicofissore

I'm sorry I don't have any. I would try to contact user pictux by filing an issue at https://github.com/pictux/Yun_3g/issues
Also: /root//root/check3g.sh doesn't look like the right file name

supermarioprof

6 minutes to receive an answer!  :smiley-eek: :smiley-eek: great!

I will try to contact user pictux on GitHub,
he is an italian user, Mirco Piccin, maybe you know him.

And yes, it seemed weird to me too that /root//root/check3g.sh in SystemLog...
but I thought about power supply firstly, since I'm just a noob in electronics and programming.
So, ok:
I will give a try to change that string in https://github.com/pictux/Yun_3g/blob/master/linino_set3g.sh, line 14
and report what happens!

pictux

#5
Apr 29, 2014, 10:34 am Last Edit: Apr 29, 2014, 05:29 pm by pitusso Reason: 1
Hi

Quote
Also: /root//root/check3g.sh doesn't look like the right file name


that's the script that checks if the connection is alive, and if not tries to reconnect.
I'll update the script (row 82) in a few hours.

Thanks
M

EDIT: DONE

supermarioprof

Quote

that's the script that checks if the connection is alive, and if not tries to reconnect.
I'll update the script (row 82) in a few hours.


so..it should be wrong as I stated.
Ok, I will try to modify crontab, waiting for the update.
Thank you so much!

supermarioprof

Ok, here I am again after some tests with the new script from PicTux.
I'm not able to connect, unfortunately.
Here is a SystemLog:
Code: [Select]
...
May  1 08:03:05 supermarioyun kern.info kernel: [  400.930000] usb 1-1.1: USB disconnect, device number 19
May  1 08:03:10 supermarioyun kern.info kernel: [  406.290000] usb 1-1.1: new high-speed USB device number 20 using ehci-platform
May  1 08:03:11 supermarioyun kern.info kernel: [  406.430000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=0064
May  1 08:03:11 supermarioyun kern.info kernel: [  406.430000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
May  1 08:03:11 supermarioyun kern.info kernel: [  406.430000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
May  1 08:03:11 supermarioyun kern.info kernel: [  406.430000] usb 1-1.1: Manufacturer: ZTE,Incorporated
May  1 08:03:11 supermarioyun kern.info kernel: [  406.440000] option 1-1.1:1.0: GSM modem (1-port) converter detected
May  1 08:03:11 supermarioyun kern.info kernel: [  406.440000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
May  1 08:03:11 supermarioyun kern.info kernel: [  406.450000] scsi17 : usb-storage 1-1.1:1.1
May  1 08:03:11 supermarioyun kern.info kernel: [  406.450000] option 1-1.1:1.2: GSM modem (1-port) converter detected
May  1 08:03:11 supermarioyun kern.info kernel: [  406.450000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
May  1 08:03:12 supermarioyun kern.notice kernel: [  407.450000] scsi 17:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
May  1 08:03:12 supermarioyun kern.notice kernel: [  407.470000] sd 17:0:0:0: [sdb] Attached SCSI removable disk
May  1 08:03:21 supermarioyun kern.err kernel: [  416.820000] hub 1-1:1.0: cannot reset port 4 (err = -71)
May  1 08:03:21 supermarioyun kern.err kernel: [  416.820000] hub 1-1:1.0: cannot reset port 4 (err = -71)
May  1 08:03:21 supermarioyun kern.err kernel: [  416.990000] option1 ttyUSB1: option_instat_callback: error -71
May  1 08:03:21 supermarioyun kern.info kernel: [  417.060000] usb 1-1.1: USB disconnect, device number 20
May  1 08:03:21 supermarioyun kern.info kernel: [  417.060000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
May  1 08:03:21 supermarioyun kern.info kernel: [  417.060000] option 1-1.1:1.0: device disconnected
May  1 08:03:21 supermarioyun kern.err kernel: [  417.070000] option1 ttyUSB1: option_instat_callback: error -143
May  1 08:03:21 supermarioyun kern.info kernel: [  417.070000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
May  1 08:03:21 supermarioyun kern.info kernel: [  417.080000] option 1-1.1:1.2: device disconnected
May  1 08:03:21 supermarioyun kern.info kernel: [  417.100000] usb 1-1.4: reset high-speed USB device number 4 using ehci-platform
May  1 08:03:21 supermarioyun kern.err kernel: [  417.210000] usb 1-1.4: device descriptor read/64, error -71
May  1 08:03:23 supermarioyun kern.err kernel: [  418.720000] sd 1:0:0:0: [sda] No Caching mode page present
May  1 08:03:23 supermarioyun kern.err kernel: [  418.720000] sd 1:0:0:0: [sda] Assuming drive cache: write through
May  1 08:03:23 supermarioyun user.info sysinit: cat: can't open '/sys/bus/scsi/drivers/sd/17:0:0:0/block/sdb/size': No such file or directory
May  1 08:03:27 supermarioyun kern.info kernel: [  422.420000] usb 1-1.1: new high-speed USB device number 21 using ehci-platform
May  1 08:03:27 supermarioyun kern.info kernel: [  422.560000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=2000
May  1 08:03:27 supermarioyun kern.info kernel: [  422.560000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
May  1 08:03:27 supermarioyun kern.info kernel: [  422.560000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
May  1 08:03:27 supermarioyun kern.info kernel: [  422.570000] usb 1-1.1: Manufacturer: ZTE,Incorporated
May  1 08:03:27 supermarioyun kern.info kernel: [  422.570000] usb 1-1.1: SerialNumber: 3AUP673A4CDROMMS
May  1 08:03:27 supermarioyun kern.info kernel: [  422.570000] scsi18 : usb-storage 1-1.1:1.0
May  1 08:03:28 supermarioyun kern.notice kernel: [  423.580000] scsi 18:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 2
May  1 08:03:30 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:31 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:32 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:33 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:34 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:35 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:37 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:38 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=3AUP673A4CDROMMS
May  1 08:03:38 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Selecting /etc/usb_modeswitch.d/19d2:2000 for mode switching
May  1 08:03:38 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:39 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Switching seemingly failed
May  1 08:03:40 supermarioyun kern.info kernel: [  435.750000] usb 1-1.1: USB disconnect, device number 21
May  1 08:03:40 supermarioyun user.notice usb-modeswitch: 1-1.1:1.1: Manufacturer=? Product=? Serial=?
May  1 08:03:41 supermarioyun user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=? Product=? Serial=?
May  1 08:03:42 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=? Product=? Serial=?
May  1 08:03:44 supermarioyun kern.info kernel: [  440.340000] usb 1-1.1: new high-speed USB device number 22 using ehci-platform
May  1 08:03:45 supermarioyun kern.info kernel: [  440.480000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=2000
May  1 08:03:45 supermarioyun kern.info kernel: [  440.480000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
May  1 08:03:45 supermarioyun kern.info kernel: [  440.480000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
May  1 08:03:45 supermarioyun kern.info kernel: [  440.490000] usb 1-1.1: Manufacturer: ZTE,Incorporated
May  1 08:03:45 supermarioyun kern.info kernel: [  440.490000] usb 1-1.1: SerialNumber: 3AUP673A4CDROMMS
May  1 08:03:45 supermarioyun kern.info kernel: [  440.500000] scsi19 : usb-storage 1-1.1:1.0
May  1 08:03:45 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=3AUP673A4CDROMMS
May  1 08:03:45 supermarioyun user.notice usb-modeswitch: 1-1.1:1.0: Selecting /etc/usb_modeswitch.d/19d2:2000 for mode switching
May  1 08:03:45 supermarioyun syslog.notice usb_modeswitch: switching device 19d2:2000 on 001/022
May  1 08:03:50 supermarioyun kern.info kernel: [  445.990000] usb 1-1.1: USB disconnect, device number 22

supermarioprof

and here a KernelLog:
Code: [Select]

...
[  390.430000] usb 1-1.1: USB disconnect, device number 18
[  390.440000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  390.440000] option 1-1.1:1.0: device disconnected
[  390.450000] sd 15:0:0:0: [sdb] Synchronizing SCSI cache
[  390.450000] sd 15:0:0:0: [sdb] 
[  390.450000] Result: hostbyte=0x01 driverbyte=0x00
[  390.460000] option1 ttyUSB1: option_instat_callback: error -143
[  390.460000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[  390.460000] option 1-1.1:1.2: device disconnected
[  395.280000] usb 1-1.1: new high-speed USB device number 19 using ehci-platform
[  395.420000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=2000
[  395.420000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[  395.420000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[  395.430000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[  395.430000] usb 1-1.1: SerialNumber: 3AUP673A4CDROMMS
[  395.440000] scsi16 : usb-storage 1-1.1:1.0
[  400.930000] usb 1-1.1: USB disconnect, device number 19
[  406.290000] usb 1-1.1: new high-speed USB device number 20 using ehci-platform
[  406.430000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=0064
[  406.430000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[  406.430000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[  406.430000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[  406.440000] option 1-1.1:1.0: GSM modem (1-port) converter detected
[  406.440000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[  406.450000] scsi17 : usb-storage 1-1.1:1.1
[  406.450000] option 1-1.1:1.2: GSM modem (1-port) converter detected
[  406.450000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[  407.450000] scsi 17:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
[  407.470000] sd 17:0:0:0: [sdb] Attached SCSI removable disk
[  416.820000] hub 1-1:1.0: cannot reset port 4 (err = -71)
[  416.820000] hub 1-1:1.0: cannot reset port 4 (err = -71)
[  416.990000] option1 ttyUSB1: option_instat_callback: error -71
[  417.060000] usb 1-1.1: USB disconnect, device number 20
[  417.060000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  417.060000] option 1-1.1:1.0: device disconnected
[  417.070000] option1 ttyUSB1: option_instat_callback: error -143
[  417.070000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[  417.080000] option 1-1.1:1.2: device disconnected
[  417.100000] usb 1-1.4: reset high-speed USB device number 4 using ehci-platform
[  417.210000] usb 1-1.4: device descriptor read/64, error -71
[  418.720000] sd 1:0:0:0: [sda] No Caching mode page present
[  418.720000] sd 1:0:0:0: [sda] Assuming drive cache: write through
[  422.420000] usb 1-1.1: new high-speed USB device number 21 using ehci-platform
[  422.560000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=2000
[  422.560000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[  422.560000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[  422.570000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[  422.570000] usb 1-1.1: SerialNumber: 3AUP673A4CDROMMS
[  422.570000] scsi18 : usb-storage 1-1.1:1.0
[  423.580000] scsi 18:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 2
[  435.750000] usb 1-1.1: USB disconnect, device number 21
[  440.340000] usb 1-1.1: new high-speed USB device number 22 using ehci-platform
[  440.480000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=2000
[  440.480000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[  440.480000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[  440.490000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[  440.490000] usb 1-1.1: SerialNumber: 3AUP673A4CDROMMS
[  440.500000] scsi19 : usb-storage 1-1.1:1.0
[  445.990000] usb 1-1.1: USB disconnect, device number 22
[  451.350000] usb 1-1.1: new high-speed USB device number 23 using ehci-platform
[  451.490000] usb 1-1.1: New USB device found, idVendor=19d2, idProduct=0064
[  451.490000] usb 1-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[  451.490000] usb 1-1.1: Product: ZTE CDMA Technologies MSM
[  451.490000] usb 1-1.1: Manufacturer: ZTE,Incorporated
[  451.500000] option 1-1.1:1.0: GSM modem (1-port) converter detected
[  451.500000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[  451.510000] scsi20 : usb-storage 1-1.1:1.1
[  451.510000] option 1-1.1:1.2: GSM modem (1-port) converter detected
[  451.510000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[  452.510000] scsi 20:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
[  452.530000] sd 20:0:0:0: [sdb] Attached SCSI removable disk

supermarioprof

#9
May 01, 2014, 08:11 am Last Edit: May 01, 2014, 08:55 am by supermarioprof Reason: 1
just a note: my 3G dongle has an uSD slot, filled with a uSD with some data on.
An ok, there's no way to connect, neither with LuCI/Network/interfaces button.

I verified: this 3G dongle works fine with Ubuntu, but only if plugged before boot.
If plugged in with system on there's no way to turn on
just like with Yun. Myabe this information could help to solve the problem...

sonnyyu

Quote
I thought it could be a problem with power supply:
the first report refers to a 5V,600mA power supply, the second to a 5V,1A one.
In the first the system seems unable to determine the Serial
in the second sometimes it does but it seems unable to maintain...


Use self power USB hub to power 3G dongle. Yun's USB only feed 4.5V,  hardware bug.

http://forum.arduino.cc/index.php?topic=209836.msg1541065#msg1541065

Quote
I verified: this 3G dongle works fine with Ubuntu, but only if plugged before boot.
If plugged in with system on there's no way to turn on
just like with Yun. Myabe this information could help to solve the problem...


Use Yun's MCU to control self power USB hub power, only turn it on once CPU is finished boot.

Post at https://forum.openwrt.org/ for help, It has more  3G users.

supermarioprof

Thank you everybody for your help!
Now I had some time to have some new tests, and this is what I obtain:
Code: [Select]

18:45:26 yun kern.info kernel: [   60.220000] usb 1-1.1.2: new high-speed USB device number 6 using ehci-platform
18:45:26 yun user.info sysinit: Generating selfsigned certificate with subject 'C=IT;ST=Turin;L=Turin;CN=Arduino LLC;' and validity 2014-05-03 16:45:25-2038-01-19 03:14:07
18:45:26 yun kern.info kernel: [   60.340000] usb 1-1.1.2: New USB device found, idVendor=19d2, idProduct=0064
18:45:26 yun kern.info kernel: [   60.340000] usb 1-1.1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
18:45:26 yun kern.info kernel: [   60.340000] usb 1-1.1.2: Product: ZTE CDMA Technologies MSM
18:45:26 yun kern.info kernel: [   60.350000] usb 1-1.1.2: Manufacturer: ZTE,Incorporated
18:45:26 yun kern.info kernel: [   60.370000] usbserial_generic 1-1.1.2:1.0: GSM modem (1-port) converter detected
18:45:26 yun kern.info kernel: [   60.370000] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB0
18:45:26 yun kern.info kernel: [   60.380000] scsi2 : usb-storage 1-1.1.2:1.1
18:45:26 yun kern.info kernel: [   60.380000] usbserial_generic 1-1.1.2:1.2: GSM modem (1-port) converter detected
18:45:26 yun kern.info kernel: [   60.380000] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB1
18:45:27 yun user.notice firewall: Reloading firewall due to ifup of lan (wlan0)
18:45:28 yun kern.notice kernel: [   61.690000] scsi 2:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
18:45:28 yun kern.notice kernel: [   61.930000] sd 2:0:0:0: [sdb] Attached SCSI removable disk
18:45:29 yun user.info sysinit: Unknown group "netdev" in message bus configuration file
18:45:30 yun user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
18:45:30 yun user.notice dnsmasq: Allowing 127.0.0.0/8 responses
18:45:30 yun daemon.info dnsmasq[1190]: started, version 2.66 cachesize 150
18:45:30 yun daemon.info dnsmasq[1190]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
18:45:30 yun daemon.info dnsmasq[1190]: using local addresses only for domain lan
18:45:30 yun daemon.info dnsmasq[1190]: reading /tmp/resolv.conf.auto
18:45:30 yun daemon.info dnsmasq[1190]: using nameserver 88.149.128.12#53
18:45:30 yun daemon.info dnsmasq[1190]: using nameserver 88.149.128.22#53
18:45:30 yun daemon.info dnsmasq[1190]: using local addresses only for domain lan
18:45:30 yun daemon.info dnsmasq[1190]: read /etc/hosts - 1 addresses
18:45:31 yun daemon.info avahi-daemon[1196]: Found user 'nobody' (UID 65534) and group 'nogroup' (GID 65534).
18:45:31 yun daemon.info avahi-daemon[1196]: Successfully dropped root privileges.
18:45:31 yun daemon.info avahi-daemon[1196]: avahi-daemon 0.6.31 starting up.
18:45:31 yun daemon.warn avahi-daemon[1196]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
18:45:31 yun daemon.info avahi-daemon[1196]: Loading service file /etc/avahi/services/arduino.service.
18:45:31 yun daemon.info avahi-daemon[1196]: Loading service file /etc/avahi/services/ssh.service.
18:45:31 yun daemon.info avahi-daemon[1196]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.29.
18:45:31 yun daemon.info avahi-daemon[1196]: New relevant interface wlan0.IPv4 for mDNS.
18:45:31 yun daemon.info avahi-daemon[1196]: Network interface enumeration completed.
18:45:31 yun daemon.info avahi-daemon[1196]: Registering new address record for 192.168.0.29 on wlan0.IPv4.
18:45:31 yun daemon.info avahi-daemon[1196]: Registering HINFO record with values 'MIPS'/'LINUX'.
18:45:32 yun user.info sysinit: Start uSDaemon
18:45:32 yun daemon.info avahi-daemon[1196]: Server startup complete. Host name is yun.local. Local service cookie is 1209727940.
18:45:33 yun daemon.info avahi-daemon[1196]: Service "Secure Shell on yun" (/etc/avahi/services/ssh.service) successfully established.
18:45:33 yun daemon.info avahi-daemon[1196]: Service "yun" (/etc/avahi/services/arduino.service) successfully established.
18:45:40 yun authpriv.info dropbear[1281]: Child connection from 192.168.0.2:37807
19:00:16 yun authpriv.info dropbear[1281]: Exit before auth: Timeout before auth
19:00:20 yun authpriv.info dropbear[1387]: Child connection from 192.168.0.2:37810
19:00:28 yun authpriv.notice dropbear[1387]: Password auth succeeded for 'root' from 192.168.0.2:37810
19:00:29 yun user.notice usb-modeswitch: 1-1.1.2:1.0: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
19:00:29 yun user.notice usb-modeswitch: 1-1.1.2:1.1: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
19:00:29 yun user.notice usb-modeswitch: 1-1.1.2:1.2: Manufacturer=ZTE,Incorporated Product=ZTE_CDMA_Technologies_MSM Serial=?
19:00:30 yun daemon.notice netifd: wan2 (1801): comgt 19:00:30 -> -- Error Report --
19:00:30 yun daemon.notice netifd: wan2 (1801): comgt 19:00:30 -> ---->              ^
19:00:30 yun daemon.notice netifd: wan2 (1801): comgt 19:00:30 -> Error @114, line 9, Could not write to COM device. (1)
19:00:30 yun daemon.notice netifd: wan2 (1801):
19:00:32 yun daemon.notice netifd: wan2 (1801): Trying to set PIN
19:00:33 yun daemon.notice netifd: wan2 (1801): PIN set successfully
19:00:33 yun daemon.notice pppd[1894]: pppd 2.4.5 started by root, uid 0
19:00:34 yun local2.info chat[1898]: abort on (BUSY)
19:00:34 yun local2.info chat[1898]: abort on (NO CARRIER)
19:00:34 yun local2.info chat[1898]: abort on (ERROR)
19:00:34 yun local2.info chat[1898]: report (CONNECT)
19:00:34 yun local2.info chat[1898]: timeout set to 10 seconds
19:00:34 yun local2.info chat[1898]: send (AT&F^M)
19:00:34 yun local2.info chat[1898]: expect (OK)
19:00:34 yun local2.info chat[1898]: ^M
19:00:34 yun local2.info chat[1898]: +ZDONR: "Not Found"^M
19:00:34 yun local2.info chat[1898]: ^M
19:00:34 yun local2.info chat[1898]: +ZPASR: "No Service"^M
19:00:34 yun local2.info chat[1898]: AT&F^M^M
19:00:34 yun local2.info chat[1898]: OK
19:00:34 yun local2.info chat[1898]:  -- got it
19:00:34 yun local2.info chat[1898]: send (ATE1^M)
19:00:34 yun local2.info chat[1898]: expect (OK)
19:00:34 yun local2.info chat[1898]: ^M
19:00:34 yun local2.info chat[1898]: ATE1^M^M
19:00:34 yun local2.info chat[1898]: OK
19:00:34 yun local2.info chat[1898]:  -- got it
19:00:34 yun local2.info chat[1898]: send (AT+CGDCONT=1,"IP","tre.it"^M)
19:00:34 yun local2.info chat[1898]: send (AT+SYSCFG=2,2,3FFFFFFF,0,4^M)
19:00:35 yun local2.info chat[1898]: timeout set to 30 seconds
19:00:35 yun local2.info chat[1898]: expect (OK)
19:00:35 yun local2.info chat[1898]: ^M
19:00:35 yun local2.info chat[1898]: AT+CGDCONT=1,"IP","tre.it"^M^M
19:00:35 yun local2.info chat[1898]: OK
19:00:35 yun local2.info chat[1898]:  -- got it
19:00:35 yun local2.info chat[1898]: send (ATD*99#^M)
19:00:35 yun local2.info chat[1898]: expect (CONNECT)
19:00:35 yun local2.info chat[1898]: ^M
19:00:35 yun local2.info chat[1898]: AT+SYSCFG=2,2,3FFFFFFF,0,4^M^M
19:00:35 yun local2.info chat[1898]: ERROR
19:00:35 yun local2.info chat[1898]:  -- failed
19:00:35 yun local2.info chat[1898]: Failed (ERROR)
19:00:35 yun daemon.err pppd[1894]: Connect script failed
19:00:46 yun daemon.info pppd[1894]: Exit.
19:00:46 yun daemon.notice netifd: Interface 'wan2' is now down
19:02:24 yun daemon.notice netifd: wan2 (1968): comgt 19:02:24 -> -- Error Report --
19:02:24 yun daemon.notice netifd: wan2 (1968): comgt 19:02:24 -> ---->                   ^
19:02:24 yun daemon.notice netifd: wan2 (1968): comgt 19:02:24 -> Error @152, line 10, Could not write to COM device. (1)
19:02:24 yun daemon.notice netifd: wan2 (1968):


So: it connects, or it seems to do, but it gets an error I can't understand, concerning AT commands and the script generated by linino_set3g.ino from PicTux
Code: [Select]

/bin/cat <<EOF > $TGCHAT
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 10
"" "AT&F"
OK "ATE1"
OK 'AT+CGDCONT=1,"IP","\$USE_APN"'
SAY "Calling UMTS/EDGE/GPRS"
TIMEOUT 30
OK "ATD*99#"
CONNECT ''
EOF


I compared PicTux works with some guides I found online, and as far as I understand there aren't significant differences:

and


By now I don't know what to do...please help!

supermarioprof

UPDATE: I get the same error either with a powered hub or with direct connection to Yun.

Maybe it is a problem of time...
could it be this?
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173566/comments/13

sonnyyu

#13
May 21, 2014, 06:19 pm Last Edit: May 21, 2014, 06:21 pm by sonnyyu Reason: 1
People from Yun's ODM put How to configure an USB modem (3G) stick on Linino (Yun) boards

http://wiki.linino.org/doku.php?id=wiki:lininousbmodem

Much to my surprise I sought linino.org is based on US. The 3G is phase out a long time ago in US.


bartdereu

Hi,

old post reopened, but i'm struggling to get my Huawei 303 to work on the Yun.

Problem is, that i can't seem to be able to do the modeswitch to set the modem from
mass storage device to modem.
I'm using Putty as SSH but in every folder i try, 'usb-modeswitch' gives me a 'not found'.
aldo the package is said to be 'up to date' when i try to install it. Tried to remove and reinstall
which he does but still i can't use the modeswitch. anyone knowing in what folder this should
be located ?

Go Up