Package: makedev
Version: 3.3.8.2-0
Severity: normal
Tags: experimental

Hi,
experimental's makedev is missing support for creating bluetooth
devices, see also #338743, an /etc/makedev.d/bluetooth like this should
work:

c 660 root root 10 250 1 1 vhci
c 660 root dialout 216 1 1 256 rfcomm%d

the code in bluez-utils' postinst creating devices is this:

        VHCI_MAJOR=10
        VHCI_MINOR=250
        RFCOMM_MAJOR=216

        if [ ! -e /dev/.devfsd -a ! -e /dev/.udevdb ]; then
            echo "Checking and creating device nodes ..."
            if [ ! -c /dev/vhci ]; then
                mknod /dev/vhci c ${VHCI_MAJOR} ${VHCI_MINOR}
                chmod 660 /dev/vhci
            fi

            C=0;
            while [ $C -lt 256 ]; do
                if [ ! -c /dev/rfcomm$C ]; then
                    mknod -m 660 /dev/rfcomm$C c ${RFCOMM_MAJOR} $C
                    chgrp dialout /dev/rfcomm$C
                fi
                C=`expr $C + 1`
            done
        fi

        if [ -e /dev/.devfsd ]; then
            # tell devfs about the new files
            if [ -x /usr/sbin/update-devfsd ]; then
                echo "Updating devfsd configuration..."
                /usr/sbin/update-devfsd >/dev/null
            else
                echo "You have devfs enabled but no devfsd. This means that the"
                echo "RFCOMM device nodes cannot be checked and created if"
                echo "necessary. To make sure, please install the `devfsd'"
                echo "package and run `dpkg-reconfigure bluez-utils'."
            fi
        fi


thanks,
filippo

-- System Information:
Debian Release: testing/unstable
  APT prefers experimental
  APT policy: (650, 'experimental'), (600, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc5
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages makedev depends on:
ii  base-passwd                   3.5.11     Debian base system master password
ii  libc6                         2.3.5-9    GNU C Library: Shared libraries an

makedev recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to