From: Alexey Sheplyakov <asheplyakov@basealt.ru>
To: ALT Linux kernel packages development <devel-kernel@lists.altlinux.org>
Subject: Re: [d-kernel] Модуль ipheth
Date: Mon, 30 May 2022 13:50:28 +0400
Message-ID: <YpSTZCtpNK+08F0q@asheplyakov-rocket> (raw)
In-Reply-To: <1e1b40f6-aa96-17c4-e98d-db82447a963b@gmail.com>
Здравствуйте!
On Sun, May 29, 2022 at 07:25:44AM +0300, Ruslandh wrote:
> Я тут бьюсь с пакетом udev-ipheth.
>
> Посмотрел я исходный код ipheth.c, и не нашёл никакого перечня
> поддерживаемых устройств.
А он есть:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/usb/ipheth.c?id=b00ed48bb0a7c295facf9036135a573a5cdbe7de#n79
> Раньше, когда этот модуль был отдельным и не входил в ядро, такой перечень
> был https://github.com/dgiagio/ipheth/blob/master/ipheth-driver/ipheth.c.
С тех пор список несколько упростили:
commit f7abc0618a4a5f0e138e24bb31234a88bfdb18ae
Author: Guenter Roeck <linux@roeck-us.net>
Date: Wed Apr 24 10:58:24 2019 -0700
usbnet: ipheth: Simplify device detection
All Apple products use the same protocol for tethering over USB.
To simplify the code and make it future proof, use
USB_VENDOR_AND_INTERFACE_INFO() instead of
USB_DEVICE_AND_INTERFACE_INFO() to automatically detect and support
all existing and future Apple products using the same interface.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
> А текущий модуль ядра не узнаёт устройство,
Откуда такой вывод? Никаких логов ядра Вы не привели.
udev ругается на неправльные правила:
> /lib/udev/rules.d/90-iphone-tether.rules:5 Invalid operator for KERNEL.
> sd-device: Syspath '/sys90-iphone-tether.rules' is not a subdirectory of /sys
> Failed to open device '/sys90-iphone-tether.rules': Invalid argument
Из этого невозможно сделать какой-либо вывод о (не)работоспособности драйвера.
Всего доброго,
Алексей
next prev parent reply other threads:[~2022-05-30 9:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-29 4:25 Ruslandh
2022-05-29 6:16 ` Ruslandh
2022-05-30 9:50 ` Alexey Sheplyakov [this message]
2022-06-07 5:25 ` [d-kernel] Как в условиях systemd понять есть-ли обращение к модулю ядра Ruslandh
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=YpSTZCtpNK+08F0q@asheplyakov-rocket \
--to=asheplyakov@basealt.ru \
--cc=devel-kernel@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 kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git