USB Errors on startup and network issues during usage when using a Dell D3100 Dock

Is this a Thunderbolt dock?

No.

USB.

Dell D3100:

https://www.dell.com/en-us/shop/dell-docking-station-usb-30-d3100/apd/452-bbpg/pc-accessories

1 Like

Ah, this explains why you tried the DisplayLink drivers.

(BTW, the SGX disabled by BIOS is just a BIOS setting that you can enable or disable at will. It is Intels "Secure Guard Extension".)

Much as I would love to blame Dell... I think this may be a bug with Wayland and GDM3.

You might try switching to the Zorin Desktop on X and testing the drivers on the xorg X Windowing System (Standard) before removing the DisplayLink driver.

Have you tried rolling back the kernel (If not, this is easy to do so please ask if you need a hand)?

I have not tried this.

Please explain exactly how you would like me to do this. I will do so per your instructions and report back my findings.

Additional info:

Earlier, USB and ethernet were functioning. I left the unit on and went to do some other tasks. Came back, the unit had gone into suspend.

Brought the unit out of suspend, and logged in. USB devices were showing as connected, but ethernet network connection was non-existent.

CLI command lsusb showed the Dell D3100 as attached.

Did a restart - no error messages on restart. Got to a desktop (set to auto login), mouse and keyboard not available for about a minute, then were responsive. No ethernet connection.

Set timer - came back 24 minutes later - no ethernet connection.

Shut down.

Booted up. No error messages on startup. Got to a desktop (set to auto login), mouse and keyboard not available for about a minute, then were responsive. No ethernet connection. About 3 minutes later, started a ping via CLI to my ISP - packets going through just fine. Checked network manager - ethernet connection showing present.

Restarted into GRUB:

Selected to start up with Linux 6.2.0-39 generic (previously, had tried with 6.5.0-14-generic Recovery Mode; issue persisted in that test).

Computer restarted - no error messages on restart. Got to a desktop (set to auto login), mouse and keyboard not available for about a minute, then were responsive. Ethernet connection available; able to ping ISP.

Left the unit on and went to do some other tasks. Came back, the unit had gone into suspend.

Brought the unit out of suspend, and logged in - no lag with connecting to keyboard or mouse for the login procedure. On desktop, USB devices were showing as connected, ethernet network connection was available and functional.

Shut down.

Started up, selected via shift to go into GRUB menu.

Selected to start up with Linux 6.2.0-39 generic as previously attempted.

Computer started - no error messages on startup.

Got to a desktop (set to auto login), mouse and keyboard immediately available. Ethernet connection available; able to ping ISP.

Left the unit on and went to do some other tasks. Came back, the unit had gone into suspend.

Brought the unit out of suspend, and logged in - no lag with connecting to keyboard or mouse for the login procedure. On desktop, USB devices were showing as connected, ethernet network connection was available and functional.

So, temporary rollback test from Linux 6.5.0-14 generic to Linux 6.2.0-39 generic shows a major improvement.

The USB lag for the keyboard and mouse on initial startup is annoying, but I can do other tasks during this startup process and then start using the machine when it is fully functional.

That said - it would be excellent to address this, and as it still appears to be the USB issue as related to this thread - I'd like to leave this open until this issue is resolved completely.

The resolution to the ethernet issue is extremely important, and as a workaround, I will roll back to the earlier kernel so I have this functionality. Again - I'd like to leave this thread open until this issue is resolved completely for kernel Linux 6.5.0-14 generic (or is superseded by a newer kernel which does not exhibit this issue).

At your convenience, please let me know the preferred method for rolling back the kernel in Zorin 17, and I will do so as a temporary workaround until this issue is completely resolved.

Thank you.

Sorry for the delay. I went offline for a bit.
Please see this guide here to set your default kernel to the working kernel:

Newer kernels can mean new bugs or new regressions.
The method above will default boot you to the working kernel, but unlike placing an apt mark hold, it will not prevent you from upgrading the kernel or other packages.
So you can safely run all upgrades.
Kernel regressions or bug fixes must be awaited for the next release of the kernel.

This is why it is important to remember that stability is the prime focus, not the latest. Many members join the forum and ask for the latest, latest, latest only because it is new and shiny.
There can be benefits to newer packages or kernels, of course. Including the addition of drivers for new hardware or due to patches and bugfixes. these must be carefully weighed, not assumed. Members with new hardware can get assistance here in installing a kernel that they need based on their hardware, not based on a version number.

To this end; I would consider that kernel issue "solved" simply because it is the only solution: Use the working kernel.

Thank you for the kernel rollback guide.

I concur - stability is of paramount importance. One of the reasons I switched to Zorin several years ago - I find it to be remarkably stable, and it satisfies my needs for an operating system.

I'm uninterested in "new and shiny;" I'm interested in, "will it work with my setups."

With that said - some of the software I use no longer functions in Zorin 15.x. I installed 16.x on one of my computers recently, and found it somewhat lacking overall. I had to do quite a bit of tweaking to make it work almost as well as 15.x, and there are still issues with it as far as I am concerned.

When 17 became publicly available, I tested it and found it to be far superior to 16.x. As it was available (and not in beta) I figured it would be well tested and acceptable to use. I understand and appreciate technical issues; that said, I figured things like ethernet connectivity and USB support would be pretty stable. Obviously not; lesson learned.

I disagree; while the option to roll back to an earlier version of the kernel is a major improvement over the most egregious aspects of this situation, this still does not solve all of the USB issues - delay in the use of the keyboard and mouse - an issue which was not present in Zorin 15.x.

Again, thank you for your assistance up to this point.

Can you please post a reminder on each remaining USB issue? I clearly missed something. My eyes were probably drawn to the successes...

I will certainly do so after some more testing tomorrow.


For now, after following your instructions to the letter from "[HOW TO] set an older kernel to default boot," I shut down, started back up the computer in question, launched terminal, and ran uname -r to display the kernel version. Version shown is 6.5.0-14-generic, and not the desired version - 6.2.0-39-generic.

Screenshot from 2024-01-18 23-49-15

Any ideas on why this might be would be greatly appreciated. Thank you.

1 Like

You must be booted into the desired kernel, first.
Reboot, use the Advanced Options For Zorin to select the 6.2.0-39 kernel and on ce booted, ensure you are on that kernel

uname -r

Then run

sudo update-grub

Interesting - I did that, but as indicated, the kernel didn't change.

Tried again per your instruction and it appears the kernel is now the selected one - 6.2.0-39-generic.

Unfortunately - this does not resolve the issues I've been experiencing.

Left the computer suspended overnight. Unsuspending it, the primary mouse button was non-functional. Couldn't select to restart, power off, or anything else. I had screen sharing enabled, so connected to the computer from another computer and attempted to control it - the mouse button issue was present even across screen sharing.

Fortunately, the keyboard on the computer in question still worked, so I was able to launch terminal and shut down from there.

After starting back up - still getting USB errors on startup:

After achieving a desktop, everything functioned as expected.

Once the computer suspends, or suspends and is then taken off of suspension - this is where the issues seem to be the worst. Today, it once again lost network connectivity over ethernet, and something new - no audio. I have my speakers plugged into the audio port on the Dell D3100 docking station. The audio quit when the computer suspended - it was playing music.

Interestingly, I have the computer to suspend only when on battery power, and for the screen to blank after 15 minutes:

It is not only plugged into electrical power - it is plugged into a UPS. It should never go on battery power, and thus - should never automatically suspend. The only thing that should happen is the screen (I have an external monitor attached, plugged directly into the HDMI port on the computer) should go black after 15 minutes.

For further testing, I've turned off automatic suspend. I don't mind if the computer stays on - I do want the monitor to go off after a period of inactivity, however.

I'll keep an eye on it over the next couple of days, but sadly - it appears rolling back the kernel did not resolve the issues at hand.

Was there anything else that resulted in this post that may have contributed to it appearing successful?

I hesitate to think a later kernel is needed, due to the D3100 gaining support pretty early on.

Check your BIOS / UEFI... I had a computer once that had a 'handoff' type thing where the options were that the BIOS continue controlling USB devices after initial startup, or control was handed off to the OS during boot.

Likely you don't have it, but my computer was a Dell, so...

I wish my BIOS/UEFI was that advanced. The only mention of USB is in the Advanced>USB Configuration>USB Mass Storage Driver Support [Enabled], and in Security>I/O Interface Security>USB Interface Security - all items set as unlocked.

Screenshots:





At this juncture - I have no idea. The issues appear to be random. For instance - I restarted just now into BIOS to get the screenshots I provided. Restarted from that, and the error messages I've posted earlier did not show up. However, the mouse was unresponsive for about a minute on the desktop, then became available. About 30 seconds after that, I achieved network access via ethernet.

The only constants appear to be:

  • related to the USB bus

  • related to the Dell D3100 Dock

  • issues are present on power on, restart, or related to suspend (either entering into, being in, or coming out of suspend)

Since previously mentioned, I've disabled suspend and set the monitor to blank after 15 minutes. I'll leave it that way overnight and see what occurs tomorrow morning.

Looking at this Aptio BIOS screen. The status of USB is ambiguous "UNLOCK". Does that really mean USB is unlocked or asking to click to unlock. What are the options when you click that item. i.e. is the alternative to "UNLOCK" actually "LOCKED"?
unlock

Out of curiosity I have been doing some websearches re "Dell D3100 Dock Ubuntu". There are a few cases of displaylink problems with external monitors on D3100, resolved by updating displaylink driver. I assume you have been doing similar web searches as well.

https://www.dell.com/support/home/en-uk/drivers/driversdetails?driverid=939cy

1 Like

Indeed, "UNLOCK" indicates that USB is currently unlocked. The other alternative is indeed, "LOCKED."

I am quite familiar with these issues. When the D3100 worked (for video) it worked really well. At one point in time, I was running dual monitors via the D3100; then, after various updates, I had loads of issues with it. Eventually, I ditched the dual monitors and now use a single large monitor plugged directly into the HDMI port of the computer in question, bypassing the video capabilities of the D3100.

Essentially, I'm not using the D3100 to its fullest effect. I use it as a USB hub and for the ethernet connection. For a lot of complicated reasons, I need to use ethernet in my office, and the computer I'm currently using doesn't have an ethernet port on it. So, it's Ethernet Connection>D3100>Computer's USB 3.0 port that gives me my network connection. Up until using Zorin 17, this all just worked and wasn't an issue.

Speaking of which...

Changed some of the settings and have been running with them for the past 24 hours.

Settings>Power>Screen Blank - 15 minutes

Settings>Power>Automatic Power Saver - OFF

Settings>Power>Automatic Suspend - OFF

Settings>Privacy>Screen>Blank Screen Display - 15 minutes

Settings>Privacy>Screen>Automatic Screen Lock - ON

Settings>Privacy>Screen>Automatic Screen Lock Display - 3 Minutes

Settings>Privacy>Screen>Lock Screen On Suspend - OFF

In theory, The unit stays on, and after a period of time, the external monitor shuts down.

[I say in theory, because the power indicator on the computer shows the computer is in sleep mode after a period of inactivity - which is actually desired behavior.]

Past 24 hours - power on the external monitor, input some keystrokes on the external USB keyboard, the computer has come out of suspend (if it ever actually was truly suspended), and the computer achieves a desktop with no issue - all devices and network connection intact.

So, that's a step in the right direction. Very positive.

Still - when booting up - takes a LONG time to boot as it still shows the error codes indicated in the previous screenshots.

On the occasion it does NOT show these error codes, unit quickly achieves a desktop but the keyboard and mouse are unavailable for about a minute, and the network connection comes online about 30 seconds after the keyboard and mouse have started functioning.

This is rolled back to the older kernel as previously mentioned (6.2.0-39-generic).

That is the current state of affairs.

I did a websearch re those errors. Most refer to timeout, which maybe due to a USB power issue, i.e. USB device/hub taking too much power from USB port. Or maybe you have other USB devices attached to other USB ports that are strain on +5V motherboard supply?

Maybe some comments in these links may help resolve your Dell hub errors.

Some comments suggest success from complete shut down and power off the computer and the hub for some minutes, then power on and reboot.

EDIT: Another thought. Is your laptop battery fairly new and performing well. This may be an issue affecting +5V supply, even when laptop is plugged in to mains power source.

So, the only things that were plugged into the Dell D3100:

  • An ethernet cable

  • a 64 GB USB stick (for backing up my browser bookmarks)

an Atolla USB 3.0 Hub (which shows as a Genesys Logic Inc. hub in the CLI via lsusb ):

The Atolla hub has a Micro USB power supply attached. plugged into this hub are a webcam, a microphone (Blue Snowball), and an external USB drive (8TB Seagate). The last port is left open to plug a phone into for charging.

The Seagate drive has its own power supply. As the other devices may draw more power than the D3100 may provide across its port(s), the Atolla can be powered by a Micro-USB power adapter. I have such a power adapter plugged into it.

BTW - the D3100 also has its own power supply.

Per the links you provided, I did indeed disconnect everything, and also disconnected the power supply connected to the D3100. Additionally, I unplugged the D3100's power supply from its outlet, and left it that way for about 10 minutes.

Plugged everything back in, and restarted. Issue persisted.

Then, to test - disconnected the Atolla.

shut down, started back up.

NO ERRORS on startup.

Everything worked - no lag with the keyboard and mouse.

Unplugged the power supply to the Atolla, and reconnected it. Issues were back.

Disconnected all peripherals from the Atolla (they were all turned off prior to this, but I figured let's be thorough), and reconnected it back to the D3100. Previously described issues were present.

Left the Atolla disconnected, then powered on the system - no issues. Plugged in the Atolla while the system was up and running - could use the attached peripherals.

So, as a temporary workaround - I figured I'd leave the Atolla disconnected.

Then, a new issue was introduced. It is documented here:

Now when the computer exits from suspend - I now consistently lose my network connection via ethernet and access to my external speakers - both plugged into the D3100. Interestingly, the USB stick which is attached to the D3100 shows up just fine and can be accessed.

In some ways, this is now worse. That said - while they may certainly be related, I consider the suspend a separate issue, hence creating a different thread to troubleshoot it.

That's the story as of today...

Update - I was able to successfully prevent the computer from suspending while preserving other options I feel are necessary.

Startup and login now function normally, and all usb devices currently attached function with no issue.

This is when the Atolla/Genesys Logic, Inc. Hub is disconnected.

The issues are re-introduced when the hub is attached - even if nothing is connected to it, including a power supply for it.

As a work around, I can leave the hub disconnected until I need access to the devices normally connected to it.

That said - this is not an ideal solution ("Doctor, it hurts when I do xyz." "Then, don't do xyz."), especially when there were no issues with the hub connected in this configuration using Zorin 15.3.

Well said. Drivers that are compatible are necessary for the hardware to work. What is uncertain, in my mind at least, is whether these drivers are available for GnuLniux or not.
I have tried some searching, but have also been overwhelmed with other tasks and have had less time available.

Using a work-around as a bandaid until a solution is still better than nothing at all.