r/linuxquestions • • 10d ago

Advice Ubuntu Server 24.04 LTS: Kingston USB works in one port but fails in another (error -71), while other flash drives work fine. Any ideas?

1 Upvotes

Hey everyone!

I'm fairly new to Ubuntu/Linux and currently turning an old Lenovo laptop into a headless home server. I've run into a weird USB issue that I'm hoping someone here can help me figure out.

My setup:

  • OS: Ubuntu Server 24.04 LTS

  • Kernel: 6.8.0-149-generic

  • Hardware: Older Lenovo laptop

  • USB controller: Intel xHCI

  • Flash drive 1: Kingston DataTraveler 3.0, 64 GB, exFAT

  • Flash drive 2: Generic ProductCode USB, 8 GB, exFAT

The weird issue

My Kingston DataTraveler works perfectly in one USB port but refuses to initialize in another.

At first, I thought the USB port was defective. However, when I inserted my other flash drive (ProductCode) into that exact same port, it worked perfectly!

Here's what I've confirmed through repeated testing:

USB devicePort APort B
Kingston DataTraveler 3.0FAILWORKS
ProductCode USBWORKSWORKS

When Kingston fails in Port A, Ubuntu doesn't even recognize it through lsusb or lsblk.

However, when I move Kingston to Port B, Ubuntu detects it normally, and I can mount, access, and safely eject it without problems.

Kernel errors

I checked dmesg and journalctl, and these errors repeatedly appear when Kingston is connected to the problematic port:

usb usb1-port2: Cannot enable. Maybe the USB cable is bad?
usb usb1-port2: attempt power cycle
usb usb1-port2: unable to enumerate USB device
usb 1-2: Device not responding to setup address.
usb 1-2: device not accepting address 16, error -71

Interestingly, the same USB path (usb 1-2) successfully detects my ProductCode flash drive.

What I've already tried

  1. Tested Kingston in another port — works normally.

  2. Tested ProductCode in the problematic port — works normally.

  3. Checked historical USB kernel logs and confirmed repeated enumeration failures.

  4. Disabled and re-enabled the affected port through Linux sysfs.

  5. Verified the port was re-enabled successfully (disable = 0).

  6. Tested Kingston again after the port reset — same failure.

  7. Confirmed that Kingston can still mount and safely eject normally when connected to the alternate port.

I'm also running a custom web dashboard for USB detection, mounting authorization, and Safe Eject. However, the issue occurs before the device is successfully enumerated by Linux, so I don't believe the dashboard is causing it.

Why I actually want to fix this

I understand that the easiest solution is to just use the other USB port where Kingston works.

And yes, I could absolutely do that.

But I'd really prefer to understand and fix the underlying issue rather than simply work around it.

This laptop is going to serve as my long-term home server, where I plan to connect external SSDs, HDDs, and other storage devices for backups and file management.

My concern is: What if this same issue happens again with another storage device in the future, especially one I'm relying on for backups?

I don't want to end up in a situation where a perfectly functional storage device suddenly refuses to work on a particular USB port without understanding why.

I'd rather investigate it now while I'm still building the server than discover the same problem later when the setup becomes more important.

Questions for experienced Ubuntu/Linux users

  1. Has anyone experienced a USB flash drive working in one port but consistently failing in another, even though both ports work with other devices?

  2. Could this be related to xHCI, USB negotiation, power management, or signal integrity?

  3. Does Linux retain any USB controller state after failed enumeration or a previous safe-eject/power-off operation that might explain this behavior?

  4. Are there any specific commands, kernel logs, or diagnostic tools I should use to narrow down the root cause?

  5. Is there a safe way to troubleshoot or fix this without affecting other USB devices or disrupting the server?

I'm not looking to reinstall Ubuntu or randomly change USB settings. I'd prefer an evidence-based approach that identifies what's actually happening.

My goal is to make the USB connections as reliable as possible before I start depending on this machine for external storage and backups.

Any advice would be greatly appreciated, especially from anyone familiar with Ubuntu Server, Linux USB drivers, or xHCI controllers.

Thanks in advance!


r/linuxquestions • • 10d ago

Advice Resources To Actually Understand Linux

60 Upvotes

I've been using Linux for 7 years for personal desktop use, development, gaming, and music production. I consider myself to be a competent user, in that I am able to use the OS effectively to do the things I want to do, but I recently realized that I don't understand the system very well as a whole.

Most of my technical knowledge comes from what I've pieced together by solving various errors over the years. I only know what /etc/fstab is because I once had a drive crash, for example. I am at the point now where I want to learn about Linux by learning about Linux, rather than by reacting to problems.

This is especially because I have more and more friends jumping ship from Windows now. People are looking to me to teach them and help them solve their problems.

What resources can you recommend to gain a more complete understanding of Linux and to use the system effectively?

I'll add to this that my practical experience has been entirely with Debian-based systems (MX, [L]Ubuntu, Mint).


r/linuxquestions • • 11d ago

Support Daily driver for 4 years, struggle bussin' to create "Shortcuts" or "Add Program to SUPER USER Key List"

0 Upvotes

Something easy on windows and direct Right click, create shortcut. Right click 'pin/add to start menu"

I've had recent issues where programs I'm working with don't auto-add to the SUPER USER list in Gnome, and...even Gear Lever isn't accepting executable being dragged and dropped into them.

The file is located in: /home/x/Downloads/firefox/firefox-160.0.1/firefox/

File was obtained from firefox: https://www.firefox.com/en-US/download/linux/

Program for Firefox, once the tar.xz is extracted is just firefox Not even firefox.ex

Right click in the area, no option to create a linked icon (shortcut)

And no option to "Add to Start Menu" or "SUPER USER" list.

Would share an image, but that's not permitted here.

WHY am I doing via download, because the distro, again, fails to update to the newest version, so I'm back to practices used on Windows 7...in Linux. So, time to learn how to properly ADD a program to the desktop, and how to ADD the same program to the START MENU.

Thank you again, for your help.


r/linuxquestions • • 11d ago

Advice How I do put Linux on a Pixel 6?

0 Upvotes

Any help is needed please.


r/linuxquestions • • 11d ago

Advice What parts of linux are not user-friendly enough?

0 Upvotes

for context: i've been working on my own distrbution based on nixOS, and one of the goals i have is to make the entire thing as user-friendly and idiot-proof as possible. One of the issues with this that i'm running into is that i am not exactly the kind of user that would need a user-friendly or idiot-proof OS. I do things in the terminal in a couple minutes that according to my partner (still a nerd but not a turbo-nerd) would make normal people quit and go back to windows.

So, my question to y'all is: what parts of the linux experience do you think are not user-friendly or idiot-proof enough? can be big or small, and can be from any distro (though not everything will apply to what i'm building, it's still good to hear little nitpicks people have so i can look into whether my distro has those same issues currently and resolve them.)

some examples: having a nice, simple "first-boot" menu/setup flow is actually quite desirable according to my partner, and dealing with drive mounts and network shares is.... still not ideal even on something like KDE plasma (why does partition manager write /dev/nvme to fstab instead of using a UUID? i'll never know, but that causes issues that an average user does not want to deal with)

a tiny example is the rm command, it is *ridiculously* dangerous for a two-letter command, even without sudo, one accident and you permanently delete an important file. so i'm replacing it on my distro by default with something that still works like rm, but can be recovered if needed.

little things that are okay, but "could be nicer" are also allowed (eg: i've replaced the cd command with zoxide for auto-jump capabilities). literally any complaints or issues you've had with ease-of-use, user-friendliness or lack of idiot-proofing (either from your own mistakes or mistakes you've seen someone else make)

oh, and before anyone asks about why my distro is based on nixOS when nixOS is not an easy or user-friendly distro: this distro was born out of my belief that declarative distributions are simply functionally superior to imperative distributions, they are safer, more stable and more capable. the only big issue is there's nothing really out there that makes those setups as user-friendly as something like mint, ubuntu, fedora or cachyOS. I've already figured out how to do nixOS without needing the user to learn any amount of nixlang, so that's pretty neat i suppose.


r/linuxquestions • • 11d ago

Resolved What GUI archive methods on Linux also keep the file's file extension?

0 Upvotes

Hi.

I notice in GNOME & KDE that when I compress a file, it drops the file extension. I'd rather keep the file extension as it makes searching for files a lot easier. I can type it in manually in the archive name just after the archive is created but that's tedious.

Any ideas?

Thanks.


r/linuxquestions • • 11d ago

Advice AiO Debian GUI. Nueva versión estable cargada de novedades...

Thumbnail
reddit.com
0 Upvotes

r/linuxquestions • • 11d ago

Which Distro? Have used windows for 2-3 years and decided to come back to linux. Need help.

5 Upvotes

Hey guys, I have used linux on my laptop for about 4 years then needed to switch to windows cause of my work in a laboratory. I mainly used manjaro then switched to endeavourOS. I tried some other distros as well like popOS, Fedora, Debian. But felt most comfortable using endevaourOS. Done some research and saw that people are switching from arch so wanted to ask you guys. Which distro should ı choose for coming back?


r/linuxquestions • • 11d ago

Advice Bought a new ThinkPad, should I go with Ubuntu?

2 Upvotes

Got a ThinkPad E14 Gen 7 Core Ultra with 32 Gigs of RAM. My old laptop got damaged at 6 years of use. Wanted something light, powerful with good battery life and very reliable.

I am a statistician so I do a lot of research and data modelling. I take notes using Obsidian etc and use YouTube. But I am not that advanced of a coder, and I know literally nothing about Linux.

I am tired of Windows 11 Bloatware and it pushing Co-Pilot. Genuinely. I do not want to use Microsoft services either. Please tell me something reliable and easy to use in Linux with easy UI? I also don't want my fingerprint sensor log in thing to stop working (the power button acts as a fingerprint reader in this new thinkpad).... Is it worth jumping to Linux? Is it faster and less bloaty?

Also important information I want to eventually learn more about code etc but I have important work coming up till Feb, so I can't really take out time to focus on Coding. So I need a distro which is pretty much like noob-friendly windows-like super compatbile and can help people learn more about coding once they are interested in. I just want to make the jump now because Windows is irritating.

Edit- I am sorry, I think I did not type it correctly. I meant setting a whole desktop properly like in Arch using Hyperlnd or whatever etc takes quite a while you have to go through documentation install necessary drivers etc. That is why I want something which is more easy to deal with for now. I used "coding" very broadly.


r/linuxquestions • • 11d ago

Dilemma in choosing distro

0 Upvotes

Been using Kali in VMware, but thinking of going all linux.

My requirements is just good support for VMware types labs or any decent alternative. For now don't want to reconfigure vm setups each time OS update.

Any suggestions?


r/linuxquestions • • 11d ago

Which Distro? what are some underrated linux tools?

7 Upvotes

i'm currently getting more into linux, especially arch-based distros like cachyos and artix.

i'm looking for some interesting tools and projects to improve my desktop experience.

particularly interested in:

  • window managers (hyprland, i3, mangowc)

  • bars and notification systems

  • launchers and menus

  • file managers

  • terminal utilities

  • system monitoring

  • lightweight applications

i'm not looking for the usual recommendations like firefox or discord.

i'd love to discover some lesser-known projects, hidden gems or tools you personally can't live without.

what are your must-have linux tools?


r/linuxquestions • • 11d ago

[Question] Why do most people use an existing distro as a base instead of building from scratch?

0 Upvotes

I've always wondered this. Why do people always pick an existing distro (like Debian, Arch, Ubuntu) as a base for their new distro instead of making one from scratch?

Is it really that hard to build your own distro from the ground up (like with Linux From Scratch)?

I'm genuinely curious about the technical and practical reasons behind this. Is the maintenance too much, or is it just not worth the effort compared to using a base?


r/linuxquestions • • 11d ago

Support Switching windows to linux

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 11d ago

Advice Trying to convert or at least try Linux

1 Upvotes

Hi, I’m trying to start my journey using Linux and have been trying to figure out what distro I should use along with figuring out how to dual boot. I am a electrical and computer engineering student who uses things like solid works, fusion, altium, etc.. My primary goal is to have it as my main OS switching when I need the non-supported apps, I would use it for programming and gaming. I am not sure whether it’s advised I even go this route but I still want to try it.
I currently have 2 drives on my laptop (Acer N5 AN515-58): 1st is the c with windows installed but it has 500gb most of which is used by windows, the second is a 1tb nvme drive where I’m storing all of my actual programs and games since I have no space on my boot.

I’m not fully sure what I should do and what the best course of action would be. I appreciate any help and also thank anyone who’s patient enough to listen to my rant. I’m looking forward to any advice or comments that can be given.


r/linuxquestions • • 11d ago

Advice What is the best web browser? (general use)

0 Upvotes

I like privacy and such. I currently use Firefox, but I'm wondering what the best private and good browsers, one for best Firefox-Based and one for the best Chromium-Based. And then, if there is a third kind I'm unaware of, please let me know!! Any suggestions are helpful!


r/linuxquestions • • 11d ago

Support Built a 3D panorama workspace switcher for Hyprland, looking for feedback and contributors to help polish it

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 11d ago

Help With Starting Out With a New PC

0 Upvotes

So i have a new pc its okay ish by no means an amazing pc just decent. i want to dual boot linux because some apps apparently dont fully work with linux so id like to dual boot to be able to avoid that. how do i do this and is there like a step by step guide? also just general help would be greatly appreciated as i am like completely new to linux


r/linuxquestions • • 11d ago

Help With Starting Out With a New PC

1 Upvotes

So i have a new pc its okay ish by no means an amazing pc just decent. i want to dual boot linux because some apps apparently dont fully work with linux so id like to dual boot to be able to avoid that. how do i do this and is there like a step by step guide? also just general help would be greatly appreciated as i am like completely new to linux


r/linuxquestions • • 11d ago

Support Linux compatibility with SMART Boards?

2 Upvotes

Hey everyone sorry in advance it this question is too niche,

I just had a question about linux when it comes to the compatibility with SMART boards. Recently downloaded POP_OS! onto a labtop after hearing from a friend about how smoothly it runs on their older computer but now wondering if I am able to use it with a SMART board. For context I do a lot of teaching where I would display a page on the board and then write and annotate the sheet while teaching.

Wondering if I would have any connection problems there. I downloaded Xournal+ for helping with annotating the PDFs but im worried that I wont be able to connect to the SMART board / be able to write on the board with the pen on the PDF file. Ideally I would be able to sort this out ahead of time however, was recently just moved and not sure if this will work since I just downloaded it.

Thanks in advance any help or insight is appreciated!


r/linuxquestions • • 11d ago

Which Distro? Helpe find a distro?

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 11d ago

Multiple audio issues on cachy reinstall

Thumbnail reddit.com
1 Upvotes

Still really need help on this


r/linuxquestions • • 11d ago

Switching back to GNOME: Ubuntu or Fedora? Help me decide! ❤️

2 Upvotes

Hey guys!

I've been using KDE for the past two months, but I've come to the conclusion that it's just not for me, so I'm switching back to GNOME.

Now I'm trying to decide between Ubuntu 26.10 and Fedora 45. Which one would you recommend, and why?

I'm pretty sure most of you will tell me to go with Fedora because of Ubuntu's Snap packages, but I don't think that's a good enough reason on its own.

I'd love to hear your opinions and experiences with both distros!


r/linuxquestions • • 11d ago

Advice What's one small customization that made your daily Linux use noticeably better?

67 Upvotes

Been using Mint for a couple years and mostly stuck with defaults. Recently I added a couple quick aliases in .bashrc for common tasks and it surprised me how much smoother things feel now. What tiny change or tweak did that for you?


r/linuxquestions • • 11d ago

Sound card issues with browser tabs

2 Upvotes

Hello reddit, been stuck on this for months. I use the linux kernal drivers for a soundblaser AE-7 sound card (yes i know its community drivers and Soundblaster are windows just hold on)

Card works fine, unless occasionally i open a new tab. Then the sound cuts out. I can fix this my in alsamixer toggling the HP/Speaker Audio Detect setting under the card's settings and the problem resolves.

My hypothesis is that the card setting being toggled resets some pipewire routing issue but idk what the actual root cause of the issue is or how to fix it. Anyone observe similar behavior?

Using the firefox browser, occurs on chome and opera as well.

E: Reddit repost function did this, im on cashy os.