public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org, Kay Sievers <kay.sievers@vrfy.org>
Subject: Re: bluetooth works with udev-145 but had some weired issues with it
Date: Mon, 20 Jul 2009 00:41:14 -0700	[thread overview]
Message-ID: <4A641F9A.7000408@gmail.com> (raw)
In-Reply-To: <1248074063.4549.88.camel@violet>

Marcel Holtmann wrote:
> Hi Justin,
>
>    
>> For some reason in rules.d
>> for the permission setting:
>>
>> #ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/bluetoothd --udev"
>> to
>> RUN+="/usr/sbin/bluetoothd --udev"
>> gets this working for me.
>> prior to this, udev just would not activate
>> bluetoothd
>> Anyways thought it would be good to let people know.
>>      
>
> this is pretty much strange. What kernel version are you using?
>
> Kay, do you have any idea why such a simple rule would not work?
>
> Regards
>
> Marcel
>
>
>
>    
kernel is the latest git from linus pulled a day ago.
The system itself is a home brewed LFS.

As for the simple rule, this one has me confused as well.
unless I did something wrong while compiling bluez/udev
(missed a switch) or something is missing in the system itself
to not read ADD or SUBSYSTEM.
Looking at the init script for udev I cant see how it could cause
udev to not read that specific rule unless:

  cat /etc/rc.d/init.d/udev
(this is taken towards the bottom)

                /sbin/udevd --daemon

                 # Now traverse /sys in order to "coldplug" devices that 
have
                 # already been discovered
                 /sbin/udevadm trigger

                 # Now wait for udevd to process the uevents we triggered
                 /sbin/udevadm settle
                 evaluate_retval


  udevadm might have created confusion.
Also keep in mind the system is not running hal.
(not sure how depended bluez/udev is with hal)
This one has me stumped.

but besides that confusion  everything seems to be handling pretty good
(nice work on the bluetooth bluez!!)
I like how the scrollball for the mouse survives suspend.

Justin P. Mattock

  reply	other threads:[~2009-07-20  7:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-20  3:36 bluetooth works with udev-145 but had some weired issues with it Justin Mattock
2009-07-20  7:14 ` Marcel Holtmann
2009-07-20  7:41   ` Justin P. Mattock [this message]
2009-07-20 16:44   ` Kay Sievers
2009-07-20 15:31 ` Mario Limonciello
2009-07-20 16:52   ` Justin P. Mattock
2009-07-21  2:48   ` Justin P. Mattock

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=4A641F9A.7000408@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /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