hi,
I am using bluez on arm single board computer and i am facing this
strange problem.
When i am using only one bluetooth dongle , hciconfig correctly reports the
bluetooth address of the dongle but when i insert a second dongle then the
second dongles bt address is reported as 00:00:00:00:00:00 .
Both the dongles individually work fine.
Can anyone tell me what can be the cause for such a problem ????
regards
siddhant
hi Marcel,
Thanks for the advice , will surely port to 2.6 kernel.
regards
siddhant
On 4/16/07, Marcel Holtmann <[email protected]> wrote:
>
> Hi Siddhant,
>
> > I will try to upgrade to 2.6 kernel but since this is arm Single
> > Board Computer , i am not sure about the effort and time that would
> > be required to do so.
> >
> > I have another observation to share with you .
> >
> > When using two dongle , if i put hci0 down by hciconfig hci0 down
> > and then put hci1 up by hciconfig hci1 up
> > then hciconfig returns correct address for the second adapter as well.
> >
> > Also if i try to put hci1 up without putting hci0 down then same
> > thing
> > ----- "cannot contact hci1 connection timed out" message appears.
> >
> > Please reply if you can give me some hints about whats happening after
> > going through the above observation.
>
> I am pretty sure that is the USB subsystem. Since when you down the
> adapter all URBs will be canceled. So you can try to change the
> constants for the number of URBs in hci_usb.h and recompile your kernel.
> You can also try to disable ISOC transfers (SCO support for the driver)
> and see if that takes the bandwidth pressure from the USB bus.
>
> However, the 2.6 USB subsystem is really the way to go. No effort on
> porting to 2.6 is wasted.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
Hi Siddhant,
> I will try to upgrade to 2.6 kernel but since this is arm Single
> Board Computer , i am not sure about the effort and time that would
> be required to do so.
>
> I have another observation to share with you .
>
> When using two dongle , if i put hci0 down by hciconfig hci0 down
> and then put hci1 up by hciconfig hci1 up
> then hciconfig returns correct address for the second adapter as well.
>
> Also if i try to put hci1 up without putting hci0 down then same
> thing
> ----- "cannot contact hci1 connection timed out" message appears.
>
> Please reply if you can give me some hints about whats happening after
> going through the above observation.
I am pretty sure that is the USB subsystem. Since when you down the
adapter all URBs will be canceled. So you can try to change the
constants for the number of URBs in hci_usb.h and recompile your kernel.
You can also try to disable ISOC transfers (SCO support for the driver)
and see if that takes the bandwidth pressure from the USB bus.
However, the 2.6 USB subsystem is really the way to go. No effort on
porting to 2.6 is wasted.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
hi Marcel,
I will try to upgrade to 2.6 kernel but since this is arm Single Board
Computer , i am not sure about the effort and time that would be required
to do so.
I have another observation to share with you .
When using two dongle , if i put hci0 down by hciconfig hci0 down
and then put hci1 up by hciconfig hci1 up
then hciconfig returns correct address for the second adapter as well.
Also if i try to put hci1 up without putting hci0 down then same thing
----- "cannot contact hci1 connection timed out" message appears.
Please reply if you can give me some hints about whats happening after going
through the above observation.
regards
siddhant
On 4/16/07, Marcel Holtmann <[email protected]> wrote:
>
> Hi Siddhant,
>
> > I am using using kernel 2.4.26.
> > cant find anything with dmesg output.
> >
> > When trying to run hcid at the prompt i am getting
> > message
> >
> > Can't init device hci1 : Connection time out.
> >
> > What can be the possible reasons for this ???
>
> the USB stack in 2.4.26 is very old. So is the Bluetooth stack. You
> should really start using a 2.6 kernel.
>
> My guess is that you have problems with the USB support in this ancient
> kernel.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
Hi Siddhant,
> I am using using kernel 2.4.26.
> cant find anything with dmesg output.
>
> When trying to run hcid at the prompt i am getting
> message
>
> Can't init device hci1 : Connection time out.
>
> What can be the possible reasons for this ???
the USB stack in 2.4.26 is very old. So is the Bluetooth stack. You
should really start using a 2.6 kernel.
My guess is that you have problems with the USB support in this ancient
kernel.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
hi Marcel,
I am using using kernel 2.4.26.
cant find anything with dmesg output.
When trying to run hcid at the prompt i am getting message
Can't init device hci1 : Connection time out.
What can be the possible reasons for this ???
regards
siddhant
On 4/16/07, Marcel Holtmann <[email protected]> wrote:
>
> Hi,
>
> > I am using bluez on arm single board computer and i am facing this
> > strange problem.
> >
> > When i am using only one bluetooth dongle , hciconfig correctly
> > reports the bluetooth address of the dongle but when i insert a second
> > dongle then the second dongles bt address is reported as
> > 00:00:00:00:00:00 .
> >
> > Both the dongles individually work fine.
> >
> > Can anyone tell me what can be the cause for such a problem ????
>
> never tried it on ARM machines. Check the output of dmesg. Maybe your
> USB stack has a problem on ARM. Do you run the latest 2.6 kernel?
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
Hi,
> I am using bluez on arm single board computer and i am facing this
> strange problem.
>
> When i am using only one bluetooth dongle , hciconfig correctly
> reports the bluetooth address of the dongle but when i insert a second
> dongle then the second dongles bt address is reported as
> 00:00:00:00:00:00 .
>
> Both the dongles individually work fine.
>
> Can anyone tell me what can be the cause for such a problem ????
never tried it on ARM machines. Check the output of dmesg. Maybe your
USB stack has a problem on ARM. Do you run the latest 2.6 kernel?
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users