Archive

Archive for the ‘Macbook’ Category

USB to Serial adapter on Mac OSX

May 26th, 2009

I just tried to use minicom + usb-serial adapter on Mac OS (Tiger 10.5.x) and nothing happened. Looking at driver’s CD which came with USB serial adapter I discovered that it was made by Prolific.

photo-serial

Google-is-my-friend and I found the driver that really works. Download and install it. After this, a /dev/tty.usbserial device node will appear. Now you just have to configure Minicom and everything works.

briglia Macbook

Ubuntu Jaunty on Mactel

April 21st, 2009

Since three weeks ago, I’m using a Macbook Pro, version 5. First, I tried to develop native Linux applications using VMWare Fusion, even the performance and speed are good, I wanted more and installed Ubuntu Jaunty using Bootcamp to make the partitioning.

There are a lot of tutorials and howto’s that explain how to install ubuntu on a macbook (intel, or just mactel). I followed this one.

After Jaunty installation, I noticed that screen was not well adjusted: the brightness was different from OSX setting. Another difference is the keyboard backlight. Screen brightness and keyboard backlight can be configured, after the nvidia driver installation (see this link). To summarize, I just used these two commands:

Screen brightness:

echo <VALUE> | sudo tee -a /sys/class/backlight/mbp_backlight/brightness

where

<VALUE>

can be 0 – 15.

Keyboard backlight:

echo <VALUE> | sudo tee -a /sys/class/leds/smc::kbd_backlight/brightness

where

<VALUE>

can be 0 – 300.

briglia Macbook