Archive for May, 2006

A bluetooth headset… euh… headphone

Posted in Fedora on May 30th, 2006 by Johan Huysmans – 1 Comment

A week ago I bought myself a Nokia HS-26W headset. After using it a couple of days in the car I wanted to use it as a headphone. I found the bluetooth-alsa project which is exactly what I need.
I followed the steps described on the page, had a bit problems with the dependencies, but everything compiled and loaded succesfull. The test described on that page was the first sound i heared through my headset (at least coming from my laptop).

Now the real work…
Let’s try it with vlc (VideoLanClient), the first sound came through my laptop speekers, so I need to change the output module (Settings >> Audio >> Output modules). Off course we need ALSA. Now let’s select the device… only default is availble… refreshed a couple of times and “BT Headset: BT SCO PCM” showed up.
Wow… I heard my mp3 playing through my headset.

I directly noticed that playing music with a lot of beats wasn’t nice to listen to. Another song, without any beats, came through very well. I tested the quality when I went to another room, it dropped. When I was out of reach, the music off course stoped.
The btsco daemon was killed when I was out of reach, after restarting the daemon the music was back.

Problems with an old rsync

Posted in Backup on May 4th, 2006 by Johan Huysmans – Comments Off

When installing my backup script on a redhat 9 i got this fatal error:

remote ip : Connection refused
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

It seems that I was working with old version of rsync (rsync version 2.5.7 protocol version 26). That old version uses default rsh, the recent versions use ssh. And ssh is what i need.
There is an option, called rsh, that allows you to set the remote shell to ssh.

# rsync --rsh=ssh ....

Bluetooth on Fedora

Posted in Fedora on May 1st, 2006 by Johan Huysmans – 8 Comments

I recently bought a new cell phone, the Nokia 6822.

I tried to connect my cell phone with my laptop. I first succeeded sending files from my laptop to my phone with bluetooth, sending files from my phone to the laptop also worked without any problems.
When I tried to browse my phone with my laptop, it didn’t work. It makes connection, my phone asks permission and the pairing code but then the connection is closed.

Google brought me to this bugreport of redhat: Bug 160676 – dbus_pin_helper crashes hcid. In that bugreport is a little workaround, commenting out dbus_pin_helper.

I tried it.. and it worked. The pin_helper section of my /etc/bluetooth/hcid.conf is now:

# PIN helper
pin_helper /usr/lib/kdebluetooth/kbluepin;

# D-Bus PIN helper
#dbus_pin_helper;

I can now browse my phone from my laptop, also using gnokii now works