2005-09-21 10:55:11

by Philipp Zabel

[permalink] [raw]
Subject: [Bluez-devel] hcid: memory alignment problems on arm

Hi!

hcid causes alignment traps on arm architecture with the dbus part enabled.
I worked around this with the attached patch.
Can anybody help me to do this the right way?

--
Philipp


Attachments:
(No filename) (185.00 B)
hcid-alignment-fix.patch (1.17 kB)
Download all attachments

2005-09-22 11:24:31

by Philipp Zabel

[permalink] [raw]
Subject: Re: [Bluez-devel] hcid: memory alignment problems on arm

Hi Marcel,

> > is the attached patch also working for you? I think it is better to use
> > the D-Bus specific types.

It does work exactly the same as mine.
I still don't see pin request messages on the system message bus,
but the alignment issues are gone.

thanks
--
Philipp


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-09-22 09:43:55

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] hcid: memory alignment problems on arm

Hi Philipp,

> > > the patch looks good, but you must redo it against the latest CVS. I
> > > removed the compat code for the D-Bus 0.23 API.
> >
> > Thanks, I have attached an updated patch against CVS.
>
> is the attached patch also working for you? I think it is better to use
> the D-Bus specific types.

oops. Wrong patch. Try this one.

Regards

Marcel


Attachments:
patch (1.35 kB)

2005-09-22 09:35:21

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] hcid: memory alignment problems on arm

Hi Philipp,

> On 9/21/05, Marcel Holtmann <[email protected]> wrote:
> > the patch looks good, but you must redo it against the latest CVS. I
> > removed the compat code for the D-Bus 0.23 API.
>
> Thanks, I have attached an updated patch against CVS.

is the attached patch also working for you? I think it is better to use
the D-Bus specific types.

Regards

Marcel


Attachments:
patch (1.35 kB)

2005-09-22 09:18:22

by Philipp Zabel

[permalink] [raw]
Subject: Re: [Bluez-devel] hcid: memory alignment problems on arm

Hi Marcel,

On 9/21/05, Marcel Holtmann <[email protected]> wrote:
> the patch looks good, but you must redo it against the latest CVS. I
> removed the compat code for the D-Bus 0.23 API.

Thanks, I have attached an updated patch against CVS.

--
Philipp


Attachments:
(No filename) (257.00 B)
hcid-alignment-fix.patch (1.08 kB)
Download all attachments

2005-09-21 20:53:22

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] hcid: memory alignment problems on arm

Hi Philipp,

> hcid causes alignment traps on arm architecture with the dbus part enabled.
> I worked around this with the attached patch.
> Can anybody help me to do this the right way?

the patch looks good, but you must redo it against the latest CVS. I
removed the compat code for the D-Bus 0.23 API.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel