New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ls: cannot access '/dev/serial/by-path': No such file or directory and ls: cannot access '/dev/usb-serial/by-id/': No such file or directory even after PR25246 applied #29201
Comments
Both devices
I am not familiar with the CAN device, but the CAN device seems neither Please provide corresponding results of
|
Yu,
You are making progress, and your point could be a root cause to
investigate as the CAM device, a FYSETC Spider V3 controller board, is
truly attached to USB 2.0 on the rpi4.
To answer your question, here are the outputs generated:
(EDIT: dropped unrelated devices)
udevadm info /sys/bus/usb/devices/*
P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1
M: 1-1
R: 1
U: usb
T: usb_device
D: c 189:1
N: bus/usb/001/002
L: 0
V: usb
E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1
E: SUBSYSTEM=usb
E: DEVNAME=/dev/bus/usb/001/002
E: DEVTYPE=usb_device
E: DRIVER=usb
E: PRODUCT=2109/3431/421
E: TYPE=9/0/1
E: BUSNUM=001
E: DEVNUM=002
E: MAJOR=189
E: MINOR=1
E: USEC_INITIALIZED=3390257
E: ID_BUS=usb
E: ID_MODEL=USB2.0_Hub
E: ID_MODEL_ENC=USB2.0\x20Hub
E: ID_MODEL_ID=3431
E: ID_SERIAL=2109_USB2.0_Hub
E: ID_VENDOR=2109
E: ID_VENDOR_ENC=2109
E: ID_VENDOR_ID=2109E: ID_VENDOR_ENC=2109
E: ID_VENDOR_ID=2109
E: ID_REVISION=0421
E: ID_USB_MODEL=USB2.0_Hub
E: ID_USB_MODEL_ENC=USB2.0\x20Hub
E: ID_USB_MODEL_ID=3431
E: ID_USB_SERIAL=2109_USB2.0_Hub
E: ID_USB_VENDOR=2109
E: ID_USB_VENDOR_ENC=2109
E: ID_USB_VENDOR_ID=2109
E: ID_USB_REVISION=0421
E: ID_USB_INTERFACES=:090000:
E: ID_VENDOR_FROM_DATABASE=VIA Labs, Inc.
E: ID_MODEL_FROM_DATABASE=Hub
E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1
E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1
E: ID_FOR_SEAT=usb-platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1
E: TAGS=:snap_cups_cupsd:seat:snap_cups_ippeveprinter:
E: CURRENT_TAGS=:snap_cups_cupsd:seat:snap_cups_ippeveprinter:
P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
M: 1-1.4
R: 4
U: usb
T: usb_device
D: c 189:3
N: bus/usb/001/004
L: 0
V: usb
E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
E: SUBSYSTEM=usb
E: DEVNAME=/dev/bus/usb/001/004
E: DEVTYPE=usb_device
E: DRIVER=usb
E: PRODUCT=1d50/606f/0
E: TYPE=0/0/0
E: BUSNUM=001
E: DEVNUM=004
E: MAJOR=189
E: MINOR=3
E: USEC_INITIALIZED=4062017
E: ID_BUS=usb
E: ID_MODEL=budgetcan_gs_usb
E: ID_MODEL_ENC=budgetcan\x20gs_usb
E: ID_MODEL_ID=606f
E: ID_SERIAL=budgetcan_budgetcan_gs_usb_0040000C5542500A20303939
E: ID_SERIAL_SHORT=0040000C5542500A20303939
E: ID_VENDOR=budgetcan
E: ID_VENDOR_ENC=budgetcan
E: ID_VENDOR_ID=1d50
E: ID_REVISION=0000
E: ID_USB_MODEL=budgetcan_gs_usb
E: ID_USB_MODEL_ENC=budgetcan\x20gs_usb
E: ID_USB_MODEL_ID=606f
E: ID_USB_SERIAL=budgetcan_budgetcan_gs_usb_0040000C5542500A20303939
E: ID_USB_SERIAL_SHORT=0040000C5542500A20303939
E: ID_USB_VENDOR=budgetcan
E: ID_USB_VENDOR_ENC=budgetcan
E: ID_USB_VENDOR_ID=1d50
E: ID_USB_REVISION=0000
E: ID_USB_INTERFACES=:ffffff:fe0101:
E: ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
E: ID_MODEL_FROM_DATABASE=Geschwister Schneider CAN adapter
E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4
E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4
E: ID_MM_DEVICE_IGNORE=1
E: ID_FOR_SEAT=usb-platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4
E: TAGS=:snap_cups_cupsd:seat:snap_cups_ippeveprinter:
E: CURRENT_TAGS=:snap_cups_cupsd:seat:snap_cups_ippeveprinter:
P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0
M: 1-1.4:1.0
R: 0
U: usb
T: usb_interface
V: gs_usb
E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0
E: SUBSYSTEM=usb
E: DEVTYPE=usb_interface
E: DRIVER=gs_usb
E: PRODUCT=1d50/606f/0
E: TYPE=0/0/0
E: INTERFACE=255/255/255
E: MODALIAS=usb:v1D50p606Fd0000dc00dsc00dp00icFFiscFFipFFin00
E: USEC_INITIALIZED=4072100
E: ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
E: ID_MODEL_FROM_DATABASE=Geschwister Schneider CAN adapter
E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0
E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4_1_0
E: TAGS=:snap_cups_cupsd:snap_cups_ippeveprinter:
E: CURRENT_TAGS=:snap_cups_cupsd:snap_cups_ippeveprinter:
P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1
M: 1-1.4:1.1
R: 1
U: usb
T: usb_interface
E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1
E: SUBSYSTEM=usb
E: DEVTYPE=usb_interface
E: PRODUCT=1d50/606f/0
E: TYPE=0/0/0
E: INTERFACE=254/1/1
E: MODALIAS=usb:v1D50p606Fd0000dc00dsc00dp00icFEisc01ip01in01
E: USEC_INITIALIZED=4071992
E: ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
E: ID_MODEL_FROM_DATABASE=Geschwister Schneider CAN adapter
E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.1
E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4_1_1
E: TAGS=:snap_cups_cupsd:snap_cups_ippeveprinter:
E: CURRENT_TAGS=:snap_cups_cupsd:snap_cups_ippeveprinter:
Hope this helps. Thanks for your prompt return.
Marc
|
@m3cinc I edited your reply, as it contains too many unrelated devices, and their layouts are broken. Also, the result of The device that you are interested in is under Please provide the results of the following commands (please do not use udevadm info --tree /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4 The result should be large and decorated. Please do not paste the result in the reply, but attach as a file. Or, use gist or a pastebin service. Otherwise, the layout of the result should be broken again. |
Yu,
Please find the output attached as requested. Hope it help to resolve the
issue.
Thanks in advance.
Marc
…On Sun, Sep 17, 2023 at 5:49 PM Yu Watanabe ***@***.***> wrote:
@m3cinc <https://github.com/m3cinc> I edited your reply, as it contains
too many unrelated devices, and their layouts are broken. Also, the result
of udevadm test is dropped, as the command does not support multiple
devices, so only the first device is processed, and the processed device in
the reply is completely unrelated.
The device that you are interested in is under
/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
.
Please provide the results of the following commands (please do not use *
or so. Type the command as is.):
udevadm info --tree /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
The result should be large and decorated. Please do not paste the result
in the reply, but attach as a file. Or, use gist or a pastebin service.
Otherwise, the layout of the result should be broken again.
—
Reply to this email directly, view it on GitHub
<#29201 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACSU77OZ75KAWC5RJO72MFTX25V5PANCNFSM6AAAAAA43ZIAZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@m3cinc Hm, it seems that GitHub dropped the attachment in your reply. Please provide it through the Web UI (or gist or so). |
The attachment has now a .txt suffix, which should be accepted by github...
On Sun, Sep 17, 2023 at 6:24 PM Marc Borowczak ***@***.***>
wrote:
Yu,
Please find the output attached as requested. Hope it help to resolve the
issue.
Thanks in advance.
Marc
On Sun, Sep 17, 2023 at 5:49 PM Yu Watanabe ***@***.***>
wrote:
> @m3cinc <https://github.com/m3cinc> I edited your reply, as it contains
> too many unrelated devices, and their layouts are broken. Also, the result
> of udevadm test is dropped, as the command does not support multiple
> devices, so only the first device is processed, and the processed device in
> the reply is completely unrelated.
>
> The device that you are interested in is under
> /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
> .
>
> Please provide the results of the following commands (please do not use *
> or so. Type the command as is.):
>
> udevadm info --tree /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
>
> The result should be large and decorated. Please do not paste the result
> in the reply, but attach as a file. Or, use gist or a pastebin service.
> Otherwise, the layout of the result should be broken again.
>
> —
> Reply to this email directly, view it on GitHub
> <#29201 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACSU77OZ75KAWC5RJO72MFTX25V5PANCNFSM6AAAAAA43ZIAZA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
udevadm info --tree /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
└─/devices/platform/scb
┆ P: /devices/platform/scb
┆ M: scb
┆ U: platform
┆ V: simple-pm-bus
┆ E: DEVPATH=/devices/platform/scb
┆ E: SUBSYSTEM=platform
┆ E: DRIVER=simple-pm-bus
┆ E: OF_NAME=scb
┆ E: OF_FULLNAME=/scb
┆ E: OF_COMPATIBLE_0=simple-bus
┆ E: OF_COMPATIBLE_N=1
┆ E: MODALIAS=of:NscbT(null)Csimple-bus
┆ E: USEC_INITIALIZED=9682520
┆ E: ID_PATH=platform-scb
┆ E: ID_PATH_TAG=platform-scb
└─fd500000.pcie
┆ P: /devices/platform/scb/fd500000.pcie
┆ M: fd500000.pcie
┆ U: platform
┆ V: brcm-pcie
┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie
┆ E: SUBSYSTEM=platform
┆ E: DRIVER=brcm-pcie
┆ E: OF_NAME=pcie
┆ E: ***@***.***
┆ E: OF_TYPE=pci
┆ E: OF_COMPATIBLE_0=brcm,bcm2711-pcie
┆ E: OF_COMPATIBLE_1=brcm,bcm7445-pcie
┆ E: OF_COMPATIBLE_N=2
┆ E: OF_ALIAS_0=pcie0
┆ E: MODALIAS=of:NpcieTpciCbrcm,bcm2711-pcieCbrcm,bcm7445-pcie
┆ E: USEC_INITIALIZED=9732528
┆ E: ID_PATH=platform-fd500000.pcie
┆ E: ID_PATH_TAG=platform-fd500000_pcie
┆ E: ID_DRIVE_FLOPPY=1
└─pci0000:00/0000:00:00.0
┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0
┆ M: 0000:00:00.0
┆ R: 0
┆ U: pci
┆ V: pcieport
┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0
┆ E: SUBSYSTEM=pci
┆ E: DRIVER=pcieport
┆ E: OF_NAME=pci
┆ E: ***@***.******@***.***,0
┆ E: OF_TYPE=pci
┆ E: OF_COMPATIBLE_N=0
┆ E: PCI_CLASS=60400
┆ E: PCI_ID=14E4:2711
┆ E: PCI_SUBSYS_ID=0000:0000
┆ E: PCI_SLOT_NAME=0000:00:00.0
┆ E: MODALIAS=pci:v000014E4d00002711sv00000000sd00000000bc06sc04i00
┆ E: USEC_INITIALIZED=9800826
┆ E: ID_PCI_CLASS_FROM_DATABASE=Bridge
┆ E: ID_PCI_SUBCLASS_FROM_DATABASE=PCI bridge
┆ E: ID_PCI_INTERFACE_FROM_DATABASE=Normal decode
┆ E: ID_VENDOR_FROM_DATABASE=Broadcom Inc. and subsidiaries
┆ E: ID_MODEL_FROM_DATABASE=BCM2711 PCIe Bridge
└─0000:01:00.0
┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0
┆ M: 0000:01:00.0
┆ R: 0
┆ U: pci
┆ V: xhci_hcd
┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0
┆ E: SUBSYSTEM=pci
┆ E: DRIVER=pcieport
┆ E: OF_NAME=pci
┆ E: ***@***.******@***.***,0
┆ E: OF_TYPE=pci
┆ E: OF_COMPATIBLE_N=0
┆ E: PCI_CLASS=60400
┆ E: PCI_ID=14E4:2711
┆ E: PCI_SUBSYS_ID=0000:0000
┆ E: PCI_SLOT_NAME=0000:00:00.0
┆ E: MODALIAS=pci:v000014E4d00002711sv00000000sd00000000bc06sc04i00
┆ E: USEC_INITIALIZED=9800826
┆ E: ID_PCI_CLASS_FROM_DATABASE=Bridge
┆ E: ID_PCI_SUBCLASS_FROM_DATABASE=PCI bridge
┆ E: ID_PCI_INTERFACE_FROM_DATABASE=Normal decode
┆ E: ID_VENDOR_FROM_DATABASE=Broadcom Inc. and subsidiaries
┆ E: ID_MODEL_FROM_DATABASE=BCM2711 PCIe Bridge
└─0000:01:00.0
┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0
┆ M: 0000:01:00.0
┆ R: 0
┆ U: pci
┆ V: xhci_hcd
┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0
┆ E: SUBSYSTEM=pci
┆ E: DRIVER=xhci_hcd
┆ E: OF_NAME=usb
┆ E: ***@***.******@***.******@***.***,0
┆ E: OF_COMPATIBLE_N=0
┆ E: PCI_CLASS=C0330
┆ E: PCI_ID=1106:3483
┆ E: PCI_SUBSYS_ID=1106:3483
┆ E: PCI_SLOT_NAME=0000:01:00.0
┆ E: MODALIAS=pci:v00001106d00003483sv00001106sd00003483bc0Csc03i30
┆ E: USEC_INITIALIZED=9886309
┆ E: ID_PCI_CLASS_FROM_DATABASE=Serial bus controller
┆ E: ID_PCI_SUBCLASS_FROM_DATABASE=USB controller
┆ E: ID_PCI_INTERFACE_FROM_DATABASE=XHCI
┆ E: ID_VENDOR_FROM_DATABASE=VIA Technologies, Inc.
┆ E: ID_MODEL_FROM_DATABASE=VL805/806 xHCI USB 3.0 Controller
└─usb1
┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1
┆ M: usb1
┆ R: 1
┆ U: usb
┆ T: usb_device
┆ D: c 189:0
┆ N: bus/usb/001/001
┆ L: 0
┆ V: usb
┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1
┆ E: SUBSYSTEM=usb
┆ E: DEVNAME=/dev/bus/usb/001/001
┆ E: DEVTYPE=usb_device
┆ E: DRIVER=usb
┆ E: OF_NAME=usb
┆ E: ***@***.******@***.******@***.***,0
┆ E: OF_COMPATIBLE_N=0
┆ E: PRODUCT=1d6b/2/602
┆ E: TYPE=9/0/1
┆ E: BUSNUM=001
┆ E: DEVNUM=001
┆ E: MAJOR=189
┆ E: MINOR=0
┆ E: USEC_INITIALIZED=3345336
┆ E: ID_BUS=usb
┆ E: ID_MODEL=xHCI_Host_Controller
┆ E: ID_MODEL_ENC=xHCI\x20Host\x20Controller ┆ E: ID_USB_MODEL_ID=0002
┆ E: ID_USB_SERIAL=Linux_6.2.0-1012-raspi_xhci-hcd_xHCI_Host_Controller_0000:01:00.0
┆ E: ID_USB_SERIAL_SHORT=0000:01:00.0
┆ E: ID_USB_VENDOR=Linux_6.2.0-1012-raspi_xhci-hcd
┆ E: ID_USB_VENDOR_ENC=Linux\x206.2.0-1012-raspi\x20xhci-hcd
┆ E: ID_USB_VENDOR_ID=1d6b
┆ E: ID_USB_REVISION=0602
┆ E: ID_USB_INTERFACES=:090000:
┆ E: ID_VENDOR_FROM_DATABASE=Linux Foundation
┆ E: ID_AUTOSUSPEND=1
┆ E: ID_MODEL_FROM_DATABASE=2.0 root hub
┆ E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0
┆ E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0
┆ E: ID_FOR_SEAT=usb-platform-fd500000_pcie-pci-0000_01_00_0
┆ E: TAGS=:snap_cups_ippeveprinter:seat:snap_cups_cupsd:
┆ E: CURRENT_TAGS=:snap_cups_ippeveprinter:seat:snap_cups_cupsd:
└─1-1
┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1
┆ M: 1-1
┆ R: 1
┆ U: usb
┆ T: usb_device
┆ D: c 189:1
┆ N: bus/usb/001/002
┆ L: 0
┆ V: usb
┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1
┆ E: SUBSYSTEM=usb
┆ E: DEVNAME=/dev/bus/usb/001/002
┆ E: DEVTYPE=usb_device
┆ E: DRIVER=usb
┆ E: PRODUCT=2109/3431/421
┆ E: TYPE=9/0/1
┆ E: BUSNUM=001
┆ E: DEVNUM=002
┆ E: MAJOR=189
┆ E: MINOR=1
┆ E: USEC_INITIALIZED=3390257
┆ E: ID_BUS=usb
┆ E: ID_MODEL=USB2.0_Hub
┆ E: ID_MODEL_ENC=USB2.0\x20Hub
┆ E: ID_MODEL_ID=3431
┆ E: ID_SERIAL=2109_USB2.0_Hub
┆ E: ID_VENDOR=2109
┆ E: ID_VENDOR_ENC=2109
┆ E: ID_VENDOR_ID=2109
┆ E: ID_REVISION=0421
┆ E: ID_USB_MODEL=USB2.0_Hub
┆ E: ID_USB_MODEL_ENC=USB2.0\x20Hub
┆ E: ID_USB_MODEL_ID=3431
┆ E: ID_USB_SERIAL=2109_USB2.0_Hub
┆ E: ID_USB_VENDOR=2109
┆ E: ID_USB_VENDOR_ENC=2109
┆ E: ID_USB_VENDOR_ID=2109
┆ E: ID_USB_REVISION=0421
┆ E: ID_USB_INTERFACES=:090000:
┆ E: ID_VENDOR_FROM_DATABASE=VIA Labs, Inc.
┆ E: ID_MODEL_FROM_DATABASE=Hub
┆ E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1
┆ E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1
┆ E: ID_FOR_SEAT=usb-platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1
┆ E: TAGS=:snap_cups_ippeveprinter:seat:snap_cups_cupsd:
┆ E: CURRENT_TAGS=:snap_cups_ippeveprinter:seat:snap_cups_cupsd:
└─1-1.4
┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
┆ M: 1-1.4
┆ R: 4
┆ U: usb
┆ T: usb_device
┆ D: c 189:3
┆ N: bus/usb/001/004
┆ L: 0
┆ V: usb
┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1>
┆ E: SUBSYSTEM=usb
┆ E: DEVNAME=/dev/bus/usb/001/004
┆ E: DEVTYPE=usb_device
┆ E: DRIVER=usb
┆ E: PRODUCT=1d50/606f/0
┆ E: TYPE=0/0/0
┆ E: BUSNUM=001
┆ E: DEVNUM=004
┆ E: MAJOR=189
┆ E: MINOR=3
┆ E: USEC_INITIALIZED=4062017
┆ E: ID_BUS=usb
┆ E: ID_MODEL=budgetcan_gs_usb
┆ E: ID_MODEL_ENC=budgetcan\x20gs_usb
┆ E: ID_MODEL_ID=606f
┆ E: ID_SERIAL=budgetcan_budgetcan_gs_usb_0040000C5542500A20303939
┆ E: ID_SERIAL_SHORT=0040000C5542500A20303939
┆ E: ID_VENDOR=budgetcan
┆ E: ID_VENDOR_ENC=budgetcan
┆ E: ID_VENDOR_ID=1d50
┆ E: ID_REVISION=0000
┆ E: ID_USB_MODEL=budgetcan_gs_usb
┆ E: ID_USB_MODEL_ENC=budgetcan\x20gs_usb
┆ E: ID_USB_MODEL_ID=606f
┆ E: ID_USB_SERIAL=budgetcan_budgetcan_gs_usb_0040000C5542500A20303939
┆ E: ID_USB_SERIAL_SHORT=0040000C5542500A20303939
┆ E: ID_USB_VENDOR=budgetcan
┆ E: ID_USB_VENDOR_ENC=budgetcan
┆ E: ID_USB_VENDOR_ID=1d50
┆ E: ID_USB_REVISION=0000
┆ E: ID_USB_INTERFACES=:ffffff:fe0101:
┆ E: ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
┆ E: ID_MODEL_FROM_DATABASE=Geschwister Schneider CAN adapter
┆ E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4
┆ E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4
┆ E: ID_MM_DEVICE_IGNORE=1
┆ E: ID_FOR_SEAT=usb-platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4 ┆ E: TAGS=:snap_cups_ippeveprinter:seat:snap_cups_cupsd: ┆ E: CURRENT_TAGS=:snap_cups_ippeveprinter:seat:snap_cups_cupsd:
├─1-1.4:1.0
│ ┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1>
│ ┆ M: 1-1.4:1.0
│ ┆ R: 0
│ ┆ U: usb
│ ┆ T: usb_interface
│ ┆ V: gs_usb
│ ┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1>
│ ┆ E: SUBSYSTEM=usb
│ ┆ E: DEVTYPE=usb_interface
│ ┆ E: DRIVER=gs_usb
│ ┆ E: PRODUCT=1d50/606f/0
│ ┆ E: TYPE=0/0/0
│ ┆ E: INTERFACE=255/255/255
│ ┆ E: MODALIAS=usb:v1D50p606Fd0000dc00dsc00dp00icFFiscFFipFFin00
│ ┆ E: USEC_INITIALIZED=4072100
│ ┆ E: ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
│ ┆ E: ID_MODEL_FROM_DATABASE=Geschwister Schneider CAN adapter
│ ┆ E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0
│ ┆ E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4_1_0
│ ┆ E: TAGS=:snap_cups_ippeveprinter:snap_cups_cupsd:
│ ┆ E: CURRENT_TAGS=:snap_cups_ippeveprinter:snap_cups_cupsd:
│ └─net/can0
│ ┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1>
│ ┆ M: can0
│ ┆ R: 0
│ ┆ U: net
│ ┆ I: 3
│ ┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1>
│ ┆ E: SUBSYSTEM=net
│ ┆ E: INTERFACE=can0
│ ┆ E: IFINDEX=3
│ ┆ E: USEC_INITIALIZED=12796477
│ ┆ E: ID_MM_CANDIDATE=1
│ ┆ E: ID_BUS=usb
│ ┆ E: ID_MODEL=budgetcan_gs_usb
│ ┆ E: ID_MODEL_ENC=budgetcan\x20gs_usb
│ ┆ E: ID_MODEL_ID=606f
│ ┆ E: ID_SERIAL=budgetcan_budgetcan_gs_usb_0040000C5542500A20303939
│ ┆ E: ID_SERIAL_SHORT=0040000C5542500A20303939
│ ┆ E: ID_VENDOR=budgetcan
│ ┆ E: ID_VENDOR_ENC=budgetcan
│ ┆ E: ID_VENDOR_ID=1d50
│ ┆ E: ID_REVISION=0000
│ ┆ E: ID_TYPE=generic
│ ┆ E: ID_USB_MODEL=budgetcan_gs_usb
│ ┆ E: ID_USB_MODEL_ENC=budgetcan\x20gs_usb
│ ┆ E: ID_USB_MODEL_ID=606f
│ ┆ E: ID_USB_SERIAL=budgetcan_budgetcan_gs_usb_0040000C5542500A20303939
│ ┆ E: ID_USB_SERIAL_SHORT=0040000C5542500A20303939
│ ┆ E: ID_USB_VENDOR=budgetcan
│ ┆ E: ID_USB_VENDOR_ENC=budgetcan
│ ┆ E: ID_USB_VENDOR_ID=1d50
│ ┆ E: ID_USB_REVISION=0000
│ ┆ E: ID_USB_TYPE=generic │ ┆ E: ID_USB_MODEL=budgetcan_gs_usb
│ ┆ E: ID_USB_MODEL_ENC=budgetcan\x20gs_usb
│ ┆ E: ID_USB_MODEL_ID=606f
│ ┆ E: ID_USB_SERIAL=budgetcan_budgetcan_gs_usb_0040000C5542500A20303939
│ ┆ E: ID_USB_SERIAL_SHORT=0040000C5542500A20303939
│ ┆ E: ID_USB_VENDOR=budgetcan
│ ┆ E: ID_USB_VENDOR_ENC=budgetcan
│ ┆ E: ID_USB_VENDOR_ID=1d50
│ ┆ E: ID_USB_REVISION=0000
│ ┆ E: ID_USB_TYPE=generic
│ ┆ E: ID_USB_INTERFACES=:ffffff:fe0101:
│ ┆ E: ID_USB_INTERFACE_NUM=00
│ ┆ E: ID_USB_DRIVER=gs_usb
│ ┆ E: ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
│ ┆ E: ID_MODEL_FROM_DATABASE=Geschwister Schneider CAN adapter
│ ┆ E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0
│ ┆ E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4_1_0
│ ┆ E: ID_NET_DRIVER=gs_usb
│ ┆ E: ID_NET_LINK_FILE=/usr/lib/systemd/network/73-usb-net-by-mac.link
│ ┆ E: ID_NET_NAME=can0
│ ┆ E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/can0
│ ┆ E: TAGS=:systemd:
│ ┆ E: CURRENT_TAGS=:systemd:
└─1-1.4:1.1
┆ P: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1>
┆ M: 1-1.4:1.1
┆ R: 1
┆ U: usb
┆ T: usb_interface
┆ E: DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1>
┆ E: SUBSYSTEM=usb
┆ E: DEVTYPE=usb_interface
┆ E: PRODUCT=1d50/606f/0
┆ E: TYPE=0/0/0
┆ E: INTERFACE=254/1/1
┆ E: MODALIAS=usb:v1D50p606Fd0000dc00dsc00dp00icFEisc01ip01in01
┆ E: USEC_INITIALIZED=4071992
┆ E: ID_VENDOR_FROM_DATABASE=OpenMoko, Inc.
┆ E: ID_MODEL_FROM_DATABASE=Geschwister Schneider CAN adapter
┆ E: ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.1
┆ E: ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4_1_1
┆ E: TAGS=:snap_cups_ippeveprinter:snap_cups_cupsd:
┆ E: CURRENT_TAGS=:snap_cups_ippeveprinter:snap_cups_cupsd:
10 items shown.
|
Thanks. I cannot find anything spurious in the output. What do you expect? |
Yu,
the CAN controller board is a usb device and its firmware is flashed in the
usb attached mode. Then it established a CAN network but must be recognized
by its serial number in klipper. That used to work in prior versions of
systemd udev and simply does not anymore. For info, you could look briefly
at the klipper installation file at
https://www.klipper3d.org/Installation.html where the process is described.
Thanks for taking a bit of your time to trace this issue.
Marc
…On Sun, Sep 17, 2023 at 8:53 PM Yu Watanabe ***@***.***> wrote:
Thanks. I cannot find anything spurious in the output. What do you expect?
Note, CAN device is a network device, not a serial. If you expect a
symlink under /dev/serial/by-id or by-path to the CAN device, then that is
simply not supported, as network devices do not have device nodes under
/dev.
—
Reply to this email directly, view it on GitHub
<#29201 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACSU77JQZHHQRI2I5PBOSTLX26LP7ANCNFSM6AAAAAA43ZIAZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Which device (device here means syspath) should have the expected symlinks ? Is the device really detected by the kernel ? If so, you can find it under At least, under I guess some drivers or modules required for the device is not installed, and the kernel does not detect the device. But not sure.
If this is really a udev bug, then please provide the result of |
systemd version the issue has been seen with
252.5-2ubuntu3.1
Used distribution
Ubuntu 23.04 and Debian Linux 6.1.21-v7l+ #1642 SMP Mon Apr 3 17:22:30 BST 2023 armv7l
Linux kernel version used
6.1.21-v7l and 6.2.0-1012-raspi aarch64
CPU architectures issue was seen on
arm
Component
systemd, systemd-udevd, udevadm, udev rule files
Expected behaviour you didn't see
ls /dev/usb-serial/by-id/ should return a list of all USB Serialized
similarly,
ls /dev/serial/by-path
Unexpected behaviour you saw
ls: cannot access '/dev/usb-serial/by-id/': No such file or directory
and
ls: cannot access '/dev/serial/by-path': No such file or directory
Steps to reproduce the problem
install fresh images of the referenced id.
issue the command ls /dev/serial/by-id/ or ls /dev/serial/by-path/
will generate the No such filke or directory, due to the absence of symlinks...
Apply patch (PR #25246) to substitute 60-serial.rules in /usr/lib/udev/rules.d as follows:
sudo mv /usr/lib/udev/rules.d/60-serial.rules /usr/lib/udev/rules.d/60-serial.rules.bak
cd /usr/lib/udev/rules.d/
sudo wget https://raw.githubusercontent.com/yuwata/systemd/5286da064c97d2ac934cb301066aaa8605a3c8f9/rules.d/60-serial.rules
--2023-09-17 11:22:22-- https://raw.githubusercontent.com/yuwata/systemd/5286da064c97d2ac934cb301066aaa8605a3c8f9/rules.d/60-serial.rules
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8003::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1136 (1.1K) [text/plain]
Saving to: ‘60-serial.rules’
60-serial.rules.1 100%[===========================================>] 1.11K --.-KB/s in 0s
2023-09-17 11:22:22 (8.76 MB/s) - ‘60-serial.rules’ saved [1136/1136]
sudo udevadm control --reload-rules && sudo udevadm trigger
ls /dev/serial/by-id
ls: cannot access '/dev/serial/by-id': No such file or directory
ls /dev/serial/by-id/
ls: cannot access '/dev/serial/by-id/': No such file or directory
Reboot does not improve situation... and errors persist as symlinks are not established.
content of 60-serial.rules follows:
Additional program output to the terminal or log subsystem illustrating the issue
The text was updated successfully, but these errors were encountered: