Re: [Bluez-users] problems using rfcomm device

Marcel Holtmann
2004-11-19T11:09:35Z

Hi Kai,

> >> Trying to get bluetooth running under Debian Testing here. Connecting
> >> to my device (Nokia 6600 cell) works fine, but whenever I try to
> >> access the device using pppd or minicom I get something like this:
> >>
> >> Nov 19 06:18:01 arthur pppd[1382]: Failed to open /dev/rfcomm0:
> >> Invalid argument
> >
> > run "hcidump -X" as root and see what happens.
>
> arthur:/home/khaberz# hcidump -X
> HCIDump - HCI packet analyzer ver 1.12
> device: hci0 snap_len: 1028 filter: 0xffffffff
>
> ...and that's it, even if I try to connect with pppd.

I overlooked your real mistake. You set the channel to the value 0 for
the /dev/rfcomm0 and this is not a valid one. Use 1 for the channel
number.

Regards

Marcel