* Re: [Bluez-users] hci0 only comes up with PSCAN (no ISCAN)
@ 2006-08-29 21:24 Ray
2006-08-29 23:48 ` Marcel Holtmann
0 siblings, 1 reply; 7+ messages in thread
From: Ray @ 2006-08-29 21:24 UTC (permalink / raw)
To: bluez-users
hi Marcel
> > i am currently using bluez 3.4 (hcid has dynamic
dep
> > on libbluetooth-2.2.1) so the disable iscan bug
still
> > exists.
>
> I have no idea what you mean. This bug has nothing
to do with the
> library version you use. However if you use
bluez-utils-3.4 the you
> should also use bluez-libs-3.4 as stated in the
ChangeLog file. A
> previous library version might work, but it can also
have side effects.
what i meant to say was that i was using both the 3.4
versions of the bluez-libs and bluez-utils; i was
saying that the hcid binary (from the utils pkg) has a
dynamic dep (ldd) against the libbluetooth.so.2.2.1
just to prove that everything i have used is from the
3.4 bluez libs/utils
given this situation, would you say that there is
still a bug?
thanks
ray
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] hci0 only comes up with PSCAN (no ISCAN)
@ 2006-08-29 18:35 Ray
2006-08-29 20:52 ` Marcel Holtmann
0 siblings, 1 reply; 7+ messages in thread
From: Ray @ 2006-08-29 18:35 UTC (permalink / raw)
To: bluez-users
hi guys,
i am currently using bluez 3.4 (hcid has dynamic dep
on libbluetooth-2.2.1) so the disable iscan bug still
exists.
i followed the instructions and put in "discovto 0;"
to hcid.conf and restarted everything and this fixed
the problem. i didnt do anything else (no dbus-send
etc)
can you take another look to confirm yourselves?
thanks
ray
=
___________________________________________________________ =
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" =
=96 The Wall Street Journal =
http://uk.docs.yahoo.com/nowyoucan.html
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] hci0 only comes up with PSCAN (no ISCAN)
2006-08-29 18:35 Ray
@ 2006-08-29 20:52 ` Marcel Holtmann
0 siblings, 0 replies; 7+ messages in thread
From: Marcel Holtmann @ 2006-08-29 20:52 UTC (permalink / raw)
To: BlueZ users
Hi Ray,
> i am currently using bluez 3.4 (hcid has dynamic dep
> on libbluetooth-2.2.1) so the disable iscan bug still
> exists.
I have no idea what you mean. This bug has nothing to do with the
library version you use. However if you use bluez-utils-3.4 the you
should also use bluez-libs-3.4 as stated in the ChangeLog file. A
previous library version might work, but it can also have side effects.
> i followed the instructions and put in "discovto 0;"
> to hcid.conf and restarted everything and this fixed
> the problem. i didnt do anything else (no dbus-send
> etc)
Then the mode settings was "discoverable".
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bluez-users] hci0 only comes up with PSCAN (no ISCAN)
@ 2006-08-29 0:18 Ray
2006-08-29 1:14 ` Jaime Alberto Silva
0 siblings, 1 reply; 7+ messages in thread
From: Ray @ 2006-08-29 0:18 UTC (permalink / raw)
To: bluez-users
hi,
i have a problem in that my hci0 device only ever
comes up with pscan (without iscan) and this is
causing me problems.
i have started the manually started the daemons but no
luck
$ hcid; sdpd; hciconfig hci0 up piscan noauth
still shows up as (just pscan!!!)
$ hciconfig -a
hci0: Type: USB
BD Address: 00:0E:9B:68:B8:37 ACL MTU: 192:8
SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:12448 acl:176 sco:0 events:322
errors:0
TX bytes:4767 acl:157 sco:0 commands:104
errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00
0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ@marty (0)'
Class: 0x3e0100
Service Classes: Networking, Rendering,
Capturing, Object Transfer,
Audio
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1
(0x1) LMP Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10) =
i googled this and found another person with the same
problem but no ans. using linux 2.6.15 with bluez 3.4
utils/libs
can anyone suggest what i'm doing wrong
thanks
-r
# /etc/bluetooth/hcid.conf
options {
autoinit yes;
security auto;
pairing multi;
passkey "1234";
}
device {
name "BlueZ@%h (%d)";
class 0x3e0100;
# Inquiry and Page scan
iscan enable;
pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}
=
___________________________________________________________ =
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" =
=96 The Wall Street Journal =
http://uk.docs.yahoo.com/nowyoucan.html
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [Bluez-users] hci0 only comes up with PSCAN (no ISCAN)
2006-08-29 0:18 Ray
@ 2006-08-29 1:14 ` Jaime Alberto Silva
2006-08-29 12:02 ` Claudio Takahasi
0 siblings, 1 reply; 7+ messages in thread
From: Jaime Alberto Silva @ 2006-08-29 1:14 UTC (permalink / raw)
To: BlueZ users
Hi Ray, I had the same problem, checkout:
http://thread.gmane.org/gmane.linux.bluez.user/10386/focus=3D10386
It has been treated in this list before under the topic:
Fwd: bluez-utils: The inquiry scan (ISCAN) gets turned off
On 8/28/06, Ray <whatdoineed2do@yahoo.co.uk> wrote:
> hi,
>
> i have a problem in that my hci0 device only ever
> comes up with pscan (without iscan) and this is
> causing me problems.
>
> i have started the manually started the daemons but no
> luck
>
> $ hcid; sdpd; hciconfig hci0 up piscan noauth
>
> still shows up as (just pscan!!!)
>
> $ hciconfig -a
> hci0: Type: USB
> BD Address: 00:0E:9B:68:B8:37 ACL MTU: 192:8
> SCO MTU: 64:8
> UP RUNNING PSCAN
> RX bytes:12448 acl:176 sco:0 events:322
> errors:0
> TX bytes:4767 acl:157 sco:0 commands:104
> errors:0
> Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00
> 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
> HV3
> Link policy: RSWITCH HOLD SNIFF PARK
> Link mode: SLAVE ACCEPT
> Name: 'BlueZ@marty (0)'
> Class: 0x3e0100
> Service Classes: Networking, Rendering,
> Capturing, Object Transfer,
> Audio
> Device Class: Computer, Uncategorized
> HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1
> (0x1) LMP Subver: 0x20d
> Manufacturer: Cambridge Silicon Radio (10)
>
> i googled this and found another person with the same
> problem but no ans. using linux 2.6.15 with bluez 3.4
> utils/libs
>
> can anyone suggest what i'm doing wrong
> thanks
> -r
>
> # /etc/bluetooth/hcid.conf
> options {
> autoinit yes;
> security auto;
> pairing multi;
> passkey "1234";
> }
>
> device {
> name "BlueZ@%h (%d)";
>
> class 0x3e0100;
>
> # Inquiry and Page scan
> iscan enable;
> pscan enable;
>
> lm accept;
> lp rswitch,hold,sniff,park;
> }
>
>
>
> ___________________________________________________________
> Try the all-new Yahoo! Mail. "The New Version is radically easier to use"=
=96 The Wall Street Journal
> http://uk.docs.yahoo.com/nowyoucan.html
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job ea=
sier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-- =
Jaime Alberto Silva
L I N U X .~.
The Choice /V\
of a GNU / ( ) \
Generation ^^-^^
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [Bluez-users] hci0 only comes up with PSCAN (no ISCAN)
2006-08-29 1:14 ` Jaime Alberto Silva
@ 2006-08-29 12:02 ` Claudio Takahasi
0 siblings, 0 replies; 7+ messages in thread
From: Claudio Takahasi @ 2006-08-29 12:02 UTC (permalink / raw)
To: BlueZ users
Hi folks,
The release 3.X introduced the D-Bus methods for adapter setup and
basic remote services(inquiry, name, manufacturer, ...). Some bugs
related to discoverable mode were detected but they are now fixed in
the release 3.4. The adapter interface supports the following
discoverable modes:
discoverable: PSCAN ISCAN
connectable: PSCAN
off: NOSCAN
The default discoverable timeout is 180sec. If you set it to 0 +
discoverable mode to "discoverable" the device will be always visible.
If you set the discoverable timeout to X + mode to discoverable, the
mode will be changed automatically to connectable mode after X
seconds.
While we don't have good client application to manage this methods you
can send commands using dbus-send:
$dbus-send --system --type=3Dmethod_call --print-reply --dest=3Dorg.bluez
/org/bluez/hci0 org.bluez.Adapter.SetDiscoverableTimeout uint32:0
$dbus-send --system --type=3Dmethod_call --print-reply --dest=3Dorg.bluez
/org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable
BR,
Claudio.
On 8/28/06, Jaime Alberto Silva <jaimealbertosilva@gmail.com> wrote:
> Hi Ray, I had the same problem, checkout:
>
> http://thread.gmane.org/gmane.linux.bluez.user/10386/focus=3D10386
>
> It has been treated in this list before under the topic:
>
> Fwd: bluez-utils: The inquiry scan (ISCAN) gets turned off
>
> On 8/28/06, Ray <whatdoineed2do@yahoo.co.uk> wrote:
> > hi,
> >
> > i have a problem in that my hci0 device only ever
> > comes up with pscan (without iscan) and this is
> > causing me problems.
> >
> > i have started the manually started the daemons but no
> > luck
> >
> > $ hcid; sdpd; hciconfig hci0 up piscan noauth
> >
> > still shows up as (just pscan!!!)
> >
> > $ hciconfig -a
> > hci0: Type: USB
> > BD Address: 00:0E:9B:68:B8:37 ACL MTU: 192:8
> > SCO MTU: 64:8
> > UP RUNNING PSCAN
> > RX bytes:12448 acl:176 sco:0 events:322
> > errors:0
> > TX bytes:4767 acl:157 sco:0 commands:104
> > errors:0
> > Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00
> > 0x00
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
> > HV3
> > Link policy: RSWITCH HOLD SNIFF PARK
> > Link mode: SLAVE ACCEPT
> > Name: 'BlueZ@marty (0)'
> > Class: 0x3e0100
> > Service Classes: Networking, Rendering,
> > Capturing, Object Transfer,
> > Audio
> > Device Class: Computer, Uncategorized
> > HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1
> > (0x1) LMP Subver: 0x20d
> > Manufacturer: Cambridge Silicon Radio (10)
> >
> > i googled this and found another person with the same
> > problem but no ans. using linux 2.6.15 with bluez 3.4
> > utils/libs
> >
> > can anyone suggest what i'm doing wrong
> > thanks
> > -r
> >
> > # /etc/bluetooth/hcid.conf
> > options {
> > autoinit yes;
> > security auto;
> > pairing multi;
> > passkey "1234";
> > }
> >
> > device {
> > name "BlueZ@%h (%d)";
> >
> > class 0x3e0100;
> >
> > # Inquiry and Page scan
> > iscan enable;
> > pscan enable;
> >
> > lm accept;
> > lp rswitch,hold,sniff,park;
> > }
> >
> >
> >
> > ___________________________________________________________
> > Try the all-new Yahoo! Mail. "The New Version is radically easier to us=
e" =96 The Wall Street Journal
> > http://uk.docs.yahoo.com/nowyoucan.html
> >
> > -----------------------------------------------------------------------=
--
> > Using Tomcat but need to do more? Need to support web services, securit=
y?
> > Get stuff done quickly with pre-integrated technology to make your job =
easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron=
imo
> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> > _______________________________________________
> > Bluez-users mailing list
> > Bluez-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bluez-users
> >
>
>
> --
> Jaime Alberto Silva
> L I N U X .~.
> The Choice /V\
> of a GNU / ( ) \
> Generation ^^-^^
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job ea=
sier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-- =
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-08-29 23:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-29 21:24 [Bluez-users] hci0 only comes up with PSCAN (no ISCAN) Ray
2006-08-29 23:48 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2006-08-29 18:35 Ray
2006-08-29 20:52 ` Marcel Holtmann
2006-08-29 0:18 Ray
2006-08-29 1:14 ` Jaime Alberto Silva
2006-08-29 12:02 ` Claudio Takahasi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox