All of lore.kernel.org
 help / color / mirror / Atom feed
* Udev detection broken?
@ 2011-09-14 22:01 Artem Makhutov
  2011-09-08  8:49 ` Denis Kenzior
  2011-09-15  7:48 ` Artem Makhutov
  0 siblings, 2 replies; 6+ messages in thread
From: Artem Makhutov @ 2011-09-14 22:01 UTC (permalink / raw)
  To: ofono

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-09-15 18:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14 22:01 Udev detection broken? Artem Makhutov
2011-09-08  8:49 ` 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

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.