Saturday, March 27, 2010

Motorola C123 Pictures (bottom)

My new not-so-smart-phone: Motorola C123.

c123_battery c123_battery_compartment c123_battery_terminals

Thursday, February 18, 2010

Sunday, January 31, 2010

Snow

There’s currently a lot of very pretty snow around here. 

IMG_1318 IMG_1320IMG_1319

I especially like the funny shapes the wind has created at one corner of the house.

IMG_1316IMG_1317

Sunday, January 24, 2010

New computer case…

IMG_1315 Mini-ITX in wooden box.

Wednesday, January 13, 2010

Country Selection Fail

country_selection_fail  Georgia, Germany, Ghana, …?

Wednesday, January 06, 2010

VLANs on a cheap switch

Today I read on tmbinc’s blog about how he modified a cheap Ethernet-switch to be VLAN capable.

With VLANs you can fan out the single built-in Ethernet-interface of your computer to several isolated networks. These cheap switches (you can get them with 8 ports for about 10€) have this functionality because they use the same chips as common plastic routers that separate their three different types of network ports with the same technique and usually connect with a ninth MII-port that’s not being used in a common desktop-switch.

I had tried to do the same in the past, but initially failed as I blew the serial i2c-eeprom during my attempts of programming it, but today I didn’t make any mistakes that destroyed the little thing. As my configuration is different from tmbinc’s, I’ll make it also available in the archive linked to below.

The Process to make your switch (that has to use a RTL8309SB IC) VLAN capable.

  1. Get a switch that preferably already has a I2C eeprom to store it’s configuration. Mine had, because it advertised QOS (quality of service) functionality that requires the IC it to be configured by some external memory. I used a Longshine LCS-FS6108, but it’s already 4 years old, so most likely they’ve switched to a different IC already? One never knows.
  2. Remove the I2C eeprom. On that particular switch the ground planes are very thick so I wasn’t able to desolder it properly. I just cut off the pins and…
  3. Put it on top of a IC socket providing replacements for the severed limbs.
  4. Change the contents of the eeprom using your favorite programmer, the text files in the archive linked to below contain some explanations (see details.txt)
  5. Put chip back into switch.

IMG_1269 IMG_1271 IMG_1277 IMG_1274

The configuration in the .zip-file provides you with 6 untagged ports and 2 tagged ports according to the table below:

Label on Switch RTL8309SB
Port Number
VLANs
8,7 0,1 1, untagged
6,5 2,3 2, untagged
4,3 4,5 3, untagged
2,1 6,7 1…9, tagged
- MII Unused

Download Configuration:

20100106_switch_eeprom_vlan.zip (798k)

  • switch_eeprom_vlan.dat : VLAN Configuration of Switch, copy contents to eeprom
  • switch_eeprom_orig.dat : Original configuration of Switch, Backup
  • switch_eeprom_detail.txt : VLAN Configuration with comments
  • switch_eeprom_detail.pdf : VLAN Configuration with comments, as pdf

I tested the switch with a Linux machine that has a NVIDIA nForce Gigabit Controller and my OpenSolaris NAS that uses a RTL8111/8168B PCI Express Gigabit Ethernet controller.

Update 2011-02-18: zip-file available again on new server

Friday, January 01, 2010

Sunday, November 22, 2009

No Brat with crackbrained Name on Board.

091121_121857

(as seen on a car on the grocery’s parking lot)

Wednesday, November 04, 2009

Ubuntu & Gdm make me angry.

I installed the new and shiny Ubuntu Karmic on my computer today. Now there’s a speciality: I run the same installation (on a 2nd harddrive) both natively on the computer, but also in a VirtualBox VM.

That’s actually not complicated to setup, and most of the things work out fine, but there’s a remaining wart, which is the X-server needs additional and different configs for native-mode and running under the VM.

In former times, I just set the X-server being run by gdm (in /etc/gdm.conf) to /usr/local/sbin/Xserver.sh and used that shell-script to launch the correct server (with a different config, or even the same config but different “layouts”).

Now the wise men of gnome (gdm programmers) and Ubuntu decided to hardcode the paths of every component involved… And I only found out after learning…

  1. that gdm no longer looks at /etc/gdm/gdm.conf, but rather is configured via the gconfd-mechanism
  2. that the X-server configuration is not included in the new mechanism, but rather a compile-time default is hardcoded
  3. that the X-server is not run directly, but rather via the wrapper /usr/bin/X, which is, indeed, configurable… but also lacks a configuration directive to choose which server to run.

So, again, in the sake of… “simplification”, or should I say dumbing-down, of their core programs, they made deviating from their “single user on a dedicated machine with internet dial-up” standard scenario even more painful. I might just use MS Windows then, because it basically adheres to the same “do what we have forseen and don’t deviate” belief.

Immediate update: One can adjust the symlink /etc/X11/X! Which isn’t documented (as far as I see) and also not as flexible as the original gdm.conf solution, but should suffice.

Saturday, October 31, 2009

Opera 10.1 Upgrade FAIL!

Opera just announced the existence of a upgrade to it. I told it to proceed, shorty after I noticed my (usually silent) PC to spin its fans vigorously…

 

OperaUpgrader_Fail OperaUpgrader_Fail_Cmd

This repeats whenever Opera is restarted, so I had to delete the offending file somwhere in %TEMP%. Great engineering, guys!

Broken Kepco Power-Supply

One of the reference values is much  too low, note the brown and crispy Zener.    

IMG_1103 IMG_1104 IMG_1105 IMG_1106 IMG_1108  img_1109_with_arrow

Update: Looks very shitty, but it works. I’ll replace those with real 6.2V Zeners the next time I order some electronics stuff.

IMG_1110

Saturday, October 10, 2009

LCD working

I spent a little while debugging my microcontroller code.

picture of everbouquet LC display module showing a simple bitmap graphics bitmap graphics that has been sent to the LC display module

Wednesday, October 07, 2009

LCD - Update

FT232 based serial port lcd with dummy text - and backlight advantage pc-board layout avr dragon programmer

Success! Even though I’m still scratching my head about the funny memory layout in graphics mode when using a 6x8 font. Time to read the datasheet (again).

Sunday, October 04, 2009

Graphical LCD Controller

New project: Using a Atmel ATmega168 to control a graphical Everbouquet LCD that itself uses a T6963C Controller. Right now it seems that I can read the status-register and data successfully. The integrated DC/DC controller (for the negative LCD driving voltage) powers up and delivers –9V.

 

IMG_1092 IMG_1093 IMG_1091

Tuesday, August 18, 2009

Monday, August 17, 2009

Vacation

urlaub 003

Currently on vacation.

Sunday, August 02, 2009

Copying VHS to DVD...

After fighting with Linux's v4l2, alsa, pulseaudio, mencoder, mjpegfoobarblahblubbtools etc.. I just borrowed one of those. Probably it will just work.

Tuesday, July 28, 2009

Sunday, July 26, 2009

Sunday, July 19, 2009

Breadboard

I started playing around with a breadboard. Until now, I never had done this, but I have to say, it’s kind of convenient. The only downside: I don’t have pre-cut cables, so I used the one from a big spool I found, but they are kind of pink-ish ;-).

img_0788

Saturday, July 11, 2009

Gainclone

It hums. And I’m annoyed.

IMG_0783 IMG_0784img_0786 20090712_gainclone_changed_resistor gainclone

What did I do on Saturday? Well, via the wonder of the web, I watched my friend burn both himself and his baby daughter with his home-made amplifier, then rail against excel and python in an attempt to print out some gradesheets. He eventually got so angry he threw himself out the window. He was in the basement, but you have to appreciate the attempt.

Update: I modified the last stage to have less gain (4 instead of 20), so it better matches my source, furthermore I added a 5k resistor at the input to have less input impedance. That helped a lot.