USB ethernet adapter keeps disconnecting

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Since upgrading to Ubuntu 18.04 from 17.10 my usb ethernet adapter keeps disconnecting. It used to work perfectly with 17.10.



dmesg shows the following output upon a connection drop:



[ 273.462732] usb 4-1.4: usb_reset_and_verify_device Failed to disable LTM
.
[ 273.643622] usb 4-1.4: USB disconnect, device number 11
[ 273.795468] usb 4-1.4: new SuperSpeed USB device number 12 using xhci_hcd
[ 273.816520] usb 4-1.4: New USB device found, idVendor=0bda, idProduct=8153
[ 273.816522] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 273.816523] usb 4-1.4: Product: USB 10/100/1000 LAN
[ 273.816524] usb 4-1.4: Manufacturer: Realtek
[ 273.816525] usb 4-1.4: SerialNumber: 0000A5
[ 273.896167] usb 4-1.4: reset SuperSpeed USB device number 12 using xhci_hcd
[ 273.948778] r8152 4-1.4:1.0 eth0: v1.09.9
[ 274.503001] r8152 4-1.4:1.0 enx144fd7d04a3c: renamed from eth0
[ 274.539481] IPv6: ADDRCONF(NETDEV_UP): enx144fd7d04a3c: link is not ready
[ 274.543857] IPv6: ADDRCONF(NETDEV_UP): enx144fd7d04a3c: link is not ready
[ 276.431243] r8152 4-1.4:1.0 enx144fd7d04a3c: carrier on
[ 276.431258] IPv6: ADDRCONF(NETDEV_CHANGE): enx144fd7d04a3c: link becomes ready






share|improve this question























    up vote
    0
    down vote

    favorite












    Since upgrading to Ubuntu 18.04 from 17.10 my usb ethernet adapter keeps disconnecting. It used to work perfectly with 17.10.



    dmesg shows the following output upon a connection drop:



    [ 273.462732] usb 4-1.4: usb_reset_and_verify_device Failed to disable LTM
    .
    [ 273.643622] usb 4-1.4: USB disconnect, device number 11
    [ 273.795468] usb 4-1.4: new SuperSpeed USB device number 12 using xhci_hcd
    [ 273.816520] usb 4-1.4: New USB device found, idVendor=0bda, idProduct=8153
    [ 273.816522] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
    [ 273.816523] usb 4-1.4: Product: USB 10/100/1000 LAN
    [ 273.816524] usb 4-1.4: Manufacturer: Realtek
    [ 273.816525] usb 4-1.4: SerialNumber: 0000A5
    [ 273.896167] usb 4-1.4: reset SuperSpeed USB device number 12 using xhci_hcd
    [ 273.948778] r8152 4-1.4:1.0 eth0: v1.09.9
    [ 274.503001] r8152 4-1.4:1.0 enx144fd7d04a3c: renamed from eth0
    [ 274.539481] IPv6: ADDRCONF(NETDEV_UP): enx144fd7d04a3c: link is not ready
    [ 274.543857] IPv6: ADDRCONF(NETDEV_UP): enx144fd7d04a3c: link is not ready
    [ 276.431243] r8152 4-1.4:1.0 enx144fd7d04a3c: carrier on
    [ 276.431258] IPv6: ADDRCONF(NETDEV_CHANGE): enx144fd7d04a3c: link becomes ready






    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Since upgrading to Ubuntu 18.04 from 17.10 my usb ethernet adapter keeps disconnecting. It used to work perfectly with 17.10.



      dmesg shows the following output upon a connection drop:



      [ 273.462732] usb 4-1.4: usb_reset_and_verify_device Failed to disable LTM
      .
      [ 273.643622] usb 4-1.4: USB disconnect, device number 11
      [ 273.795468] usb 4-1.4: new SuperSpeed USB device number 12 using xhci_hcd
      [ 273.816520] usb 4-1.4: New USB device found, idVendor=0bda, idProduct=8153
      [ 273.816522] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
      [ 273.816523] usb 4-1.4: Product: USB 10/100/1000 LAN
      [ 273.816524] usb 4-1.4: Manufacturer: Realtek
      [ 273.816525] usb 4-1.4: SerialNumber: 0000A5
      [ 273.896167] usb 4-1.4: reset SuperSpeed USB device number 12 using xhci_hcd
      [ 273.948778] r8152 4-1.4:1.0 eth0: v1.09.9
      [ 274.503001] r8152 4-1.4:1.0 enx144fd7d04a3c: renamed from eth0
      [ 274.539481] IPv6: ADDRCONF(NETDEV_UP): enx144fd7d04a3c: link is not ready
      [ 274.543857] IPv6: ADDRCONF(NETDEV_UP): enx144fd7d04a3c: link is not ready
      [ 276.431243] r8152 4-1.4:1.0 enx144fd7d04a3c: carrier on
      [ 276.431258] IPv6: ADDRCONF(NETDEV_CHANGE): enx144fd7d04a3c: link becomes ready






      share|improve this question











      Since upgrading to Ubuntu 18.04 from 17.10 my usb ethernet adapter keeps disconnecting. It used to work perfectly with 17.10.



      dmesg shows the following output upon a connection drop:



      [ 273.462732] usb 4-1.4: usb_reset_and_verify_device Failed to disable LTM
      .
      [ 273.643622] usb 4-1.4: USB disconnect, device number 11
      [ 273.795468] usb 4-1.4: new SuperSpeed USB device number 12 using xhci_hcd
      [ 273.816520] usb 4-1.4: New USB device found, idVendor=0bda, idProduct=8153
      [ 273.816522] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
      [ 273.816523] usb 4-1.4: Product: USB 10/100/1000 LAN
      [ 273.816524] usb 4-1.4: Manufacturer: Realtek
      [ 273.816525] usb 4-1.4: SerialNumber: 0000A5
      [ 273.896167] usb 4-1.4: reset SuperSpeed USB device number 12 using xhci_hcd
      [ 273.948778] r8152 4-1.4:1.0 eth0: v1.09.9
      [ 274.503001] r8152 4-1.4:1.0 enx144fd7d04a3c: renamed from eth0
      [ 274.539481] IPv6: ADDRCONF(NETDEV_UP): enx144fd7d04a3c: link is not ready
      [ 274.543857] IPv6: ADDRCONF(NETDEV_UP): enx144fd7d04a3c: link is not ready
      [ 276.431243] r8152 4-1.4:1.0 enx144fd7d04a3c: carrier on
      [ 276.431258] IPv6: ADDRCONF(NETDEV_CHANGE): enx144fd7d04a3c: link becomes ready








      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 6 at 11:47









      nhaesler

      41338




      41338




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          While writing the question I found the source of the bug on the kernel mailing list. The r8152 driver which is responsible for managing my r8153 adapter cannot handle the usb autosuspend (done for power saving reasons). Blacklisting the device for usb autosuspend solves the disconnects and is done like so:



          Find out the usb id of your device (0bda:8153 in my case) by using lsusb, which gives me:



          Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.


          Now you open /etc/default/tlp and search for USB_BLACKLIST and add an entry for your device:



          USB_BLACKLIST="0bda:8153"


          You may need to reboot, after which your ethernet connection should be stable again.






          share|improve this answer




























            up vote
            0
            down vote













            I stumbled on this issue as well, but for me the problem was that the r1852 LAN driver's faulty ability to auto-suspend was the culprit for my random freezes.



            I solved it using powertop, which is nice because you don't have to find out the usb id of the device.






            share|improve this answer





















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "89"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );








               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1044127%2fusb-ethernet-adapter-keeps-disconnecting%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              3
              down vote



              accepted










              While writing the question I found the source of the bug on the kernel mailing list. The r8152 driver which is responsible for managing my r8153 adapter cannot handle the usb autosuspend (done for power saving reasons). Blacklisting the device for usb autosuspend solves the disconnects and is done like so:



              Find out the usb id of your device (0bda:8153 in my case) by using lsusb, which gives me:



              Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.


              Now you open /etc/default/tlp and search for USB_BLACKLIST and add an entry for your device:



              USB_BLACKLIST="0bda:8153"


              You may need to reboot, after which your ethernet connection should be stable again.






              share|improve this answer

























                up vote
                3
                down vote



                accepted










                While writing the question I found the source of the bug on the kernel mailing list. The r8152 driver which is responsible for managing my r8153 adapter cannot handle the usb autosuspend (done for power saving reasons). Blacklisting the device for usb autosuspend solves the disconnects and is done like so:



                Find out the usb id of your device (0bda:8153 in my case) by using lsusb, which gives me:



                Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.


                Now you open /etc/default/tlp and search for USB_BLACKLIST and add an entry for your device:



                USB_BLACKLIST="0bda:8153"


                You may need to reboot, after which your ethernet connection should be stable again.






                share|improve this answer























                  up vote
                  3
                  down vote



                  accepted







                  up vote
                  3
                  down vote



                  accepted






                  While writing the question I found the source of the bug on the kernel mailing list. The r8152 driver which is responsible for managing my r8153 adapter cannot handle the usb autosuspend (done for power saving reasons). Blacklisting the device for usb autosuspend solves the disconnects and is done like so:



                  Find out the usb id of your device (0bda:8153 in my case) by using lsusb, which gives me:



                  Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.


                  Now you open /etc/default/tlp and search for USB_BLACKLIST and add an entry for your device:



                  USB_BLACKLIST="0bda:8153"


                  You may need to reboot, after which your ethernet connection should be stable again.






                  share|improve this answer













                  While writing the question I found the source of the bug on the kernel mailing list. The r8152 driver which is responsible for managing my r8153 adapter cannot handle the usb autosuspend (done for power saving reasons). Blacklisting the device for usb autosuspend solves the disconnects and is done like so:



                  Find out the usb id of your device (0bda:8153 in my case) by using lsusb, which gives me:



                  Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.


                  Now you open /etc/default/tlp and search for USB_BLACKLIST and add an entry for your device:



                  USB_BLACKLIST="0bda:8153"


                  You may need to reboot, after which your ethernet connection should be stable again.







                  share|improve this answer













                  share|improve this answer



                  share|improve this answer











                  answered Jun 6 at 11:47









                  nhaesler

                  41338




                  41338






















                      up vote
                      0
                      down vote













                      I stumbled on this issue as well, but for me the problem was that the r1852 LAN driver's faulty ability to auto-suspend was the culprit for my random freezes.



                      I solved it using powertop, which is nice because you don't have to find out the usb id of the device.






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        I stumbled on this issue as well, but for me the problem was that the r1852 LAN driver's faulty ability to auto-suspend was the culprit for my random freezes.



                        I solved it using powertop, which is nice because you don't have to find out the usb id of the device.






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          I stumbled on this issue as well, but for me the problem was that the r1852 LAN driver's faulty ability to auto-suspend was the culprit for my random freezes.



                          I solved it using powertop, which is nice because you don't have to find out the usb id of the device.






                          share|improve this answer













                          I stumbled on this issue as well, but for me the problem was that the r1852 LAN driver's faulty ability to auto-suspend was the culprit for my random freezes.



                          I solved it using powertop, which is nice because you don't have to find out the usb id of the device.







                          share|improve this answer













                          share|improve this answer



                          share|improve this answer











                          answered Jun 13 at 15:22









                          Toon

                          11




                          11






















                               

                              draft saved


                              draft discarded


























                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1044127%2fusb-ethernet-adapter-keeps-disconnecting%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              pylint3 and pip3 broken

                              Missing snmpget and snmpwalk

                              How to enroll fingerprints to Ubuntu 17.10 with VFS491