Skip to main content

Questions tagged [devices]

devices refers to questions about the Unix/Linux device special files, normally these are under /dev. Do not use this tag for physical devices (for that use e.g. usb or pci).

Filter by
Sorted by
Tagged with
6 votes
1 answer
557 views

Predictable Network Interface Names: ensX vs enpXsY

I know that something like eth0, eth1, ... has been replaced for long time by more predictable names. However, I don't understand what rule is applied if comes to Ethernet devices. I have multiple ...
Tintenfisch's user avatar
1 vote
0 answers
38 views

Does udev have an issue with the 'hwmon' subsystem?

I have a temp/humidity sensor connected to the i2c-0 interface on a Raspberry Pi: Rpi OS ver 'bookworm'. It works fine, and I can read sensor values from the files in /sys/class/hwmon/hwmon2 (or ...
Seamus's user avatar
  • 3,062
0 votes
1 answer
70 views

Not booting after converting Virtualbox disk to Hyper-V

I have a RHEL 8 VM image that I have converted from Virtual Box to Hyper-V but it fails to start (works in VB but not in Hyper-V). Timed out waiting for device dev-di...97\x2d9636\x2dc104a96af2a5....
johna's user avatar
  • 1
0 votes
0 answers
61 views

Pass-through of OBS Virtual Camera to QEMU

I'd like to use my OBS virtual camera in a virtual machine. OBS will not run within a virtual machine unless I perform a GPU-passthrough, which I feel is unnecessary and undesirable in this situation. ...
adamlaughlin's user avatar
1 vote
0 answers
78 views

Complex Audio Issues with Logitech Zone Vibe 125 on Debian Linux and Zoom Interaction

I am facing multiple issues with my Logitech Zone Vibe 125 headphones, which are connected via Bluetooth to my Debian Linux system. Each time I launch Zoom, I encounter no audio output. While I can ...
borchisan's user avatar
0 votes
3 answers
79 views

Disk label changes when system is rebooted while setting up Fedora CoreOS 39

I am installing a Fedora CoreOS v39.2024030 on a bare metal system (PowerEdge server) through a iDRac interface. It's a two-step process: Here it's needed to boot the system into a LiveISO (virtual ...
Rajendra's user avatar
  • 101
1 vote
2 answers
93 views

Where do I find documentation for the output of ls -l?

There have been multiple questions asked about this, like Understanding ls output, What are columns in ls -la?, What does 'ls -la' do?, What do the fields in ls -al output mean?, etc.. I've also come ...
TrisT's user avatar
  • 121
0 votes
1 answer
66 views

fuser -v /dev/nvidia* and lsof not responding

On our A100 machine, we frequently have zombie processes that still allocate memory when already stopped. I usually used fuser -v /dev/nvidia* to determine the PIDs of all processes and kill them ...
Green绿色's user avatar
1 vote
2 answers
131 views

What is the difference & relation between audio sink and audio card, device?

What is the difference & relation between audio sink and audio card/device? Can a sink sink into more than 1 device of the same audio card? aka, sink-device ca be a one-to-many relation? PS: I'm ...
Adrian's user avatar
  • 701
-2 votes
1 answer
56 views

why does a device node need to be made in udev when you plug in a device into your computer?

Why does a device node need to be made in udev when you plug in a device into your computer? Why does a device node need to exist?
How To Linux's user avatar
0 votes
0 answers
78 views

System not booting after resizing /dev/sda2 and creating a swap partition

Error Message: dev/sda2: The filesystem size (according to the super) is 31126889 blocks The physical size of the device is 29884416 blocks Either the superblock or the partition table is likely to ...
SatoruGojo's user avatar
1 vote
0 answers
31 views

Changing keyboard backlight causes sound to stutter – why?

I'm on a Dell Vostro 16 laptop (running elementary OS 7.1 based on Ubuntu 22.04.3, kernel 6.5). The laptop has a backlit keyboard that can be controlled using /sys/class/leds. Specifically, to turn ...
csha's user avatar
  • 151
0 votes
2 answers
151 views

Linux 6.7: /sys/class/graphics/fb0 is missing

What happened to this node/symlink? It used to be there for ages, linking to the primary display adapter, and I cannot find it any longer with Linux 6.7.4. I've not found anything relevant in the ...
Artem S. Tashkinov's user avatar
0 votes
0 answers
52 views

What is the purpose of the symbolic device file named with the HCTL address in the bsg folder

"/dev/bsg – This folder is for Block Scsi Generic drivers." I'm not sure what that means. There are two symbolic device files named with HCTL addresses in that folder, but from what is ...
xnl2d's user avatar
  • 17
0 votes
1 answer
67 views

What file is /dev/btrfs-control?

I can't find any explanation about this file in the official documentation, I just know from the official documentation in devices.txt that this file is: "234 = /dev/btrfs-control Btrfs control ...
xnl2d's user avatar
  • 17
1 vote
1 answer
82 views

What file is /dev/autofs?

I searched /dev/autofs from https://www.kernel.org/doc/Documentation/admin-guide/devices.txt I searched for /dev/autofs in and found that it is 10,235. I used debian and stat /dev/autofs shows 10,235 ...
xnl2d's user avatar
  • 17
0 votes
1 answer
68 views

Pseudo-terminals control each other, how to get the return display

The problem is: my pseudo-terminal is /dev/pts/0, the target pseudo-terminal is /dev/pts/4, and I'm trying to get the target pseudo-terminal to print text using the echo text > /dev/pts/4 command. ...
xnl2d's user avatar
  • 17
0 votes
0 answers
8 views

Why are the unit numbers changed when PCI cards are added or changed (Linux Zorin...)?

PCI card removal with nvidia processor Installation of a graphics card (AMD) in another PCI express slot. Moving another PCI card Reboot NO wifi... After some research, I discovered that the ...
6422languedoc's user avatar
0 votes
1 answer
148 views

Use libfido2 on macos to set PIN on usb security token

I have bought a FIDO-U2F/FIDO2 usb security token and managed to add it as passkey for github on my macOS (sonoma). It didn't work for another site and I suspect that it's because the key doesn't have ...
chmike's user avatar
  • 211
1 vote
1 answer
112 views

Get /dev entry for USB on a Mac

I have never used a Mac before and have no idea what I'm doing. I need to run dd on a USB device to copy data off. I plug the device in, and it shows up in system_profiler SPUSBDataType. How do I ...
Nate's user avatar
  • 154
0 votes
1 answer
24 views

Why does VPS with stock Debian contain cdrom device?

I recently set up a debian 12 VPS with a new hosting company. It has: /media/cdrom -> cdrom0/ /media/cdrom0/ And in /etc/fstab: /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 ...
lonix's user avatar
  • 1,783
0 votes
2 answers
172 views

I messed /dev/tty ownership and permissions [closed]

I was flashing a Flipper Zero Wifi Dev Board and I needed to have /dev/ttyACM0 owned by dialout group... The thing is now I have tried to revert the stuff, making a chown root:tty /dev/tty*, and chmod ...
DaniWein's user avatar
1 vote
0 answers
108 views

Udev rule randomly failing on boot

I have an embedded system with ubuntu running on it. Inside its /etc/udev/rules.d directory i put a file named 99-mydevice.rules: KERNEL=="video0", SUBSYSTEM=="video4linux", ...
Marco Montevechi Filho's user avatar
0 votes
0 answers
54 views

Why are /dev/sdX not persistent and we have to use udev rules? [duplicate]

Why are the /dev/sdX names not persistent and we have to use udev rules or something else? Why the name changes? Is it only the name and permissions or does something else change as well? Why?
Astora's user avatar
  • 449
0 votes
0 answers
177 views

Will a platform device with waiting for supplier eventually probe?

I have defined a platform device in the Device tree. The following shows the file tree walk for its folder. /sys/devices/platform/device /sys/devices/platform/device/uevent /sys/devices/platform/...
Bret Joseph's user avatar
0 votes
1 answer
98 views

Is there a way to permanently "assign" /dev/ names to removable USB devices

I have a GPS unit which attaches by a USB port to Raspberry Pi. Because of the "mysterious" (to me) way the Arch Linux system that powers the Pi assigns /dev/ filenames, I never know if I'm ...
Steve Cohen's user avatar
0 votes
1 answer
325 views

How to read NAND OOB (including ECC) data in Linux?

I am working on an embedded Linux system (5.10.24), where there is a NAND FLASH as storage. The NAND FLASH supports internal ECC and has 128Bytes OOB. Its DS says if the ECC is enabled the last ...
wangt13's user avatar
  • 443
2 votes
1 answer
155 views

umount /chrootedpath /dev/pts after several chroot(s): target is busy

I've been doing several chrooted environments in parallel, each in separate folder (when the script with chroot exited I sometimes run another in same folder), and for a while it seemed fine. But now ...
Alex Martian's user avatar
  • 1,065
0 votes
2 answers
70 views

Is there a kernel parameter to hide/disable disk at boot time?

I am looking to install a new linux distro in my computer and I'd like for it to not have access to other disks in my pc (e.g the disk where I have all my documents, other operating systems, etc.) ...
Juanjo's user avatar
  • 1
0 votes
3 answers
375 views

Why can't I directly ls /dev/sda1

I have an external microSD card plugged into my machine via a USB stick. I believe it was auto-mounted because I can see $ ls /media/me 7538-3DFD I believe it is mounted to /dev/sda1 because I see $ ...
user1245262's user avatar
0 votes
0 answers
40 views

Cannot start link in /dev with LD_PRELOAD and ffmpeg

I successfully start ffmpeg on my old webcam with: ssh my_host "LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l2convert.so ffmpeg -f video4linux2 -i /dev/video0 -f matroska -" | mplayer - -...
klpu39's user avatar
  • 11
0 votes
0 answers
174 views

HID events are received, but mouse input still not working

I'd like to understand what I'm missing between HID events and libinput. I have a device that is sending correct mouse events, recorded from hid-recorder: e.g. For a left-click: # ReportID: 11 / ...
Sam Bull's user avatar
  • 155
0 votes
0 answers
30 views

Tool for monitoring kernel driver messages? What are the options?

I'm working on a kernel-level device driver that sends requests to an underlying piece of hardware. Those requests have a fixed length and a given layout (including multiple fields with encoded values,...
ismarlowe's user avatar
3 votes
1 answer
1k views

What's the reason to add a symlink to /dev directory with udev rules?

I understand that you can write custom udev rules to create a symlink in /dev directory. But what is the use of having a symlink in /dev? What is the symlink linking to? I know you can interact with ...
Dr. Chocolate's user avatar
0 votes
0 answers
204 views

Sometimes cannot boot because a disk is mounted under the wrong /dev number

Hopefully this is not a duplicate question, I have found some similar ones but none that exactly match. I have an Arch Linux installation dual booted alongside a Windows installation, both on ...
Jacob Garby's user avatar
1 vote
1 answer
178 views

Can an audio output priority list be defined?

Is it possible to set priorities for audio output devices, such that audio will be sent to the appropriate output, depending on what’s plugged in? (That is, hot pluggable: the priority list should be ...
Xophmeister's user avatar
0 votes
1 answer
151 views

dd not enough space

I have a drive that is about 1TB big. It is mostly free space. When you add up the size of all the partitions, it is less than 256GB. I have another drive that is 256GB. I would like to clone the data ...
user168226's user avatar
0 votes
0 answers
90 views

scsi timing out command, waited 300 seconds

I am booting rescue system on a server, which has defective HDD or controller. The kernel boot process times out with following messages: scsi timing out command, waited 300 seconds eventually it ...
Martin Vegter's user avatar
1 vote
0 answers
22 views

What happens behind the file system when moving the source of a loop drive into its mountpoint?

I moved the source of a loop drive into its mountpoint and umount it. Then the source disappeared. Note that after moving the source to its mountpoint (or other location), the source was shown as ...
PanJianhong's user avatar
4 votes
2 answers
237 views

Why does LVM not provide the function of recursive creation?

I tries to recursively create LVM on LVM but it seemed unable to provide this function. The way I did is like: Firstly, I created a physical volume and a volume group on a physical device by $ ...
PanJianhong's user avatar
2 votes
2 answers
72 views

Switch buttons on only the left-handed mouse (input devices)

I've got two Logitech M650 Mice hooked to by Debian 12 Gnome 44 Machine. One is a "Left-Handed" mouse. I would like to swap the buttons on just the left mouse so that I can use my index ...
gavstar's user avatar
  • 21
1 vote
1 answer
586 views

Which service creates /dev/fb0 node?

I want to update the console-setup.service to detect screen resolution using fbset -s and adjust console font size accordingly. For fbset, I need /dev/fb0 to be present, but I don't know which service ...
Tomasz Garbus's user avatar
0 votes
0 answers
448 views

Fingerprint doesn't work in linux (Pop!_OS 22.04 LTS)

I am trying to enable fingerprint, but when I run sudo fprintd-enroll it shows this Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available. can anyone help ...
Giorgi Tsignadze's user avatar
0 votes
1 answer
30 views

Are device nodes stored as files or just special entries in directories?

My question is related to the way device nodes are implemented in Linux. I know there are pseudo files systems like udev or devtmpfs available - in this case there is no real storage behind and the ...
mrn's user avatar
  • 149
0 votes
0 answers
62 views

Can I use POLL to determine when USB disconnected

I'm working on an old Linux 2.4 kernel and I'm trying to figure out how I can send a signal from the device driver to the application when the USB device has been disconnected. I've been reading my ...
Fratink's user avatar
  • 41
3 votes
0 answers
626 views

udev inside lxc container

I am running a privileged Debian LXC Container on Proxmox, and then running Docker inside that. I am attempting to run an Xserver in a Docker container with Sunshine to stream to a Moonlight client. I ...
Dennis George's user avatar
0 votes
1 answer
4k views

Docker Permissions issue accessing `/dev/dri` Device

I have a permissions problem. I am running Photoprism inside a Docker container on Ubuntu 22.04. I want to use Intel QuickSync hardware transcoding. To do this, the app needs to access the /dev/dri ...
Eddified's user avatar
  • 101
1 vote
0 answers
120 views

How to pass a character device to something expecting a named pipe

Is it possible to convert a special file corresponding to a character device into a pipe? Specifically if I had an embedded device connected to a linux system via USB, and the device could send/...
Peter Hull's user avatar
0 votes
1 answer
305 views

How to speed up sending event to /dev/input/eventX in Linux?

I am working on an embedded Linux system with kernel-5.10.24, and I want to send events to system by writing to /dev/input/eventX. With my testing of sendevent (sendevent.c), the event injecting is ...
wangt13's user avatar
  • 443
1 vote
1 answer
1k views

How to completely disable network interfaces in Ubuntu 16.04

On my Ubuntu 16.04 server, I need to disable the onboard NIC for troubleshooting before upgrading to 22.04. It's important that the entire NIC no longer shows up as a network controller in my device ...
Henry van Megen's user avatar

1
2 3 4 5
17