Tuesday, August 6, 2013

Iphone 4 microphone fault

After being dropped or similar the audio compiler malfunctions. I proved the problem by placing a call and (removed back) pressed on the area where the compiler chip is and confirmed sound was working while pressing only.

Follow this for the best detailed removal and replacement video...

http://www.youtube.com/watch?v=DPR8qrAcg5g
Raspberry Pi Notes (img Backups)

If you have a good build and dont want to loose it....


Grab the SD card out and stick it in the mac, go to a terminal and type


# diskutil list

/dev/disk0
   #:                       TYPE NAME                                       SIZE            IDENTIFIER
   0:                       GUID_partition_scheme                        *251.0 GB   disk0
   1:                       EFI                                                       209.7 MB   disk0s1
   2:                       Apple_HFS Macintosh HD                     250.1 GB   disk0s2
   3:                       Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                                      SIZE       IDENTIFIER
   0:                       FDisk_partition_scheme                        *2.0 GB     disk1
   1:                       Windows_FAT_32 System                    131.1 MB   disk1s1
   2:                        Linux                                                  805.3 MB   disk1s2

# umount /dev/disk1


# dd bs=1024 if=/dev/disk1 of=20130806-raspberry.img

This last one takes about 1/2 hour but it creates an img on the mac that can be dumped to another SD card at will later with:

# dd bs=1024 of=/dev/disk1 if=20130806-raspberry.img

This is how I keep backups of my good builds. Keep in mind that there is no compression involved and a 16G SD disk will take up 16G of space on the mac.
Raspberry PI Notes (Wifi and Bluetooth)

Wifi 


I used the following usb dongles without any trouble:


Edimax, Cisco (Linksys) WUSB600N, Belkin F7D1101 v1 


Edimax



> 802.11n WLAN Adapter:
>

> Product ID: 0x7811
> Vendor ID: 0x7392
> Version: 2.00
> Serial Number: 00e04c000001
> Speed: Up to 480 Mb/sec
> Manufacturer: Realtek
> Location ID: 0x1a120000 / 4
> Current Available (mA): 500
> Current Required (mA): 500



Cisco
< Linksys WUSB600N Wireless-N USB Network Adapter with Dual-Band ver. 2:
<
< Product ID: 0x0079
< Vendor ID: 0x1737 (Hong Kong Applied Science and Technology Research Inst.)
< Version: 1.01
< Speed: Up to 480 Mb/sec
< Manufacturer: Linksys
< Location ID: 0x1a120000 / 4
< Current Available (mA): 500
< Current Required (mA): 450



Belkin
> Basic Wireless USB Adapter:
>
> Product ID: 0x945a
> Vendor ID: 0x050d (Belkin Corporation)
> Version: 2.00
> Serial Number: 00e04c000001
> Speed: Up to 480 Mb/sec
> Manufacturer: Manufacturer Realtek
> Location ID: 0x1a120000 / 4
> Current Available (mA): 500
> Current Required (mA): 500



Bluetooth 

I used this guide to get me started installing the bluez stack etc:http://www.ctheroux.com/2012/08/a-step-by-step-guide-to-setup-a-bluetooth-keyboard-and-mouse-on-the-raspberry-pi/


keyboard: I used an apple keyboard and magic mouse, using a old dongle I found from ISSC (this information is from the dongle):



> ISSCEDRBTA:
>

> Product ID: 0x1001
> Vendor ID: 0x1131 (Integrated System Solution Corp.)
> Version: 3.73
> Speed: Up to 12 Mb/sec
> Manufacturer: ISSC
> Location ID: 0x14200000 / 7
> Current Available (mA): 500
> Current Required (mA): Unknown (Device has not been configured)



Make the keyboard discoverable (I took the batteries out and put back, then press button on side, green light should flicker on and off).

record the MAC address

# hcitool scan

pair it
# echo 0000|bluez-simple-agent hci0 BB:0F:FE:82:D1:C5

Then enter 0000 on BT keyboard
trust the keyboard...

# bluez-test-device trusted BB:0F:FE:82:D1:C5 yes

connect the keyboard...

# bluez-test-input connect BB:0F:FE:82:D1:C5


Make the mouse discoverable ( I switched it off and on again)

# hcitool scan

record the MAC address

# echo 0000|bluez-simple-agent hci0 BB:0F:FE:82:D1:C6

trust the mouse...

# bluez-test-device trusted BB:0F:FE:82:D1:C6 yes

connect the mouse...

# bluez-test-input connect BB:0F:FE:82:D1:C6

All devices remain intact on reboot.