Saturday, October 22, 2011

Get idVendor of usb devices in Linux

Sometimes we need idVendor in order to create rules of connected devices using usb port in Linux. The command bellow show you how to get the idVendor information value.
root@digital-home:~# lsusb
Bus 002 Device 004: ID 090c:37b0 Feiya Technology Corp.
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 413c:b007 Dell Computer Corp.
Bus 001 Device 004: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 003: ID 0a5c:21b4 Broadcom Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The list aboce show us information that 413c is usb idVendor from Dell Computer Corp. which currently connected to my computer.

Wednesday, October 19, 2011

Using GIT under HTTP PROXY

If you want to use git command under http proxy, you can use this way:

  1. Install socat
    $sudo apt-get install socat

  2. Create configuration file which match with your proxy server address and port under /bin
    #!/bin/sh
    # Use socat to proxy git through an HTTP CONNECT firewall.
    # Useful if you are trying to clone git:// from inside a company.
    # Requires that the proxy allows CONNECT to port 9418.
    #
    # Save this file as gitproxy somewhere in your path (e.g., ~/bin) and then run
    # chmod +x gitproxy
    # git config --global core.gitproxy gitproxy
    #
    # More details at http://tinyurl.com/8xvpny
    
    # Configuration. Common proxy ports are 3128, 8123, 8000.
    _proxy=172.17.0.18
    _proxyport=8080
    
    exec socat STDIO PROXY:$_proxy:$1:$2,proxyport=$_proxyport

  3. Now git command should work in your network under http proxy
    $git config --global core.gitproxy gitproxy

Tuesday, October 4, 2011

Review Dell Streak 5

Hi gadget mania.....aku mo share  niy tentang pengalamanku memakai Dell Streak 5. Dell Streak 5 emang udah diklaim sebagai produk gagal, namun aku justru penasaran kenapa sih dikatakan produk gagal, so sekitar 2 minggu yang lalu aku coba beli Dell Streak 5, dan saat itu emang harganya lagi turun banget. Denger-denger sih produk Dell yang satu ini dikatakan produk gagal karena ukurannya yang nanggung banget, yaitu 5 inch. Ada yang bilang kalo ukuran Dell Streak terjebak di antara smartphone dan Tablet. Aku juga bingung kok dikatakan terjebak, kenapa gak dikatakan telah mengisi segmen pasar gadget baru yaitu segment pasar untuk ukuran layar 5inch. Berikut pendapat aku mengenai Dell Streak 5

Battery  Life

Battery Dell Streak 5 lumayan bagus, untuk pemakain normal (browsing, SMS, melakukan panggilan telp) bisa tahan seharian

Camera

Sejauh ini saya gak suka dengan camera 5 MP yang ada di Dell Streak 5

Custom ROM

Wah ini yang seharusnya temen2 semua pertimbangkan kalo mau beli gadget baru, khususnya gadget Android. Aku bener2 kecewa dengan sedikitnya custom ROM untuk Dell Streak 5 ini.

Processor and Memroy

Emmmm menurutku gak jelek2 amatlah spesifikasi untuk processor dan RAM, RAM 512MB dan processor 1GHz