linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* need understanding about bt
@ 2010-01-06  0:10 Gene Heskett
  2010-01-06  8:23 ` Stefan Seyfried
  0 siblings, 1 reply; 4+ messages in thread
From: Gene Heskett @ 2010-01-06  0:10 UTC (permalink / raw)
  To: linux-bluetooth

Greetings all;

I have a usb dongle that my system finds ok I guess, and when I run blueman-
manager, it shows the remote device, an EB-101 that is presently powered up, 
as 'trusted and bonded'.  Kewl I'm thinking.  But /dev/rfcomm0 is not being 
created, so while it appears the devices are talking ok, this box is 
apparently incapable of using it.

The EB-101 has a shell running against it on the other end, and when rfcomm0 
is properly made, then I can start a minicom session that is effectively a 
terminal on the other system.

So, how do I reliably get this /dev/rfcomm0 device created?  Running kernels 
in the 2.6.32.x range here.

Thanks.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

Taxes are going up so fast, the government is likely to price itself
out of the market.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: need understanding about bt
  2010-01-06  0:10 need understanding about bt Gene Heskett
@ 2010-01-06  8:23 ` Stefan Seyfried
  2010-01-06 21:10   ` Gene Heskett
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Seyfried @ 2010-01-06  8:23 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-bluetooth

Hi Gene,

(didn't we have a similar thread ~half a year ago?)

On Tue, 05 Jan 2010 19:10:08 -0500
Gene Heskett <gene.heskett@verizon.net> wrote:

> So, how do I reliably get this /dev/rfcomm0 device created?  Running kernels 
> in the 2.6.32.x range here.

You can either use the rfcomm utility, see "rfcomm -h", or use the
test-serial script from bluez-test (if it is packaged for your distro,
otherwise it lives in the bluez source in test/test-serial) which is
the preferred method nowadays IIUC and which works for me:

seife@strolchi:~> test-serial 00:24:EF:D1:B3:23
Connected /dev/rfcomm0 to 00:24:EF:D1:B3:23
Press CTRL-C to disconnect

then, in another terminal, I can send AT commands to my phone
via /dev/rfcomm0.

Note that the test-serial has a fixed timeout of 1000 seconds and will
close the link afterwards, but that should be trivial to hack out of
the script.

If you want to use the old-fashioned style, I had written some
documentation about that in a former life. It's still available through
http://en.opensuse.org/Bluetooth/rfcomm (it's not SUSE-specific at all,
if anything, you might need to put a call to "rfcomm bind all" into a
late-running init script for your distro).

Hope this helps and Good Luck :-)

	seife

-- 
Stefan Seyfried

"Any ideas, John?"
"Well, surrounding them's out."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: need understanding about bt
  2010-01-06  8:23 ` Stefan Seyfried
@ 2010-01-06 21:10   ` Gene Heskett
  2010-01-07  9:15     ` Stefan Seyfried
  0 siblings, 1 reply; 4+ messages in thread
From: Gene Heskett @ 2010-01-06 21:10 UTC (permalink / raw)
  To: Stefan Seyfried; +Cc: linux-bluetooth

On Wednesday 06 January 2010, Stefan Seyfried wrote:
[...]

>Note that the test-serial has a fixed timeout of 1000 seconds and will
>close the link afterwards, but that should be trivial to hack out of
>the script.

I already had a script I'd played the 10,000 monkeys scene writing, so I just 
streamlined that one.  No timeouts in it. ;)

>If you want to use the old-fashioned style, I had written some
>documentation about that in a former life. It's still available through
>http://en.opensuse.org/Bluetooth/rfcomm (it's not SUSE-specific at all,
>if anything, you might need to put a call to "rfcomm bind all" into a
>late-running init script for your distro).

I've done that, except the bind is issued for the bdaddr, enabled the script 
and it works for at least the last reboot.

I think the newer kernels have helped make it dependable now.

Many thanks.

>Hope this helps and Good Luck :-)
>
>	seife
>


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

The cable TV sex channels don't expand our horizons, don't make us better
people, and don't come in clearly enough.
		-- Bill Maher

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: need understanding about bt
  2010-01-06 21:10   ` Gene Heskett
@ 2010-01-07  9:15     ` Stefan Seyfried
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Seyfried @ 2010-01-07  9:15 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-bluetooth

On Wed, 06 Jan 2010 16:10:22 -0500
Gene Heskett <gene.heskett@verizon.net> wrote:

> On Wednesday 06 January 2010, Stefan Seyfried wrote:
> [...]
> 
> >Note that the test-serial has a fixed timeout of 1000 seconds and will
> >close the link afterwards, but that should be trivial to hack out of
> >the script.
> 
> I already had a script I'd played the 10,000 monkeys scene writing, so I just 
> streamlined that one.  No timeouts in it. ;)


Good ;-)

> >If you want to use the old-fashioned style, I had written some
> >documentation about that in a former life. It's still available through
> >http://en.opensuse.org/Bluetooth/rfcomm (it's not SUSE-specific at all,
> >if anything, you might need to put a call to "rfcomm bind all" into a
> >late-running init script for your distro).
> 
> I've done that, except the bind is issued for the bdaddr, enabled the script 
> and it works for at least the last reboot.

That's fine, the "bind all" just means "bind all the entries from the
config file". You can of course also configure it manually without the
config file.

> I think the newer kernels have helped make it dependable now.

I'm not sure if it's the kernel or newer bluez or whatever, and it
probably does not matter as long as it works for you ;-)

Have fun,

	seife

-- 
Stefan Seyfried

"Any ideas, John?"
"Well, surrounding them's out."

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-07  9:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-06  0:10 need understanding about bt Gene Heskett
2010-01-06  8:23 ` Stefan Seyfried
2010-01-06 21:10   ` Gene Heskett
2010-01-07  9:15     ` Stefan Seyfried

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).