歡迎您光臨本站 註冊首頁

在Ubuntu上使用Nokia手機瀏覽器

←手機掃碼閱讀     火星人 @ 2014-03-26 , reply:0

Nokia的PC suite都是for windows, 按照下面的方法一步步操作可以在Ubuntu(7.10)上通過usb線訪問手機, 解決了筆記本沒有藍牙無法訪問手機內部存儲器的問題.

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.
Why USB and not BlueTooth?
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.
Why use Software if you can use Micro SD card reader on your Linux PC?
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 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

[火星人 ] 在Ubuntu上使用Nokia手機瀏覽器已經有500次圍觀

http://coctec.com/docs/linux/show-post-181773.html