2006-11-08 09:46:37

by Hakan Lager

[permalink] [raw]
Subject: [Bluez-users] Problem with 2nd second dongle

Hi,

I'm facing the following problem on a TS-7200 board. The board is equipped
with the standard TS-linux (debian) release
and by loading the proper modules I'm able to use a single bluetooth dongle.

But when I plug another dongle into the 2nd USB port I'm unable to make it
work.

The only way to bring it up is to make

hciconfig hci0 down
and then
hciconfig hci1 up
and then it works.

But I'm only able to operate a single BT dongle at a time. On my
development machine (redhat) everything works fine.

Anyone facing the same problem?

/ Hakan


Attachments:
(No filename) (551.00 B)
(No filename) (675.00 B)
(No filename) (373.00 B)
(No filename) (164.00 B)
Download all attachments

2006-11-13 18:23:01

by Håkan Lager

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with 2nd second dongle


Hi,

After mounted the /proc/bus/usb filesystem the result is this:

Nov 13 18:18:12 ts7200 daemon.info hcid[145]: HCI dev 0 down
Nov 13 18:18:12 ts7200 daemon.info hcid[145]: Stoping security manager 0
Nov 13 18:18:12 ts7200 daemon.info hcid[145]: HCI dev 0 unregistered
Nov 13 18:18:16 ts7200 daemon.info hcid[145]: HCI dev 0 registered
Nov 13 18:18:16 ts7200 daemon.info hcid[145]: HCI dev 0 up
Nov 13 18:18:16 ts7200 daemon.info hcid[145]: Starting security manager 0
Nov 13 18:18:53 ts7200 daemon.info hcid[145]: HCI dev 1 registered
Nov 13 18:18:53 ts7200 daemon.err hcid[186]: Can't init device hci1: No such
device (19)
Nov 13 18:18:53 ts7200 daemon.info hcid[145]: HCI dev 1 unregistered
Nov 13 18:18:53 ts7200 daemon.info hcid[145]: HCI dev 1 registered
Nov 13 18:19:03 ts7200 daemon.err hcid[195]: Can't init device hci1:
Connection timed out (110)

cat /proc/bus/usb/devices gives:

$ cat /proc/bus/usb/devices
T: Bus=3D01 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D 1 Spd=3D12 MxC=
h=3D 3
B: Alloc=3D 38/900 us ( 4%), #Int=3D 2, #Iso=3D 2
D: Ver=3D 1.10 Cls=3D09(hub ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D 1
P: Vendor=3D0000 ProdID=3D0000 Rev=3D 0.00
S: Product=3DUSB OHCI Root Hub
S: SerialNumber=3De0020000
C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D 0mA
I: If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub ) Sub=3D00 Prot=3D00 Driver=
=3Dhub
E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 2 Ivl=3D255ms
T: Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D 2 Spd=3D12 MxC=
h=3D 2
D: Ver=3D 2.00 Cls=3D09(hub ) Sub=3D00 Prot=3D00 MxPS=3D64 #Cfgs=3D 1
P: Vendor=3D0409 ProdID=3D005a Rev=3D 1.00
C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3De0 MxPwr=3D100mA
I: If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub ) Sub=3D00 Prot=3D00 Driver=
=3Dhub
E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 1 Ivl=3D255ms
T: Bus=3D01 Lev=3D02 Prnt=3D02 Port=3D00 Cnt=3D01 Dev#=3D 9 Spd=3D12 MxC=
h=3D 0
D: Ver=3D 1.10 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D 1
P: Vendor=3D050d ProdID=3D0084 Rev=3D 5.25
C:* #Ifs=3D 3 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D 0mA
I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 16 Ivl=3D1ms
E: Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms
E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms
I: If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 0 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 0 Ivl=3D1ms
I: If#=3D 1 Alt=3D 1 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 9 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 9 Ivl=3D1ms
I: If#=3D 1 Alt=3D 2 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 17 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 17 Ivl=3D1ms
I: If#=3D 1 Alt=3D 3 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 25 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 25 Ivl=3D1ms
I: If#=3D 1 Alt=3D 4 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 33 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 33 Ivl=3D1ms
I: If#=3D 1 Alt=3D 5 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 49 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 49 Ivl=3D1ms
I: If#=3D 2 Alt=3D 0 #EPs=3D 0 Cls=3Dfe(app. ) Sub=3D01 Prot=3D00 Driver=
=3D(none)
T: Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D02 Cnt=3D02 Dev#=3D 7 Spd=3D12 MxC=
h=3D 0
D: Ver=3D 1.10 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D 1
P: Vendor=3D0db0 ProdID=3D6970 Rev=3D 5.25
C:* #Ifs=3D 3 Cfg#=3D 1 Atr=3D80 MxPwr=3D100mA
I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 16 Ivl=3D1ms
E: Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms
E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms
I: If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 0 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 0 Ivl=3D1ms
I: If#=3D 1 Alt=3D 1 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 9 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 9 Ivl=3D1ms
I: If#=3D 1 Alt=3D 2 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 17 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 17 Ivl=3D1ms
I: If#=3D 1 Alt=3D 3 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 25 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 25 Ivl=3D1ms
I: If#=3D 1 Alt=3D 4 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 33 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 33 Ivl=3D1ms
I: If#=3D 1 Alt=3D 5 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 49 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 49 Ivl=3D1ms
I: If#=3D 2 Alt=3D 0 #EPs=3D 0 Cls=3Dfe(app. ) Sub=3D01 Prot=3D00 Driver=
=3D(none)

/ Hakan

-----Ursprungligt meddelande-----
Fr=E5n: [email protected]
[mailto:[email protected]] F=F6r Marcel Holtmann
Skickat: den 13 november 2006 18:44
Till: BlueZ users
=C4mne: Re: [Bluez-users] Problem with 2nd second dongle

Hi,

> OK; But it work with one dongle...

it can be a bug (however I have multiple dongles working without any
problems) or simply a bad dongle or even a USB bus issue.

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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


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

2006-11-13 17:43:57

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with 2nd second dongle

Hi,

> OK; But it work with one dongle...

it can be a bug (however I have multiple dongles working without any
problems) or simply a bad dongle or even a USB bus issue.

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

2006-11-13 17:28:15

by Håkan Lager

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with 2nd second dongle


OK; But it work with one dongle...

/ Hakan


-----Ursprungligt meddelande-----
Fr=E5n: [email protected]
[mailto:[email protected]] F=F6r Marcel Holtmann
Skickat: den 13 november 2006 18:22
Till: BlueZ users
=C4mne: Re: [Bluez-users] Problem with 2nd second dongle

Hi,

> Here is the information you requested:
> =

> Nov 13 16:56:00 ts7200 daemon.info hcid[214]: Bluetooth HCI daemon
> Nov 13 16:56:00 ts7200 daemon.info sdpd[217]: Bluetooth SDP daemon
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 registered
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 up
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: Starting security manager 0
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 down
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: Stoping security manager 0
> Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 unregistered
> Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 registered
> Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 up
> Nov 13 16:57:51 ts7200 daemon.info hcid[214]: Starting security manager 0
> Nov 13 16:58:05 ts7200 daemon.info hcid[214]: HCI dev 1 registered
> Nov 13 16:58:15 ts7200 daemon.err hcid[252]: Can't init device hci1:
> Connection timed out (110)

there you have your problem.

> $ ls /proc/bus/usb/devices
> ls: /proc/bus/usb/devices: No such file or directory

You have to mount that filesystem first.

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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


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

2006-11-13 17:22:27

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with 2nd second dongle

Hi,

> Here is the information you requested:
>
> Nov 13 16:56:00 ts7200 daemon.info hcid[214]: Bluetooth HCI daemon
> Nov 13 16:56:00 ts7200 daemon.info sdpd[217]: Bluetooth SDP daemon
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 registered
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 up
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: Starting security manager 0
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 down
> Nov 13 16:57:50 ts7200 daemon.info hcid[214]: Stoping security manager 0
> Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 unregistered
> Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 registered
> Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 up
> Nov 13 16:57:51 ts7200 daemon.info hcid[214]: Starting security manager 0
> Nov 13 16:58:05 ts7200 daemon.info hcid[214]: HCI dev 1 registered
> Nov 13 16:58:15 ts7200 daemon.err hcid[252]: Can't init device hci1:
> Connection timed out (110)

there you have your problem.

> $ ls /proc/bus/usb/devices
> ls: /proc/bus/usb/devices: No such file or directory

You have to mount that filesystem first.

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

2006-11-13 17:08:01

by Håkan Lager

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with 2nd second dongle

Hi Marcel,

Thank you for your concern.

Here is the information you requested:

Nov 13 16:56:00 ts7200 daemon.info hcid[214]: Bluetooth HCI daemon
Nov 13 16:56:00 ts7200 daemon.info sdpd[217]: Bluetooth SDP daemon
Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 registered
Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 up
Nov 13 16:57:50 ts7200 daemon.info hcid[214]: Starting security manager 0
Nov 13 16:57:50 ts7200 daemon.info hcid[214]: HCI dev 0 down
Nov 13 16:57:50 ts7200 daemon.info hcid[214]: Stoping security manager 0
Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 unregistered
Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 registered
Nov 13 16:57:51 ts7200 daemon.info hcid[214]: HCI dev 0 up
Nov 13 16:57:51 ts7200 daemon.info hcid[214]: Starting security manager 0
Nov 13 16:58:05 ts7200 daemon.info hcid[214]: HCI dev 1 registered
Nov 13 16:58:15 ts7200 daemon.err hcid[252]: Can't init device hci1:
Connection timed out (110)

$ ls /proc/bus/usb/devices
ls: /proc/bus/usb/devices: No such file or directory
$ ls /proc/devices
/proc/devices
$ cat /proc/devices
Character devices:
1 mem
2 pty/m%d
3 pty/s%d
4 tts/%d
5 cua/%d
7 vcs
10 misc
29 fb
90 mtd
128 ptm
129 ptm
130 ptm
131 ptm
136 pts/%d
137 pts/%d
138 pts/%d
139 pts/%d
162 raw
180 usb
204 ttyAM%d
205 cuaam%d
216 bluetooth/rfcomm/%d
234 ttyTS%d
235 cuats%d

Block devices:
1 ramdisk
8 sd
31 mtdblock
65 sd
66 sd
$

-----Ursprungligt meddelande-----
Fr=E5n: [email protected]
[mailto:[email protected]] F=F6r Marcel Holtmann
Skickat: den 13 november 2006 09:16
Till: BlueZ users
=C4mne: Re: [Bluez-users] Problem with 2nd second dongle

Hi Hakan,

> I'm facing the following problem on a TS-7200 board. The board is
> equipped with the standard TS-linux (debian) release =

> and by loading the proper modules I'm able to use a single bluetooth
> dongle.
> =

> But when I plug another dongle into the 2nd USB port I'm unable to
> make it work.
> =

> The only way to bring it up is to make
> =

> hciconfig hci0 down
> and then
> hciconfig hci1 up
> and then it works.
> =

> But I'm only able to operate a single BT dongle at a time. On my
> development machine (redhat) everything works fine.

show us the content of /proc/bus/usb/devices and check the syslog for
any error messages.

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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


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

2006-11-13 08:16:20

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with 2nd second dongle

Hi Hakan,

> I'm facing the following problem on a TS-7200 board. The board is
> equipped with the standard TS-linux (debian) release
> and by loading the proper modules I'm able to use a single bluetooth
> dongle.
>
> But when I plug another dongle into the 2nd USB port I'm unable to
> make it work.
>
> The only way to bring it up is to make
>
> hciconfig hci0 down
> and then
> hciconfig hci1 up
> and then it works.
>
> But I'm only able to operate a single BT dongle at a time. On my
> development machine (redhat) everything works fine.

show us the content of /proc/bus/usb/devices and check the syslog for
any error messages.

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