* [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
@ 2003-06-06 14:11 Stephen Crane
2003-06-06 15:37 ` Marcel Holtmann
0 siblings, 1 reply; 22+ messages in thread
From: Stephen Crane @ 2003-06-06 14:11 UTC (permalink / raw)
To: bluez-announce; +Cc: bluez-devel
Hi,
I don't want to preempt the official packager of the Zaurus BlueZ
distribution but I couldn't wait for Sharp to get around to distributing
the kernel source and needed to try out BlueZ on the new ROM.
So I built BlueZ kernel modules from a vanilla 2.4.18 plus Marcel's
2.4.18-mh6 patch-set and a bit of tweaking to the 2.4.6 kernel config
file.
>>From cursory testing, they seem to be ok: bluecard_cs is successfully
loaded and the latest versions of hciconfig, hcitool and sdptool all
work fine. (However YMMV, no warranty, don't blame me if your Z catches
fire, etc.)
I've uploaded them to our anonymous ftp area, along with the PCMCIA
configuration files, bluetooth and bluetooth.conf. Get them from
ftp://rococosoft.com/pub/zaurus
Installation:
* unpack the tar-ball in the /home/root/modules/2.4.18-rmk7-pxa3-embedix
directory
* run depmod -ae
* install bluetooth and bluetooth.conf in /etc/pcmcia
* run /etc/rc.d/init.d/pcmcia restart
Cheers,
Steve
--
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
steve.crane@rococosoft.com +353-1-6601315 (ext 209)
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-06 14:11 [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10 Stephen Crane
@ 2003-06-06 15:37 ` Marcel Holtmann
2003-06-09 10:56 ` Stephen Crane
0 siblings, 1 reply; 22+ messages in thread
From: Marcel Holtmann @ 2003-06-06 15:37 UTC (permalink / raw)
To: Stephen Crane; +Cc: BlueZ Mailing List
Hi Stephen,
> I don't want to preempt the official packager of the Zaurus BlueZ
> distribution but I couldn't wait for Sharp to get around to distributing
> the kernel source and needed to try out BlueZ on the new ROM.
>
> So I built BlueZ kernel modules from a vanilla 2.4.18 plus Marcel's
> 2.4.18-mh6 patch-set and a bit of tweaking to the 2.4.6 kernel config
> file.
>
> >From cursory testing, they seem to be ok: bluecard_cs is successfully
> loaded and the latest versions of hciconfig, hcitool and sdptool all
> work fine. (However YMMV, no warranty, don't blame me if your Z catches
> fire, etc.)
>
> I've uploaded them to our anonymous ftp area, along with the PCMCIA
> configuration files, bluetooth and bluetooth.conf. Get them from
> ftp://rococosoft.com/pub/zaurus
>
> Installation:
> * unpack the tar-ball in the /home/root/modules/2.4.18-rmk7-pxa3-embedix
> directory
> * run depmod -ae
> * install bluetooth and bluetooth.conf in /etc/pcmcia
> * run /etc/rc.d/init.d/pcmcia restart
the current Zaurus packages are done by Joseph Ecker and the kernel
modules are based on the deprecated bluez-kernel-2.3 package. It seems
that it is really time to have up-to-date kernel modules for the Zaurus.
Frist I don't like Joseph last choise to put the userspace tools and the
kernel modules into one big package. I like to see the kernel stuff
seperated from the userspace tools. However I have no Zaurus, so I can't
help with that. But some time ago I put some scripts in the BlueZ kernel
CVS repository which makes it possible to compile and install the
Bluetooth modules outside the kernel source. Maybe you should take a
look at it and provide some easy to install ipk packages.
The OpenZaurus project will use a 2.4.19 in future and hopefully they
include my patch. Do anyone have details about this.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-06 15:37 ` Marcel Holtmann
@ 2003-06-09 10:56 ` Stephen Crane
2003-06-11 15:33 ` Xavier Garreau
0 siblings, 1 reply; 22+ messages in thread
From: Stephen Crane @ 2003-06-09 10:56 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
Hi Marcel,
On Fri, 2003-06-06 at 16:37, Marcel Holtmann wrote:
> the current Zaurus packages are done by Joseph Ecker and the kernel
> modules are based on the deprecated bluez-kernel-2.3 package. It seems
> that it is really time to have up-to-date kernel modules for the Zaurus.
> Frist I don't like Joseph last choise to put the userspace tools and the
> kernel modules into one big package. I like to see the kernel stuff
> seperated from the userspace tools.
Yeah me too. Particularly because it's much easier to build the
user-space tools with a cross-compiler.
> However I have no Zaurus, so I can't
> help with that. But some time ago I put some scripts in the BlueZ kernel
> CVS repository which makes it possible to compile and install the
> Bluetooth modules outside the kernel source. Maybe you should take a
> look at it and provide some easy to install ipk packages.
I will think about doing this if I get some time. For now, I have
uploaded the latest basic user-space binaries separately to
ftp://rococosoft.com/pub/zaurus with instructions for installing them in
the right places. It would not be too hard to write packaging scripts
for them --- indeed this is something anyone could do using the
ipkg-build script; volunteers?
> The OpenZaurus project will use a 2.4.19 in future and hopefully they
> include my patch. Do anyone have details about this.
We only have 2 Zauruses here (one with the older Sharp ROM and the other
with the new one) so I can't try OpenZaurus :-(
Steve
--
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
steve.crane@rococosoft.com +353-1-6601315 (ext 209)
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-09 10:56 ` Stephen Crane
@ 2003-06-11 15:33 ` Xavier Garreau
2003-06-11 15:36 ` Xavier Garreau
2003-06-29 3:05 ` Justin Karneges
0 siblings, 2 replies; 22+ messages in thread
From: Xavier Garreau @ 2003-06-11 15:33 UTC (permalink / raw)
To: Stephen Crane, Marcel Holtmann; +Cc: BlueZ Mailing List
> > kernel modules into one big package. I like to see the kernel stuff
> > seperated from the userspace tools.
>
> Yeah me too. Particularly because it's much easier to build the
> user-space tools with a cross-compiler.
Not in this release.
> I will think about doing this if I get some time. For now, I have
> uploaded the latest basic user-space binaries separately to
> ftp://rococosoft.com/pub/zaurus with instructions for installing them in
> the right places. It would not be too hard to write packaging scripts
> for them --- indeed this is something anyone could do using the
> ipkg-build script; volunteers?
I did it : http://fichiers.xgarreau.org/zaurus/bluez_2.4.18_arm.ipk
It installs the files in the right directories, make the symlinks, try to
guess what card it is and bring device up.
Please keep me informed of new builds so that i keep the package up to date.
BR
--
Xavier Garreau
http://www.xgarreau.org/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-11 15:33 ` Xavier Garreau
@ 2003-06-11 15:36 ` Xavier Garreau
2003-06-29 3:05 ` Justin Karneges
1 sibling, 0 replies; 22+ messages in thread
From: Xavier Garreau @ 2003-06-11 15:36 UTC (permalink / raw)
To: BlueZ Mailing List
> Subject: Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM
v3.10
Just remember : plug in the card before installing the ipk or the card won't
be recognized ;-)
--
Xavier Garreau
http://www.xgarreau.org/
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-11 15:33 ` Xavier Garreau
2003-06-11 15:36 ` Xavier Garreau
@ 2003-06-29 3:05 ` Justin Karneges
2003-06-29 4:17 ` Justin Karneges
1 sibling, 1 reply; 22+ messages in thread
From: Justin Karneges @ 2003-06-29 3:05 UTC (permalink / raw)
To: Xavier Garreau, Stephen Crane; +Cc: BlueZ Mailing List
Hi,
I'm working towards easy Bluetooth on the Zaurus. I have a bluez GUI tool and
qtopia dialer plugin in the works.
However, getting bluez installed was never easy. In the past, I was using the
ipks available at bluez.sf.net, which were never very complete.
Today, I sought to remedy this, and tried cross compiling modules and the
libs/utilities. I ran into a heap of trouble, and then discovered this
thread. I'm glad someone else is looking into this stuff too. :)
My original goal was to get this working with kernel 2.4.6, but I'm not sure
how realistic that is. I didn't know about the new sharp ROM until today,
which I have now installed. I guess it is acceptable to work with this as a
target, and considering it comes with kernel 2.4.18, it should make a lot of
things easier.
Xavier's package looks good. The only flaw I think is that it does not set up
/etc/bluetooth.
I'd like to see some secrets shared. Could Steve or Xavier respond to me here
or on the list, so that we can make something more official?
-Justin
On Wednesday 11 June 2003 08:33 am, Xavier Garreau wrote:
> > > kernel modules into one big package. I like to see the kernel stuff
> > > seperated from the userspace tools.
> >
> > Yeah me too. Particularly because it's much easier to build the
> > user-space tools with a cross-compiler.
>
> Not in this release.
>
> > I will think about doing this if I get some time. For now, I have
> > uploaded the latest basic user-space binaries separately to
> > ftp://rococosoft.com/pub/zaurus with instructions for installing them in
> > the right places. It would not be too hard to write packaging scripts
> > for them --- indeed this is something anyone could do using the
> > ipkg-build script; volunteers?
>
> I did it : http://fichiers.xgarreau.org/zaurus/bluez_2.4.18_arm.ipk
>
> It installs the files in the right directories, make the symlinks, try to
> guess what card it is and bring device up.
>
> Please keep me informed of new builds so that i keep the package up to
> date.
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-29 3:05 ` Justin Karneges
@ 2003-06-29 4:17 ` Justin Karneges
2003-06-30 12:46 ` Xavier Garreau
0 siblings, 1 reply; 22+ messages in thread
From: Justin Karneges @ 2003-06-29 4:17 UTC (permalink / raw)
To: BlueZ Mailing List; +Cc: Xavier Garreau, Stephen Crane
Ok, I thought of a few more things, so to jumpstart the discussion I'll say
them now:
> > It installs the files in the right directories, make the symlinks, try to
> > guess what card it is and bring device up.
First, what is this about card detection during ipk install? I didn't have a
problem with that (I inserted my card after install), and IMO there should be
no such detection in the installer if there is.
Second, rfcomm is missing.
Third, the /dev nodes are not created. When they are, ensure that they can
survive a reboot.
For the future, I think hcid should be run on install and on future bootups,
as it is required to do anything useful. I'm not sure about sdpd though (i
admit i'm not up on what sdp does, can someone shed some light if this is
needed?). Whatever daemons are run should have proper pid accounting in
/var, so that front-ends can access them. For instance, my GUI that modifies
/etc/bluetooth/hcid.conf will need a way to find hcid's pid so it can send
HUP.
Then also pin handling: There should be a /usr/bin/bluepin that does the
following:
- check to see if Qtopia is up.
- if not, echo ERR.
- else, call my qt btpin program (let's assume it is /usr/bin/btpin)
This way the pin should properly work even during the moment where hcid is
running but qtopia is not fully booted yet.
I think this should do it. Am I missing anything?
By the way, you may see my GUI package here:
http://www.affinix.com/~justin/zaurus-bluetooth-0.6.tar.gz
It is rather old, but works. Unfortunately, it seems the dialer part does not
work on the new Sharp ROM. Argh, I'll have to fix this ..
-Justin
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-29 4:17 ` Justin Karneges
@ 2003-06-30 12:46 ` Xavier Garreau
2003-06-30 20:14 ` Justin Karneges
0 siblings, 1 reply; 22+ messages in thread
From: Xavier Garreau @ 2003-06-30 12:46 UTC (permalink / raw)
To: Justin Karneges, BlueZ Mailing List; +Cc: Stephen Crane
> Subject: Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM
v3.10
I'm still interrested in packaging bluez core, libs and apps for the zaurus.
When all is compiled and ready to work, i'll make another package.
I thought card detection during ipk install was a good thing to be done, if
i'm the only one wanting it, it can be removed...
I'll put rfcomm and bluepin, as soon as they are available.
> Third, the /dev nodes are not created. When they are, ensure that they
can
> survive a reboot.
That's true...
> By the way, you may see my GUI package here:
> http://www.affinix.com/~justin/zaurus-bluetooth-0.6.tar.gz
This can be added in the utils package. I think we need a kernel package, a
libs package and a utils package. But it can be further discussed...
BR,
--
Xavier Garreau
http://www.xgarreau.org/
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-30 12:46 ` Xavier Garreau
@ 2003-06-30 20:14 ` Justin Karneges
2003-07-01 7:12 ` Xavier Garreau
` (2 more replies)
0 siblings, 3 replies; 22+ messages in thread
From: Justin Karneges @ 2003-06-30 20:14 UTC (permalink / raw)
To: Xavier Garreau, BlueZ Mailing List; +Cc: Stephen Crane
> > By the way, you may see my GUI package here:
> > http://www.affinix.com/~justin/zaurus-bluetooth-0.6.tar.gz
>
> This can be added in the utils package. I think we need a kernel package, a
> libs package and a utils package. But it can be further discussed...
What I'd like is to have an official "zaurus bluetooth" CVS for all of this
stuff, that can be periodically sync'ed with bluez. Then we can generate
packages however we wish. Personally, I just want one package that has
everything. A newbie should be able to install the "Zaurus Bluetooth
package" and be up and running, without touching the command line.
I'm willing to create builds too, as soon as I can figure out how to actually
do it. It seems I'm able to build the libs / utils by hand (running
arm-linux-gcc on each file and taking what i need. can't seem to use
autotools correctly ...), but I've had no luck with building kernel modules
(they just crash when used). What is your secret? Got any URLs?
Also, I think I found a bug in dtl1_cs and/or bluez itself: the card cannot
survive a suspend. Turning off / on the Zaurus, or simply running "cardctl
suspend ; cardctl resume" will leave the driver in an unusable state.
Running "cardctl eject ; cardctl insert" fixes the problem. I'm willing to
hack on the driver and remedy this, if I could just figure out how to
cross-compile the modules...
-Justin
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-30 20:14 ` Justin Karneges
@ 2003-07-01 7:12 ` Xavier Garreau
2003-07-01 7:50 ` Justin Karneges
2003-07-01 9:12 ` Stephen Crane
2003-07-01 13:00 ` Marcel Holtmann
2 siblings, 1 reply; 22+ messages in thread
From: Xavier Garreau @ 2003-07-01 7:12 UTC (permalink / raw)
To: BlueZ Mailing List, Justin Karneges
> Also, I think I found a bug in dtl1_cs and/or bluez itself: the card
cannot
> survive a suspend. Turning off / on the Zaurus, or simply running
"cardctl
> suspend ; cardctl resume" will leave the driver in an unusable state.
> Running "cardctl eject ; cardctl insert" fixes the problem. I'm willing
to
> hack on the driver and remedy this, if I could just figure out how to
> cross-compile the modules...
This bug happens with every PC Card | CF Card I've tested.
BR
--
Xavier Garreau
http://www.xgarreau.org/
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-01 7:12 ` Xavier Garreau
@ 2003-07-01 7:50 ` Justin Karneges
0 siblings, 0 replies; 22+ messages in thread
From: Justin Karneges @ 2003-07-01 7:50 UTC (permalink / raw)
To: BlueZ Mailing List
Max, Marcel, can you comment on this bug? I'd like to get to the bottom of
it.
-Justin
On Tuesday 01 July 2003 12:12 am, Xavier Garreau wrote:
> > Also, I think I found a bug in dtl1_cs and/or bluez itself: the card
>
> cannot
>
> > survive a suspend. Turning off / on the Zaurus, or simply running
>
> "cardctl
>
> > suspend ; cardctl resume" will leave the driver in an unusable state.
> > Running "cardctl eject ; cardctl insert" fixes the problem. I'm willing
>
> to
>
> > hack on the driver and remedy this, if I could just figure out how to
> > cross-compile the modules...
>
> This bug happens with every PC Card | CF Card I've tested.
>
> BR
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-30 20:14 ` Justin Karneges
2003-07-01 7:12 ` Xavier Garreau
@ 2003-07-01 9:12 ` Stephen Crane
2003-07-01 9:27 ` Justin Karneges
2003-07-01 13:00 ` Marcel Holtmann
2 siblings, 1 reply; 22+ messages in thread
From: Stephen Crane @ 2003-07-01 9:12 UTC (permalink / raw)
To: Justin Karneges; +Cc: Xavier Garreau, BlueZ Mailing List
Justin,
You can cross-compile the user-space parts of BlueZ as follows:
export CC=arm-linux-gcc
export LD=arm-linux-ld
export NM=arm-linux-nm
export RANLIB=arm-linux-ranlib
export PATH=/opt/Embedix/tools/bin:$PATH
./configure --prefix=/opt/Embedix/tools/arm-linux --host=arm-linux
make
(This is how I do it anyway.)
On Mon, 2003-06-30 at 21:14, Justin Karneges wrote:
> > > By the way, you may see my GUI package here:
> > > http://www.affinix.com/~justin/zaurus-bluetooth-0.6.tar.gz
> >
> > This can be added in the utils package. I think we need a kernel package, a
> > libs package and a utils package. But it can be further discussed...
>
> What I'd like is to have an official "zaurus bluetooth" CVS for all of this
> stuff, that can be periodically sync'ed with bluez. Then we can generate
> packages however we wish. Personally, I just want one package that has
> everything. A newbie should be able to install the "Zaurus Bluetooth
> package" and be up and running, without touching the command line.
I disagree about the need for an official Zaurus CVS. We can put the
scripts to build the Zaurus packages in the normal place (as is done for
the rpm spec files).
> I'm willing to create builds too, as soon as I can figure out how to actually
> do it. It seems I'm able to build the libs / utils by hand (running
> arm-linux-gcc on each file and taking what i need. can't seem to use
> autotools correctly ...), but I've had no luck with building kernel modules
> (they just crash when used). What is your secret? Got any URLs?
>
> Also, I think I found a bug in dtl1_cs and/or bluez itself: the card cannot
> survive a suspend. Turning off / on the Zaurus, or simply running "cardctl
> suspend ; cardctl resume" will leave the driver in an unusable state.
> Running "cardctl eject ; cardctl insert" fixes the problem. I'm willing to
> hack on the driver and remedy this, if I could just figure out how to
> cross-compile the modules...
--
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
steve.crane@rococosoft.com +353-1-6601315 (ext 209)
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-01 9:12 ` Stephen Crane
@ 2003-07-01 9:27 ` Justin Karneges
2003-07-01 11:45 ` Stephen Crane
2003-07-01 11:50 ` Stephen Crane
0 siblings, 2 replies; 22+ messages in thread
From: Justin Karneges @ 2003-07-01 9:27 UTC (permalink / raw)
To: Stephen Crane; +Cc: BlueZ Mailing List
Excellent, Stephen. :)
What about the kernel modules? By the way, is dtl1_cs meant to be separated
from the kernel? I didn't see it in 2.4.18 even after applying
patch-2.4.18-mh7.
-Justin
On Tuesday 01 July 2003 02:12 am, Stephen Crane wrote:
> Justin,
> You can cross-compile the user-space parts of BlueZ as follows:
>
> export CC=arm-linux-gcc
> export LD=arm-linux-ld
> export NM=arm-linux-nm
> export RANLIB=arm-linux-ranlib
> export PATH=/opt/Embedix/tools/bin:$PATH
> ./configure --prefix=/opt/Embedix/tools/arm-linux --host=arm-linux
> make
>
> (This is how I do it anyway.)
>
> On Mon, 2003-06-30 at 21:14, Justin Karneges wrote:
> > > > By the way, you may see my GUI package here:
> > > > http://www.affinix.com/~justin/zaurus-bluetooth-0.6.tar.gz
> > >
> > > This can be added in the utils package. I think we need a kernel
> > > package, a libs package and a utils package. But it can be further
> > > discussed...
> >
> > What I'd like is to have an official "zaurus bluetooth" CVS for all of
> > this stuff, that can be periodically sync'ed with bluez. Then we can
> > generate packages however we wish. Personally, I just want one package
> > that has everything. A newbie should be able to install the "Zaurus
> > Bluetooth package" and be up and running, without touching the command
> > line.
>
> I disagree about the need for an official Zaurus CVS. We can put the
> scripts to build the Zaurus packages in the normal place (as is done for
> the rpm spec files).
>
> > I'm willing to create builds too, as soon as I can figure out how to
> > actually do it. It seems I'm able to build the libs / utils by hand
> > (running arm-linux-gcc on each file and taking what i need. can't seem
> > to use autotools correctly ...), but I've had no luck with building
> > kernel modules (they just crash when used). What is your secret? Got
> > any URLs?
> >
> > Also, I think I found a bug in dtl1_cs and/or bluez itself: the card
> > cannot survive a suspend. Turning off / on the Zaurus, or simply running
> > "cardctl suspend ; cardctl resume" will leave the driver in an unusable
> > state. Running "cardctl eject ; cardctl insert" fixes the problem. I'm
> > willing to hack on the driver and remedy this, if I could just figure out
> > how to cross-compile the modules...
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-01 9:27 ` Justin Karneges
@ 2003-07-01 11:45 ` Stephen Crane
2003-07-01 13:02 ` Marcel Holtmann
2003-07-01 11:50 ` Stephen Crane
1 sibling, 1 reply; 22+ messages in thread
From: Stephen Crane @ 2003-07-01 11:45 UTC (permalink / raw)
To: Justin Karneges; +Cc: BlueZ Mailing List, marcel
See http://www.holtmann.org/linux/bluetooth/dtl1.html
It was only merged in 2.4.20 and 2.5.30. Perhaps Marcel needs to provide
it in his BlueZ patch for 2.4.18 and 2.4.19?
On Tue, 2003-07-01 at 10:27, Justin Karneges wrote:
> Excellent, Stephen. :)
>
> What about the kernel modules? By the way, is dtl1_cs meant to be separated
> from the kernel? I didn't see it in 2.4.18 even after applying
> patch-2.4.18-mh7.
>
> -Justin
>
> On Tuesday 01 July 2003 02:12 am, Stephen Crane wrote:
> > Justin,
> > You can cross-compile the user-space parts of BlueZ as follows:
> >
> > export CC=arm-linux-gcc
> > export LD=arm-linux-ld
> > export NM=arm-linux-nm
> > export RANLIB=arm-linux-ranlib
> > export PATH=/opt/Embedix/tools/bin:$PATH
> > ./configure --prefix=/opt/Embedix/tools/arm-linux --host=arm-linux
> > make
> >
> > (This is how I do it anyway.)
> >
> > On Mon, 2003-06-30 at 21:14, Justin Karneges wrote:
> > > > > By the way, you may see my GUI package here:
> > > > > http://www.affinix.com/~justin/zaurus-bluetooth-0.6.tar.gz
> > > >
> > > > This can be added in the utils package. I think we need a kernel
> > > > package, a libs package and a utils package. But it can be further
> > > > discussed...
> > >
> > > What I'd like is to have an official "zaurus bluetooth" CVS for all of
> > > this stuff, that can be periodically sync'ed with bluez. Then we can
> > > generate packages however we wish. Personally, I just want one package
> > > that has everything. A newbie should be able to install the "Zaurus
> > > Bluetooth package" and be up and running, without touching the command
> > > line.
> >
> > I disagree about the need for an official Zaurus CVS. We can put the
> > scripts to build the Zaurus packages in the normal place (as is done for
> > the rpm spec files).
> >
> > > I'm willing to create builds too, as soon as I can figure out how to
> > > actually do it. It seems I'm able to build the libs / utils by hand
> > > (running arm-linux-gcc on each file and taking what i need. can't seem
> > > to use autotools correctly ...), but I've had no luck with building
> > > kernel modules (they just crash when used). What is your secret? Got
> > > any URLs?
> > >
> > > Also, I think I found a bug in dtl1_cs and/or bluez itself: the card
> > > cannot survive a suspend. Turning off / on the Zaurus, or simply running
> > > "cardctl suspend ; cardctl resume" will leave the driver in an unusable
> > > state. Running "cardctl eject ; cardctl insert" fixes the problem. I'm
> > > willing to hack on the driver and remedy this, if I could just figure out
> > > how to cross-compile the modules...
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
--
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
steve.crane@rococosoft.com +353-1-6601315 (ext 209)
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-01 9:27 ` Justin Karneges
2003-07-01 11:45 ` Stephen Crane
@ 2003-07-01 11:50 ` Stephen Crane
1 sibling, 0 replies; 22+ messages in thread
From: Stephen Crane @ 2003-07-01 11:50 UTC (permalink / raw)
To: Justin Karneges; +Cc: BlueZ Mailing List
On Tue, 2003-07-01 at 10:27, Justin Karneges wrote:
> What about the kernel modules?
Well I have a sort of heath-robinson setup here which works (but I'm not
recommending it). If you have the bandwidth, download this:
ftp://rococosoft.com/pub/zaurus/linux-2.4.18-pxa3-embedix.tar.bz2
It is a kludged-together source tree which can't build the kernel (but
manages the modules we're interested).
You can get fairly recent binaries from that site as well (they're the
ones which Xavier used, AFAIR).
Steve
--
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
steve.crane@rococosoft.com +353-1-6601315 (ext 209)
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-06-30 20:14 ` Justin Karneges
2003-07-01 7:12 ` Xavier Garreau
2003-07-01 9:12 ` Stephen Crane
@ 2003-07-01 13:00 ` Marcel Holtmann
2003-07-01 21:38 ` Justin Karneges
2 siblings, 1 reply; 22+ messages in thread
From: Marcel Holtmann @ 2003-07-01 13:00 UTC (permalink / raw)
To: Justin Karneges; +Cc: Xavier Garreau, BlueZ Mailing List, Stephen Crane
Hi Justin,
> What I'd like is to have an official "zaurus bluetooth" CVS for all of this
> stuff, that can be periodically sync'ed with bluez. Then we can generate
> packages however we wish. Personally, I just want one package that has
> everything. A newbie should be able to install the "Zaurus Bluetooth
> package" and be up and running, without touching the command line.
the two big parts with BlueZ are the kernel modules and the userspace
stuff. The kernel stuff is the essential and the most problematic part.
And I think that we should have a package which only contains the BlueZ
kernel modules. Maybe we need different builds from the same source for
Sharp Kernel 2.4.6, 2.4.18 and OpenZaurus Kernel 2.4.18, 2.4.19.
I don't have a Zaurus, so I can't help here. Who wants to volunteer for
the Zaurus kernel package maintainer?
The BlueZ CVS module "kernel" contains a build system for building the
BlueZ kernel modules outside a kernel source tree. I am willing to
extend this as needed.
> Also, I think I found a bug in dtl1_cs and/or bluez itself: the card cannot
> survive a suspend. Turning off / on the Zaurus, or simply running "cardctl
> suspend ; cardctl resume" will leave the driver in an unusable state.
> Running "cardctl eject ; cardctl insert" fixes the problem. I'm willing to
> hack on the driver and remedy this, if I could just figure out how to
> cross-compile the modules...
This is a known problem, but I don't have a Zaurus and so I can't test
it. On my development machine is this working without any problems.
Regards
Marcel
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-01 13:00 ` Marcel Holtmann
@ 2003-07-01 21:38 ` Justin Karneges
2003-07-02 0:26 ` Marcel Holtmann
2003-07-02 7:02 ` Xavier Garreau
0 siblings, 2 replies; 22+ messages in thread
From: Justin Karneges @ 2003-07-01 21:38 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
> the two big parts with BlueZ are the kernel modules and the userspace
> stuff. The kernel stuff is the essential and the most problematic part.
> And I think that we should have a package which only contains the BlueZ
> kernel modules. Maybe we need different builds from the same source for
> Sharp Kernel 2.4.6, 2.4.18 and OpenZaurus Kernel 2.4.18, 2.4.19.
This would be nice, if indeed we can support this on 2.4.6. Although, I
believe the earlier Sharp ROM has similar suspending issues related to
cardmgr (this is what Max told me in January). For bluetooth to work
reliably here, we may need to offer a cardmgr upgrade.
> I don't have a Zaurus, so I can't help here. Who wants to volunteer for
> the Zaurus kernel package maintainer?
I would like to volunteer for this, when I get a build setup working (I will
try Stephen's soon).
> The BlueZ CVS module "kernel" contains a build system for building the
> BlueZ kernel modules outside a kernel source tree. I am willing to
> extend this as needed.
What extensions do you suppose are needed?
> > Also, I think I found a bug in dtl1_cs and/or bluez itself: the card
> > cannot survive a suspend. Turning off / on the Zaurus, or simply running
> > "cardctl suspend ; cardctl resume" will leave the driver in an unusable
> > state. Running "cardctl eject ; cardctl insert" fixes the problem. I'm
> > willing to hack on the driver and remedy this, if I could just figure out
> > how to cross-compile the modules...
>
> This is a known problem, but I don't have a Zaurus and so I can't test
> it. On my development machine is this working without any problems.
Do you have any hint about where it may be? Maybe the Zaurus does not send
appropriate signals to the driver that it is shutting down? I'd like to look
into this, but I need some direction first. For instance, if it affects all
drivers, not just dtl1_cs, then either all drivers have the same "bug", or
the bug is in the bluez core, right?
What is significant about cardctl suspend? This will break the driver also,
and perhaps it easier to look into this than the full pda suspend.
-Justin
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-01 21:38 ` Justin Karneges
@ 2003-07-02 0:26 ` Marcel Holtmann
2003-07-02 1:10 ` Justin Karneges
2003-07-02 7:02 ` Xavier Garreau
1 sibling, 1 reply; 22+ messages in thread
From: Marcel Holtmann @ 2003-07-02 0:26 UTC (permalink / raw)
To: Justin Karneges; +Cc: BlueZ Mailing List
Hi Justin,
> > the two big parts with BlueZ are the kernel modules and the userspace
> > stuff. The kernel stuff is the essential and the most problematic part.
> > And I think that we should have a package which only contains the BlueZ
> > kernel modules. Maybe we need different builds from the same source for
> > Sharp Kernel 2.4.6, 2.4.18 and OpenZaurus Kernel 2.4.18, 2.4.19.
>
> This would be nice, if indeed we can support this on 2.4.6. Although, I
> believe the earlier Sharp ROM has similar suspending issues related to
> cardmgr (this is what Max told me in January). For bluetooth to work
> reliably here, we may need to offer a cardmgr upgrade.
let us first get a BlueZ kernel package, before we talk about updating
or replacing other daemons or tools.
> > I don't have a Zaurus, so I can't help here. Who wants to volunteer for
> > the Zaurus kernel package maintainer?
>
> I would like to volunteer for this, when I get a build setup working (I will
> try Stephen's soon).
Ok.
> > The BlueZ CVS module "kernel" contains a build system for building the
> > BlueZ kernel modules outside a kernel source tree. I am willing to
> > extend this as needed.
>
> What extensions do you suppose are needed?
I hope that you don't need any extensions. Have you tried it?
> > > Also, I think I found a bug in dtl1_cs and/or bluez itself: the card
> > > cannot survive a suspend. Turning off / on the Zaurus, or simply running
> > > "cardctl suspend ; cardctl resume" will leave the driver in an unusable
> > > state. Running "cardctl eject ; cardctl insert" fixes the problem. I'm
> > > willing to hack on the driver and remedy this, if I could just figure out
> > > how to cross-compile the modules...
> >
> > This is a known problem, but I don't have a Zaurus and so I can't test
> > it. On my development machine is this working without any problems.
>
> Do you have any hint about where it may be? Maybe the Zaurus does not send
> appropriate signals to the driver that it is shutting down? I'd like to look
> into this, but I need some direction first. For instance, if it affects all
> drivers, not just dtl1_cs, then either all drivers have the same "bug", or
> the bug is in the bluez core, right?
>
> What is significant about cardctl suspend? This will break the driver also,
> and perhaps it easier to look into this than the full pda suspend.
As I know, that happen to all cards with a special driver (dtl1_cs and
bluecard_cs) and I don't know why.
Regards
Marcel
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-02 0:26 ` Marcel Holtmann
@ 2003-07-02 1:10 ` Justin Karneges
0 siblings, 0 replies; 22+ messages in thread
From: Justin Karneges @ 2003-07-02 1:10 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
On Tuesday 01 July 2003 05:26 pm, Marcel Holtmann wrote:
> > What is significant about cardctl suspend? This will break the driver
> > also, and perhaps it easier to look into this than the full pda suspend.
>
> As I know, that happen to all cards with a special driver (dtl1_cs and
> bluecard_cs) and I don't know why.
As soon as I am able to build the modules, is there any way I can help you
assist in debugging this? Maybe I can sprinkle some printfs around the
suspend-handling code or elsewhere, and we can track down at what point the
driver fails?
-Justin
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-01 21:38 ` Justin Karneges
2003-07-02 0:26 ` Marcel Holtmann
@ 2003-07-02 7:02 ` Xavier Garreau
2003-07-02 8:37 ` Marcel Holtmann
1 sibling, 1 reply; 22+ messages in thread
From: Xavier Garreau @ 2003-07-02 7:02 UTC (permalink / raw)
To: Justin Karneges, Marcel Holtmann; +Cc: BlueZ Mailing List
> Do you have any hint about where it may be? Maybe the Zaurus does not
send
> appropriate signals to the driver that it is shutting down? I'd like to
look
> into this, but I need some direction first. For instance, if it affects
all
> drivers, not just dtl1_cs, then either all drivers have the same "bug", or
> the bug is in the bluez core, right?
Laptops are affected as well, at least those using bc3c_cs...
BR
--
Xavier Garreau
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10
2003-07-02 7:02 ` Xavier Garreau
@ 2003-07-02 8:37 ` Marcel Holtmann
0 siblings, 0 replies; 22+ messages in thread
From: Marcel Holtmann @ 2003-07-02 8:37 UTC (permalink / raw)
To: Xavier Garreau; +Cc: Justin Karneges, BlueZ Mailing List
Hi Xavier,
> > Do you have any hint about where it may be? Maybe the Zaurus does not
> send
> > appropriate signals to the driver that it is shutting down? I'd like to
> look
> > into this, but I need some direction first. For instance, if it affects
> all
> > drivers, not just dtl1_cs, then either all drivers have the same "bug", or
> > the bug is in the bluez core, right?
>
> Laptops are affected as well, at least those using bc3c_cs...
the bt3c_cs is another story due the needed firmware load :(
Regards
Marcel
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2003-07-02 8:37 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06 14:11 [Bluez-devel] [ANN] Zaurus BlueZ kernel packages for ROM v3.10 Stephen Crane
2003-06-06 15:37 ` Marcel Holtmann
2003-06-09 10:56 ` Stephen Crane
2003-06-11 15:33 ` Xavier Garreau
2003-06-11 15:36 ` Xavier Garreau
2003-06-29 3:05 ` Justin Karneges
2003-06-29 4:17 ` Justin Karneges
2003-06-30 12:46 ` Xavier Garreau
2003-06-30 20:14 ` Justin Karneges
2003-07-01 7:12 ` Xavier Garreau
2003-07-01 7:50 ` Justin Karneges
2003-07-01 9:12 ` Stephen Crane
2003-07-01 9:27 ` Justin Karneges
2003-07-01 11:45 ` Stephen Crane
2003-07-01 13:02 ` Marcel Holtmann
2003-07-01 11:50 ` Stephen Crane
2003-07-01 13:00 ` Marcel Holtmann
2003-07-01 21:38 ` Justin Karneges
2003-07-02 0:26 ` Marcel Holtmann
2003-07-02 1:10 ` Justin Karneges
2003-07-02 7:02 ` Xavier Garreau
2003-07-02 8:37 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.