Posts

Showing posts from 2013

installing VSFTPD (FTP) on the Raspberry Pi

sudo apt-get install vsftpd Press Enter Press Y when prompted Type nano /etc/vsftpd.conf Press Enter. Edit or uncomment the following lines to secure VSFTPD Anonymous_enable=NO Local_enable=YES Write_enable=YES Ascii_upload_enable=YES Ascii_download_enable=YES Press CTRL + O To save Press CTRL + X To exit Type: /etc/init.d/vsftpd restart You are done

āļ•ิāļ”āļ•ั้āļ‡āđāļĨāļ°āđƒāļŠ้āļ‡āļēāļ™ Airplay [AirPi – AirPlay audio with Raspberry PI]

Upgrade Debian At this step, it’s a good idea to upgrade pre-installed packages : # aptitude update # aptitude upgrade Change audio output To force audio output to stereo jack, a single line is required : # amixer cset numid=3 1 0 -> HDMI 1-> Stereo Jack Install shairport Before download and compile shairport, we need to install prerequisites : # aptitude install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils Then download shairport sources and compile it : # git clone https://github.com/albertz/shairport.git shairport # cd shairport # make Finally, launch shairport foreground : # ./shairport.pl -a AirPi You can now use your iDevice to try AirPlay audio, don’t forget to plug an headphone or speakers into the 3.5mm stereo jack. If you want or need your Pi load automatically shairport, follow next procedure : root@raspberrypi:~/shairport# make install root@raspberrypi:~/shairport# cp shairport.init.sam...

Install OMXPlayer āđƒāļŦ้āļัāļš RPi āđ€āļžื่āļ­āđ€āļĨ่āļ™āļŦāļ™ัāļ‡

Credit [ http://omxplayer.sconde.net/ ] Instructions First you need install required dependencies: # aptitude install libpcre3 fonts-freefont-ttf - or - # apt-get install libpcre3 fonts-freefont-ttf Optionally you can install fbset, I highly recommend it if you are going to use  --refresh / -r  option: # aptitude install fbset - or - # apt-get install fbset When you have installed the dependencies you can go ahead downloading the omxplayer and install it with dpkg: # wget http://omxplayer.sconde.net/builds/omxplayer_ x.x.x ~git xxxxxxxx ~ xxxxxxxx _armhf.deb # dpkg -i omxplayer_ x.x.x ~git xxxxxxxx ~ xxxxxxxx _armhf.deb Key bindings Key Action 1 Increase Speed 2 Decrease Speed j Previous Audio stream k Next Audio stream i Previous Chapter o Next Chapter n Previous Subtitle stream m Next Subtitle stream s Toggle subtitles q Exit OMXPlayer Space or p Pause/Resume - Decrease Volume + Increase Volume Left Seek -30 Right Seek +30 Down Seek -6...

āļ•ิāļ”āļ•ั้āļ‡ Driver Wireless lan TP-Link TL-WN723N āđƒāļŦ้āļัāļš RPi

Image
Driver Wireless lan TP-Link TL-WN723N Credit : [ http://www.raspberrypi.org/phpBB3/viewtopic.php?p=462982#p462982 ] rtl8188eu drivers for 3.10.25+ (includes driver 8188eu.ko, firmware file rtl8188eufw.bin and README) CODE: SELECT ALL 3.10.25+ #616 - 8188eu-20131223.tar.gz Link to driver files - use date code from list above to download rquired driver CODE: SELECT ALL https://dl.dropboxusercontent.com/u/80256631/8188eu-2013xxyy.tar.gz NOTE: If updating firmware revisions, say from 3.10.23+ to 3.10.24+, and they use the same driver, in this case 8188eu-20131209.tar.gz, you will still need to reinstall the driver on the newer version of Linux, even though the driver has not changed as it will be loaded from a different director by the new Linux revision and you need to install it in the new directory. Download and install the driver, and firmware if required, with the following commands CODE: SELECT ALL # wget https://dl.dropboxusercontent.com/u/80256631/8188eu-2013...

RPi and I2C LCD PCF8574 (addr = 0x38)

Image
āļ§ิāļ˜ีāļ—ี่āđƒāļŦ้ RPi āđ€āļ›ิāļ”āđƒāļŠ้āļ‡āļēāļ™ I2C Link: [ Credit [http://www.instructables.com/id/Raspberry-Pi-I2C-Python/?ALLSTEPS] ] āļŠ่āļ§āļ™āļĨัāļāļĐāļ“āļ°āļāļēāļĢāļ•่āļ­āđāļšāļšāļ™ี้āļŠāļēāļĄāļēāļĢāļ–āđƒāļŠ้āļ‡āļēāļ™āđ„āļ”้āļัāļš arduino āđ„āļ”้āđ€āļĨāļĒāļ™āļ°āļ„āļĢัāļš LCD Link: http://www.rpiblog.com/2012/07/interfacing-16x2-lcd-with-raspberry-pi.html  āđāļŠāļ”āļ‡āļ„่āļēāļ•ัāļ§āđāļ›āļĢ lcd.lcd_puts("IP " + str(get_ip_address('eth0')),1)   lcd.lcd_puts("IP %s" % get_ip_address('wlan0'),2)

Step by Step āđāļ้āļ›ัāļāļŦāļē Sony Xperia Z,V āđāļ­āļžāļ—ี่āļĄีāļ•ัāļ§āļ­ัāļāļĐāļĢāļ āļēāļĐāļēāđ„āļ—āļĒāđāļĨ้āļ§āđ€āļ”้āļ‡

āļ›ัāļāļŦāļēāļ„ืāļ­āļœāļĄāđ„āļ”้ Xperia V āļĄāļēāđƒāļŠ้āļ‡āļēāļ™āđāļ•่āđ€āļ‚้āļēāđāļ­āļž Gmail, Facebook, Line āļŦāļĢืāļ­ Browser āļˆāļ°āļĄีāļ›ัāļāļŦāļēāđāļ­āļžāđ€āļ”้āļ‡āļ•āļĨāļ­āļ”āļ—āļģāđƒāļŦ้āļŦāļ‡ุāļ”āļŦāļ‡ิāļ”āđ€āļ§āļĨāļēāļˆāļ°āđƒāļŠ้āļ‡āļēāļ™āđ€āļ„āļĢื่āļ­āļ‡āđ€āļ›็āļ™āļ­āļĒ่āļēāļ‡āļĄāļēāļ āļ”ูāļˆāļēāļāļĨิāļ‡āļ„์  Xperia Z  :  Gmail App  issue - YouTube āļŦāļĨัāļ‡āļˆāļēāļāļ™ั้āļ™āđ„āļ”้āļĨāļ­āļ‡āļ„้āļ™āđāļĨāļ°āđ€āļˆāļ­āļ„āļ™āļ—ี่āđ€āļ‚āļēāđāļ้āļ›ัāļāļŦāļēāđ„āļ”้āđāļĨ้āļ§āļˆāļēāļ Link āļ™ี้ PdaMobiz āđāļ้āļ›ัāļāļŦāļēāđāļ­āļžāđ€āļ”้āļ‡ Xperia Z āļ„ิāļ”āļ§่āļēāļˆāļ°āļ•้āļ­āļ‡āđƒāļŠ้āļัāļš Xperia V āđ„āļ”้āđ€āļŦāļĄืāļ­āļ™āļัāļ™āļ็āļĨāļ­āļ‡āļ—āļģāļ•āļēāļĄāđ€āļĨāļĒāļ™āļ°āļ„āļĢัāļš āđ€āļĢิ่āļĄāļˆāļēāļ 1) Unlock Bootloader āļ‚āļ­āļ‡āđ€āļ„āļĢื่āļ­āļ‡āđ‚āļ”āļĒāļāļ” *#06# āđ€āļžื่āļ­āļ•āļĢāļ§āļˆāļŠāļ­āļš IMEI āļ‚āļ­āļ‡āđ€āļ„āļĢื่āļ­ā āļŦāļĢืāļ­āļ”ูāļˆāļēāļāļ‚้āļēāļ‡āļāļĨ่āļ­āļ‡āđ„āļ”้āļ™āļ°āļ„āļĢัāļš  āđ€āļ„āļĢื่āļ­āļ‡āļˆāļ°āđƒāļŦ้āļĄāļēāđ€āļิāļ™āđ„āļ› 1 āļ•ัāļ§ āļ•ัāļ”āļ•ัāļ§āļŠุāļ”āļ—้āļēāļĒāļ—ิ้āļ‡āđ„āļ›āđ„āļ”้āļ„āļĢัāļš 2) āļĨāļ‡āļ—āļ°āđ€āļšีāļĒāļ™āļ‚āļ­āļ‡ Code Unlock āļ—ี่āđ€āļ§āļšāđ„āļ‹āļ—์ Sony  ( āļ—āļģāļ•āļēāļĄāļĨิāļ‡āļ„์āļ™ี้āđ„āļ”้ ) āļ­āļĒ่āļēāļĨืāļĄāđ„āļ›āļ”āļēāļ§āļ™์āđ‚āļŦāļĨāļ” ADB āđāļĨāļ° Fastboot āđāļĨāļ° Driver āļ‚āļ­āļ‡āđ€āļ„āļĢื่āļ­āļ‡āļĄāļēāļĨāļ‡āļ—ี่āļ„āļ­āļĄāđ„āļ§้āļ่āļ­āļ™āļ”้āļ§āļĒāļ™āļ°āļ„āļĢัāļš āļ–้āļēāđ„āļĄ่āļ­āļĒ่āļēāļ‡āļ™ั้āļ™āļ„āļ­āļĄāļˆāļ°āļ•ิāļ”āļ•่āļ­āļัāļšāđ‚āļ—āļĢāļĻัāļžāļ—์āđ„āļĄ่āđ„āļ”้ 3) āļŦāļĨัāļ‡āļˆāļēāļāļ™ั้āļ™āļ็āļ•ิāļ”āļ•่āļ­āļัāļšāđ€āļ„āļĢื่āļ­āļ‡āđ€āļžื่āļ­āđ€āļ‚้āļē Fastboot Mode āđ‚āļ”āļĒāļāļ”āļ›ุ่āļĄ Volume Up āļ„้āļēāļ‡āđāļĨ้āļ§āđ€āļŠีāļĒāļšāļŠāļēāļĒ Micro USB āđ€āļ‚้āļēāļ—ี่āđ‚āļ—āļĢāļĻัāļžāļ—์ āđāļĨāļ°āļžิāļĄāļž์ Code āđ€āļžื่āļ­ Unlock ฺBootloader fastboot.exe -i 0x0fce oem unlock 0xCODE 4) Root āđ€āļ„āļĢื่āļ­āļ‡ āđ€āļĢāļēāļˆāļ°āđƒāļŠ้āđ€āļ„āļĢื่āļ­āļ‡āļĄืāļ­āļ„ืāļ­...

New Project dsPIC adaptor for universal board

Image
āļ§ัāļ™āļ™ี้āđ€āļĢิ่āļĄāļĨāļ‡āļĄืāļ­āļ—āļģāļšāļ­āļĢ์āļ”āļ•่āļ­ dsPIC āļĨัāļāļĐāļ“āļ°āļ‚āļ­āļ‡āļšāļ­āļĢ์āļ”āđ€āļ›็āļ™āļ”ัāļ‡āļĢูāļ›āļ™āļ°āļ„āļĢัāļš