From: Artem Makhutov <artem@makhutov.org>
To: ofono@ofono.org
Subject: Udev detection broken?
Date: Thu, 15 Sep 2011 00:01:00 +0200 [thread overview]
Message-ID: <4E71241C.9000407@makhutov.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2038 bytes --]
Hello,
I am trying to setup ofono on my PC again, unfortunatly ofono does not pick up the connected huawei modem.
I have traced it down to plugins/udev.c - get_property function.
The udev rules seems to get ok, as I can see it in the udev logs:
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:02.1/usb1/1-3
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/001/016
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/001/016
PRODUCT=12d1/1001/0
TYPE=0/0/0
BUSNUM=001
DEVNUM=016
SEQNUM=9847
ID_VENDOR=HUAWEI_Technology
ID_VENDOR_ENC=HUAWEI\x20Technology
ID_VENDOR_ID=12d1
ID_MODEL=HUAWEI_Mobile
ID_MODEL_ENC=HUAWEI\x20Mobile
ID_MODEL_ID=1001
ID_REVISION=0000
ID_SERIAL=HUAWEI_Technology_HUAWEI_Mobile
ID_BUS=usb
ID_USB_INTERFACES=:ffffff:
OFONO_DRIVER=huawei
MAJOR=189
MINOR=15
But get_property can not find the "OFONO_DRIVER" property.
It only find the properties below:
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:UDEV_LOG
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:DEVPATH
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:MAJOR
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:MINOR
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:DEVNAME
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:DEVTYPE
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:DRIVER
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:DEVICE
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:PRODUCT
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:TYPE
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:BUSNUM
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:DEVNUM
Sep 14 23:45:56 gandalf ofonod[19789]: plugins/udev.c:get_property() Name:SUBSYSTEM
Any ideas why it does not find some properties?
Thanks, Artem
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4364 bytes --]
next reply other threads:[~2011-09-14 22:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 22:01 Artem Makhutov [this message]
2011-09-08 8:49 ` Udev detection broken? Denis Kenzior
2011-09-15 18:03 ` Artem Makhutov
2011-09-15 7:48 ` Artem Makhutov
2011-09-15 14:33 ` Paolo Pellegrino
2011-09-15 18:24 ` Artem Makhutov
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=4E71241C.9000407@makhutov.org \
--to=artem@makhutov.org \
--cc=ofono@ofono.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 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.