Nokia的PC suite都是for windows, 按照下面的方法一步步操作可以在Ubuntu(7.10)上通过usb线访问手机, 解决了笔记本没有蓝牙无法访问手机内部存储器的问题.wYTLinux联盟
wYTLinux联盟
原文地址: http://www.smokinglinux.com/tutorials/nokia-pc-suite-for-linux-with-obextool-on-ubuntu-gutsy#commentwYTLinux联盟
wYTLinux联盟
-------------------------------------------------------wYTLinux联盟
I’m not responsable for any damage on your Mobile Phone derived from this how-to! However my Nokia 6120 works well on Ubuntu Gutsy 7.10
You can apply this howto only if you use USB Data Cable included in your Nokia 6120.wYTLinux联盟
Why USB and not BlueTooth?wYTLinux联盟
USB Data Cable is included on your NOKIA 6120 Package and not require that you buy additional bluetooth device for your Linux PC. USB Data Cable transfers file faster than BlueTooth.wYTLinux联盟
Why use Software if you can use Micro SD card reader on your Linux PC?wYTLinux联盟
Yes, you can use Micro SD card reader device for your Linux PC, but you can’t read your Nokia internal Memory. So, is necessary that you run a software to manage your Nokia 6120 Internal Memory.
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 6120wYTLinux联盟
BUS==”usb”, SYSFS{idVendor}==”0421″, SYSFS{idProduct}==”002f”, GROUP=”dialout”
where 0421 and 002f could be different depending on your Mobile Phone.wYTLinux联盟
To check your idVendor and idProduct, we have to type on terminal
lsusbwYTLinux联盟
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″wYTLinux联盟
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.wYTLinux联盟
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) 0wYTLinux联盟
set ObexConfig(config,filemove) 0
Another error message that we can see is:wYTLinux联盟
wYTLinux联盟
FIle ‘/FileName/’ could not be uploaded to ‘E:/Path’!wYTLinux联盟
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.wYTLinux联盟
If we want add it as Desktop Entry:
sudo gedit /usr/share/applications/obextool.desktop
[Desktop Entry]wYTLinux联盟
Encoding=UTF-8wYTLinux联盟
Version=1.0wYTLinux联盟
Type=ApplicationwYTLinux联盟
Exec=/usr/bin/obextool –obexcmd “obexftp -t /dev/ttyACM0 -u 1″wYTLinux联盟
Icon=/usr/share/icons/gnome/scalable/devices/phone.svgwYTLinux联盟
Terminal=falsewYTLinux联盟
Name=ObextoolwYTLinux联盟
GenericName=wYTLinux联盟
Comment=Browser your Mobile PhonewYTLinux联盟
Categories=Application;Utility;
So, you can find it in your Gnome Panel over: “Applications” -> “Accessories” -> Obextool
Linux联盟收集整理 ,转贴请标明原始链接,如有任何疑问欢迎来本站Linux论坛讨论