Re: Opie bluetooth applet.

Dmitriy Korovkin <[email protected]>
Newsgroups gmane.comp.handhelds.opie.devel
Message-ID <[email protected]>
Hi,
When you try to enable bluetooth you need to be sure that you have a 
hciattach and a /etc/init.d/bluetooth
which starts/stops bluetooth. When you enable BT, it runs hciattach with 
parameters (see noncore/net/opietooth/applet/bluezapplet.cpp for 
details) and after this it runs /etc/init.d/bluetooth start
So, the first thing you need to check - is there a hciattach with the 
right parameters after you enable BT. If it is, than it's necessary to 
debug the applet on your target to see if slotDevice function actually 
is being called.
Regards,

Dmitriy



GoXbox Live wrote:

> Hi there, someone at the opie irc told me to send you gyus a mail
> about my problem.
>
> I am building opie-images with OE for the HTC Universal. And i have a
> problem with the bluetooth aplet to get it to work.
>
> When i hit "enable" in the bluetooth-applet nothing happends, i have
> to start my bluetooth manually in terminal.
> But when i have done that the "discovery" in the applet works, and the
> BT icon turns blue. But the text "enable" is still there, and it
> should have been "disable" when BT is running.
> Actually the IRDA works great, both enable/disable. And also the icon
> turns from red/grey.
>
> What do i have to do to get the opie-bluetooth aplet start (control)
> my bluetooth.
>
> I have made a file named "bluetooth" in the /etc/sysconfig/. and the
> file containes:
>
> BLUETOOTH=yes
> BLUETOOTH_PORT=/dev/tts/1
> BLUETOOTH_PROTOCOL=texas
> BLUETOOTH_SPEED=115200
>
> And that is the correct information for our BT device.
> I have also tried to make a script file in the /etc/bluetooth/
> directory named "opie-bluetooth" wich inclued:
>
> #!/bin/sh
> /etc/init.d/bluetooth start  && exit 0
>
> but with no success (when i tried that script i had removed BT from 
> startup).
>
> Any help or tips is welcome :-)
>
>
> thx in advance
>
> Goxboxlive
> _______________________________________________
>
> http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex
>
> Opie-devel mailing list
> [email protected]
> https://handhelds.org/mailman/listinfo/opie-devel
>
_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.