Archive for the ‘Linux’ category

bluetooth in Ubuntu

September 15th, 2008

, " " , . .

dancho@thoth:~ > cat .asoundrc
pcm.hda-intel {
type hw
card 0
}

ctl.hda-intel {
type hw
card 0
}

pcm.bluetooth {
type bluetooth
device MAC:MAC:MAC:MAC
profile "auto"
}

dancho@thoth:~ > cat /etc/bluetooth/hcid.conf |grep -v '#'

options {
autoinit yes;

security auto;

pairing multi;

passkey "0000";

}

name "%h-%d";

class 0x000100;

iscan enable; pscan enable;
discovto 0;

lm accept;

lp rswitch,hold,sniff,park;
}
dancho@thoth:~ > cat bin/blue-hand
#!/bin/bash
sudo modprobe snd_bt_sco
sudo hciconfig hci0 voice 0x0060
alsamixer -c1

dancho@thoth:~ >

"bluetooth"

, ! .