* [devel] Помогите разобраться с правилами udev
@ 2022-05-22 11:07 Ruslandh
2022-05-22 12:37 ` Paul Wolneykien
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Ruslandh @ 2022-05-22 11:07 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1.1.1: Type: text/plain, Size: 424 bytes --]
Привет всем.
Собрал я пакет для связи с айфоном по USB, но почему-то его правила не
отрабатываются udev,
https://git.altlinux.org/tasks/archive/done/_293/300393/
Прилагаю два лога udevadmin
Если есть возможность, поправьте меня.
===
С уважением, Хихин Руслан
[-- Attachment #1.1.2: udevadm_add_iphone.log --]
[-- Type: text/x-log, Size: 6072 bytes --]
# udevadm monitor -p
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[315.417897] add /devices/pci0000:00/0000:00:10.0/usb3/3-1 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/007
DEVTYPE=usb_device
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
BUSNUM=003
DEVNUM=007
SEQNUM=3347
MAJOR=189
MINOR=262
KERNEL[315.425912] add /devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v05ACp12A8d1108dc00dsc00dp00ic06isc01ip01in00
SEQNUM=3348
KERNEL[315.426042] add /devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge/wakeup35 (wakeup)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge/wakeup35
SUBSYSTEM=wakeup
SEQNUM=3349
KERNEL[315.426125] bind /devices/pci0000:00/0000:00:10.0/usb3/3-1 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/007
DEVTYPE=usb_device
DRIVER=apple-mfi-fastcharge
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
BUSNUM=003
DEVNUM=007
SEQNUM=3350
MAJOR=189
MINOR=262
KERNEL[315.426368] remove /devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v05ACp12A8d1108dc00dsc00dp00ic06isc01ip01in00
SEQNUM=3351
KERNEL[315.437004] change /devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge (power_supply)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge
SUBSYSTEM=power_supply
POWER_SUPPLY_NAME=apple_mfi_fastcharge
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_CHARGE_TYPE=Trickle
POWER_SUPPLY_SCOPE=Device
SEQNUM=3352
UDEV [315.464527] add /devices/pci0000:00/0000:00:10.0/usb3/3-1 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/007
DEVTYPE=usb_device
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
BUSNUM=003
DEVNUM=007
SEQNUM=3347
USEC_INITIALIZED=315442495
USBMUX_SUPPORTED=1
SYSTEMD_WANTS=usbmuxd.service
ID_VENDOR=Apple_Inc.
ID_VENDOR_ENC=Apple\x20Inc.
ID_VENDOR_ID=05ac
ID_MODEL=iPhone
ID_MODEL_ENC=iPhone
ID_MODEL_ID=12a8
ID_REVISION=1108
ID_SERIAL=Apple_Inc._iPhone_000080200004558E21D2002E
ID_SERIAL_SHORT=000080200004558E21D2002E
ID_BUS=usb
ID_USB_INTERFACES=:060101:010100:010200:030000:fffe02:fffd01:
ID_GPHOTO2=1
GPHOTO2_DRIVER=PTP
ID_VENDOR_FROM_DATABASE=Apple, Inc.
ID_MODEL_FROM_DATABASE=iPhone 5/5C/5S/6/SE
ID_PATH=pci-0000:00:10.0-usb-0:1
ID_PATH_TAG=pci-0000_00_10_0-usb-0_1
DRIVER=apple-mfi-fastcharge
ID_FOR_SEAT=usb-pci-0000_00_10_0-usb-0_1
COLORD_DEVICE=1
COLORD_KIND=camera
MAJOR=189
MINOR=262
TAGS=:systemd:uaccess:seat:
CURRENT_TAGS=:systemd:uaccess:seat:
UDEV [315.472859] add /devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v05ACp12A8d1108dc00dsc00dp00ic06isc01ip01in00
SEQNUM=3348
USEC_INITIALIZED=315470028
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_VENDOR_FROM_DATABASE=Apple, Inc.
ID_MODEL_FROM_DATABASE=iPhone 5/5C/5S/6/SE
adb_user=yes
ID_PATH=pci-0000:00:10.0-usb-0:1:1.0
ID_PATH_TAG=pci-0000_00_10_0-usb-0_1_1_0
ID_FOR_SEAT=usb-pci-0000_00_10_0-usb-0_1_1_0
COLORD_DEVICE=1
COLORD_KIND=camera
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:
UDEV [315.473580] add /devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge/wakeup35 (wakeup)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge/wakeup35
SUBSYSTEM=wakeup
SEQNUM=3349
USEC_INITIALIZED=315473505
UDEV [315.483655] bind /devices/pci0000:00/0000:00:10.0/usb3/3-1 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/007
DEVTYPE=usb_device
DRIVER=apple-mfi-fastcharge
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
BUSNUM=003
DEVNUM=007
SEQNUM=3350
USEC_INITIALIZED=315442495
USBMUX_SUPPORTED=1
SYSTEMD_WANTS=usbmuxd.service
ID_VENDOR=Apple_Inc.
ID_VENDOR_ENC=Apple\x20Inc.
ID_VENDOR_ID=05ac
ID_MODEL=iPhone
ID_MODEL_ENC=iPhone
ID_MODEL_ID=12a8
ID_REVISION=1108
ID_SERIAL=Apple_Inc._iPhone_000080200004558E21D2002E
ID_SERIAL_SHORT=000080200004558E21D2002E
ID_BUS=usb
ID_USB_INTERFACES=:060101:010100:010200:030000:fffe02:fffd01:
ID_GPHOTO2=1
GPHOTO2_DRIVER=PTP
ID_VENDOR_FROM_DATABASE=Apple, Inc.
ID_MODEL_FROM_DATABASE=iPhone 5/5C/5S/6/SE
ID_PATH=pci-0000:00:10.0-usb-0:1
ID_PATH_TAG=pci-0000_00_10_0-usb-0_1
ID_FOR_SEAT=usb-pci-0000_00_10_0-usb-0_1
COLORD_DEVICE=1
COLORD_KIND=camera
MAJOR=189
MINOR=262
TAGS=:systemd:uaccess:seat:
CURRENT_TAGS=:systemd:uaccess:seat:
UDEV [315.486417] remove /devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v05ACp12A8d1108dc00dsc00dp00ic06isc01ip01in00
SEQNUM=3351
USEC_INITIALIZED=315470028
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_VENDOR_FROM_DATABASE=Apple, Inc.
ID_MODEL_FROM_DATABASE=iPhone 5/5C/5S/6/SE
adb_user=yes
ID_PATH=pci-0000:00:10.0-usb-0:1:1.0
ID_PATH_TAG=pci-0000_00_10_0-usb-0_1_1_0
ID_FOR_SEAT=usb-pci-0000_00_10_0-usb-0_1_1_0
COLORD_DEVICE=1
COLORD_KIND=camera
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:
UDEV [315.489317] change /devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge (power_supply)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge
SUBSYSTEM=power_supply
POWER_SUPPLY_NAME=apple_mfi_fastcharge
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_CHARGE_TYPE=Trickle
POWER_SUPPLY_SCOPE=Device
SEQNUM=3352
USEC_INITIALIZED=315489207
[-- Attachment #1.1.3: udevadm_add_iphone2.log --]
[-- Type: text/x-log, Size: 4957 bytes --]
udevadm monitor -p
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[807.281139] add /devices/pci0000:00/0000:00:10.0/usb3/3-1 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/009
DEVTYPE=usb_device
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
BUSNUM=003
DEVNUM=009
SEQNUM=3369
MAJOR=189
MINOR=264
KERNEL[807.290630] add /devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v05ACp12A8d1108dc00dsc00dp00ic06isc01ip01in00
SEQNUM=3370
KERNEL[807.290761] add /devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge/wakeup35 (wakeup)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge/wakeup35
SUBSYSTEM=wakeup
SEQNUM=3371
KERNEL[807.290870] bind /devices/pci0000:00/0000:00:10.0/usb3/3-1 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/009
DEVTYPE=usb_device
DRIVER=apple-mfi-fastcharge
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
BUSNUM=003
DEVNUM=009
SEQNUM=3372
MAJOR=189
MINOR=264
KERNEL[807.300895] change /devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge (power_supply)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge
SUBSYSTEM=power_supply
POWER_SUPPLY_NAME=apple_mfi_fastcharge
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_CHARGE_TYPE=Trickle
POWER_SUPPLY_SCOPE=Device
SEQNUM=3373
UDEV [807.333747] add /devices/pci0000:00/0000:00:10.0/usb3/3-1 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/009
DEVTYPE=usb_device
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
BUSNUM=003
DEVNUM=009
SEQNUM=3369
USEC_INITIALIZED=807314147
ID_VENDOR=Apple_Inc.
ID_VENDOR_ENC=Apple\x20Inc.
ID_VENDOR_ID=05ac
ID_MODEL=iPhone
ID_MODEL_ENC=iPhone
ID_MODEL_ID=12a8
ID_REVISION=1108
ID_SERIAL=Apple_Inc._iPhone_000080200004558E21D2002E
ID_SERIAL_SHORT=000080200004558E21D2002E
ID_BUS=usb
ID_USB_INTERFACES=:060101:010100:010200:030000:fffe02:fffd01:
ID_GPHOTO2=1
GPHOTO2_DRIVER=PTP
ID_VENDOR_FROM_DATABASE=Apple, Inc.
ID_MODEL_FROM_DATABASE=iPhone 5/5C/5S/6/SE
ID_PATH=pci-0000:00:10.0-usb-0:1
ID_PATH_TAG=pci-0000_00_10_0-usb-0_1
DRIVER=apple-mfi-fastcharge
ID_FOR_SEAT=usb-pci-0000_00_10_0-usb-0_1
COLORD_DEVICE=1
COLORD_KIND=camera
MAJOR=189
MINOR=264
TAGS=:seat:uaccess:
CURRENT_TAGS=:seat:uaccess:
UDEV [807.339372] add /devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/3-1:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v05ACp12A8d1108dc00dsc00dp00ic06isc01ip01in00
SEQNUM=3370
USEC_INITIALIZED=807338870
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_VENDOR_FROM_DATABASE=Apple, Inc.
ID_MODEL_FROM_DATABASE=iPhone 5/5C/5S/6/SE
adb_user=yes
ID_PATH=pci-0000:00:10.0-usb-0:1:1.0
ID_PATH_TAG=pci-0000_00_10_0-usb-0_1_1_0
ID_FOR_SEAT=usb-pci-0000_00_10_0-usb-0_1_1_0
COLORD_DEVICE=1
COLORD_KIND=camera
TAGS=:seat:uaccess:
CURRENT_TAGS=:seat:uaccess:
UDEV [807.340091] add /devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge/wakeup35 (wakeup)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge/wakeup35
SUBSYSTEM=wakeup
SEQNUM=3371
USEC_INITIALIZED=807339805
UDEV [807.364355] bind /devices/pci0000:00/0000:00:10.0/usb3/3-1 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/009
DEVTYPE=usb_device
DRIVER=apple-mfi-fastcharge
PRODUCT=5ac/12a8/1108
TYPE=0/0/0
BUSNUM=003
DEVNUM=009
SEQNUM=3372
USEC_INITIALIZED=807314147
ID_VENDOR=Apple_Inc.
ID_VENDOR_ENC=Apple\x20Inc.
ID_VENDOR_ID=05ac
ID_MODEL=iPhone
ID_MODEL_ENC=iPhone
ID_MODEL_ID=12a8
ID_REVISION=1108
ID_SERIAL=Apple_Inc._iPhone_000080200004558E21D2002E
ID_SERIAL_SHORT=000080200004558E21D2002E
ID_BUS=usb
ID_USB_INTERFACES=:060101:010100:010200:030000:fffe02:fffd01:
ID_GPHOTO2=1
GPHOTO2_DRIVER=PTP
ID_VENDOR_FROM_DATABASE=Apple, Inc.
ID_MODEL_FROM_DATABASE=iPhone 5/5C/5S/6/SE
ID_PATH=pci-0000:00:10.0-usb-0:1
ID_PATH_TAG=pci-0000_00_10_0-usb-0_1
ID_FOR_SEAT=usb-pci-0000_00_10_0-usb-0_1
COLORD_DEVICE=1
COLORD_KIND=camera
MAJOR=189
MINOR=264
TAGS=:seat:uaccess:
CURRENT_TAGS=:seat:uaccess:
UDEV [807.367095] change /devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge (power_supply)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:10.0/usb3/3-1/power_supply/apple_mfi_fastcharge
SUBSYSTEM=power_supply
POWER_SUPPLY_NAME=apple_mfi_fastcharge
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_CHARGE_TYPE=Trickle
POWER_SUPPLY_SCOPE=Device
SEQNUM=3373
USEC_INITIALIZED=807366985
[-- Attachment #1.1.4: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 657 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-22 11:07 [devel] Помогите разобраться с правилами udev Ruslandh
@ 2022-05-22 12:37 ` Paul Wolneykien
2022-05-22 12:48 ` P X
2022-05-23 14:37 ` Sergey V Turchin
2022-05-24 14:13 ` Sergey V Turchin
2 siblings, 1 reply; 14+ messages in thread
From: Paul Wolneykien @ 2022-05-22 12:37 UTC (permalink / raw)
To: ALT Linux Team development discussions
22 мая 2022 г. 14:07:54 GMT+03:00, Ruslandh <ruslandh@gmail.com> пишет:
>Привет всем.
>
>Собрал я пакет для связи с айфоном по USB, но почему-то его правила не
>отрабатываются udev,
>
>https://git.altlinux.org/tasks/archive/done/_293/300393/
>
>Прилагаю два лога udevadmin
>
>
>Если есть возможность, поправьте меня.
Я не нашёл в логах ничего, что могло бы совпасть с
ENV{ID_USB_DRIVER}=="ipheth"
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-22 12:37 ` Paul Wolneykien
@ 2022-05-22 12:48 ` P X
0 siblings, 0 replies; 14+ messages in thread
From: P X @ 2022-05-22 12:48 UTC (permalink / raw)
To: devel
[-- Attachment #1.1.1: Type: text/plain, Size: 592 bytes --]
22.05.2022 15:37, Paul Wolneykien пишет:
> 22 мая 2022 г. 14:07:54 GMT+03:00, Ruslandh <ruslandh@gmail.com> пишет:
>> Привет всем.
>>
>> Собрал я пакет для связи с айфоном по USB, но почему-то его правила не
>> отрабатываются udev,
>>
>> https://git.altlinux.org/tasks/archive/done/_293/300393/
>>
>> Прилагаю два лога udevadmin
>>
>>
>> Если есть возможность, поправьте меня.
> И я тоже, вот этого я и не пойму ;-)
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 15247 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-22 11:07 [devel] Помогите разобраться с правилами udev Ruslandh
2022-05-22 12:37 ` Paul Wolneykien
@ 2022-05-23 14:37 ` Sergey V Turchin
2022-05-23 15:26 ` Ruslandh
2022-05-24 14:13 ` Sergey V Turchin
2 siblings, 1 reply; 14+ messages in thread
From: Sergey V Turchin @ 2022-05-23 14:37 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Sunday, 22 May 2022 14:07:54 MSK Ruslandh wrote:
[...]
> https://git.altlinux.org/tasks/archive/done/_293/300393/
>
> Прилагаю два лога udevadmin
>
>
> Если есть возможность, поправьте меня.
Разве файл ipheth-modprobe.conf ни на что не намекает?
--
Regards, Sergey.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-23 14:37 ` Sergey V Turchin
@ 2022-05-23 15:26 ` Ruslandh
2022-05-24 7:24 ` Sergey V Turchin
0 siblings, 1 reply; 14+ messages in thread
From: Ruslandh @ 2022-05-23 15:26 UTC (permalink / raw)
To: devel
[-- Attachment #1.1.1: Type: text/plain, Size: 545 bytes --]
23.05.2022 17:37, Sergey V Turchin пишет:
> On Sunday, 22 May 2022 14:07:54 MSK Ruslandh wrote:
>
> [...]
>> https://git.altlinux.org/tasks/archive/done/_293/300393/
>>
>> Прилагаю два лога udevadmin
>>
>>
>> Если есть возможность, поправьте меня.
> Разве файл ipheth-modprobe.conf ни на что не намекает?
>
Там ошибка, но исправление её не помогает, я загружаю ipheth, и всё
по-прежнему
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 657 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-23 15:26 ` Ruslandh
@ 2022-05-24 7:24 ` Sergey V Turchin
2022-05-24 13:53 ` Ruslandh
0 siblings, 1 reply; 14+ messages in thread
From: Sergey V Turchin @ 2022-05-24 7:24 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Monday, 23 May 2022 18:26:01 MSK Ruslandh wrote:
[...]
> > Разве файл ipheth-modprobe.conf ни на что не намекает?
> Там ошибка, но исправление её не помогает,
> я загружаю ipheth
В репозитории не вижу. Самосбор?
> , и всё по-прежнему
Да и ipheth-modprobe.conf в оригинале сильно отличается.
--
Regards, Sergey.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-24 7:24 ` Sergey V Turchin
@ 2022-05-24 13:53 ` Ruslandh
2022-05-24 14:12 ` Sergey V Turchin
0 siblings, 1 reply; 14+ messages in thread
From: Ruslandh @ 2022-05-24 13:53 UTC (permalink / raw)
To: devel
[-- Attachment #1.1.1: Type: text/plain, Size: 524 bytes --]
24.05.2022 10:24, Sergey V Turchin пишет:
>> , и всё по-прежнему
> Да и ipheth-modprobe.conf в оригинале сильно отличается.
Еще раз взглянул:
Не могу найти /usr/local/bin/ipheth-pair.py нигде в инете
# iPhone USB Ethernet Driver
#
# This configuration forces modprobe to execute device pairing script after
# loading the driver.
install ipheth /sbin/modprobe --ignore-install ipheth &&
/usr/local/bin/ipheth-pair.py
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 657 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-24 13:53 ` Ruslandh
@ 2022-05-24 14:12 ` Sergey V Turchin
2022-05-24 14:21 ` Ruslandh
0 siblings, 1 reply; 14+ messages in thread
From: Sergey V Turchin @ 2022-05-24 14:12 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Tuesday, 24 May 2022 16:53:24 MSK Ruslandh wrote:
> 24.05.2022 10:24, Sergey V Turchin пишет:
>
> >> , и всё по-прежнему
> >
> > Да и ipheth-modprobe.conf в оригинале сильно отличается.
> Еще раз взглянул:
> Не могу найти /usr/local/bin/ipheth-pair.py нигде в инете
> # iPhone USB Ethernet Driver
> #
> # This configuration forces modprobe to execute device pairing script after
> # loading the driver.
> install ipheth /sbin/modprobe --ignore-install ipheth &&
> /usr/local/bin/ipheth-pair.py
А /usr/bin/ipheth-pair не подойдёт?
--
Regards, Sergey.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-22 11:07 [devel] Помогите разобраться с правилами udev Ruslandh
2022-05-22 12:37 ` Paul Wolneykien
2022-05-23 14:37 ` Sergey V Turchin
@ 2022-05-24 14:13 ` Sergey V Turchin
2 siblings, 0 replies; 14+ messages in thread
From: Sergey V Turchin @ 2022-05-24 14:13 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Sunday, 22 May 2022 14:07:54 MSK Ruslandh wrote:
> Привет всем.
>
> Собрал я пакет для связи с айфоном по USB, но почему-то его правила не
> отрабатываются udev,
>
> https://git.altlinux.org/tasks/archive/done/_293/300393/
>
> Прилагаю два лога udevadmin
>
>
> Если есть возможность, поправьте меня.
udevadm monitor
и смотреть его в момент подключения устройства.
> ===
> С уважением, Хихин Руслан
--
Regards, Sergey.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-24 14:12 ` Sergey V Turchin
@ 2022-05-24 14:21 ` Ruslandh
2022-05-24 23:54 ` Leonid Krivoshein
0 siblings, 1 reply; 14+ messages in thread
From: Ruslandh @ 2022-05-24 14:21 UTC (permalink / raw)
To: devel
[-- Attachment #1.1.1: Type: text/plain, Size: 1197 bytes --]
24.05.2022 17:12, Sergey V Turchin пишет:
> On Tuesday, 24 May 2022 16:53:24 MSK Ruslandh wrote:
>> 24.05.2022 10:24, Sergey V Turchin пишет:
>>
>>>> , и всё по-прежнему
>>>
>>> Да и ipheth-modprobe.conf в оригинале сильно отличается.
>> Еще раз взглянул:
>> Не могу найти /usr/local/bin/ipheth-pair.py нигде в инете
>> # iPhone USB Ethernet Driver
>> #
>> # This configuration forces modprobe to execute device pairing script after
>> # loading the driver.
>> install ipheth /sbin/modprobe --ignore-install ipheth &&
>> /usr/local/bin/ipheth-pair.py
> А /usr/bin/ipheth-pair не подойдёт?
>
Не, не подходит
# modprobe ipheth
/usr/bin/ipheth-pair: -3: cannot get default device
modprobe: ERROR: Error running install command '/sbin/modprobe
--ignore-install ipheth && /usr/bin/ipheth-pair' for module ipheth:
retcode 255
modprobe: ERROR: could not insert 'ipheth': Invalid argument
> udevadm monitor
> и смотреть его в момент подключения устройств
именно так и делаю
udevadm monitor -p
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 657 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-24 14:21 ` Ruslandh
@ 2022-05-24 23:54 ` Leonid Krivoshein
2022-05-24 23:55 ` Leonid Krivoshein
0 siblings, 1 reply; 14+ messages in thread
From: Leonid Krivoshein @ 2022-05-24 23:54 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]
24.05.2022 17:21, Ruslandh пишет:
> 24.05.2022 17:12, Sergey V Turchin пишет:
>> On Tuesday, 24 May 2022 16:53:24 MSK Ruslandh wrote:
>>> 24.05.2022 10:24, Sergey V Turchin пишет:
>>>
>>>>> , и всё по-прежнему
>>>>
>>>> Да и ipheth-modprobe.conf в оригинале сильно отличается.
>>> Еще раз взглянул:
>>> Не могу найти /usr/local/bin/ipheth-pair.py нигде в инете
>>> # iPhone USB Ethernet Driver
>>> #
>>> # This configuration forces modprobe to execute device pairing
>>> script after
>>> # loading the driver.
>>> install ipheth /sbin/modprobe --ignore-install ipheth &&
>>> /usr/local/bin/ipheth-pair.py
>> А /usr/bin/ipheth-pair не подойдёт?
>>
> Не, не подходит
>
> # modprobe ipheth
>
> /usr/bin/ipheth-pair: -3: cannot get default device
> modprobe: ERROR: Error running install command '/sbin/modprobe
> --ignore-install ipheth && /usr/bin/ipheth-pair' for module ipheth:
> retcode 255
А почему /usr/bin? Из Makefile:
install -m 0644 90-iphone-tether.rules /lib/udev/rules.d
Патч из Debian прилагаю.
> modprobe: ERROR: could not insert 'ipheth': Invalid argument
>
>
> > udevadm monitor
> > и смотреть его в момент подключения устройств
>
> именно так и делаю
> udevadm monitor -p
>
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel
--
Best regards,
Leonid Krivoshein.
[-- Attachment #2: modprobe-conf-fix.patch --]
[-- Type: text/x-patch, Size: 417 bytes --]
--- ipheth-1.0+git20111206.orig/ipheth-driver/ipheth-modprobe.conf
+++ ipheth-1.0+git20111206/ipheth-driver/ipheth-modprobe.conf
@@ -3,5 +3,4 @@
# This configuration forces modprobe to execute device pairing script after
# loading the driver.
-install ipheth /sbin/modprobe --ignore-install ipheth && /usr/local/bin/ipheth-pair.py
-
+install ipheth /sbin/modprobe --ignore-install ipheth && /lib/udev/ipheth-pair
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-24 23:54 ` Leonid Krivoshein
@ 2022-05-24 23:55 ` Leonid Krivoshein
2022-05-25 2:12 ` Ruslandh
0 siblings, 1 reply; 14+ messages in thread
From: Leonid Krivoshein @ 2022-05-24 23:55 UTC (permalink / raw)
To: devel
25.05.2022 02:54, Leonid Krivoshein пишет:
> install -m 0644 90-iphone-tether.rules /lib/udev/rules.d
Не ту строку схватил, сорри!
install -m 0755 ipheth-pair /lib/udev/
--
Best regards,
Leonid Krivoshein.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-24 23:55 ` Leonid Krivoshein
@ 2022-05-25 2:12 ` Ruslandh
2022-05-29 19:33 ` Ruslandh
0 siblings, 1 reply; 14+ messages in thread
From: Ruslandh @ 2022-05-25 2:12 UTC (permalink / raw)
To: devel
[-- Attachment #1.1.1: Type: text/plain, Size: 982 bytes --]
25.05.2022 02:55, Leonid Krivoshein пишет:
>
> 25.05.2022 02:54, Leonid Krivoshein пишет:
>> install -m 0644 90-iphone-tether.rules /lib/udev/rules.d
> Не ту строку схватил, сорри!
>
> install -m 0755 ipheth-pair /lib/udev/
Привёл
https://git.altlinux.org/people/ruslandh/packages/?p=udev-ipheth.git;a=summary
к тому что есть на компе.
И собрал его для Сизифа в таком состоянии. В кармане
https://git.altlinux.org/tasks/300577/ версия для p10.
Что-то я начал подозревать, что дело глубже и проблема в поддержке
ipheth моего айфона, так-как запуск напрямую
ipheth-pair --list
говорит :
$ /lib/udev/ipheth-pair --help
usage: /lib/udev/ipheth-pair [--list] [--uuid UUID] [--oldc]
$ /lib/udev/ipheth-pair --list
/lib/udev/ipheth-pair: -3: no devices
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 657 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [devel] Помогите разобраться с правилами udev
2022-05-25 2:12 ` Ruslandh
@ 2022-05-29 19:33 ` Ruslandh
0 siblings, 0 replies; 14+ messages in thread
From: Ruslandh @ 2022-05-29 19:33 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1.1.1: Type: text/plain, Size: 3239 bytes --]
25.05.2022 05:12, Ruslandh пишет:
> 25.05.2022 02:55, Leonid Krivoshein пишет:
>>
>> 25.05.2022 02:54, Leonid Krivoshein пишет:
Поставил в VirtualBox последнюю Ubuntu, вот так выглядит отработка
правил UDEV в нём.
По всему выходит, что у них другой модуль ядра ipref
KERNEL[872.864143] add /devices/pci0000:00/0000:00:0b.0/usb1/1-1 (usb)
KERNEL[872.872042] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.0 (usb)
KERNEL[872.872087] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/power_supply/apple_mfi_fastcharge/wakeup12
(wakeup)
KERNEL[872.872106] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/power_supply/apple_mfi_fastcharge/hwmon2
(hwmon)
KERNEL[872.872143] bind /devices/pci0000:00/0000:00:0b.0/usb1/1-1 (usb)
KERNEL[872.873056] remove
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.0 (usb)
KERNEL[872.886591] change
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/power_supply/apple_mfi_fastcharge
(power_supply)
UDEV [872.934100] add /devices/pci0000:00/0000:00:0b.0/usb1/1-1 (usb)
KERNEL[872.964594] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.0 (usb)
KERNEL[872.968593] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.1 (usb)
KERNEL[872.968643] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2 (usb)
KERNEL[872.972742] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/eth0 (net)
KERNEL[872.972783] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/eth0/queues/rx-0
(queues)
KERNEL[872.972816] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/eth0/queues/tx-0
(queues)
KERNEL[872.972852] bind
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2 (usb)
UDEV [873.056171] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.0 (usb)
UDEV [873.108344] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/power_supply/apple_mfi_fastcharge/wakeup12
(wakeup)
UDEV [873.110813] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/power_supply/apple_mfi_fastcharge/hwmon2
(hwmon)
UDEV [873.195838] bind /devices/pci0000:00/0000:00:0b.0/usb1/1-1 (usb)
UDEV [873.238856] change
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/power_supply/apple_mfi_fastcharge
(power_supply)
UDEV [873.271203] remove
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.0 (usb)
UDEV [873.273286] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.0 (usb)
UDEV [873.357614] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.1 (usb)
UDEV [873.363520] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2 (usb)
KERNEL[873.403053] move
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/enxe6b2fb396ea6 (net)
UDEV [883.457791] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/enxe6b2fb396ea6 (net)
UDEV [883.488110] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/eth0/queues/tx-0
(queues)
UDEV [883.496447] add
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/eth0/queues/rx-0
(queues)
UDEV [883.527921] bind
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2 (usb)
UDEV [883.544252] move
/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:4.2/net/enxe6b2fb396ea6 (net)
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 657 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2022-05-29 19:33 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-22 11:07 [devel] Помогите разобраться с правилами udev Ruslandh
2022-05-22 12:37 ` Paul Wolneykien
2022-05-22 12:48 ` P X
2022-05-23 14:37 ` Sergey V Turchin
2022-05-23 15:26 ` Ruslandh
2022-05-24 7:24 ` Sergey V Turchin
2022-05-24 13:53 ` Ruslandh
2022-05-24 14:12 ` Sergey V Turchin
2022-05-24 14:21 ` Ruslandh
2022-05-24 23:54 ` Leonid Krivoshein
2022-05-24 23:55 ` Leonid Krivoshein
2022-05-25 2:12 ` Ruslandh
2022-05-29 19:33 ` Ruslandh
2022-05-24 14:13 ` Sergey V Turchin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git