public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Re: Can't understand
@ 2004-05-12 23:59 Хедин
  2004-05-13  4:31 ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Хедин @ 2004-05-12 23:59 UTC (permalink / raw)
  To: bluez-users

Here is my /proc/bus/usb/devices:

$ cat /proc/bus/usb/devices

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.6-mh1 uhci_hcd
S:  Product=Intel Corp. 82801BA/BAM USB (Hub #2)
S:  SerialNumber=0000:00:1f.4
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.6-mh1 uhci_hcd
S:  Product=Intel Corp. 82801BA/BAM USB (Hub #1)
S:  SerialNumber=0000:00:1f.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

// I guess, this one is dongle.
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.01 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0a5c ProdID=2033 Rev= 0.a0
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E:  Ad=83(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E:  Ad=83(I) Atr=01(Isoc) MxPS=  32 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  32 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E:  Ad=83(I) Atr=01(Isoc) MxPS=  32 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  32 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E:  Ad=83(I) Atr=01(Isoc) MxPS=  64 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  64 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E:  Ad=83(I) Atr=01(Isoc) MxPS=  64 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  64 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Can't understand
  2004-05-12 23:59 [Bluez-users] Re: Can't understand Хедин
@ 2004-05-13  4:31 ` Marcel Holtmann
       [not found]   ` <200405131627.34993.hedin@hiervard.ru>
  0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-05-13  4:31 UTC (permalink / raw)
  To: Хедин; +Cc: bluez-users

Hi,

> // I guess, this one is dongle.
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.01 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
> P:  Vendor=0a5c ProdID=2033 Rev= 0.a0
> C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

you guess right and it needs the bcm203x and the hci_usb driver. So when
do you start looking at the logfiles to see what is going wrong.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Can't understand
       [not found]   ` <200405131627.34993.hedin@hiervard.ru>
@ 2004-05-13 10:32     ` Nicholas A. Preyss
       [not found]       ` <200405131950.38279.hedin@hiervard.ru>
  0 siblings, 1 reply; 8+ messages in thread
From: Nicholas A. Preyss @ 2004-05-13 10:32 UTC (permalink / raw)
  To: bluez-users

On  0, ????? <hedin@hiervard.ru> wrote:
> Thursday 13 May 2004 11:31, Marcel Holtmann ?????:
> > > // I guess, this one is dongle.
> > > T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> > > D:  Ver= 1.01 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
> > > P:  Vendor=0a5c ProdID=2033 Rev= 0.a0
> > > C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=100mA
> > > I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> > > E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
> > > E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> > > E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> >
> > you guess right and it needs the bcm203x and the hci_usb driver. So when
> > do you start looking at the logfiles to see what is going wrong.
> 
> What should I do after loading modules and connecting the device? hcitool?
> Tell me, which logs to look at and I'll do.

The normal system log, something like /var/log/syslog.
With hciconfig you see the registered hci devices. 

nicholas


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Can't understand
  2004-05-13 16:33         ` Nicholas A. Preyss
@ 2004-05-13 16:20           ` Xavier Garreau
  2004-05-13 17:45             ` Nicholas A. Preyss
  2004-05-13 21:54           ` Marcel Holtmann
  1 sibling, 1 reply; 8+ messages in thread
From: Xavier Garreau @ 2004-05-13 16:20 UTC (permalink / raw)
  To: bluez-users

> > usr/sbin/hciconfig scan
> > Can't get device info: No such device
>
> hciconfig hasn't any "scan" argument.
>
> > [root@host-81-1-226-59 hedin]# /usr/sbin/hciconfig inqmode
> > Can't get device info: No such device
>
> nor "inqmode". Why do you think, these are possible arguments?
>
> > I can't have it working. No such log available.
>
> Then maybe it is called different in your distribution. Look in /var/log/
> for the right one.
> Maybe you post:
> - kernel version
> - bluez-utils/libs version
> - distribution


What you're looking for is called hcitool, hciconfig is for configuration
purposes ...

BR,
-- 
Xavier Garreau <x.garreau@prim-time.fr>
Prim'Time Technology
http://www.prim-time.fr/



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Can't understand
       [not found]       ` <200405131950.38279.hedin@hiervard.ru>
@ 2004-05-13 16:33         ` Nicholas A. Preyss
  2004-05-13 16:20           ` Xavier Garreau
  2004-05-13 21:54           ` Marcel Holtmann
  0 siblings, 2 replies; 8+ messages in thread
From: Nicholas A. Preyss @ 2004-05-13 16:33 UTC (permalink / raw)
  To: bluez-users

On  0, ????? <hedin@hiervard.ru> wrote:
> Thursday 13 May 2004 17:32, Nicholas A. Preyss ?????:
> > On  0, ????? <hedin@hiervard.ru> wrote:
> > > > you guess right and it needs the bcm203x and the hci_usb driver. So
> > > > when do you start looking at the logfiles to see what is going wrong.
> > >
> > > What should I do after loading modules and connecting the device?
> > > hcitool? Tell me, which logs to look at and I'll do.
> >
> > The normal system log, something like /var/log/syslog.
> > With hciconfig you see the registered hci devices.
> >
> 
> usr/sbin/hciconfig scan
> Can't get device info: No such device

hciconfig hasn't any "scan" argument. 

> [root@host-81-1-226-59 hedin]# /usr/sbin/hciconfig inqmode
> Can't get device info: No such device

nor "inqmode". Why do you think, these are possible arguments?

> I can't have it working. No such log available.

Then maybe it is called different in your distribution. Look in /var/log/
for the right one. 
Maybe you post:
- kernel version
- bluez-utils/libs version
- distribution 

nicholas



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Can't understand
  2004-05-13 16:20           ` Xavier Garreau
@ 2004-05-13 17:45             ` Nicholas A. Preyss
  0 siblings, 0 replies; 8+ messages in thread
From: Nicholas A. Preyss @ 2004-05-13 17:45 UTC (permalink / raw)
  To: bluez-users

On  0, Xavier Garreau <x.garreau@prim-time.fr> wrote:

> > > usr/sbin/hciconfig scan
> > > Can't get device info: No such device
> >
> > hciconfig hasn't any "scan" argument.
> >
> > > [root@host-81-1-226-59 hedin]# /usr/sbin/hciconfig inqmode
> > > Can't get device info: No such device
> >
> > nor "inqmode". Why do you think, these are possible arguments?
> >
> > > I can't have it working. No such log available.
> >
> > Then maybe it is called different in your distribution. Look in /var/log/
> > for the right one.
> > Maybe you post:
> > - kernel version
> > - bluez-utils/libs version
> > - distribution
> What you're looking for is called hcitool, hciconfig is for configuration
> purposes ...

You are probably not taking to me, although you are replying to my posting. Please reply to the right message. Then please read the thread. Then notice he hasn't even a hci device up. So hcitool is at this point useless.

nicholas


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Can't understand
  2004-05-13 16:33         ` Nicholas A. Preyss
  2004-05-13 16:20           ` Xavier Garreau
@ 2004-05-13 21:54           ` Marcel Holtmann
  2004-05-16 19:57             ` Nicholas A. Preyss
  1 sibling, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-05-13 21:54 UTC (permalink / raw)
  To: Nicholas A. Preyss; +Cc: bluez-users

Hi Nicholas,

> > [root@host-81-1-226-59 hedin]# /usr/sbin/hciconfig inqmode
> > Can't get device info: No such device
> 
> nor "inqmode". Why do you think, these are possible arguments?

let me correct you, because with bluez-utils-2.7 hciconfig has a command
inqmode to set the inquiry mode. Check with -h or the manpage for the
new Bluetooth 1.2 commands.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: Can't understand
  2004-05-13 21:54           ` Marcel Holtmann
@ 2004-05-16 19:57             ` Nicholas A. Preyss
  0 siblings, 0 replies; 8+ messages in thread
From: Nicholas A. Preyss @ 2004-05-16 19:57 UTC (permalink / raw)
  To: bluez-users

On  0, Marcel Holtmann <marcel@holtmann.org> wrote:

> Hi Nicholas,
> 
> > > [root@host-81-1-226-59 hedin]# /usr/sbin/hciconfig inqmode
> > > Can't get device info: No such device
> > 
> > nor "inqmode". Why do you think, these are possible arguments?
> 
> let me correct you, because with bluez-utils-2.7 hciconfig has a command
> inqmode to set the inquiry mode. Check with -h or the manpage for the
> new Bluetooth 1.2 commands

you are right, i am sorry my mistake. i was still running 2.6 on my laptop.

nicholas


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-05-16 19:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-12 23:59 [Bluez-users] Re: Can't understand Хедин
2004-05-13  4:31 ` Marcel Holtmann
     [not found]   ` <200405131627.34993.hedin@hiervard.ru>
2004-05-13 10:32     ` Nicholas A. Preyss
     [not found]       ` <200405131950.38279.hedin@hiervard.ru>
2004-05-13 16:33         ` Nicholas A. Preyss
2004-05-13 16:20           ` Xavier Garreau
2004-05-13 17:45             ` Nicholas A. Preyss
2004-05-13 21:54           ` Marcel Holtmann
2004-05-16 19:57             ` Nicholas A. Preyss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox