ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Помогите разобраться с правилами udev
Date: Wed, 25 May 2022 02:54:28 +0300
Message-ID: <08cce229-c392-d95b-f3be-7567e1810cef@gmail.com> (raw)
In-Reply-To: <91f66619-f576-73b6-25cc-aa8a511fb7a7@gmail.com>

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

  reply	other threads:[~2022-05-24 23:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-22 11:07 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 [this message]
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

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=08cce229-c392-d95b-f3be-7567e1810cef@gmail.com \
    --to=klark.devel@gmail.com \
    --cc=devel@lists.altlinux.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

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