2005-03-21 09:19:23

by John H.

[permalink] [raw]
Subject: [Bluez-users] Re: [bluetooth-dev] how to get bluetooth to emulate comport?

Not been prompted to enter pin, keep getting

Can't connect RFCOMM socket: Connection refused

despite scan finding the device.

put those lm and lp entries in hcid.conf, and even
tried(afterward)putting the following in rfcomm.conf

rfcomm0 {
bind no;
device 08:00:37:12:C4:B1;
channel 1;
comment "PM325 by LG";
}


any ideas?



> --- Daniel W?rfel <[email protected]> wrote:
>
> > Have you been told to enter a pin?
> > Check /etc/bluetooth/hcid.conf
> > lm accept,master;
> >
> > lp hold,sniff,park,rswitch;
> >
> >
> > Check if there is an entry "BlueZ0" in your handy
> > and delete it.
> > Then try again.
> >
> >
> > -
> > ---- Original Message -----
> > From: "John H." <[email protected]>
> > To: "D.W." <[email protected]>;
> <[email protected]>
> > Sent: Wednesday, March 02, 2005 10:21 AM
> > Subject: Re: [bluetooth-dev] how to get bluetooth
> to
> > emulate comport?
> >
> >
> > > /etc/rc.d/init.d/bluetooth status
> > > hcid (pid 21924) is running...
> > > sdpd (pid 21930) is running...
> > >
> > > hci0: Type: USB
> > > BD Address: 00:02:72:81:AB:C4 ACL MTU:
> > 192:8
> > > SCO MTU: 64:8
> > > UP RUNNING PSCAN ISCAN
> > > RX bytes:1486 acl:35 sco:0 events:97
> > errors:0
> > > TX bytes:1594 acl:35 sco:0 commands:42
> > > errors:0
> > >
> > > hcitool scan
> > > Scanning ...
> > > 08:00:37:0F:84:35
> John@PM325(PHONE)
> > >
> > >
> > > rfcomm connect 0 08:00:37:0F:84:35
> > > Can't connect RFCOMM socket: Connection refused
> > >
> > >
> > >
> > > --- "D.W." <[email protected]> wrote:
> > >
> > > > Have you been told to enter a pin? Normally a
> > window
> > > > opens in Linux when
> > > > executing rfcomm where you can enter it.
> > > > Then you have to enter the same pin in your
> > phone
> > > > when asked for.
> > > >
> > > > Oh sorry, I forgot something: After "hciconfig
> > hci0
> > > > up" you have to execute
> > > > "hcid". Then run rfcomm ...
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "John H." <[email protected]>
> > > > To: <[email protected]>; <[email protected]>
> > > > Sent: Tuesday, March 01, 2005 4:33 AM
> > > > Subject: Re: [bluetooth-dev] how to get
> > bluetooth to
> > > > emulate comport?
> > > >
> > > >
> > > > > ok, hciconfig hci0 up works
> > > > >
> > > > > I tried the second part and, despite telling
> > my
> > > > pm-325
> > > > > to be visible, and telling it waiting for
> > pairing,
> > > > got
> > > > > this...
> > > > >
> > > > >
> > > > > rfcomm connect 0 08:00:37:0f:84:35
> > > > > Can't connect RFCOMM socket: Connection
> > refused
> > > > >
> > > > >
> > > > > --- "D.W." <[email protected]> wrote:
> > > > >
> > > > > > Try this:
> > > > > >
> > > > > > hciconfig hci0 up
> > > > > > rfcomm connect 0 <bt-address from your
> > handy>
> > > > > >
> > > > > > Then you shoulfdhave a com port
> /dev/rfcomm0
> > > > > > Daniel
> > > > > > ----- Original Message -----
> > > > > > From: "John H." <[email protected]>
> > > > > > To: <[email protected]>
> > > > > > Sent: Thursday, February 24, 2005 3:55 AM
> > > > > > Subject: [bluetooth-dev] how to get
> > bluetooth to
> > > > > > emulate comport?
> > > > > >
> > > > > >
> > > > > > > i want to use my cell phone in linux as
> i
> > can
> > > > in
> > > > > > > windows, with bluetooth emulation, to
> > connect
> > > > to
> > > > > > > internet via dialing #777.
> > > > > > >
> > > > > > > I have zonet zub6110 usb adapter, which
> I
> > have
> > > > > > read
> > > > > > > works in linux.
> > > > > > >
> > > > > > > I am on fedora core 3.
> > > > > > >
> > > > > > > How do I get the com port emulation in
> > order
> > > > to
> > > > > > use it
> > > > > > > as a modem?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > __________________________________
> > > > > > > Do you Yahoo!?
> > > > > > > Read only the mail you want - Yahoo!
> Mail
> > > > > > SpamGuard.
> > > > > > > http://promotions.yahoo.com/new_mail
> > > > > > > -
> > > > > > > To unsubscribe from this list: send the
> > line
> > > > > > "unsubscribe bluetooth-dev"
> > > > > > in
> > > > > > > the body of a message to
> > [email protected]
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > __________________________________
> > > > > Do you Yahoo!?
> > > > > Read only the mail you want - Yahoo! Mail
> > > > SpamGuard.
> > > > > http://promotions.yahoo.com/new_mail
> > > > > -
> > > > > To unsubscribe from this list: send the line
> > > > "unsubscribe bluetooth-dev"
> > > > in
> > > > > the body of a message to [email protected]
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > > -
> > > To unsubscribe from this list: send the line
> > "unsubscribe bluetooth-dev"
>
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users