Jun 2009 29

The Sub

This is my sub. It's a 12" 50W jobby from Jaycar, in a 100L sealed enclosure. Currently grossly underpowered, but still able to hit the resonant frequency of the living room :p And of course I built the entire enclosure from scratch :-)
Read full post...
Jun 2009 29

Sun Ultra 1

One relatively unknown benefit of studying electrical & computer engineering at the University of Canterbury are the free computers often left outside computer labs, free for the taking. No this isn't theft! They are placed there by technical staff, complete with large signs saying "FREE". So last night I almost tripped over on my way into the 24 hour computer lab. I was almost going to pass it by, but then I noticed the attractive sawtooth pattern on the side of the side and thought "that looks like a SUN!" Turns out it was a Sun Ultra Creator 1, a variant of the Sun Ultra 1 workstation. So soon after I was cycling home with a 12 kilo [1, pp 5-2] workstation strapped on the back of my bike, going clunk every time I went over a bump. The extra 12 kg over the back wheel is excellent resistance training by the way. Specs Processor: UltraSPARC 167MHz Memory: 256 MB Ethernet: Built in 10baseT UPA Slot 1e,0: SUNW, ffb Sbus 0,0: QLGC,isp sd st (some kind of QL...
Read full post...
PHP Error Report
Date:2024-11-02 05:24:02 (NZDT)
Error Number:2
Error Type:Warning
Error Message:SimpleXMLElement::__construct(): Entity: line 14: parser error : StartTag: invalid element name
Location:/home/michael/www/www.michael.net.nz/cms/Views/list.blog.php, line 17
URL:/?page=33
Request Params:
Array
(
    [page] => 33
)
Variable Trace:
Array
(
    [file] => list.blog.php
    [inc] => 1
    [inherit] => 
    [page] => stdClass Object
        (
            [id] => 35
            [type] => page
            [path] => /Electronics/SonyEricssonK750i
            [slug] => SonyEricssonK750i
            [title] => SonyErissson K750i
            [text] => The Sony Ericsson K750i is my current, and is an great phone for hacking and modding. Here are some of the things I've found out about it.


Watching Videos

It plays 3GP and MP4 videos just fine. To convert video into a format suitable for it, I use #GP Converter, which uses FFMPEG and the QuickTime API to generate a 3GP file from almost any input. I had trouble getting the settings right, however the following in a file called Transcoding_k750i.ini in the default_setting folder works a treat:
[Info]
TitleE=General: 3GPP, k750i
DescriptionE=It is a setting that turns to a general, recent cellular phone.

[Item0]
TitleE=Portait Mode (Normal)
Command0=""<%AppPath%>coresffmpeg" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -bitexact -vcodec mpeg4 -fixaspect -s 176x144 -r 14.985

-b 104 -acodec aac -ac 2 -ar 16000 -ab 32 -f 3gp -muxvb 64 -muxab 32 "<%TemporaryFile%>.3gp""
Command1=""<%AppPath%>coresQT3GPPFlatten" "<%TemporaryFile%>.3gp" "<%OutputFile%>.3gp" -c QT_3GPP(MobileMP4)_QVGA_AAC.ini"
Command2="rm "<%TemporaryFile%>.3gp""

[Item1]
TitleE=Horizontal Full Screen
Command0=""<%AppPath%>coresffmpeg" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -bitexact -vcodec mpeg4 -fixaspect -s 220x180 -r 14.985

-b 104 -acodec aac -ac 2 -ar 16000 -ab 32 -f 3gp -muxvb 64 -muxab 32 "<%TemporaryFile%>.3gp""
Command1=""<%AppPath%>coresQT3GPPFlatten" "<%TemporaryFile%>.3gp" "<%OutputFile%>.3gp" -c QT_3GPP(MobileMP4)_QVGA_AAC.ini"
Command2="rm "<%TemporaryFile%>.3gp""

... which produces very small (~1 MB per minute) videos suitable for viewing on the phone.

Firmware

Misc

[date_added] => 1246276279 [pagecat_path] => ) [path] => cms/Views [url] => /Electronics/SonyEricssonK750i [date] => Jun 2009 29 [text] => The Sony Ericsson K750i is my current, and is an great phone for hacking and modding. Here are some of the things I've found out about it. Watching VideosIt plays 3GP and MP4 videos just fine. To convert video into a format suitable for it, I use #GP Converter, which uses FFMPEG and the QuickTime API to generate a 3GP file from almost any input. I had trouble getting the settings right, however the following in a file called Transcoding_k750i.ini in the default_setting folder works a treat: [Info] TitleE=General: 3GPP, k750i DescriptionE=It is a setting that turns to a general, recent cellular phone. [Item0] TitleE=Portait Mode (Normal) Command0=""coresffmpeg" -y -i "" -timestamp "" -bitexact -vcodec mpeg4 -fixaspect -s 176x144 -r 14.985 -b 104 -acodec aac -ac 2 -ar 16000 -ab 32 -f 3gp -muxvb 64 -muxab 32 ".3gp"" Command1=""coresQT3GPPFlatten" ".3gp" ".3gp" -c QT_3GPP(MobileMP4)_QVGA_AAC.ini" Command2="rm ".3gp"" [Item1] TitleE=Horizontal Full Screen Command0=""coresffmpeg" -y -i ... [xml] => SimpleXMLElement Object ( [br] => Array ( [0] => SimpleXMLElement Object ( ) [1] => SimpleXMLElement Object ( ) [2] => SimpleXMLElement Object ( ) [3] => SimpleXMLElement Object ( ) [4] => SimpleXMLElement Object ( ) [5] => SimpleXMLElement Object ( ) ) [b] => Sun Ultra Creator 1 [div] => SimpleXMLElement Object ( [@attributes] => Array ( [class] => border imgCenter imgBig [style] => text-align: center; ) [img] => SimpleXMLElement Object ( [@attributes] => Array ( [src] => /Files/Attachments/2009/06/Big-PICT0375-436.jpg ) [br] => Array ( [0] => SimpleXMLElement Object ( ) [1] => SimpleXMLElement Object ( ) ) [h2] => Specs [ul] => SimpleXMLElement Object ( [li] => Array ( [0] => Processor: UltraSPARC 167MHz [1] => Memory: 256 MB [2] => Ethernet: Built in 10baseT [3] => UPA Slot 1e,0: SUNW, ffb [4] => Sbus 0,0: QLGC,isp sd st (some kind of QLOGIC SCSI card) [5] => Sbus 1,0: SBS430 Fast, Narrow SCSI host bus adapter (identified as )[2] [6] => Hard drive: None supplied, now fitted with a 4.3 Gb Quantum Baracuda SCSI drive. Uses an 80 pin SCA connector, room for 2 drives, has hot plug trays. [7] => SCSI CD Drive [8] => Floppy drive (SCSI?) — mac-like soft eject [9] => A selection of noisy and 95% dead fans, most with noisy bearings ) ) [div] => SimpleXMLElement Object ( [@attributes] => Array ( [class] => border imgCenter imgBig [style] => text-align: center; ) [img] => SimpleXMLElement Object ( [@attributes] => Array ( [src] => /Files/Attachments/2009/06/Big-PICT0373-265.jpg ) [br] => Array ( [0] => SimpleXMLElement Object ( ) [1] => SimpleXMLElement Object ( ) [2] => SimpleXMLElement Object ( ) [3] => SimpleXMLElement Object ( ) [4] => SimpleXMLElement Object ( ) [5] => SimpleXMLElement Object ( ) [6] => SimpleXMLElement Object ( ) [7] => SimpleXMLElement Object ( ) [8] => SimpleXMLElement Object ( ) [9] => SimpleXMLElement Object ( ) [10] => SimpleXMLElement Object ( ) [11] => SimpleXMLElement Object ( ) [12] => SimpleXMLElement Object ( ) [13] => SimpleXMLElement Object ( ) [14] => SimpleXMLElement Object ( ) [15] => SimpleXMLElement Object ( ) [16] => SimpleXMLElement Object ( ) [17] => SimpleXMLElement Object ( ) ) [h2] => Array ( [0] => Serial Console [1] => OS [2] => References ) [i] => Array ( [0] => getting this to work [1] => very [2] => Performance Technologies ) [ul] => SimpleXMLElement Object ( [li] => Array ( [0] => Speed: 9600 bps [1] => Data: 8 bit [2] => Parity: none [3] => Stop bits: 1 bit [4] => SimpleXMLElement Object ( [b] => Flow control: Xon/Xoff ) ) ) [h3] => Boot Output [div] => Array ( [0] => @(#) Sun Ultra 1 UPA/SBus 3.0 Version 4 created 1995/11/26 17:57 Clearing E$ Tags Done Clearing I/D TLBs Done Probing Memory Done MEM BASE = 0000.0000.3000.0000 MEM SIZE = 0000.0000.0400.0000 MMUs ON Copy Done PC = 0000.01ff.f000.1a7c PC = 0000.0000.0000.1ac0 Decompressing into Memory Done Size = 0000.0000.0007.00b0 ttya initialized SC Control: EWP:0 IAP:0 FATAL:0 WAKEUP:0 BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0 Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing Memory Bank #0 32 + 32 : 64 Megabytes Probing Memory Bank #1 32 + 32 : 64 Megabytes Probing Memory Bank #2 32 + 32 : 64 Megabytes Probing Memory Bank #3 32 + 32 : 64 Megabytes Probing UPA Slot at 1e,0 SUNW,ffb Probing /sbus@1f,0 at 0,0 QLGC,isp sd st Probing /sbus@1f,0 at 1,0 dma ptscII PTI,sbs430 SC Control: EWP:0 IAP:0 FATAL:0 WAKEUP:0 BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0 Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing Memory Bank #0 32 + 32 : 64 Megabytes Probing Memory Bank #1 32 + 32 : 64 Megabytes Probing Memory Bank #2 32 + 32 : 64 Megabytes Probing Memory Bank #3 32 + 32 : 64 Megabytes Probing UPA Slot at 1e,0 SUNW,ffb Probing /sbus@1f,0 at 0,0 QLGC,isp sd st Probing /sbus@1f,0 at 1,0 dma ptscII PTI,sbs430 Sun Ultra 1 UPA/SBus (UltraSPARC 167MHz), No Keyboard OpenBoot 3.0, 256 MB memory installed, Serial #10468415. Ethernet address 9e:bf:af:eb:ec:be, Host ID: af9fbc3f. The IDPROM contents are invalid Boot device: net File and args: Internal loopback test -- Did not receive expected loopback packet. Evaluating: boot Can't open boot device [1] => ok [2] => ok [3] => ok ) [a] => Array ( [0] => Debian [1] => Sun Ultra 1 Creator Series Reference Manual [2] => SBS430 Fast, Narrow SCSI host bus adapter for Sbus [3] => hp.vector.co.jp/authors/VA002416/teraterm.html ) ) ) ) ) ) [imgs] => Array ( ) [fimgs] => Array ( ) [timgs] => Array ( ) )
Stack Trace:
Array
(
    [2] => Array
        (
            [file] => /home/michael/www/www.michael.net.nz/cms/Views/list.blog.php
            [line] => 17
            [function] => __construct
            [class] => SimpleXMLElement
            [object] => SimpleXMLElement Object
                (
                )
                
            [type] => ->
            [args] => Array
                (
                    [0] => <post><br />
                <br />
                <h2>Watching Videos</h2>
                <a href='http://www.videohelp.com/tools?tool=3GP_Converter' title='#GP Converter' class='external' target='_blank'>#GP Converter</a>
                <tt>Transcoding_k750i.ini</tt>
                <tt>default_setting</tt>
                <br />
                <div class='code'>[Info] 
                <br />TitleE=General: 3GPP, k750i 
                <br />DescriptionE=It is a setting that turns to a general, recent cellular phone. 
                <br />
                <br />[Item0] 
                <br />TitleE=Portait Mode (Normal) 
                <br />Command0=""<%AppPath%>coresffmpeg" -y -i "<%InputFile%>" -timestamp "<%TimeStamp%>" -bitexact -vcodec mpeg4 -fixaspect -s 176x144 -r 14.985 
                <br />
                <br />-b 104 -acodec aac -ac 2 -ar 16000 -ab 32 -f 3gp -muxvb 64 -muxab 32 "<%TemporaryFile%>.3gp"" 
                <br />Command1=""<%AppPath%>coresQT3GPPFlatten" "<%TemporaryFile%>.3gp" "<%OutputFile%>.3gp" -c QT_3GPP(MobileMP4)_QVGA_AAC.ini" 
                <br />Command2="rm "<%TemporaryFile%>.3gp"" 
                <br />
                <br />[Item1] 
                <br />TitleE=Horizontal Full Screen 
                <br />Command0=""<%AppPath%>coresffmpeg" -y -i " [...SNIP...]
        )

    [3] => Array
        (
            [file] => /home/michael/www/core3/library/core.php
            [line] => 77
            [args] => Array
                (
                    [0] => /home/michael/www/www.michael.net.nz/cms/Views/list.blog.php
                )
                
            [function] => include
        )

    [4] => Array
        (
            [file] => /home/michael/www/core3/library/controller.php
            [line] => 175
            [function] => load
            [class] => Core
            [object] => HomeController Object
                (
                    [defaultView] => index
                    [content] => 
                    [page] => 33
                    [ppp] => 6
                    [Pages] => Pages Object
                        (
                            [table] => pages
                            [list_name] => title
                            [single_dummy] => 
                            [before] => validate
                            [after] => embellish
                            [order_by] => Array
                                (
                                    [0] => ORDER BY date_added DESC
                                )
                
                            [always_where] => Array
                                (
                                )
                
                            [list_id] => id
                            [uses] => Array
                                (
                                    [0] => DummyClass
                                )
                
                            [key] => id
                            [fetchall_inc] => Array
                                (
                                )
                
                            [fetch_inc] => Array
                                (
                                )
                
                            [put_inc] => Array
                                (
                                )
                
                            [items_per_page] => 
                            [cache] => 
                            [put_cache] => 86400
                            [pre_fetchall] => 
                            [prefetch [...SNIP...]
            [type] => ->
            [args] => Array
                (
                    [0] => list.blog.php
                    [1] => 1
                    [2] => 
                )
                
        )

    [5] => Array
        (
            [file] => /home/michael/www/www.michael.net.nz/home/Controller.php
            [line] => 18
            [function] => render
            [class] => Controller
            [object] => HomeController Object
                (
                    [defaultView] => index
                    [content] => 
                    [page] => 33
                    [ppp] => 6
                    [Pages] => Pages Object
                        (
                            [table] => pages
                            [list_name] => title
                            [single_dummy] => 
                            [before] => validate
                            [after] => embellish
                            [order_by] => Array
                                (
                                    [0] => ORDER BY date_added DESC
                                )
                
                            [always_where] => Array
                                (
                                )
                
                            [list_id] => id
                            [uses] => Array
                                (
                                    [0] => DummyClass
                                )
                
                            [key] => id
                            [fetchall_inc] => Array
                                (
                                )
                
                            [fetch_inc] => Array
                                (
                                )
                
                            [put_inc] => Array
                                (
                                )
                
                            [items_per_page] => 
                            [cache] => 
                            [put_cache] => 86400
                            [pre_fetchall] => 
                            [prefetch [...SNIP...]
            [type] => ->
            [args] => Array
                (
                    [0] => list.blog
                )
                
        )

    [6] => Array
        (
            [file] => /tmp/cache/home/michael/www/www.michael.net.nz/library/core/library/dispatcher.php
            [line] => 319
            [function] => index
            [class] => HomeController
            [object] => HomeController Object
                (
                    [defaultView] => index
                    [content] => 
                    [page] => 33
                    [ppp] => 6
                    [Pages] => Pages Object
                        (
                            [table] => pages
                            [list_name] => title
                            [single_dummy] => 
                            [before] => validate
                            [after] => embellish
                            [order_by] => Array
                                (
                                    [0] => ORDER BY date_added DESC
                                )
                
                            [always_where] => Array
                                (
                                )
                
                            [list_id] => id
                            [uses] => Array
                                (
                                    [0] => DummyClass
                                )
                
                            [key] => id
                            [fetchall_inc] => Array
                                (
                                )
                
                            [fetch_inc] => Array
                                (
                                )
                
                            [put_inc] => Array
                                (
                                )
                
                            [items_per_page] => 
                            [cache] => 
                            [put_cache] => 86400
                            [pre_fetchall] => 
                            [prefetch [...SNIP...]
            [type] => ->
            [args] => Array
                (
                )
                
        )

    [7] => Array
        (
            [file] => /tmp/cache/home/michael/www/www.michael.net.nz/library/core/library/dispatcher.php
            [line] => 164
            [function] => call_controller_method
            [class] => CoreDispatcher
            [object] => dispatcher Object
                (
                    [content] => 
                    [q] => Array
                        (
                            [mysql:host=localhost;dbname=ma2] => PDO Object
                                (
                                )
                
                        )
                
                    [class] => HomeController Object
                        (
                            [defaultView] => index
                            [content] => 
                            [page] => 33
                            [ppp] => 6
                            [Pages] => Pages Object
                                (
                                    [table] => pages
                                    [list_name] => title
                                    [single_dummy] => 
                                    [before] => validate
                                    [after] => embellish
                                    [order_by] => Array
                                        (
                                            [0] => ORDER BY date_added DESC
                                        )
                
                                    [always_where] => Array
                                        (
                                        )
                
                                    [list_id] => id
                                    [uses] => Array
                                        (
                                            [0] => DummyClass
                                         [...SNIP...]
            [type] => ->
            [args] => Array
                (
                    [0] => HomeController Object
                        (
                            [defaultView] => index
                            [content] => 
                            [page] => 33
                            [ppp] => 6
                            [Pages] => Pages Object
                                (
                                    [table] => pages
                                    [list_name] => title
                                    [single_dummy] => 
                                    [before] => validate
                                    [after] => embellish
                                    [order_by] => Array
                                        (
                                            [0] => ORDER BY date_added DESC
                                        )
                
                                    [always_where] => Array
                                        (
                                        )
                
                                    [list_id] => id
                                    [uses] => Array
                                        (
                                            [0] => DummyClass
                                        )
                
                                    [key] => id
                                    [fetchall_inc] => Array
                                        (
                                        )
                
                                    [fetch_inc] => Ar [...SNIP...]
        )

    [8] => Array
        (
            [file] => /tmp/cache/home/michael/www/www.michael.net.nz/library/core/library/dispatcher.php
            [line] => 78
            [function] => render_mvc
            [class] => CoreDispatcher
            [object] => dispatcher Object
                (
                    [content] => 
                    [q] => Array
                        (
                            [mysql:host=localhost;dbname=ma2] => PDO Object
                                (
                                )
                
                        )
                
                    [class] => HomeController Object
                        (
                            [defaultView] => index
                            [content] => 
                            [page] => 33
                            [ppp] => 6
                            [Pages] => Pages Object
                                (
                                    [table] => pages
                                    [list_name] => title
                                    [single_dummy] => 
                                    [before] => validate
                                    [after] => embellish
                                    [order_by] => Array
                                        (
                                            [0] => ORDER BY date_added DESC
                                        )
                
                                    [always_where] => Array
                                        (
                                        )
                
                                    [list_id] => id
                                    [uses] => Array
                                        (
                                            [0] => DummyClass
                                         [...SNIP...]
            [type] => ->
            [args] => Array
                (
                )
                
        )

    [9] => Array
        (
            [file] => /home/michael/www/core3/library/kernel.php
            [line] => 30
            [function] => init
            [class] => CoreDispatcher
            [object] => dispatcher Object
                (
                    [content] => 
                    [q] => Array
                        (
                            [mysql:host=localhost;dbname=ma2] => PDO Object
                                (
                                )
                
                        )
                
                    [class] => HomeController Object
                        (
                            [defaultView] => index
                            [content] => 
                            [page] => 33
                            [ppp] => 6
                            [Pages] => Pages Object
                                (
                                    [table] => pages
                                    [list_name] => title
                                    [single_dummy] => 
                                    [before] => validate
                                    [after] => embellish
                                    [order_by] => Array
                                        (
                                            [0] => ORDER BY date_added DESC
                                        )
                
                                    [always_where] => Array
                                        (
                                        )
                
                                    [list_id] => id
                                    [uses] => Array
                                        (
                                            [0] => DummyClass
                                         [...SNIP...]
            [type] => ->
            [args] => Array
                (
                )
                
        )

)