[p900] Re: My own experience with gnupoc, etc

  • From: m96 <m96@xxxxxx>
  • To: p900@xxxxxxxxxxxxx
  • Date: Thu, 26 Feb 2004 17:38:57 +0100

hi,

> I think that you only need the /dev/ttyUBx if you want to open a 
> "pseudo-serial" connection over BT -- you would do that, for instance, 
> using minicom and connecting over BT to your phone to use it as a modem.

> The rfcomm utility will open the /dev/rfcommx device, not /dev/ttyUBx.

as you wrote on your page the major and minor number of your rfcommX are
136 6 & 136 7

but my rfcommX device (created from bluez-utils package on debian
unstable) are:
crw-rw----    1 root     dialout     216,   0 Feb 25 22:50 /dev/rfcomm0
crw-rw----    1 root     dialout     216,   1 Feb 25 22:50 /dev/rfcomm1

and i don't have ttyUBx devices. but the major and minor numbers (216, 0
& 1) do match according the kernel docs Documentation/devices.txt





> The first 1 in the command specifies the rfcomm device to use, the last 
> 1 specifies the channel to open with the P900. On my phone, channel 1 is 
> the "Bluetooth Serial Port".

yes, as described on your page. the same for me - channel 1 for BT
Serial Port

> Before trying the rfcomm command, did you succeed in the previous steps 
> ? Are the BT modules loaded, did you try the hcitool ? The sdptool ?

yes they seem to work.

an other thing that confuses me is that according to Brian it
immediately disconnects and tries to connect. and this seem to be true
and also works this way - but since i'm to lazy to install bind/djbdns,
apache and pppd to only sync with evolution.

ps: to compile ussp-push i need the old bluez libs 0.9.0 and so i had a
few problems while compiling it.

ps2: if i should have a little bit more time over the w'end i will try
the nfs thing...

thanks a lot for your help.
cheers.

-- 
m96 <m96@xxxxxx>


Other related posts: