Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Fixed USB /dev/name for USB Micro Teleinfo device

    Scheduled Pinned Locked Moved MicroTéléinfo
    devttyusblinuxusbteleinfofixed
    4 Posts 2 Posters 3.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CharlesC Offline
      Charles
      last edited by Charles

      Today I received a mail from a user who asked me how to fix /dev/ttyUSBx name for Micro Teleinfo devices. This make sense because on linux, ordering number can sometime be different if you have multiple USB Serial device connected (whatever chip in it such as FTDI, PL2303, CP2302, CH340, … Continue Reading

      Click here to see the full blog post

      1 Reply Last reply Reply Quote
      • J Offline
        jan
        last edited by

        Hi Charles,
        thank you for your post. I have the similar issue when I have 2 usb to serial port converters and every time I restart my RPi2 they show as different /dev/ttyUSBx. The problem is that these are cheap chinease converters and they dont have unique serial number. Here is my lsusb

        Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
        Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
        Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
        Bus 001 Device 006: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter

        I have actually 3 usb converters but the 3rd one has serial number but the 2 chinease converters dont. Any idea how to fix this? I am struggling to write the udev rule without serial number, i guess it is not possible.
        Thanks a log in advance.
        Regards,
        Jan

        1 Reply Last reply Reply Quote
        • CharlesC Offline
          Charles
          last edited by Charles

          @jan
          could you post a result of each

          udevadm info --attribute-walk -n /dev/ttyUSBx
          

          Pretty sure we can find some interesting different data

          1 Reply Last reply Reply Quote
          • J Offline
            jan
            last edited by

            @Charles here it is, thanks for your help, let me know if you spot something in the data:

            $ udevadm info --attribute-walk -n /dev/ttyUSB0

            Udevadm info starts with the device specified by the devpath and then
            walks up the chain of parent devices. It prints for every device
            found, all possible attributes in the udev rules key format.
            A rule to match, can be composed by the attributes of the device
            and the attributes from one single parent device.

            looking at device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0/tty/ttyUSB0':
            KERNEL=="ttyUSB0"
            SUBSYSTEM=="tty"
            DRIVER==""

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0':
            KERNELS=="ttyUSB0"
            SUBSYSTEMS=="usb-serial"
            DRIVERS=="ftdi_sio"
            ATTRS{port_number}=="0"
            ATTRS{latency_timer}=="1"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0':
            KERNELS=="1-1.2:1.0"
            SUBSYSTEMS=="usb"
            DRIVERS=="ftdi_sio"
            ATTRS{bInterfaceClass}=="ff"
            ATTRS{bInterfaceSubClass}=="ff"
            ATTRS{bInterfaceProtocol}=="ff"
            ATTRS{bNumEndpoints}=="02"
            ATTRS{authorized}=="1"
            ATTRS{supports_autosuspend}=="1"
            ATTRS{bAlternateSetting}==" 0"
            ATTRS{bInterfaceNumber}=="00"
            ATTRS{interface}=="Papouch SB485S (SC)"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2':
            KERNELS=="1-1.2"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="00"
            ATTRS{devpath}=="1.2"
            ATTRS{idVendor}=="0403"
            ATTRS{speed}=="12"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="8"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="4"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="100mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="80"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="0"
            ATTRS{bcdDevice}=="0600"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{serial}=="PPTPLYYD"
            ATTRS{version}==" 2.00"
            ATTRS{urbnum}=="36003915"
            ATTRS{ltm_capable}=="no"
            ATTRS{manufacturer}=="Papouch s.r.o."
            ATTRS{removable}=="removable"
            ATTRS{idProduct}=="6001"
            ATTRS{bDeviceClass}=="00"
            ATTRS{product}=="Papouch SB485S (SC)"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1':
            KERNELS=="1-1"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="02"
            ATTRS{devpath}=="1"
            ATTRS{idVendor}=="0424"
            ATTRS{speed}=="480"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="64"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="2"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="2mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="e0"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="5"
            ATTRS{bcdDevice}=="0200"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{version}==" 2.00"
            ATTRS{urbnum}=="54"
            ATTRS{ltm_capable}=="no"
            ATTRS{removable}=="unknown"
            ATTRS{idProduct}=="9514"
            ATTRS{bDeviceClass}=="09"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1':
            KERNELS=="usb1"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="01"
            ATTRS{devpath}=="0"
            ATTRS{idVendor}=="1d6b"
            ATTRS{speed}=="480"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="64"
            ATTRS{authorized_default}=="1"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="1"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="0mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="e0"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="1"
            ATTRS{interface_authorized_default}=="1"
            ATTRS{bcdDevice}=="0404"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{serial}=="3f980000.usb"
            ATTRS{version}==" 2.00"
            ATTRS{urbnum}=="25"
            ATTRS{ltm_capable}=="no"
            ATTRS{manufacturer}=="Linux 4.4.27-v7+ dwc_otg_hcd"
            ATTRS{removable}=="unknown"
            ATTRS{idProduct}=="0002"
            ATTRS{bDeviceClass}=="09"
            ATTRS{product}=="DWC OTG Controller"

            looking at parent device '/devices/platform/soc/3f980000.usb':
            KERNELS=="3f980000.usb"
            SUBSYSTEMS=="platform"
            DRIVERS=="dwc_otg"
            ATTRS{hnp}=="HstNegScs = 0x0"
            ATTRS{srp}=="SesReqScs = 0x1"
            ATTRS{regvalue}=="invalid offset"
            ATTRS{hsic_connect}=="HSIC Connect = 0x1"
            ATTRS{guid}=="GUID = 0x2708a000"
            ATTRS{mode}=="Mode = 0x1"
            ATTRS{srpcapable}=="SRPCapable = 0x1"
            ATTRS{regdump}=="Register Dump"
            ATTRS{gpvndctl}=="GPVNDCTL = 0x00000000"
            ATTRS{ggpio}=="GGPIO = 0x00000000"
            ATTRS{hprt0}=="HPRT0 = 0x00001405"
            ATTRS{wr_reg_test}=="Time to write GNPTXFSIZ reg 10000000 times: 1060 msecs (106 jiffies)"
            ATTRS{driver_override}=="(null)"
            ATTRS{hcd_frrem}=="HCD Dump Frame Remaining"
            ATTRS{mode_ch_tim_en}=="Mode Change Ready Timer Enable = 0x0"
            ATTRS{gnptxfsiz}=="GNPTXFSIZ = 0x01000306"
            ATTRS{remote_wakeup}=="Remote Wakeup Sig = 0 Enabled = 0 LPM Remote Wakeup = 0"
            ATTRS{busconnected}=="Bus Connected = 0x1"
            ATTRS{hcddump}=="HCD Dump"
            ATTRS{gotgctl}=="GOTGCTL = 0x001c0001"
            ATTRS{spramdump}=="SPRAM Dump"
            ATTRS{grxfsiz}=="GRXFSIZ = 0x00000306"
            ATTRS{gsnpsid}=="GSNPSID = 0x4f54280a"
            ATTRS{gusbcfg}=="GUSBCFG = 0x20001700"
            ATTRS{hptxfsiz}=="HPTXFSIZ = 0x02000406"
            ATTRS{devspeed}=="Device Speed = 0x0"
            ATTRS{fr_interval}=="Frame Interval = 0x1d4c"
            ATTRS{rem_wakeup_pwrdn}==""
            ATTRS{bussuspend}=="Bus Suspend = 0x0"
            ATTRS{buspower}=="Bus Power = 0x1"
            ATTRS{hnpcapable}=="HNPCapable = 0x1"
            ATTRS{rd_reg_test}=="Time to read GNPTXFSIZ reg 10000000 times: 2140 msecs (214 jiffies)"
            ATTRS{enumspeed}=="Device Enumeration Speed = 0x1"
            ATTRS{inv_sel_hsic}=="Invert Select HSIC = 0x0"
            ATTRS{regoffset}=="0xffffffff"

            looking at parent device '/devices/platform/soc':
            KERNELS=="soc"
            SUBSYSTEMS=="platform"
            DRIVERS==""
            ATTRS{driver_override}=="(null)"

            looking at parent device '/devices/platform':
            KERNELS=="platform"
            SUBSYSTEMS==""
            DRIVERS==""

             $ udevadm info --attribute-walk -n /dev/ttyUSB1
            

            Udevadm info starts with the device specified by the devpath and then
            walks up the chain of parent devices. It prints for every device
            found, all possible attributes in the udev rules key format.
            A rule to match, can be composed by the attributes of the device
            and the attributes from one single parent device.

            looking at device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/ttyUSB1/tty/ttyUSB1':
            KERNEL=="ttyUSB1"
            SUBSYSTEM=="tty"
            DRIVER==""

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/ttyUSB1':
            KERNELS=="ttyUSB1"
            SUBSYSTEMS=="usb-serial"
            DRIVERS=="ch341-uart"
            ATTRS{port_number}=="0"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0':
            KERNELS=="1-1.4:1.0"
            SUBSYSTEMS=="usb"
            DRIVERS=="ch341"
            ATTRS{bInterfaceClass}=="ff"
            ATTRS{bInterfaceSubClass}=="01"
            ATTRS{bInterfaceProtocol}=="02"
            ATTRS{bNumEndpoints}=="03"
            ATTRS{authorized}=="1"
            ATTRS{supports_autosuspend}=="1"
            ATTRS{bAlternateSetting}==" 0"
            ATTRS{bInterfaceNumber}=="00"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4':
            KERNELS=="1-1.4"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="00"
            ATTRS{devpath}=="1.4"
            ATTRS{idVendor}=="1a86"
            ATTRS{speed}=="12"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="8"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="5"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="96mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="80"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="0"
            ATTRS{bcdDevice}=="0254"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{version}==" 1.10"
            ATTRS{urbnum}=="7492"
            ATTRS{ltm_capable}=="no"
            ATTRS{removable}=="removable"
            ATTRS{idProduct}=="7523"
            ATTRS{bDeviceClass}=="ff"
            ATTRS{product}=="USB2.0-Serial"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1':
            KERNELS=="1-1"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="02"
            ATTRS{devpath}=="1"
            ATTRS{idVendor}=="0424"
            ATTRS{speed}=="480"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="64"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="2"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="2mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="e0"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="5"
            ATTRS{bcdDevice}=="0200"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{version}==" 2.00"
            ATTRS{urbnum}=="54"
            ATTRS{ltm_capable}=="no"
            ATTRS{removable}=="unknown"
            ATTRS{idProduct}=="9514"
            ATTRS{bDeviceClass}=="09"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1':
            KERNELS=="usb1"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="01"
            ATTRS{devpath}=="0"
            ATTRS{idVendor}=="1d6b"
            ATTRS{speed}=="480"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="64"
            ATTRS{authorized_default}=="1"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="1"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="0mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="e0"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="1"
            ATTRS{interface_authorized_default}=="1"
            ATTRS{bcdDevice}=="0404"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{serial}=="3f980000.usb"
            ATTRS{version}==" 2.00"
            ATTRS{urbnum}=="25"
            ATTRS{ltm_capable}=="no"
            ATTRS{manufacturer}=="Linux 4.4.27-v7+ dwc_otg_hcd"
            ATTRS{removable}=="unknown"
            ATTRS{idProduct}=="0002"
            ATTRS{bDeviceClass}=="09"
            ATTRS{product}=="DWC OTG Controller"

            looking at parent device '/devices/platform/soc/3f980000.usb':
            KERNELS=="3f980000.usb"
            SUBSYSTEMS=="platform"
            DRIVERS=="dwc_otg"
            ATTRS{hnp}=="HstNegScs = 0x0"
            ATTRS{srp}=="SesReqScs = 0x1"
            ATTRS{regvalue}=="invalid offset"
            ATTRS{hsic_connect}=="HSIC Connect = 0x1"
            ATTRS{guid}=="GUID = 0x2708a000"
            ATTRS{mode}=="Mode = 0x1"
            ATTRS{srpcapable}=="SRPCapable = 0x1"
            ATTRS{regdump}=="Register Dump"
            ATTRS{gpvndctl}=="GPVNDCTL = 0x00000000"
            ATTRS{ggpio}=="GGPIO = 0x00000000"
            ATTRS{hprt0}=="HPRT0 = 0x00001405"
            ATTRS{wr_reg_test}=="Time to write GNPTXFSIZ reg 10000000 times: 870 msecs (87 jiffies)"
            ATTRS{driver_override}=="(null)"
            ATTRS{hcd_frrem}=="HCD Dump Frame Remaining"
            ATTRS{mode_ch_tim_en}=="Mode Change Ready Timer Enable = 0x0"
            ATTRS{gnptxfsiz}=="GNPTXFSIZ = 0x01000306"
            ATTRS{remote_wakeup}=="Remote Wakeup Sig = 0 Enabled = 0 LPM Remote Wakeup = 0"
            ATTRS{busconnected}=="Bus Connected = 0x1"
            ATTRS{hcddump}=="HCD Dump"
            ATTRS{gotgctl}=="GOTGCTL = 0x001c0001"
            ATTRS{spramdump}=="SPRAM Dump"
            ATTRS{grxfsiz}=="GRXFSIZ = 0x00000306"
            ATTRS{gsnpsid}=="GSNPSID = 0x4f54280a"
            ATTRS{gusbcfg}=="GUSBCFG = 0x20001700"
            ATTRS{hptxfsiz}=="HPTXFSIZ = 0x02000406"
            ATTRS{devspeed}=="Device Speed = 0x0"
            ATTRS{fr_interval}=="Frame Interval = 0x1d4c"
            ATTRS{rem_wakeup_pwrdn}==""
            ATTRS{bussuspend}=="Bus Suspend = 0x0"
            ATTRS{buspower}=="Bus Power = 0x1"
            ATTRS{hnpcapable}=="HNPCapable = 0x1"
            ATTRS{rd_reg_test}=="Time to read GNPTXFSIZ reg 10000000 times: 1890 msecs (189 jiffies)"
            ATTRS{enumspeed}=="Device Enumeration Speed = 0x1"
            ATTRS{inv_sel_hsic}=="Invert Select HSIC = 0x0"
            ATTRS{regoffset}=="0xffffffff"

            looking at parent device '/devices/platform/soc':
            KERNELS=="soc"
            SUBSYSTEMS=="platform"
            DRIVERS==""
            ATTRS{driver_override}=="(null)"

            looking at parent device '/devices/platform':
            KERNELS=="platform"
            SUBSYSTEMS==""
            DRIVERS==""

            $ udevadm info --attribute-walk -n /dev/ttyUSB2
            

            Udevadm info starts with the device specified by the devpath and then
            walks up the chain of parent devices. It prints for every device
            found, all possible attributes in the udev rules key format.
            A rule to match, can be composed by the attributes of the device
            and the attributes from one single parent device.

            looking at device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/ttyUSB2/tty/ttyUSB2':
            KERNEL=="ttyUSB2"
            SUBSYSTEM=="tty"
            DRIVER==""

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/ttyUSB2':
            KERNELS=="ttyUSB2"
            SUBSYSTEMS=="usb-serial"
            DRIVERS=="ch341-uart"
            ATTRS{port_number}=="0"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0':
            KERNELS=="1-1.5:1.0"
            SUBSYSTEMS=="usb"
            DRIVERS=="ch341"
            ATTRS{bInterfaceClass}=="ff"
            ATTRS{bInterfaceSubClass}=="01"
            ATTRS{bInterfaceProtocol}=="02"
            ATTRS{bNumEndpoints}=="03"
            ATTRS{authorized}=="1"
            ATTRS{supports_autosuspend}=="1"
            ATTRS{bAlternateSetting}==" 0"
            ATTRS{bInterfaceNumber}=="00"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5':
            KERNELS=="1-1.5"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="00"
            ATTRS{devpath}=="1.5"
            ATTRS{idVendor}=="1a86"
            ATTRS{speed}=="12"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="8"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="6"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="96mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="80"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="0"
            ATTRS{bcdDevice}=="0254"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{version}==" 1.10"
            ATTRS{urbnum}=="900734"
            ATTRS{ltm_capable}=="no"
            ATTRS{removable}=="removable"
            ATTRS{idProduct}=="7523"
            ATTRS{bDeviceClass}=="ff"
            ATTRS{product}=="USB2.0-Serial"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1':
            KERNELS=="1-1"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="02"
            ATTRS{devpath}=="1"
            ATTRS{idVendor}=="0424"
            ATTRS{speed}=="480"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="64"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="2"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="2mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="e0"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="5"
            ATTRS{bcdDevice}=="0200"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{version}==" 2.00"
            ATTRS{urbnum}=="54"
            ATTRS{ltm_capable}=="no"
            ATTRS{removable}=="unknown"
            ATTRS{idProduct}=="9514"
            ATTRS{bDeviceClass}=="09"

            looking at parent device '/devices/platform/soc/3f980000.usb/usb1':
            KERNELS=="usb1"
            SUBSYSTEMS=="usb"
            DRIVERS=="usb"
            ATTRS{bDeviceSubClass}=="00"
            ATTRS{bDeviceProtocol}=="01"
            ATTRS{devpath}=="0"
            ATTRS{idVendor}=="1d6b"
            ATTRS{speed}=="480"
            ATTRS{bNumInterfaces}==" 1"
            ATTRS{bConfigurationValue}=="1"
            ATTRS{bMaxPacketSize0}=="64"
            ATTRS{authorized_default}=="1"
            ATTRS{busnum}=="1"
            ATTRS{devnum}=="1"
            ATTRS{configuration}==""
            ATTRS{bMaxPower}=="0mA"
            ATTRS{authorized}=="1"
            ATTRS{bmAttributes}=="e0"
            ATTRS{bNumConfigurations}=="1"
            ATTRS{maxchild}=="1"
            ATTRS{interface_authorized_default}=="1"
            ATTRS{bcdDevice}=="0404"
            ATTRS{avoid_reset_quirk}=="0"
            ATTRS{quirks}=="0x0"
            ATTRS{serial}=="3f980000.usb"
            ATTRS{version}==" 2.00"
            ATTRS{urbnum}=="25"
            ATTRS{ltm_capable}=="no"
            ATTRS{manufacturer}=="Linux 4.4.27-v7+ dwc_otg_hcd"
            ATTRS{removable}=="unknown"
            ATTRS{idProduct}=="0002"
            ATTRS{bDeviceClass}=="09"
            ATTRS{product}=="DWC OTG Controller"

            looking at parent device '/devices/platform/soc/3f980000.usb':
            KERNELS=="3f980000.usb"
            SUBSYSTEMS=="platform"
            DRIVERS=="dwc_otg"
            ATTRS{hnp}=="HstNegScs = 0x0"
            ATTRS{srp}=="SesReqScs = 0x1"
            ATTRS{regvalue}=="invalid offset"
            ATTRS{hsic_connect}=="HSIC Connect = 0x1"
            ATTRS{guid}=="GUID = 0x2708a000"
            ATTRS{mode}=="Mode = 0x1"
            ATTRS{srpcapable}=="SRPCapable = 0x1"
            ATTRS{regdump}=="Register Dump"
            ATTRS{gpvndctl}=="GPVNDCTL = 0x00000000"
            ATTRS{ggpio}=="GGPIO = 0x00000000"
            ATTRS{hprt0}=="HPRT0 = 0x00001005"
            ATTRS{wr_reg_test}=="Time to write GNPTXFSIZ reg 10000000 times: 680 msecs (68 jiffies)"
            ATTRS{driver_override}=="(null)"
            ATTRS{hcd_frrem}=="HCD Dump Frame Remaining"
            ATTRS{mode_ch_tim_en}=="Mode Change Ready Timer Enable = 0x0"
            ATTRS{gnptxfsiz}=="GNPTXFSIZ = 0x01000306"
            ATTRS{remote_wakeup}=="Remote Wakeup Sig = 0 Enabled = 0 LPM Remote Wakeup = 0"
            ATTRS{busconnected}=="Bus Connected = 0x1"
            ATTRS{hcddump}=="HCD Dump"
            ATTRS{gotgctl}=="GOTGCTL = 0x001c0001"
            ATTRS{spramdump}=="SPRAM Dump"
            ATTRS{grxfsiz}=="GRXFSIZ = 0x00000306"
            ATTRS{gsnpsid}=="GSNPSID = 0x4f54280a"
            ATTRS{gusbcfg}=="GUSBCFG = 0x20001700"
            ATTRS{hptxfsiz}=="HPTXFSIZ = 0x02000406"
            ATTRS{devspeed}=="Device Speed = 0x0"
            ATTRS{fr_interval}=="Frame Interval = 0x1d4c"
            ATTRS{rem_wakeup_pwrdn}==""
            ATTRS{bussuspend}=="Bus Suspend = 0x0"
            ATTRS{buspower}=="Bus Power = 0x1"
            ATTRS{hnpcapable}=="HNPCapable = 0x1"
            ATTRS{rd_reg_test}=="Time to read GNPTXFSIZ reg 10000000 times: 1700 msecs (170 jiffies)"
            ATTRS{enumspeed}=="Device Enumeration Speed = 0x1"
            ATTRS{inv_sel_hsic}=="Invert Select HSIC = 0x0"
            ATTRS{regoffset}=="0xffffffff"

            looking at parent device '/devices/platform/soc':
            KERNELS=="soc"
            SUBSYSTEMS=="platform"
            DRIVERS==""
            ATTRS{driver_override}=="(null)"

            looking at parent device '/devices/platform':
            KERNELS=="platform"
            SUBSYSTEMS==""
            DRIVERS==""

            1 Reply Last reply Reply Quote
            • CharlesC Charles unpinned this topic on
            • First post
              Last post

            3

            Online

            5.7k

            Users

            534

            Topics

            5.0k

            Posts

            Top Topics

            • Bonjour Nicolas
              Nicolas BernaertsN
              Nicolas Bernaerts
              0
              19
              312

            • Denky 4 - Domoticz - Triphasé -
              Nicolas BernaertsN
              Nicolas Bernaerts
              0
              7
              65

            • Denky D4 et Linky Standard TInfo Rx Non Configuré
              CharlesC
              Charles
              0
              5
              136

            • CC1101 mini shield pour raspberry
              CharlesC
              Charles
              0
              5
              151

            • CC1101
              CharlesC
              Charles
              0
              2
              66

            Popular Tags

            teleinfo
            24 topics
            arduino
            19 topics
            remora
            16 topics
            esp8266
            10 topics
            arduipi
            10 topics
            wifinfo
            7 topics
            raspberry
            7 topics
            broadcast
            7 topics
            Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB