2016年2月19日 星期五

非常粗淺的觀察報告

在多數商品價格不斷下降的過程, 我稱之為C/P值化, 有部份廠商逆勢成長, 你可以把他視為一種精品化的過程, 什麼叫做精品化, 或者叫LV化你會比較快理解, LV用極高的時尚包裝以及好的材料創造出自己的價值後, 他的所謂經典款包包卻是人造皮革. 但依舊可以賣出高價,

但是別忘記, 如何做出所謂的時尚包裝? 看過穿著Prada的惡魔吧? "時裝周" 的整體花費有多高? 更不用說"時裝雜誌"一篇專欄都可以養出一個所謂的名家作者, 這背後是一個龐大的社交網絡, 如果講的市儈一點也可以叫做"共犯結構",

OK, 該導入正題了, 換言之, 這種精品化的過程中必須講究 - 綜效 Synergy

對品牌而言什麼東西是想要推敲的? 精品化, 品牌識別度, 忠誠度, 黏著度, 當然前面提的C/P值也是.

我想各廠商都認為精品"品牌"是必然的推敲結果. 但是品牌忠誠度不容易出現在電子產品, 因為電子產品強調自動化生產, 一旦自動化生產, 降低複雜度, 降低價格變成必然, 換言之電子產品生產商自己降低了複製/山寨的成本.

所以電子商品若想推品牌卻只想強調C/P值, 那品牌價值必然不斷下降. 或者我們可以舉一下餐飲品牌的例子, 王品集團靠著所謂的服務sop, 讓台灣的中價位餐飲服務突然跨越了一個階級. 但是由於存在所謂的"標準操作流程", 自然複製性高, 很快很多餐飲品牌也跟著學所謂的服務SOP, 甚至推出所謂的"故事" 例如"無老鍋"

當然, 我舉其他山寨的出現並不是說王品就會一蹶不振, 因為他應該已經在這個市場賺夠了, 他可以拿同一套作法去別的市場,別忘記, 歷史也證明, 王品一開始的好多年都不上市賺得全是他的, 大家也都一直認為他應該要上市, 加速開分店, 但他直到其他追隨者出現後, 才上市並同時推廣到海外市場. 這就是所謂的綜效. 我想如果他還想賺更多, 現在應該已經在思考把王品賣掉的可能性. ok 那是後話.

因為自己的工作內容, 我想談一下電子品牌, 電子品牌單純推崇其中一種觀點都是沒有意義的, 我們要更在意.同一套模式不見得適合每個市場, 例如Uber成功的用補貼策略, 讓市場"習慣"而後"依賴"達到了黏著度的目標, 但是Uber在大陸辛苦的補貼, 仍然比拼不過微信? 甚至造成了其他市場漲價來繼續他的補貼策略, 我不想當事後諸葛, 我先預測吧, Uber肯定退出大陸市場. 甚至因為大陸市場導致其他中度開發市場的流失.

而宏碁的創辦人在解決宏碁的困境時, 認為應該結合軟硬體服務並加上服務的角度, 簡單說就是希望培養出綜效, 但是我不禁要長嘆一聲, 如果今天宏碁是一新創公司, 開發不同方向產品沒有任何問題, 但是宏碁並不是, 而是一間一直以為自己是PC硬體廠, 卻想做所有電子商品的貼牌商.

對不起, 一間想重振雄風的公司, 不能以降低生產成本, 不能用貼牌產品來重塑自己的形象. 你需要放入更多的心力在投資自己的基礎建設上, 否則就乾脆賣掉. 把錢拿去投資你想作的東西.

沒有基石何以造高樓. 宏碁身為一家電子產品的製造商, 雖然美其名市一間"曾經"國際知名的品牌廠商, 但很遺憾的在那個輝煌的年代, 主事者沒有培養出綜效, 時間點已過. 現在要重來勢必要有決心, 雖不用破釜沈舟, 但背水一戰的決心還是要有的. 現在卻是用PC養其他產品的心態. 這樣怎能夠把其他產品殺出血路呢?

2015年1月8日 星期四

Intel Edison mini breakout board w/ MPD

This document would give a guide for playbacking flac or music file on Intel Edison with external usb DAC. Please understand that, I would not give all commend because i wrote this guide after my task done.


I would use Burson Conductor as a target device, it adept with c-media cm6631a usb receiver chip.






Requirement

HW requirement:
  1. Intel Edison mini breakout board
  2. otg usb micro b male to type B (usually dac with type b input)
  3. dc power core (7~15v)
  4. optional : wifi i-PEX connect line
SW requirement:
  1. Linux operation (Ubuntu or Debian is better for operation consistence.)
  2. other SW would be found in apt-get.

Before-guide

In this guide, if start from “#”, it mean comment on your host. If it start with “$”, it mean commend on intel edison. I would suggest operating on linux. because we finally would compiler kernel for wifi driver support.


Flash ubilinux, debian w/ Wheezy for Edison

I prefer Debian than Yocto
    1. #mkdir download
    2. #cd download
  1. install the flash tool first
    # apt-get install dfu-util
  2. flash image
    # cd toFlash
    # sudo ./flashall.sh
  3. after flash done, please wait reboot twice.
  4. maybe you need do some configure on Intel Edison.
    # sudo screen /dev/ttyUSB0 115200
    1. log on into edison with
      1. user : edison
      2. password: edison
    2. strongly suggest follow sparkfun’s reference site to add/modify the default user.
      1. sudo, ssh, etc.

Setup wifi

after flash ubilinux, wifi would be work now.  we would let it connect to wifi ap first, to make sure the device is workable.
  1. get hex_string
    $wpa_passphrase
    1. got the psk and remember your psk value for later usage.
  2. $vim /etc/network/interfaces
    1. commend auto usb0 with “#”
    2. uncomment wlan0, the line start should not have “#”
    3. fill your ssid and psk to profile field.
    4. in my case, I use eap wifi auth, here is a sample
      auto wlan0
      iface wlan0 inet dhcp
      wpa-driver wext
      wpa-ssid
      wpa-ap-scan 2
      wpa-eap PEAP
      wpa-key-mgmt WPA-EAP
      wpa-anonymous-identity
      wpa-identity
      wpa-password
      wpa-phase2 auth=MSCHAPV2
  3. $ifup wlan0
    1. if wifi cant work, try iwconfig to check the quality and signal strength
    2. $iwconfig
      1. some like as Link Quality=70/70  Signal level=-36 dBm

Install MPD for a client-server playback server.

Compile new version MPD

this is for  new features (maybe new bugs...)
  1. the version in ubilinux is old, but we could install it to configure some variable.
    $apt-get install mpd
  2. now we should compile it by yourself
  3. remove mpd first
    $apt-get remove mpd
  4. apt-get install some necessary packages
    $sudo apt-get install build-essential libglib2.0-dev git vim
  5. add the source repository
    $ sudo vim /etc/apt/sources.list
  6. remove “#” from deb-src or add it!
    $ sudo apt-get update
  7. use apt-build to update necessary packages.
    $ sudo apt-get build-dep mpd
  8. compiler mpd from source code tarball
    $ wget -O - http://www.musicpd.org/download/mpd/stable/mpd-0.19.7.tar.gz | tar -zxf -
    $ cd mpd-0.19.7
    $ make clean
    $ ./configure
  9. you would need to install some build tools here. check the missing dependent package and install them.
    $ make
    $ sudo make install
    $ whereis mpd
  10. base on last command, do a software link for it.
    $ sudo ln -s /usr/local/bin/mpd /usr/bin/mpd

configure config

  1. after compile and install, we need some configure let it work for our purpose.
    $sudo aplay -lcard
    1. 1: Audio [USB2.0 High-Speed True HD Audio], device 0: USB Audio [USB Audio]
  2. make sure following path exist, and check some values that we care.
    $ sudo vim /etc/mpd.conf
    music_directory      "/home//music"
    playlist_directory           "/home//.mpd/playlists"
    #bind_to_address
    port                         "6600"
    audio_output {
           type            "alsa"
           name            "Burson Conductor" # any you like
           device          "hw:1,0" #value in aplay -l
           auto_resample    "no"
           auto_format      "no"
           auto_channels    "no"
    }
    mixer_type                     "disabled"
    replaygain                     "off"
    $ sudo service mod restart
  3. Done!
    but no sound output here. because default configure of Intel ‘s kernel have not build in  snd-usb-audio module. we should follow next step.


Build your own kernel

remember back to your linux work station.
  1. now we can build the new kernel for audio support
    # mkdir edison
    # cd  edison
    # wget -O - http://downloadmirror.intel.com/24389/eng/edison-src-rel1-maint-rel1-ww42-14.tgz#_ga=1.225557722.1979370645.1410536481 | tar -zxf -
    # wget -O - https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.17.tar.bz2 | tar -jxf -
    # cd ./linux-3.10.17
    # patch -p1 < ../edison-src/device-software/meta-edison/recipes-kernel/linux/files/upstream_to_edison.patch
    # cp ../edison-src/device-software/meta-edison/recipes-kernel/linux/files/defconfig .config
    # cp drivers/tty/serial/mfd_trace.h include/trace/
  2. add usb sound support
    # make menuconfig
    1. mark module M at device driver -> Sound card support -> Advenced Linux Sound Architecture -> USB sound devices -> USB Audio / MIDI driver
  3. add for wifi module boardcom 4334x
    1. # cp -rf ../edison-src/broadcom_cws/
  4. Now build it
    # make -j16  -p broadcom_cws/wlan/driver_bcm43x/ deb-pkg
  5. Wait it compil done, you would get three debs at parent folder “edison”
    linux-headers-3.10.17-poky-edison_3.10.17-poky-edison-1_i386.deb
    linux-image-3.10.17-poky-edison_3.10.17-poky-edison-1_i386.deb
    linux-libc-dev_3.10.17-poky-edison-1_i386.deb
  6. now copy file into your Intel edison, if you have already set up ssh on edison, you can use scp to transfer file.
    1. # scp *.deb xx.xx.xx.xx:/home//
  7. change to your edison command line
  8. maybe you want to backup /boot before next step.
    1. $ cp -R /boot/* /home//boot_backup
  9. $ dpkg -i *.deb
    $ mv /boot/vmlinuz-3.10.17-poky-edison /boot/vmlinuz
    $ reboot
  10. after here, you should have a snd-usb-audio workable kernel on Edison or got a brick!!!
    1. if fail, go to “toFlash”, try again…

Configure ALSA

  1. now you should install some alsa packages.
    1. $ apt-get install alsa-utils
    2. $ sudo su
    3. $ alsactrl init
    4. aplay -Dhw:1,0 any.mp3
    5. If you got music from dac, done.
forgive me, I would not write the mpd client now, maybe later.

2014年12月16日 星期二

我當阿爸了

終於又邁向另一個階段囉, 和各位介紹我剛出生的兒子, 小名Totoro, 這小子超可愛的拉, 張口根大家說Yo.

由於已過預產期小傢伙又沒打算出來的跡象, 小孩頭圍已經有點大了, 所以在醫生建議下, 到國泰醫院催生, 老婆心情很糾結, 因為本來好希望能讓Totoro自然的來到這個世界, 但考量之下還是為了母子安全, 決定在12/7晚間11點, 兩個人拖著待產包到醫院產房報到.

只是沒想到老婆辛苦疼痛了超過30個小時, 還是沒讓這小傢伙出來見客, 產程遲滯之下, 醫生決定剖腹, 才把這個孩子帶出來, 老婆說他才剛被抓出來就開始哭了, 看來很健康呢. 在老婆進入手術室後, 我一個人在手術室外等待的心情還蠻複雜的. 後來媽媽也到了才讓我稍微安心一點.

8點剛過, 手術房的門打開, 一名護士將一名嬰兒推出來, 拿著手中的單子喊老婆的名子, 一個健步向前, 看到Totoro的時候心情真的很難形容, 一方面也很擔心還在手術室的老婆. 一方面又很開心看到剛剛出生的新生兒. 心理想, 這就是我的兒子. 40周以來都是看著超音波中的他, 現在終於見到了.

老婆還在手術室中後續的醫療,  也需要在恢復室中等待麻藥效果退去. 等了兩個多小時才送到病房, 現在的醫院大多推行母嬰同室,  還有哺喂母乳, 所以老婆除了要忍傷口痛還要應付這個小傢伙, 還好國泰還算人性, 沒有一定要嬰兒待在房內, 老婆勉強還可以休息一下, 只是說, 現在回家休養了一切都得自己照料了.

Totoro睡覺時像個天使, 肚子餓就跟小惡魔沒兩樣, 不過看著他不自覺就會笑呢. 在醫院學習幫他洗澡, 換尿布, 回到家自己動手又是一番光景, 但還是很有成就感. 真的多了一個甜蜜的負擔.

老婆辛苦的懷他40周, 還挨陣痛30小時, 最後還免不了挨了一刀. 老婆, 你辛苦了