All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] cannot connect to pm-325
@ 2005-03-23 18:46 John H.
  2005-03-23 22:20 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: John H. @ 2005-03-23 18:46 UTC (permalink / raw)
  To: bluez-users

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 5660 bytes --]

 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 <d.wuerfel@imail.de> 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." <mistamaila@yahoo.com>
> > To: "D.W." <sword@gmx.de>;
> <bluetooth-dev@axis.com>
> > 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." <sword@gmx.de> 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." <mistamaila@yahoo.com>
> > > > To: <sword@gmx.de>; <bluetooth-dev@axis.com>
> > > > 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." <sword@gmx.de> 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." <mistamaila@yahoo.com>
> > > > > > To: <bluetooth-dev@axis.com>
> > > > > > 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
> > majordomo@axis.com
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > __________________________________
> > > > > 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 majordomo@axis.com
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> __________________________________________________
> > > 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 


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] cannot connect to pm-325
  2005-03-23 18:46 John H.
@ 2005-03-23 22:20 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-03-23 22:20 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi John,

>  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?

run "hcidump -X -V" as root and show the output to us.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] cannot connect to pm-325
@ 2005-03-24 21:51 John H.
  2005-03-24 22:46 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: John H. @ 2005-03-24 21:51 UTC (permalink / raw)
  To: bluez-users

 hcitool scan
Scanning ...
        08:00:37:12:C4:B1       PM325 by LG
[root@laptop user]# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.18
device: hci0 snap_len: 1028 filter: 0xffffffff




--- Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi John,
> 
> >  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?
> 
> run "hcidump -X -V" as root and show the output to
> us.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by Microsoft Mobile &
> Embedded DevCon 2005
> Attend MEDC 2005 May 9-12 in Vegas. Learn more about
> the latest Windows
> Embedded(r) & Windows Mobile(tm) platforms,
> applications & content.  Register
> by 3/29 & save $300
>
http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
> 

__________________________________________________
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] cannot connect to pm-325
  2005-03-24 21:51 [Bluez-users] cannot connect to pm-325 John H.
@ 2005-03-24 22:46 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-03-24 22:46 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi John,

>  hcitool scan
> Scanning ...
>         08:00:37:12:C4:B1       PM325 by LG
> [root@laptop user]# hcidump -X -V
> HCI sniffer - Bluetooth packet analyzer ver 1.18
> device: hci0 snap_len: 1028 filter: 0xffffffff

this is a sniffer and so you must actually do something, because
otherwise it won't show anything.

Regards

Marcel




-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] cannot connect to pm-325
@ 2005-03-25  2:38 John H.
  2005-03-25 11:55 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: John H. @ 2005-03-25  2:38 UTC (permalink / raw)
  To: bluez-users

Despite it saying connection refused, the phone, when
searching/pairing, finds laptop-0, but pair fails
after i tell it to use 0000 for pin.


 hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.18
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Inquiry (0x01|0x0001) plen 5
    lap 0x9e8b33 len 8 num 100
> HCI Event: Command Status (0x0f) plen 4
    Inquiry (0x01|0x0001) status 0x00 ncmd 1
> HCI Event: Inquiry Result (0x02) plen 15
    bdaddr 08:00:37:12:C4:B1 clkoffset 0x6ceb class
0x400204
> HCI Event: Inquiry Complete (0x01) plen 1
    status 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen
10
    bdaddr 08:00:37:12:C4:B1 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd
1
> HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr 08:00:37:12:C4:B1 name 'PM325
by LG'
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 08:00:37:12:C4:B1 ptype 0xcc18 rswitch 0x00
clkoffset 0x6ceb (valid)
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 41 bdaddr 08:00:37:12:C4:B1
type ACL encrypt 0x00
< ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 3 scid 0x0040
< HCI Command: Write Link Policy Settings
(0x02|0x000d) plen 4
    handle 41 policy 0x0f
    Link policy: RSWITCH HOLD SNIFF PARK
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41
> HCI Event: Command Complete (0x0e) plen 6
    Write Link Policy Settings (0x02|0x000d) ncmd 1
    status 0x00 handle 41
> HCI Event: Max Slots Change (0x1b) plen 3
  0000: 29 00 05                                      
   )..
> ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0040
result 0 status 0
      Connection successful
< ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen
4
      MTU 1024
> ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen
4
      MTU 675
< ACL data: handle 41 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00
result 0 clen 0
      Success
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41
> ACL data: handle 41 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00
result 0 clen 0
      Success
< ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 3]
      RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs
0x1c
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41
> ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
< ACL data: handle 41 flags 0x02 dlen 18
    L2CAP(d): cid 0x0041 len 14 [psm 3]
      RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs
0x70 mcc_len 8
      dlci 2 frame_type 0 credit_flow 15 pri 7
ack_timer 0
      frame_size 670 max_retrans 0 credits 7
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41
> ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): DM: cr 1 dlci 2 pf 0 ilen 0 fcs 0x66
< ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 3]
      RFCOMM(s): DISC: cr 1 dlci 0 pf 1 ilen 0 fcs
0xfd
< ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0041 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41
> ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
> ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0040
> HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 41 reason 0x13
    Reason: Remote User Teminated Connection




--- Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi John,
> 
> >  hcitool scan
> > Scanning ...
> >         08:00:37:12:C4:B1       PM325 by LG
> > [root@laptop user]# hcidump -X -V
> > HCI sniffer - Bluetooth packet analyzer ver 1.18
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> 
> this is a sniffer and so you must actually do
> something, because
> otherwise it won't show anything.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
>
-------------------------------------------------------
> 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
> Bluez-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Sports - Sign up for Fantasy Baseball. 
http://baseball.fantasysports.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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] cannot connect to pm-325
  2005-03-25  2:38 John H.
@ 2005-03-25 11:55 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-03-25 11:55 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi John,

> Despite it saying connection refused, the phone, when
> searching/pairing, finds laptop-0, but pair fails
> after i tell it to use 0000 for pin.

for that you need some service running, I think.

> < ACL data: handle 41 flags 0x02 dlen 18
>     L2CAP(d): cid 0x0041 len 14 [psm 3]
>       RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs
> 0x70 mcc_len 8
>       dlci 2 frame_type 0 credit_flow 15 pri 7
> ack_timer 0
>       frame_size 670 max_retrans 0 credits 7
> > HCI Event: Number of Completed Packets (0x13) plen 5
>     handle 41
> > ACL data: handle 41 flags 0x02 dlen 8
>     L2CAP(d): cid 0x0040 len 4 [psm 3]
>       RFCOMM(s): DM: cr 1 dlci 2 pf 0 ilen 0 fcs 0x66

and here we go. You try to connect to RFCOMM channel 1, but your phone
says that there is not service available on that channel.

Run a "sdptool browse" or "sdptool search" to find out the correct
channel number.

Regards

Marcel




-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-03-25 11:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-24 21:51 [Bluez-users] cannot connect to pm-325 John H.
2005-03-24 22:46 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2005-03-25  2:38 John H.
2005-03-25 11:55 ` Marcel Holtmann
2005-03-23 18:46 John H.
2005-03-23 22:20 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.