lsusb 
Bus 001 Device 004: ID 0403:fd49 Future Technology Devices International, Ltd

http://www.linux-usb.org/usb.ids

fd48  ShipModul MiniPlex-4xUSB NMEA Multiplexer
fd49  ShipModul MiniPlex-4xUSB-AIS NMEA Multiplexer

Install its driver:

opkg update
opkg install kmod-usb-serial kmod-usb-serial-ftdi

But since it is not standard FTDI chip.

lsmod |grep  ftdi_sio
rmmod ftdi_sio
lsmod |grep  ftdi_sio
insmod ftdi_sio vendor=0x0403 product=0xfd49
lsmod |grep  ftdi_sio

Put it at start init.

nano /etc/rc.local
...
#reset-mcu
/sbin/rmmod ftdi_sio
/sbin/insmod ftdi_sio vendor=0x0403 product=0xfd49
exit 0

Write comment (0 Comments)

lsusb 
...
Bus 006 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

http://www.linux-usb.org/usb.ids

067b  Prolific Technology, Inc.
	...
	2303  PL2303 Serial Port

USB serial adapters

lsmod
ftdi_sio               27200  0
usbserial              17633  1 ftdi_sio

Correct lsmod output:

lsmod
pl2303                  6688  0
usbserial              17633  1 pl2303
opkg update 
opkg remove kmod-usb-serial-ftdi
opkg remove kmod-usb-serial-pl2303	
opkg install kmod-usb-serial-pl2303
lsmod
pl2303                  6688  0
usbserial              17633  1 pl2303

Write comment (0 Comments)

What is a path?

A path is a unique location to a file or a folder in a file system of an OS. A path to a file is a combination of / and alpha-numeric characters.

What is an absolute path?

An absolute path is defined as the specifying the location of a file or directory from the root directory(/). In other words we can say absolute path is a complete path from start of actual filesystem from / directory.

What is the relative path?

Relative path is defined as path related to the present working directory(pwd). Suppose I am located in /var/log and I want to change directory to /var/log/kernel. I can use relative path concept to change directory to kernel

Write comment (0 Comments)

http://wiki.openwrt.org/doc/howto/lamp

opkg update
opkg install mysql-server
sed -i 's,^datadir.*,datadir         = "/srv/mysql",g' /etc/my.cnf
sed -i 's,^tmpdir.*,tmpdir          = "/tmp",g' /etc/my.cnf
mkdir -p /srv/mysql
mysql_install_db --force
/etc/init.d/mysqld start
/etc/init.d/mysqld enable
mysqladmin -u root password 'password'

Test mysql-server:

root@Arduino:~# mysql -uroot -p
Enter password:
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| test               |
+--------------------+
3 rows in set (0.00 sec)

Write comment (3 Comments)

Subcategories

Expand the Storage at Yun

Languages Supported by Yun

Backup and Recover

Network and Yun

Hardware & Yun

OpenWrt-SDK & Yun