LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   rfcomm0 (BT) and udev problem in FC3 (https://www.linuxquestions.org/questions/linux-hardware-18/rfcomm0-bt-and-udev-problem-in-fc3-267474/)

saravkrish 12-17-2004 01:59 PM

rfcomm0 (BT) and udev problem in FC3
 
Hi,

I want to set up bluetooth connection with my T610. I had got it working in FC1 (using this thread) and I can get it working in FC3, but not the way I want it to. I'm using a Belkin bluetooth dongle.

This is what I did in FC1 to create a rfcomm0 device:
Code:

cd /dev
mknod --mode 660 /dev/rfcomm0 c 216 0
chown root:demigod rfcomm0

After any number of FC1 reboots, if I do ls -l /dev/rfcomm0, I get something like:

Code:

crw-rw----  1 root demigod .....  /dev/rfcomm0
But, when I create /dev/rfcomm0 in FC3 exactly as mentioned above, and then after a reboot I do ls -l /dev/rfcomm0, I get something like (The connection and everything else works with the phone when I access it as user sarav):
Code:

crw-------  1 sarav root .....  /dev/rfcomm0
It's bad enough for the permissions to change, but even the owner is changing to a non-root user!! I don't want that to happen. Also pressing a tab for auto completion when typing /dev/rf<tab> doesn't work. Looks like the rfcomm0 is created only when ls looks (or stats) for it.

How do I get it working like it did in FC1? I think this has something to do with udev. It will also be nice if someone can point me to a nice udev + new devices config HOWTO.


All times are GMT -5. The time now is 09:00 AM.