tidbits

uc164904 lcd

I've had this LCD for a number of years and never got around to figuring out how to drive it. I'm collecting what information I can.

Serial 16×4 character LCD / LED Backlight Green

847845740 - UC164904 GLHTX-A 97070206, I've also seen the last number as 97061306

Number Name
1 VSS
2 VDD
3 Vci
4 RS / CS
5 RW /SID / MOSI
6 E / SCLK / MISO
7 DB0 / S0D
8 A (LED BACK) +
9 K (LED BACK) -
2013/12/30 10:45 · 0 Linkbacks

ESX5i monitoring with Cacti

Enable SNMP from the ESXi shell. It just needs a bit of editing and services restart:

# vi /etc/vmware/snmp.xml <config><snmpSettings><enable>true</enable><communities>public</communities><targets></targets></snmpSettings></config> 
# 
# chkconfig snmpd on
# chkconfig --list snmpd
snmpd          on
# /etc/init.d/snmpd restart

Add a device using the udc/net template to get you started

esx-catci-s1.jpg

2013/05/28 01:55

Enabling Oracle SQL Advisor

This error message from Oracle SQL Developer was bugging the crap out of me

DECLARE
*
ERROR at line 1:
ORA-13717: Tuning Package License is needed for using this feature.
ORA-06512: at "SYS.PRVT_SMGUTIL", line 52
ORA-06512: at "SYS.PRVT_SMGUTIL", line 37
ORA-06512: at "SYS.DBMS_MANAGEMENT_PACKS", line 26
ORA-06512: at "SYS.DBMS_SQLTUNE", line 651
ORA-06512: at line 4

Turns out the solution is simple

SQL> ALTER system SET CONTROL_MANAGEMENT_PACK_ACCESS='DIAGNOSTIC+TUNING';

Don't forget the grant to your user

SQL> GRANT advisor, administer SQL tuning SET,SELECT any dictionary TO &USER;
2013/04/09 04:13

SqueezePlay on the Joggler

The Joggler makes an excellent UI for the HomeAutomationHub. However the xapFlash application isn't the only worthwhile Joggler app.

I'd been meaning to sort out my digital music collection for a while and recently purchased an HP Microserver to host all the files. Having pulled these into one place, the next thing to think about was howto play the music. A while back, I looked at the Logitech SqueezeServer - a software indexer and media content server. This is freely available (Logitech no longer manufacture 'player' devices) and seems to have a decent range of third-party players.

In particular, there is a port of the Logitech SqueezePlay available for the Joggler. SqueezePlay is designed to work with a SqueezeServer. The folks at BirdsLikeWires have done a lot of work on this Player port.

The install is straightforward - good instructions on this at the above link. Once installed, you have a new icon on the Joggler desktop.

Next thing to do is to create yourself an account at mysqueezebox.com - this allows online management of all of your players.

Then, on the Joggler, fire up SqueezePlay & enter the details of your new account via the Settings/Registration and Settings/mysqueezebox page. Now the fun starts …

You can access your music library in a variety of ways. I was especially keen to be able to use my android phone as a 'remote control'. The 'Logitech SqueezeBox Controller' app is freely available from the Google Play store. It works really well.

Next, I wanted to have a 'Player' on my Android phone (so I could wear a headset and wander around). There is a 'paid for' app that does the job well - it goes by the name of SqueezePlayer. This installed and worked seamlessly. With a bit of dyndns type work, I could access my media library via 3G as well as WiFi.

A really neat feature is the ability to 'synchronise' a number of players. The synchronise facility isn't available on all Players (as it needs specific capabilities on the target platform) but it IS implemented on the Joggler. From the 'settings' menu, select 'sync' to see a list of other players. Select the players that you want to sync with. It works surprisingly well … no sign of any delay between the players (even the slightest delay can be most annoying). Any player (or controller) can control all 'synced' players - plenty of possibility for whole house audio here.


2012/12/30 11:01

ex475 with Linux (fedora 20)

You need a video cable for this as it requires a bios tweak

CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality I got fed up with trying to figure out how to install WHS2011 onto my ex475. So I bit the bullet and just installed a linux distribution.

  1. Pull bottom drive from your ex475
  2. Put drive into spare USB container
  3. Create a VM using VM workstation and point it at a physical disk (Advanced settings for this)
  4. Install Fedora 20.
  5. Put drive back and boot it up

A couple of things I had to do. Disable Network Manager (NM) controlling the interface.

/etc/sysconfig/network-scripts/ifcfg-eth0

UUID="b65270ab-2b79-473d-8dce-942908383ff2"
NM_CONTROLLED="no"
BOOTPROTO="static"
DEVICE="eth0"
ONBOOT="yes"
IPADDR=192.168.1.20
GATEWAY=192.168.1.1
NETMASK=255.255.255.0

To resolve the slow disk startup issue required tweaking a BIOS setting. You'll need video cable http://www.mediasmartserver.net/forums/viewtopic.php?f=6&t=8066 just the bare minimum VGA only will do as keyboard/mouse on USB are fine.

  • Change from 4P(IDE)+4S(RAID) to 4P(IDE)+4S(IDE)

The video switches to a small font I prefer to see the BIOS font and all the startup messages - /etc/sysconfig/grub

GRUB_CMDLINE_LINUX="rd.md=0 rd.dm=0  KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8"
GRUB_TERMINAL="console"

4x 1Tb drives online.

[root@cheese sysconfig]# df -h
Filesystem              Size  Used Avail Use% Mounted on
rootfs                   50G  1.7G   46G   4% /
devtmpfs                930M     0  930M   0% /dev
tmpfs                   939M     0  939M   0% /dev/shm
tmpfs                   939M  1.1M  938M   1% /run
/dev/mapper/vg-lv_root   50G  1.7G   46G   4% /
tmpfs                   939M     0  939M   0% /sys/fs/cgroup
tmpfs                   939M     0  939M   0% /media
/dev/sda1               485M   66M  394M  15% /boot
/dev/mapper/vg-lv_home  864G  762G   94G  90% /u01
/dev/sdb1               917G  200M  908G   1% /u02
/dev/sdc1               917G  200M  908G   1% /u03
/dev/sdd1               917G  105G  803G  12% /u04

Same old boring processor. I never bothered upgrading this.

[root@cheese ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 79
model name      : AMD Sempron(tm) Processor 3400+
stepping        : 2
microcode       : 0x62
cpu MHz         : 1000.000
cache size      : 256 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up rep_good nopl extd_apicid pni cx16 lahf_lm extapic cr8_legacy
bogomips        : 1999.88
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

The ethernet NIC is working just fine at 1000Mbps

[    7.024358] sis190: sis190 Gigabit Ethernet driver 1.4 loaded
[    7.024551] sis190 0000:00:04.0: setting latency timer to 64
[    7.024576] sis190: 0000:00:04.0: Read MAC address from EEPROM
[    7.042027] sis190: 0000:00:04.0: Atheros PHY transceiver at address 0
[    7.178369] sis190 0000:00:04.0: eth0: 0000:00:04.0: SiS 191 PCI Gigabit Ethernet adapter at ffffc9000035c000 (IRQ
: 19), 00:0a:e4:86:6b:83
[    7.178554] sis190 0000:00:04.0: eth0: RGMII mode.
[    7.178660] sis190 0000:00:04.0: eth0: Enabling Auto-negotiation
[   18.728031] sis190 0000:00:04.0: eth0: mii ext = 0000
[   18.734019] sis190 0000:00:04.0: eth0: mii lpa=c1e1 adv=01e1 exp=000f
[   18.738022] sis190 0000:00:04.0: eth0: link on 1000 Mbps Full Duplex mode

File transfers are significantly faster than when it was running Windows - I can sustain ~83 MB/s on a 40Gb file.

2012/12/03 06:25

<< Newer entries | Older entries >>

  • tidbits.txt
  • Last modified: 2009/11/27 16:59
  • by 127.0.0.1