initramfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Gerhard Wiesinger <lists-tcxHB8FAk+J54TAoqtyWWQ@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Udev problem with FC24 (was ok in FC23)
Date: Mon, 4 Jul 2016 13:38:45 +0200	[thread overview]
Message-ID: <6c7e010c-5c6b-c126-08b8-79338bbfbadf@redhat.com> (raw)
In-Reply-To: <2b2d505f-1119-2b1d-9a80-16c6bd2e30e0-tcxHB8FAk+J54TAoqtyWWQ@public.gmane.org>

Better file a bug in the RH bugzilla <https://bugzilla.redhat.com/>
or an issue on github <https://github.com/systemd/systemd/issues>

On 01.07.2016 19:55, Gerhard Wiesinger wrote:
> Hello,
>
> I had the following configuration on FC23 (systemd-222-14.fc23) which worked perfectly (ARM system):
>
> cat /etc/udev/rules.d/8-usb-modem.rules
> # Huawei E169
> SUBSYSTEM=="tty", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ATTRS{product}=="HUAWEI Mobile", ATTRS{version}==" 1.10",
> ENV{ID_USB_INTERFACE_NUM}=="00" SYMLINK+="ttyUSB-modem-at"
> SUBSYSTEM=="tty", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ATTRS{product}=="HUAWEI Mobile", ATTRS{version}==" 1.10",
> ENV{ID_USB_INTERFACE_NUM}=="01" SYMLINK+="ttyUSB-modem-aux"
> SUBSYSTEM=="tty", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ATTRS{product}=="HUAWEI Mobile", ATTRS{version}==" 1.10",
> ENV{ID_USB_INTERFACE_NUM}=="02" SYMLINK+="ttyUSB-modem-third"
>
> After upgrade to FC24 (systemd-udev-229-8.fc24.armv7hl) I have the problem that ttyUSB-modem-at link is not set.
>
> lrwxrwxrwx 1 root root           7 Jul  1 18:49 ttyUSB-modem-aux -> ttyUSB2
> lrwxrwxrwx 1 root root           7 Jul  1 18:49 ttyUSB-modem-third -> ttyUSB3
>
> I tried also:
>
> # OK:
> KERNEL=="ttyUSB1", SUBSYSTEM=="tty", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ATTRS{product}=="HUAWEI Mobile",
> ATTRS{version}==" 1.10" SYMLINK+="ttyUSB-modem-at"
> # NOT OK:
> KERNEL=="ttyUSB1", DRIVERS=="option", SUBSYSTEM=="tty", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ATTRS{product}=="HUAWEI
> Mobile", ATTRS{version}==" 1.10" SYMLINK+="ttyUSB-modem-at"
>
> So when something more specific correct filter is added it doesn't work any more (I tried several different more distinct filters):
>
> I tried already: udevadm info --attribute-walk /dev/ttyUSB1 which looks good
>
> First lines are:
>
>    looking at device '/devices/platform/soc@01c00000/1c14000.usb/usb3/3-1/3-1.1/3-1.1:1.0/ttyUSB1/tty/ttyUSB1':
>      KERNEL=="ttyUSB1"
>      SUBSYSTEM=="tty"
>      DRIVER==""
>
>    looking at parent device '/devices/platform/soc@01c00000/1c14000.usb/usb3/3-1/3-1.1/3-1.1:1.0/ttyUSB1':
>      KERNELS=="ttyUSB1"
>      SUBSYSTEMS=="usb-serial"
>      DRIVERS=="option1"
>      ATTRS{port_number}=="0"
>
>    looking at parent device '/devices/platform/soc@01c00000/1c14000.usb/usb3/3-1/3-1.1/3-1.1:1.0':
>      KERNELS=="3-1.1:1.0"
>      SUBSYSTEMS=="usb"
>      DRIVERS=="option"
>      ATTRS{authorized}=="1"
>      ATTRS{bAlternateSetting}==" 0"
>      ATTRS{bInterfaceClass}=="ff"
>      ATTRS{bInterfaceNumber}=="00"
>      ATTRS{bInterfaceProtocol}=="ff"
>      ATTRS{bInterfaceSubClass}=="ff"
>      ATTRS{bNumEndpoints}=="03"
>      ATTRS{interface}=="Data Interface"
>      ATTRS{supports_autosuspend}=="1"
>
> This one looks also good:
>
> ls -l /dev/serial/by-id/usb-ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ_HUAWEI_Mobile-if00-port0
> lrwxrwxrwx 1 root root 13 Jul  1 18:49 /dev/serial/by-id/usb-ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB1
>
> I don't think I did anything wrong so it looks to be a bug.
>
> Any ideas?
>
> Thank you.
>
> Ciao,
>
> Gerhard
>
>
> --
>
> https://www.wiesinger.com/
>
>

  parent reply	other threads:[~2016-07-04 11:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01 17:55 Udev problem with FC24 (was ok in FC23) Gerhard Wiesinger
     [not found] ` <2b2d505f-1119-2b1d-9a80-16c6bd2e30e0-tcxHB8FAk+J54TAoqtyWWQ@public.gmane.org>
2016-07-04 11:38   ` Harald Hoyer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-02  6:13 Gerhard Wiesinger

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=6c7e010c-5c6b-c126-08b8-79338bbfbadf@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lists-tcxHB8FAk+J54TAoqtyWWQ@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).