public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] 2 plugz issues
@ 2007-01-07 19:06 Kevin Fenzi
  2007-01-07 22:31 ` Brad Midgley
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Fenzi @ 2007-01-07 19:06 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 1030 bytes --]

Greetings. 

I noticed not long ago that you guys had switched the btsco setup over
to a new 'plugz' setup. No kernel module is a great thing. ;) 

I have run into 2 issues however: 

1. Just checking out, building and running works, but I end up getting
no sound from headsetd, and it spits out: 

Unable to set number of SCO buffers : please upgrade your Kernel !

Commenting out that check in the code results in it working ok. 
Is that just for better performance? 
What kernel version do you need to upgrade to here? 
Is this related to the patches in the patches/ dir? 

2. Once I comment out that code from 1 above, my headset works fine and
sounds ok. However, if I do anything that sends a DTMF from my sip
phone (I am using twinkle) it causes twinkle to go into a 100% cpu
spin, and once to totally lock up my machine. Any idea why DTMF would
cause that? Is there any way I can test or get more info to track down
the problem?

Otherwise great progress guys... keep up the great work. 

kevin

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-devel] 2 plugz issues
  2007-01-07 19:06 Kevin Fenzi
@ 2007-01-07 22:31 ` Brad Midgley
  2007-01-08 12:46   ` Fabien Chevalier
  0 siblings, 1 reply; 7+ messages in thread
From: Brad Midgley @ 2007-01-07 22:31 UTC (permalink / raw)
  To: BlueZ development

Kevin

> 2. Once I comment out that code from 1 above, my headset works fine and
> sounds ok. However, if I do anything that sends a DTMF from my sip
> phone (I am using twinkle) it causes twinkle to go into a 100% cpu
> spin, and once to totally lock up my machine. Any idea why DTMF would
> cause that? Is there any way I can test or get more info to track down
> the problem?

please try it with plugz/patches/sco-flowcontrol-v3.0.diff applied.

Brad

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-devel] 2 plugz issues
@ 2007-01-07 23:58 Kevin Fenzi
  2007-01-08  0:36 ` Brad Midgley
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Fenzi @ 2007-01-07 23:58 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 651 bytes --]

>> 2. Once I comment out that code from 1 above, my headset works fine
>> and sounds ok. However, if I do anything that sends a DTMF from my
>> sip phone (I am using twinkle) it causes twinkle to go into a 100%
>> cpu spin, and once to totally lock up my machine. Any idea why DTMF
>> would cause that? Is there any way I can test or get more info to
>> track down the problem?

>please try it with plugz/patches/sco-flowcontrol-v3.0.diff applied.

It looks like thats against bluez-libs? 
What version? It doesn't apply to 3.7 cleanly... 

Or are they for something else? 
The files seem to match bluez-libs however. 

>Brad

kevin

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-devel] 2 plugz issues
  2007-01-07 23:58 [Bluez-devel] 2 plugz issues Kevin Fenzi
@ 2007-01-08  0:36 ` Brad Midgley
  0 siblings, 0 replies; 7+ messages in thread
From: Brad Midgley @ 2007-01-08  0:36 UTC (permalink / raw)
  To: BlueZ development

Kevin

> Or are they for something else? 

they will apply to a recent kernel tree, but you may need the official
bluez patch applied first. http://www.bluez.org/patches.html

brad

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-devel] 2 plugz issues
  2007-01-07 22:31 ` Brad Midgley
@ 2007-01-08 12:46   ` Fabien Chevalier
  0 siblings, 0 replies; 7+ messages in thread
From: Fabien Chevalier @ 2007-01-08 12:46 UTC (permalink / raw)
  To: BlueZ development, Brad Midgley

Kevin,
> 
>> 2. Once I comment out that code from 1 above, my headset works fine and
>> sounds ok. However, if I do anything that sends a DTMF from my sip
>> phone (I am using twinkle) it causes twinkle to go into a 100% cpu
>> spin, and once to totally lock up my machine. Any idea why DTMF would
>> cause that? Is there any way I can test or get more info to track down
>> the problem?
> 
> please try it with plugz/patches/sco-flowcontrol-v3.0.diff applied.
> 

I would second Brad remark. With an unpatched kernel you will experience 
kernel crashes. The test you removed from the code was supposed to check 
for the above kernel patch !! ;-)

Btw, i would like to update the project documentation, to explicitely 
say the kernel patch is mandatory.

Brad, how could i do this ? I noticed the web site content is available 
in docs directory of plugz module. Is it enough to modify this directory 
to update the web site ?

Cheers,

Fabien

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-devel] 2 plugz issues
@ 2007-01-08 21:37 Kevin Fenzi
  2007-01-08 22:32 ` Brad Midgley
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Fenzi @ 2007-01-08 21:37 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 1591 bytes --]

>Kevin,
>> 
>>> 2. Once I comment out that code from 1 above, my headset works fine
>>> and sounds ok. However, if I do anything that sends a DTMF from my
>>> sip phone (I am using twinkle) it causes twinkle to go into a 100%
>>> cpu spin, and once to totally lock up my machine. Any idea why DTMF
>>> would cause that? Is there any way I can test or get more info to
>>> track down the problem?
>> 
>> please try it with plugz/patches/sco-flowcontrol-v3.0.diff applied.
>> 

>I would second Brad remark. With an unpatched kernel you will
>experience kernel crashes. The test you removed from the code was
>supposed to check for the above kernel patch !! ;-)

Yeah, ok. You may want to change that message from the generic sounding 

Unable to set number of SCO buffers : please upgrade your Kernel!

to something like: 

Unable to set number of SCO buffers: Please apply kernel patches from
patches directory in the plugz source to your kernel and reboot with
that kernel. 

I'll try and find time to build a custom kernel and test it, but that
might take a while. I try and avoid building custom kernels these
days. ;( 

>
>Btw, i would like to update the project documentation, to explicitely
>say the kernel patch is mandatory.

If this patch is needed, is there any move to get it pushed to
upstream? One of the reasons I was very happy about this new setup was
that I didn't need to compile an out of tree module with every kernel
update, but now it's worse if I have to make a new kernel with this
patch. ;( 

>
>Cheers,
>
>Fabien

kevin

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-devel] 2 plugz issues
  2007-01-08 21:37 Kevin Fenzi
@ 2007-01-08 22:32 ` Brad Midgley
  0 siblings, 0 replies; 7+ messages in thread
From: Brad Midgley @ 2007-01-08 22:32 UTC (permalink / raw)
  To: BlueZ development

Kevin

> If this patch is needed, is there any move to get it pushed to
> upstream? One of the reasons I was very happy about this new setup was
> that I didn't need to compile an out of tree module with every kernel
> update, but now it's worse if I have to make a new kernel with this
> patch. ;( 

yes that is the idea. Fabien has been adapting it according to Marcel's
feedback but ultimately Marcel needs to give it the nod.

Brad

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-08 22:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-07 23:58 [Bluez-devel] 2 plugz issues Kevin Fenzi
2007-01-08  0:36 ` Brad Midgley
  -- strict thread matches above, loose matches on Subject: below --
2007-01-08 21:37 Kevin Fenzi
2007-01-08 22:32 ` Brad Midgley
2007-01-07 19:06 Kevin Fenzi
2007-01-07 22:31 ` Brad Midgley
2007-01-08 12:46   ` Fabien Chevalier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox