LINUX.ORG.RU

eeePC bluetooth ?


0

0

Что за карта и какой к ней драйвер (ксандрокс снес а посмотреть забыл...) и как заставить эту вещь работать?

anonymous

Ответ на: комментарий от sin_a

cat /opt/AzureBT/usb_load.sh
#!/bin/sh
mypath="/opt/AzureBT"
module="brcm_linux"
device="brcm_linux"
#group="wheel"
group="user"
mode="664"

BT_EXIST=`lsmod | grep brcm_linux`

if [ "$BT_EXIST" == "" ]; then
# invoke insmod with all arguments we got
/sbin/insmod $mypath/$module.ko $* || exit 1

major=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"`

# Remove stale nodes and replace them, then give gid and perms
# Usually the script is shorter, it's scull that has several devices in it.

rm -f /dev/${device}0
mknod /dev/${device}0 c $major 0

chmod $mode /dev/${device}0
chgrp $group /dev/${device}0
#chmod $mode /dev/${device}0
insmod $mypath/btusb.ko
fi

sin_a ★★★★★
()
Ответ на: комментарий от sin_a

brcm_linux - Это ято за фигня такая? В 2.6.27.7 такого почемуто нет (ядро не пересабирал возможно просто не собрано)?

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.