I got this idea when i was surfing the web in search of a tool similar to the Nokia Pc Suite for my Linux

          This How-To  works with many NOKIA Mobile Phone, especially for Nokia 3230, 6670, 6680, 6682 e 7610, 6120, Sony Ericsson Z1010, LG U8110/8120.

          First of all, we have to grant access for Mobile Phone to “dialout” group.

          sudo gedit /etc/udev/rules.d/40-permissions.rules

          Now we have to add to the end of file:

          # NOKIA 6120
          BUS==”usb”, SYSFS{idVendor}==”0421″, SYSFS{idProduct}==”002f”, GROUP=”dialout”

          where 0421 and 002f could be different depending on your Mobile Phone.
          To check your idVendor and idProduct, we have to type on terminal

          lsusb
          Bus 003 Device 009: ID 0421:002f Nokia Mobile Phones

          Now, we have to reload udev permission file:

          sudo /etc/init.d/udev restart

          We have to add our username on group “dialout”

          gpasswd -a username dialout

          All basics configurations for USB Data Cable are completed. We can start installation of obexftp and obextool GUI. Obextool GUI is written for tk graphic library, so GUI not have a good design as GTK.

          sudo apt-get install openobex-apps libopenobex1 obexftp obextool

          If you want start obextool from terminal we have to type for the first time:

          export OBEXCMD=”obexftp -t /dev/ttyACM0 -u 1″
          obextool

          or, we can start it simply by typing:

          obextool –obexcmd “obexftp -t /dev/ttyACM0 -u 1″

          When we start Obextool we can see this error message:

          It seems, that your device does not support the memory status feature.
          Memory status will be disabled

          To solve this problem we have to set some values on obextool.cfg:

          sudo gedit /etc/obextool.cfg

          set ObexConfig(config,memstatus) 0
          set ObexConfig(config,filemove) 0

          Another error message that we can see is:

          FIle ‘/FileName/’ could not be uploaded to ‘E:/Path’!
          Please check your file permissions.

          To solve it:

          sudo gedit /etc/obextool.cfg

          set ObexConfig(config,dir_slash) 1

          Good Job! Now your Mobile Phone works well in Ubuntu Gutsy with ObexTool.
          If we want add it as Desktop Entry:

          sudo gedit /usr/share/applications/obextool.desktop

          [Desktop Entry]
          Encoding=UTF-8
          Version=1.0
          Type=Application
          Exec=/usr/bin/obextool –obexcmd “obexftp -t /dev/ttyACM0 -u 1″
          Icon=/usr/share/icons/gnome/scalable/devices/phone.svg
          Terminal=false
          Name=Obextool
          GenericName=
          Comment=Browser your Mobile Phone
          Categories=Application;Utility;

          So, you can find it in your Gnome Panel over: “Applications” -> “Accessories” -> Obextool


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 福贡县| 巴彦县| 岳普湖县| 巴马| 深州市| 黔南| 长顺县| 比如县| 旺苍县| 荔浦县| 常熟市| 永修县| 达孜县| 蓬莱市| 乐山市| 灵武市| 柞水县| 玉山县| 湘潭县| 金昌市| 云林县| 灵寿县| 诸城市| 宁阳县| 广昌县| 芜湖市| 扎囊县| 黄平县| 汉源县| 遂昌县| 平江县| 渝中区| 大方县| 寻乌县| 鄂尔多斯市| 定兴县| 尼木县| 青阳县| 金平| 铁力市| 尉犁县|