2009-06-21 13:39:06

by Bastien Nocera

[permalink] [raw]
Subject: [PATCH] Add udev rules to start bluetooth on-demand

As discussed in previous mails.

Cheers


Attachments:
0001-Add-udev-rules-to-start-bluetooth-on-demand.patch (1.07 kB)

2009-06-30 01:07:15

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

Hi Bastien,

> > > > > > > > > > > As discussed in previous mails.
> > > > > > > > > >
> > > > > > > > > > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > > > > > > > > > not bluezd.
> > > > > > > > > >
> > > > > > > > > > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > > > > > > > > > added to the distribution automatically. For all this changes, you have
> > > > > > > > > > to check with make distcheck.
> > > > > > > > >
> > > > > > > > > Fixed version attached
> > > > > > > >
> > > > > > > > we might need to put this into ifndef INITSCRIPTS since it makes no
> > > > > > > > sense to install the init script and the udev rule at the same time.
> > > > > > >
> > > > > > > Revised patch attached
> > > > > >
> > > > > > +
> > > > > > +if INISCRIPTS
> > > > > > +else
> > > > > > +rules_DATA += bluetooth.rules
> > > > > > endif
> > > > >
> > > > > ifndef isn't an automake construct.
> > > > >
> > > >
> > > > then if !INITSCRIPTS should do it. However I was more asking about the
> > > > spelling mistake. You forgot a T ;)
> > >
> > > Well, that's embarrassing...
> >
> > are you sending a new patch :)
>
> Thought you'd fix the typo, and commit.

not if you wanna keep your author name on the patch.

Also does if !INITSCRIPTS not work?

And why does your patch now has two statements for rules_DATA?

Regards

Marcel



2009-06-29 15:03:00

by Bastien Nocera

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

On Sat, 2009-06-27 at 12:27 +0200, Marcel Holtmann wrote:
> Hi Bastien,
>
> > > > > > > > > > As discussed in previous mails.
> > > > > > > > >
> > > > > > > > > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > > > > > > > > not bluezd.
> > > > > > > > >
> > > > > > > > > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > > > > > > > > added to the distribution automatically. For all this changes, you have
> > > > > > > > > to check with make distcheck.
> > > > > > > >
> > > > > > > > Fixed version attached
> > > > > > >
> > > > > > > we might need to put this into ifndef INITSCRIPTS since it makes no
> > > > > > > sense to install the init script and the udev rule at the same time.
> > > > > >
> > > > > > Revised patch attached
> > > > >
> > > > > +
> > > > > +if INISCRIPTS
> > > > > +else
> > > > > +rules_DATA += bluetooth.rules
> > > > > endif
> > > >
> > > > ifndef isn't an automake construct.
> > > >
> > >
> > > then if !INITSCRIPTS should do it. However I was more asking about the
> > > spelling mistake. You forgot a T ;)
> >
> > Well, that's embarrassing...
>
> are you sending a new patch :)

Thought you'd fix the typo, and commit.

Patch attached.


Attachments:
0001-Add-udev-rules-to-start-bluetooth-on-demand.patch (1.04 kB)

2009-06-27 10:27:40

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

Hi Bastien,

> > > > > > > > > As discussed in previous mails.
> > > > > > > >
> > > > > > > > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > > > > > > > not bluezd.
> > > > > > > >
> > > > > > > > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > > > > > > > added to the distribution automatically. For all this changes, you have
> > > > > > > > to check with make distcheck.
> > > > > > >
> > > > > > > Fixed version attached
> > > > > >
> > > > > > we might need to put this into ifndef INITSCRIPTS since it makes no
> > > > > > sense to install the init script and the udev rule at the same time.
> > > > >
> > > > > Revised patch attached
> > > >
> > > > +
> > > > +if INISCRIPTS
> > > > +else
> > > > +rules_DATA += bluetooth.rules
> > > > endif
> > >
> > > ifndef isn't an automake construct.
> > >
> >
> > then if !INITSCRIPTS should do it. However I was more asking about the
> > spelling mistake. You forgot a T ;)
>
> Well, that's embarrassing...

are you sending a new patch :)

Regards

Marcel



2009-06-24 16:52:56

by Bastien Nocera

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

On Wed, 2009-06-24 at 18:46 +0200, Marcel Holtmann wrote:
> Hi Bastien,
>
> > > > > > > > As discussed in previous mails.
> > > > > > >
> > > > > > > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > > > > > > not bluezd.
> > > > > > >
> > > > > > > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > > > > > > added to the distribution automatically. For all this changes, you have
> > > > > > > to check with make distcheck.
> > > > > >
> > > > > > Fixed version attached
> > > > >
> > > > > we might need to put this into ifndef INITSCRIPTS since it makes no
> > > > > sense to install the init script and the udev rule at the same time.
> > > >
> > > > Revised patch attached
> > >
> > > +
> > > +if INISCRIPTS
> > > +else
> > > +rules_DATA += bluetooth.rules
> > > endif
> >
> > ifndef isn't an automake construct.
> >
>
> then if !INITSCRIPTS should do it. However I was more asking about the
> spelling mistake. You forgot a T ;)

Well, that's embarrassing...

2009-06-24 16:46:40

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

Hi Bastien,

> > > > > > > As discussed in previous mails.
> > > > > >
> > > > > > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > > > > > not bluezd.
> > > > > >
> > > > > > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > > > > > added to the distribution automatically. For all this changes, you have
> > > > > > to check with make distcheck.
> > > > >
> > > > > Fixed version attached
> > > >
> > > > we might need to put this into ifndef INITSCRIPTS since it makes no
> > > > sense to install the init script and the udev rule at the same time.
> > >
> > > Revised patch attached
> >
> > +
> > +if INISCRIPTS
> > +else
> > +rules_DATA += bluetooth.rules
> > endif
>
> ifndef isn't an automake construct.
>

then if !INITSCRIPTS should do it. However I was more asking about the
spelling mistake. You forgot a T ;)

Regards

Marcel



2009-06-24 16:44:59

by Bastien Nocera

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

On Wed, 2009-06-24 at 18:43 +0200, Marcel Holtmann wrote:
> On Wed, 2009-06-24 at 12:35 +0100, Bastien Nocera wrote:
> > On Sun, 2009-06-21 at 16:10 +0200, Marcel Holtmann wrote:
> > > Hi Bastien,
> > >
> > > > > > As discussed in previous mails.
> > > > >
> > > > > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > > > > not bluezd.
> > > > >
> > > > > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > > > > added to the distribution automatically. For all this changes, you have
> > > > > to check with make distcheck.
> > > >
> > > > Fixed version attached
> > >
> > > we might need to put this into ifndef INITSCRIPTS since it makes no
> > > sense to install the init script and the udev rule at the same time.
> >
> > Revised patch attached
>
> +
> +if INISCRIPTS
> +else
> +rules_DATA += bluetooth.rules
> endif

ifndef isn't an automake construct.

2009-06-24 16:43:38

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

On Wed, 2009-06-24 at 12:35 +0100, Bastien Nocera wrote:
> On Sun, 2009-06-21 at 16:10 +0200, Marcel Holtmann wrote:
> > Hi Bastien,
> >
> > > > > As discussed in previous mails.
> > > >
> > > > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > > > not bluezd.
> > > >
> > > > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > > > added to the distribution automatically. For all this changes, you have
> > > > to check with make distcheck.
> > >
> > > Fixed version attached
> >
> > we might need to put this into ifndef INITSCRIPTS since it makes no
> > sense to install the init script and the udev rule at the same time.
>
> Revised patch attached

+
+if INISCRIPTS
+else
+rules_DATA += bluetooth.rules
endif

???

Regards

Marcel



2009-06-24 11:35:29

by Bastien Nocera

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

On Sun, 2009-06-21 at 16:10 +0200, Marcel Holtmann wrote:
> Hi Bastien,
>
> > > > As discussed in previous mails.
> > >
> > > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > > not bluezd.
> > >
> > > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > > added to the distribution automatically. For all this changes, you have
> > > to check with make distcheck.
> >
> > Fixed version attached
>
> we might need to put this into ifndef INITSCRIPTS since it makes no
> sense to install the init script and the udev rule at the same time.

Revised patch attached


Attachments:
0001-Add-udev-rules-to-start-bluetooth-on-demand.patch (1.37 kB)

2009-06-21 14:10:13

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

Hi Bastien,

> > > As discussed in previous mails.
> >
> > please name it bluetooth.rules. The daemon is also called bluetoothd and
> > not bluezd.
> >
> > Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> > added to the distribution automatically. For all this changes, you have
> > to check with make distcheck.
>
> Fixed version attached

we might need to put this into ifndef INITSCRIPTS since it makes no
sense to install the init script and the udev rule at the same time.

Regards

Marcel



2009-06-21 14:05:52

by Bastien Nocera

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

On Sun, 2009-06-21 at 15:50 +0200, Marcel Holtmann wrote:
> Hi Bastien,
>
> > As discussed in previous mails.
>
> please name it bluetooth.rules. The daemon is also called bluetoothd and
> not bluezd.
>
> Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
> added to the distribution automatically. For all this changes, you have
> to check with make distcheck.

Fixed version attached


Attachments:
0001-Add-udev-rules-to-start-bluetooth-on-demand.patch (1.35 kB)

2009-06-21 13:50:51

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Add udev rules to start bluetooth on-demand

Hi Bastien,

> As discussed in previous mails.

please name it bluetooth.rules. The daemon is also called bluetoothd and
not bluezd.

Also you need to have the EXTRA_DIST part in it since _DATA doesn't get
added to the distribution automatically. For all this changes, you have
to check with make distcheck.

Regards

Marcel