Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [devices]

The tag has no usage guidance.

0
votes
0answers
31 views

Magic Numbers for IOCTL Commands [closed]

To add ioctl functionality to your device driver, you have to define unique ioctl commands. To accomplish this, some linux macros are used. These macros are located in header file include/asm/ioctl.h. ...
0
votes
1answer
22 views

struct file object of a file

Whenever a file is created in kernel space, struct file object instantiated. Type of that file does not matter. For device nodes, standard text files etc, a struct file object is created when a file ...
1
vote
1answer
33 views

How to convert “sensor” names to a /sys path?

Programs such as sensor list sensors by name, such as package ID 0 and core 0. However, /etc/fancontrol uses things like /sys/device/.... How do I figure out the path from the name?
1
vote
1answer
14 views

is there USB support for an Agilent 33220A function generator?

I have an Agilent 33220A Function generator, it has USB and Network capability. I would like to control the device using the USB cable forgoing more complex and insecure networking options. Is there ...
0
votes
1answer
75 views

USB-Serial adaptor doesn't create /dev/ttyUSB path to address device

I'm using Ubuntu 18.10 x64 on my laptop and 17.10 x64 on another machine. The info below comes from the 18.10 laptop, but both have the same issue. I've attached a USB-to-Serial board (a Chinese TI ...
0
votes
0answers
11 views

Block Devices and Character Devices

The general definition of block devices is that a block device is the one with which the driver can communicate by sending entire blocks of data. In other words, if the size of a block is 4 KB, you ...
0
votes
0answers
28 views

Editing Device Tree

I'm a noob when it comes to changing kernels and device trees. I have no idea on how to start. So far I've downloaded device-tree-compiler. I want to change a USB dr_mode to "peripheral". I want to ...
0
votes
2answers
41 views

How to change root directory from different device (e.g. /dev/sdb1 to /dev/sda2)

I have an Ubuntu when booted it has the root system is stored under /dev/sdb1, as can be shown with df command: the fdisk -l looks like this: My question is how can I change the root system from /...
2
votes
1answer
40 views

What does `fd01h/64769d` mean in Device and `142368` in Inode?

When I checked the state of a file: [root@iz2ze9wve43n2nyuvmsfx5z ~]# stat test.py File: ‘test.py’ Size: 33 Blocks: 8 IO Block: 4096 regular file Device: fd01h/64769d Inode:...
0
votes
1answer
180 views

Drivers for rx vega m GL?

I have a hp spectre with an intel® Core™ i7-8705G CPU and an AMD radeon RX Vega GL discrete graphics card. I can't for the life of me figure out how to switch to my discrete card. My system doesn't ...
0
votes
0answers
21 views

Multiple loop devices in Ubuntu 18.04 [duplicate]

My system monitor shows a high number of devices like /dev/loop1. Is this normal/correct? Where do they come from and what are they good for?
0
votes
0answers
16 views

Where do USB devices show up in /dev if they're a printer?

Where in /dev do printers show up on Debian / Ubuntu based systems? Specifically IBM receipt printers...
2
votes
2answers
64 views

Create custom mount/unmount entry for nemo/nautilus “devices”

sshfs mounts are shown under "devices" in Nemo and Nautilus, together with this eject/unmount button. The eject/unmount button never works. When I go to the terminal and sshfs something into my home ...
0
votes
2answers
386 views

Is `/dev/shm` universal in Linux and Ubuntu?

For FIFO pipe speed I'm considering placing it inside the RAM disk called /dev/shm. I see there are some files there already: $ ll /dev/shm total 1536 drwxrwxrwt 2 root root 280 Oct 2 17:...
0
votes
1answer
16 views

Force discovery of SAS device

I have a tape drive attach to an SAS card on my Ubuntu 18.04 box. If I power cycle the drive with the computer running /dev/nst0 disappears and does not come back without a reboot (which is a non-...
4
votes
1answer
137 views

Is it possible to bring these chip temperatures down?

Today I installed kubuntu 18.04 on my laptop, and I'm having some problems with it. One of the problems is the high temperature of two chips. When running the command sensors in the terminal I get the ...
0
votes
0answers
102 views

Wireless adapter problems

I recently tried three different wireless adapters that should work with Ubuntu, but I'm not getting anywhere. The computer does not recognize the devices. I tried to get some drivers to install, ...
0
votes
0answers
13 views

How to avoid auto mount of my iphone?

I am using my iphone device as hotspot for internet via USB cable. Everytime when I plug in my iphone, it gets automatically mounted. How to prevent the auto mount?
0
votes
1answer
29 views

How to display list of character devices and block devices separately

How can I display list of character devices and block devices connected to my computer separately(List of only character devices or block devices at a time) from sudo cat /proc/devices using shell ...
0
votes
0answers
26 views

ping -I not receiving through all device names. Varying results puzzle

Can anyone shed light here? Do I have a misconfiguration or a misunderstanding? I have three interfaces on this one machine. Here is the address table from the ip command: 1: lo: <LOOPBACK,UP,...
0
votes
0answers
34 views

Cannot boot into Ubuntu after installing another one alongside

I had a quite unstable Ubuntu 17.10 with different kind of problems, so I installed a new Ubuntu 18.04 alongside, but I can't boot into my old Ubuntu 17.10 anymore. Here are the photos of the booting ...
1
vote
0answers
10 views

Apple devices couldn't be connected or even detected, how can I solve this please?

I'm trying to do a backup of my apple device, but it won't go ahead. I'm using Tunesviewer, but it does not even recognize my Apple devices. Could someone please help me?
0
votes
0answers
50 views

Ubuntu 18.04 - re-enabling disabled audio device which does not appear in Sound Settings

Back in version 16.04, I disabled my laptop's internal speakers at some software level. I have not interfered with the hardware in any way and I am highly confident that they are still working. The ...
0
votes
0answers
35 views

Does Ubuntu run well Laptop/Tablet Hybrid combos? [duplicate]

I have a Surface like Windows 10 Laptop/Tablet hybrid, and was curious if out of the box things like my touch screen and detachable keyboard, and on board cameras. I want to use 18.04 LTS
2
votes
2answers
77 views

Is a device broken if it fails to show up under lsusb?

I purchased a usb wifi adapter that doesn't work or show up in lsusb. Here are the possible reasons I can think of why it wouldn't show up in lsusb: The usb port is broken The device is broken There'...
0
votes
0answers
53 views

How to virtualize a windows device (/dev/sda2)

i'm using a dualboot windows/ubuntu 16.04, is there a way while i'm on the linux OS, to mount the windows (/dev/sda2) device and then use some kind of virtualization app to run it from my linux? ...
0
votes
0answers
20 views

Changing the name of my solid state drive

I have a new machine, running 18.04 and the drive has the excruciating name nvme0n1 and partitions I've created are named, eg.,/dev/nvnme0n1p6. This is completely impossible to remember. In the ...
1
vote
1answer
299 views

SD Card is not listed in fdisk but opens in files

I recently formatted my SD card after installing android image for raspberry pi on it. After formatting the SD card is not getting listed in fdisk. I did dmesg and gave me the following result: [...
2
votes
1answer
363 views

How to create a udev rule for two devices with the same manufacturer id, product id, and serial number?

I have two lidars. And in my code I need to provide the lidar port: ttyUSB0/ttyUSB1 etc... I have this udev rule. (/etc/udev/rules.d/rplidar.rules) rplidar.rules # set the udev rule , make the ...
1
vote
2answers
109 views

Where can I find the /dev/st tape drivers on Ubuntu?

Working on setting up Amazon VTL on Ubuntu, and I'm missing one step. iscsiadm --mode node --targetname iqn.1997-05.com.amazon:... ...command creates /dev/sg0 and not /dev/st* as I would like. I'...
0
votes
0answers
81 views

No touchpad-tab showing up in the mouse settings

I've bought a touchpad for my desktop, because I prefer using it instead of a mouse for some tasks. Unfortunately, the touchpad doesn't work like the one built into my laptop (there is no edge ...
0
votes
0answers
29 views

Make ubuntu Remember last used Audio device

I use a usb mic which can also be used as sound device, the problem is everytime I reset my pc, ubuntu puts the mic as default sound device, I have to manually set internal speakers as audio device ...
-1
votes
1answer
76 views

how can i access files/folders from other partitions and devices(flash drive) using ubuntu terminal? [closed]

What i want is to use terminal to access my entire hard drive and other devices using terminal. this is because i store most of my data in other partitions other than the home directory. i want to ...
1
vote
1answer
623 views

WSL - /dev/loop0 workaround

I am trying to setup Bochs as shown in this tutorial. However, I'm using WSL and there is no loop0 device. # bochsrc.txt # megs: 32 romimage: file=/usr/share/bochs/BIOS-bochs-latest, ...
0
votes
0answers
296 views

Error, cannot bind to the specified serial port /dev/ttyUSB0

I am trying to run a launch file during boot up using systemd. The launch file launches rplidar. When I directly run the .sh file, it's launching the lidar. $ systemctl status rosCore.service ● ...
3
votes
1answer
2k views

writing udev rule for USB device

I have 3 USB to serial devices connected via an USB hub to the PC.They are assigned device paths (ie; /dev/ttyUSB0 or /dev/ttyUSB1 or /dev/ttyUSB2 ) based on the order of plugging in. My application ...
0
votes
0answers
12 views

Kernel Module Insertion

I have an old custom linux kernel module was tested on CentOS with kernel 2.6.24.7, now i want to run it again on new OS and also need to migrate for the Latest Ubuntu system . I have read already ...
0
votes
0answers
16 views

Ubuntu stoped detecting audio devices on main user acount

I've only used Ubuntu for a couple months now and I kept encountering a problem where ubuntu would stop detecting audio devices seemingly at random after coming back from sleepmode or restarting. In ...
0
votes
1answer
382 views

hp printer install, start a new, how

oke so i have new HP printer, this is what happend (so far) HPLIP 3.17.7 was pre-installed tried to install 3.17.11, but there were dependency issues so i left it for what is was as it wasn't ...
2
votes
1answer
76 views

How to find out which disk is “sd 0:4:0:0”

I run Ubuntu on a 32GB USB jump drive. Started recently, I kept getting "sd 0:4:0:0: rejecting I/O to offline device". How do I find out if this is the internal hard drive or the external USB drive?
1
vote
0answers
163 views

What does TIOCGSERIAL is not supported mean?

Im writing a program, that sends data to a bluetooth device. The device is attached to my computer via /dev/rfcomm1. After numerous issues, I read the dmesg log, and saw: TIOCGSERIAL is not supported ...
1
vote
1answer
48 views

How to switch audio output to specific devices per application using command line?

pacmd list-clients shows the applications, pacmd list-sinks shows the devices, the GUI tool pavucontrol can assign applications to the devices. What is the command for assigning the devices? For ...
0
votes
1answer
111 views

pvcreate: WARNING!

I'm currently messing around creating lvm's on an external drive and think I may of deleted something by mistake! Now when I run "pvcreate /dev/sdc1" to create my physical volume i get this message ...
5
votes
1answer
779 views

relationship between device name and mount point

Even though we have a device called e.g. /dev/sdb1 the mount point for the device is different for e.g. /media/user/sth. Now I'm confused and curious to know what the relationship between the actual ...
0
votes
1answer
2k views

How can I install mmc-utils on Ubuntu 14.04?

According to this article mmc-utils may be installed on Ubuntu 17.04 with sudo apt-get update sudo apt-get install mmc-utils But that doesn't work on Ubuntu 14.04 for me. Is there a straightforward ...
0
votes
0answers
54 views

Access usbtmc without /dev/usbtmcX

I'd like do: echo 'cmd' >> /dev/usbtmc0 but instead of referencing /dev/usbtmc0, I'd like to reference something that has the usb product-id and vendor-id. e.g. echo 'cmd' >> /dev/0x1234:0x5678 ...
2
votes
0answers
40 views

Random/continuous playing of device-removed and device-added sounds

I'd like to ask a question about a weird problem I have been experiencing on my 17.10 install. Basically, every 15s-3min a quick succession of what appears to be /usr/share/sounds/freedesktop/stereo/...
0
votes
0answers
879 views

Unhandled lockdown error (-3)

Trying to read data in iphone 6 using ubuntu 17.04 32bit installed on a dell mini. I earlier got a message that the iphone was not a "trusted" device. How do I make it trusted. I am a linux newbie!
1
vote
2answers
720 views

Wireless card not detected by lspci, lsusb, dmesg

I have a Haier HV102H laptop-transformer with Windows 10 and Ubuntu 16.04 on board, but there is a problem with the WiFi adapter (Broadcom 802.11n Wireless SDIO Adapter). There is no device visible in ...
0
votes
1answer
112 views

I accentally removed a loopback device

I accendentally removed /dev/loop2 and i need it for a "loopback-floppy" but everytime i try to do ANYTHING it just says: "mount: image.flp: failed to setup loop device: wrong ioctl() for device" and ...