Re: Bluez-users Digest, Vol 25, Issue 18

Javi F Gorostiza <[email protected]> Sat, 24 May 2008 10:45:18 +0200
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
Hello,
I've parched and compiled the kernel-2.6.23.17 to get headsetd working.
And everything is allright BUT one detail. When I open an alsa pcm_sco
device to capture the data form a BT headset, in the console a lot of
DEBUG messages arises. They are so much that the functionality of my
application decreases, and I cannot see the usefull information in the
console...it's really horrible.
I think that all those DEBUG messages are relationated with an option in
the kernel (.config file) but I can find it at all.
Does anybody know how to switch off these information, please?
Thanks,
J

El vie, 23-05-2008 a las 21:47 -0700,
[email protected] escribió:
> Send Bluez-users mailing list submissions to
> 	[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/bluez-users
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
> 
> You can reach the person managing the list at
> 	[email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Bluez-users digest..."
> 
> 
> Today's Topics:
> 
>    1. CSR bluecore initial problem (attaboyu)
>    2. Re: CSR bluecore initial problem ([email protected])
>    3. trust 5700rp bluetooth mouse does only work in	Y-Derction ?!?
>       (Thomas Ilnseher)
>    4. Re: Syncing a Treo 680 (Angus Ainslie)
>    5. L2Ping and RSSI (R.K. Harle)
>    6. Re: Syncing a Treo 680 (Wendell MacKenzie)
>    7. Re: Syncing a Treo 680 ([email protected])
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 23 May 2008 16:07:14 +0800 (CST)
> From: attaboyu <[email protected]>
> Subject: [Bluez-users] CSR bluecore initial problem
> To: [email protected]
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset="gbk"
> 
>  
> hi all
> I got a problem while init the csr bluecore4 chip, my toolchain: bluez-3.12, dbus-1.0.2,kernel-2.6.10
> #dbus-daemon --system
> #hciattach ttyS0 bcsp
> #hcid -f /opt/bluez/etc/bluetooth/hcid.conf
> #hciconfig 
> hci0:   Type: UART
>         BD Address: 00:02:5B:00:A5:A5 ACL MTU: 310:10 SCO MTU: 64:8
>         UP RUNNING PSCAN ISCAN 
>         RX bytes:1128 acl:0 sco:0 events:23 errors:0
>         TX bytes:706 acl:0 sco:0 commands:26 errors:0
> above is always ok.
> but csr chip need to set pskeys and warmreset,so I run bccmd
> #bccmd warmreset
> #hcitool scan
> Scanning
> Timeout...
> 
> This problem around me for a few days, I cant figure out why the csr chip doesnt work after warmreset.UART0 connect to csr chip, so I choose bcsp config in kernel and choose hci interface(here i am not sure about choosing hci or bcsp while run bccmd?), am i right?
> 
>  
> 
> 
> --
> 
>  Best Regards
>  ------------
>  Tony
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 23 May 2008 16:24:05 +0800 (CST)
> From: [email protected]
> Subject: Re: [Bluez-users] CSR bluecore initial problem
> To: "BlueZ users" <[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset="gbk"
> 
>  
>  and what's the difference between H4 and bcsp, while both of them use uart interface?
> 
>  
> 
> 
> --
> 
> 
>  
> hi all
> I got a problem while init the csr bluecore4 chip, my toolchain: bluez-3.12, dbus-1.0.2,kernel-2.6.10
> #dbus-daemon --system
> #hciattach ttyS0 bcsp
> #hcid -f /opt/bluez/etc/bluetooth/hcidconf
> #hciconfig 
> hci0:   Type: UART
>         BD Address: 00:02:5B:00:A5:A5 ACL MTU: 310:10 SCO MTU: 64:8
>         UP RUNNING PSCAN ISCAN 
>         RX bytes:1128 acl:0 sco:0 events:23 errors:0
>         TX bytes:706 acl:0 sco:0 commands:26 errors:0
> above is always ok.
> but csr chip need to set pskeys and warmreset,so I run bccmd
> #bccmd warmreset
> #hcitool scan
> Scanning
> Timeout...
> 
> This problem around me for a few days, I cant figure out why the csr chip doesnt work after warmreset.UART0 connect to csr chip, so I choose bcsp config in kernel and choose hci interface(here i am not sure about choosing hci or bcsp while run bccmd?), am i right?
> 
>  
> 
> 
> --
> 
>  Best Regards
>  ------------
>  Tony
> 
> 
> 
> 
> ???????? ????????
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 23 May 2008 16:34:54 +0200
> From: Thomas Ilnseher <[email protected]>
> Subject: [Bluez-users] trust 5700rp bluetooth mouse does only work in
> 	Y-Derction ?!?
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain
> 
> I got a new bt mouse, a trust 5700rp bluetooth mouse
> 
> all buttons do work, as does the mouse wheel and the Y axis.
> but the X axis does NOT. 
> 
> (The mouse does work on WinXP) 
> 
> Plz help.
> 
> -- 
> Thomas Ilnseher <[email protected]>
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 23 May 2008 07:47:51 -0700
> From: "Angus Ainslie" <[email protected]>
> Subject: Re: [Bluez-users] Syncing a Treo 680
> To: "BlueZ users" <[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain;	charset="US-ASCII"
> 
> > -----Original Message-----
> > From: [email protected] 
> > [mailto:[email protected]] On Behalf 
> > Of [email protected]
> > Sent: Tuesday, May 20, 2008 6:42 PM
> > To: [email protected]
> > Subject: [Bluez-users] Syncing a Treo 680
> > 
> > Okay, I've read the Wiki.  I've checked out multiple 
> > different webpages.  I've been subscribed to the mailing list 
> > for weeks.  I'm so confused I barely know where to start.
> > 
> > All I want is to sync my Treo with my computer.  
> > Specifically, I want to back up my data and install programs 
> > -- I don't need Outlook functionality or even a list of my 
> > appointments in a desktop application.  Just backup and install.
> > 
> > I read here that I shouldn't use dund, but the Wiki points me 
> > to a webpage that points me to a tutorial that uses dund. 
> > 
> > I don't program in Python.  Java, C/C++, PHP, and Perl, but 
> > not Python.  
> > I don't want to have to learn Python to sync my phone; I'm 
> > busy supporting other Open Source projects and just don't 
> > have the spare time.
> > 
> > So, I will donate $20 via PayPal to anyone who can provide me 
> > with step-by-step instructions allowing me to sync my Treo 
> > 680 with my Debian Unstable computer through my Kensington 
> > K33348 dongle using available packages and configuration 
> > files.  I will use this knowledge to create a page on/for the 
> > wiki so other users can avoid the trouble.
> > 
> > I understand the first step here is 'hcitool scan' and 'hciconfig'.
> > 
> > $ sudo hcitool scan
> > Scanning ... (blue light flashes on my dongle) $ sudo hciconfig
> > hci0:    Type: USB
> >     BD Address: 00:19:15:5A:B8:FD ACL MTU: 1017:8 SCO MTU: 64:8
> >     UP RUNNING PSCAN ISCAN
> >     RX bytes:694 acl:0 sco:0 events:25 errors:0
> >     TX bytes:353 acl:0 sco:0 commands:23 errors:0
> > 
> > Respectfully,
> > Judebert
> > 
> 
> 
> Hi Judebert,
> 
> There a howto on pilot-link's site. It not only allows you to
> backup/install. You could also sync to evolution or surf the web.
> 
> The page is old but should still be valid for new devices. I use a
> similar setup to sync and surf on my Treo 650.
> 
> http://howto.pilot-link.org/bluesync/
> 
> Angus
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 23 May 2008 17:28:05 +0100
> From: "R.K. Harle" <[email protected]>
> Subject: [Bluez-users] L2Ping and RSSI
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 
> Dear all,
> 
> I'm interested in what communication is possible with unpaired bluetooth 
> devices.  I am aware that I can ping an unpaired device using L2ping and 
> the hardware address of the device.  I'd like to know whether I can get 
> any link information from a ping, such as RSSI?  All the HCI tools seem 
> to require a 'proper' (authenticated, paired) connection.
> 
> And, if anyone has the time, I'd love to better understand the 
> difference between an unpaired connection as established by l2ping (I'm 
> going by the code) and a full bluetooth HCItool-compatible connection 
> which I assume requires pairing.  The official standard is not what I'd 
> describe as especially accessible..!
> 
> Thanks,
> Rob.
> 
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 23 May 2008 13:12:56 -0400
> From: Wendell MacKenzie <[email protected]>
> Subject: Re: [Bluez-users] Syncing a Treo 680
> To: BlueZ users <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 
> This helped me:
> 
> http://www.gurulabs.com/goodies/Using_Linux_and_Bluetooth_DUN_with_the_Treo650.php
> 
> Angus Ainslie wrote:
> >> -----Original Message-----
> >> From: [email protected] 
> >> [mailto:[email protected]] On Behalf 
> >> Of [email protected]
> >> Sent: Tuesday, May 20, 2008 6:42 PM
> >> To: [email protected]
> >> Subject: [Bluez-users] Syncing a Treo 680
> >>
> >> Okay, I've read the Wiki.  I've checked out multiple 
> >> different webpages.  I've been subscribed to the mailing list 
> >> for weeks.  I'm so confused I barely know where to start.
> >>
> >> All I want is to sync my Treo with my computer.  
> >> Specifically, I want to back up my data and install programs 
> >> -- I don't need Outlook functionality or even a list of my 
> >> appointments in a desktop application.  Just backup and install.
> >>
> >> I read here that I shouldn't use dund, but the Wiki points me 
> >> to a webpage that points me to a tutorial that uses dund. 
> >>
> >> I don't program in Python.  Java, C/C++, PHP, and Perl, but 
> >> not Python.  
> >> I don't want to have to learn Python to sync my phone; I'm 
> >> busy supporting other Open Source projects and just don't 
> >> have the spare time.
> >>
> >> So, I will donate $20 via PayPal to anyone who can provide me 
> >> with step-by-step instructions allowing me to sync my Treo 
> >> 680 with my Debian Unstable computer through my Kensington 
> >> K33348 dongle using available packages and configuration 
> >> files.  I will use this knowledge to create a page on/for the 
> >> wiki so other users can avoid the trouble.
> >>
> >> I understand the first step here is 'hcitool scan' and 'hciconfig'.
> >>
> >> $ sudo hcitool scan
> >> Scanning ... (blue light flashes on my dongle) $ sudo hciconfig
> >> hci0:    Type: USB
> >>     BD Address: 00:19:15:5A:B8:FD ACL MTU: 1017:8 SCO MTU: 64:8
> >>     UP RUNNING PSCAN ISCAN
> >>     RX bytes:694 acl:0 sco:0 events:25 errors:0
> >>     TX bytes:353 acl:0 sco:0 commands:23 errors:0
> >>
> >> Respectfully,
> >> Judebert
> >>
> >>     
> >
> >
> > Hi Judebert,
> >
> > There a howto on pilot-link's site. It not only allows you to
> > backup/install. You could also sync to evolution or surf the web.
> >
> > The page is old but should still be valid for new devices. I use a
> > similar setup to sync and surf on my Treo 650.
> >
> > http://howto.pilot-link.org/bluesync/
> >
> > Angus
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Bluez-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bluez-users
> >
> >   
> 
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Sat, 24 May 2008 00:46:52 -0400
> From: [email protected]
> Subject: Re: [Bluez-users] Syncing a Treo 680
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> I gave both pages a fair shake.  Short story: I'm still willing to 
> provide $20 for a walkthrough.  Long story: I had the following problems:
> 
> Wendell MacKenzie - [email protected] wrote:
> > This helped me:
> >
> > http://www.gurulabs.com/goodies/Using_Linux_and_Bluetooth_DUN_with_the_Treo650.php
> >   
> That page is set up for Red Hat.  Debian doesn't have the bluez-pin 
> package, and its hcid.conf is a little different: it contains the PIN, 
> and doesn't have a dbus_pin_helper (not in any of the packages, either). 
> There's also no system-config-security-level.  Nevertheless, everything 
> seems to go well, until I enter my PIN. Even when I set up the 
> "feed-pin.sh" file, I get an error dialog on the Treo 680 titled 
> "Bluetooth Security": "Unable to add ComputerName-0 to your trusted 
> device list."
> 
> Angus Ainslie - [email protected] wrote:
> > The page is old but should still be valid for new devices. I use a
> > similar setup to sync and surf on my Treo 650.
> >
> > http://howto.pilot-link.org/bluesync/
> >   
> This page also requires packages not available on Debian: bluez-lib, 
> bluez-pan and bluez-sdp.  The Palm pieces seem more relevant to my Treo; 
> however, the Treo seems to already have a Bluetooth HotSync profile.  It 
> has a nice little tutorial that, after the equivalent of figure 5-8, 
> says I have to set up a virtual serial port on my computer.  I assume 
> that's what hcid, pand, and rfcomm are doing, and carry on.  Actually 
> clicking the "Launch HotSync" button leads to a message: "Connecting 
> with the desktop using ComputerName-0", followed by an error dialog 
> titled "HotSync Problem": "Unable to initiate HotSync operation because 
> the port is in use by another application."
> 
> I assume this is because it never asked for a PIN, but I just don't 
> know.  When I carry on, adding the /etc/bluetooth/pin file as instructed 
> in Chapter 6, I get the same "Unable to add" message as above.
> 
> Since $20 is at stake, and I'm awake, I figured I'd give it another 
> try.  I installed bluez-gnome and ran the bluetooth-applet from the 
> command line.  From there I enabled "Automatically authorize incoming 
> requests".  This time when I tried to add the computer to my trusted 
> devices, the bluetooth-applet prompted me for a passkey; when I had 
> entered the same passkey on both devices, it claimed to have verified my 
> phone.
> 
> Unfortunately, I still got the "port is in use" error.  I went back 
> through the second link, added my computer as a network, and tried to 
> follow the setup in Chapter 7.1 for surfing the web (because Chapter 7.2 
> says that I need the pppd set up here), but I don't have sdpd running, 
> and I don't know where to find it.
> 
> Respectfully,
> Judebert
> 
> 
> 
> ------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> ------------------------------
> 
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 
> 
> End of Bluez-users Digest, Vol 25, Issue 18
> *******************************************


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users