Skip to contentSkip to conversation

Can't understand

Bluez-users Хедин 4 participants 8 messages May 12, 2004 – May 16, 2004 2 messages not in the archive Bluetooth drivers

lore
Share & tools
lore

Хедин

author
#0 lore raw

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi,

Quoted 9 lines

// 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw
In reply to a message not in the archive
Quoted 11 lines · ?????

Thursday 13 May 2004 11:31, Marcel Holtmann ?????:

Quoted 10 lines
Quoted 9 lines

// 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
Quoted 5 lines
Quoted 2 lines

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw
In reply to Nicholas A. Preyss
Quoted 10 lines
Quoted 2 lines

usr/sbin/hciconfig scan
Can't get device info: No such device

hciconfig hasn't any "scan" argument.

Quoted 2 lines

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

Quoted 8 lines
Quoted 1 line

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,

Signature · 15 lines
Xavier Garreau <[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#5 lore raw
In reply to a message not in the archive
Quoted 8 lines · ?????

Thursday 13 May 2004 17:32, Nicholas A. Preyss ?????:

Quoted 7 lines · ?????
Quoted 5 lines
Quoted 2 lines

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.

Quoted 6 lines
Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 1 line

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#7 lore raw
In reply to Xavier Garreau
Quoted 12 lines · Xavier Garreau
Quoted 12 lines
Quoted 2 lines

usr/sbin/hciconfig scan
Can't get device info: No such device

hciconfig hasn't any "scan" argument.

Quoted 2 lines

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

Quoted 1 line

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

Quoted 8 lines
Quoted 6 lines

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#8 lore raw
In reply to Nicholas A. Preyss

Hi Nicholas,

Quoted 4 lines
Quoted 2 lines

[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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#9 lore raw
Quoted 10 lines · Marcel Holtmann

Hi Nicholas,

Quoted 4 lines
Quoted 2 lines

[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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users