From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Re: multi rfcomm/sco connection
Date: Sun, 14 Nov 2004 17:34:57 +0100 [thread overview]
Message-ID: <1100450097.21403.53.camel@pegasus> (raw)
In-Reply-To: <419784ED.8080800@dark-reality.de>
Hi Lars,
> | The ioctl() way is a no go. You have everything you must know inside the
> | kernel. You know the number of SCO connections and the voice setting and
> | the driver must be able to deal with this by itself.
>
> Question is, how can we handle the endpoint selection when we can't use
> usb_set_interface() in the notify function? Or to be more precisly, when.
>
> Next question is what happens to not-yet-send packages, I think we must
> empty all queues before we can use usb_set_interface.
you must stop the current ISOC URBs and then change the alternate
setting and then submit them again. Even more you shouldn't started them
in the open routine. Only start them when a SCO link is created.
> What function in the kernel driver would you use to add this? maybe the
> send functions? We could set a flag "change endpoint to..." in notify
> and apply the change when queues are empty - and reject/hold new send
> urbs until we were able to change the endpoint setting.
I don't think that this will more, because you are in the wrong context
too. However check with in_interrupt() and do this always on a SMP and
preempt enabled kernel.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel
next prev parent reply other threads:[~2004-11-14 16:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20041110041405.3CC331D4758@sc8-sf-uberspam1.sourceforge.net>
2004-11-14 4:30 ` [Bluez-devel] Re: multi rfcomm/sco connection Suriyan
2004-11-14 15:35 ` Marcel Holtmann
2004-11-14 16:16 ` Lars Grunewaldt
2004-11-14 16:34 ` Marcel Holtmann [this message]
[not found] <E1CQIAu-0004AO-Dd@sc8-sf-list2.sourceforge.net>
2004-11-06 13:14 ` Suriyan
2004-11-06 13:50 ` Marcel Holtmann
2004-11-06 16:47 ` Lars Grunewaldt
2004-07-27 14:56 [Bluez-devel] SCO audio sync ubaldo
2004-07-27 15:06 ` Marcel Holtmann
2004-11-09 14:41 ` [Bluez-devel] Re: multi rfcomm/sco connection ubaldo
2004-11-10 0:52 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2004-06-18 17:54 [Bluez-devel] " ubaldo
2004-06-18 18:15 ` Marcel Holtmann
2004-06-18 18:33 ` ubaldo
2004-06-18 18:37 ` [Bluez-devel] " Marcel Holtmann
2004-06-18 18:42 ` ubaldo
2004-06-18 18:49 ` [Bluez-devel] " Marcel Holtmann
2004-07-16 14:02 ` ubaldo
2004-07-16 15:29 ` [Bluez-devel] " Marcel Holtmann
2004-08-04 22:45 ` Radha Thiagarajan
2004-08-04 23:35 ` Marcel Holtmann
2004-08-05 15:33 ` Radha Thiagarajan
2004-08-05 17:25 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1100450097.21403.53.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox