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).

learn more… | top users | synonyms (1)

0
votes
0answers
13 views

No USB flash drive / dev / Galileo Intel Gen2

I have intel Galileo Gen2 and Debina installed on it from here: http://sourceforge.net/p/galileodebian/wiki/Home/ And I also have a problem with that, it does not appear in the / dev / any of the usb ...
-1
votes
1answer
28 views

Which of the following is a Linux representation of a physical USB device?

I'm trying to figure out which of these could be a physical USB device: /dev/hda /dev/hda1 /dev/bin /dev/sda /dev/sda2 What's the difference between hda and sda? Between hda and hda1? Which could ...
0
votes
0answers
16 views

Debian Fresh Install: IO_Page_Fault

I recently tried to install Debian alongside the mint installation I am using to type this. However, I keep getting this strange error whenever I try to boot it, even after a fresh install ...
2
votes
0answers
24 views

How to temporarily disable mouse device?

I have wireless USB keyboard and mouse combo. I need a way to disable mouse while leaving keyboard function working and a way to enable it again after some time. I don't use X and I can't make it in ...
1
vote
0answers
12 views

Pipe a device via USB or wlan

I have an Android phone and I want to use some of its onboard device from PC. To be more clear, there is a node in /dev/ and I want to have on PC a file (or named pipe which is accessable as a file) ...
0
votes
1answer
14 views

How to figure out primary/secondary IDE channel via sysfs (if possible)

Though I've got quite a good basic understanding of sysfs meanwhile, there are still things I cannot solve on my own. For a starter, I'd like to figure out via sysfs (later by scripting of course) ...
1
vote
1answer
39 views

Run Out Of Space On /dev/sda2

My Linux (Mint 13) laptop reported that 'The volume "Fiilesystem root" has only 0 bytes disk space remaining'. When I ran a 'df' I got the following result:- HP-255-G1-Notebook-PC # df Filesystem ...
4
votes
1answer
206 views

Why did sshd delete my /dev/zero?

When I do lsof +c 0 | grep /dev/zero, I see the following two lines: sshd 19064 root DEL REG 0,4 497862 /dev/zero sshd 19064 root DEL REG 0,4 498725 /dev/zero ...
0
votes
0answers
17 views

Detecting and categorizing device drivers in a running system

How can I obtain what device drivers are incorporated in a running kernel? More than this, how can I categorize these device drivers? For instance, this is a Linux kernel conceptual map, from ...
0
votes
1answer
39 views

RHEL7: Why does 'nmcli conn show' & 'ip addr show' display different connections?

My 'nmcli conn show' & /'etc/sysconfig/network-scripts' config files don't match up, showing just one connection/devices of each: [root@ciroc network-scripts]# ls |grep ifcfg ifcfg-enp0s3 ...
2
votes
1answer
22 views

execute chmod on boot time on headless debian

I am programming a (web based) POS system, dedicated to be running on a debian based ITX-server with apache2 etc. Currently I am using Lubuntu 14.04 LTS for development (and for the 1st customer) with ...
1
vote
2answers
25 views

Creating a device similar to /dev/random from a script

I am writing a program for which I will create a script to generate test data in a specific format. How can I create a /dev/myprogram device that would work similar to /dev/random (preferably in ...
1
vote
1answer
23 views

Pushing changes to driver repos

My understanding of dkms is that its a way to dynamically manage all connected/disconnected device drivers on a Linux system. If that's correct, then I have to imagine that it allows you to configure ...
1
vote
1answer
29 views

Why does tapping a TTY device only capture every other character?

So, I came across the ttyname function (unistd.h) and had to test it out. #include <unistd.h> #include <stdio.h> int main(void) { printf("%s\n", ttyname(0)); return 0; } On my ...
0
votes
2answers
23 views

how to know which device was open

is there any shell command, can let me know, current open device or device already in operation. For example, I use minicom to open a device /dev/ttyUSB0 or /dev/ttyS0, after I use program open this ...
1
vote
1answer
20 views

Does programmer use device files as interface to device drivers in their programs?

In Linux shell, a user can access a device driver, via its device file as the interface. When a Linux C programmer want to access a driver in his C program, does he also access the driver, via its ...
40
votes
9answers
4k views

Why do we need to mount on Linux?

I understand what mounting is in Linux, and I understand device files. However I do not understand WHY we need to mount. For example, as explained in the accepted answer of this question, using this ...
1
vote
0answers
66 views

Raspbian: USB storage device name changing after USB device power cycle

I'm running Raspbian 7.4 on a Raspberry PI that has two USB storage devices connected to it. This Raspberry PI will remain running during a power failure because it has console cable connected to it ...
1
vote
1answer
22 views

Is the directory that a file-system is mounted on (mount point) a device file of the file system's type?

A device file is an interface to the device driver of the device. When we mount a file system to a directory, is the directory considered a device file (of the file system's type)? If the ...
0
votes
0answers
28 views

Pegasus R6 Thunderbolt raid with CentOS 6.5

We have ourselves a rather expensive Mac Pegasus R6 external thunderbolt raid and a CentOS box that we would love to use it. On a Mac it's plug and play, however on our CentOS box it's not recognized ...
6
votes
1answer
375 views

Why does the UNIX system need so many [0-byte] drives at /dev/* [duplicate]

So I recently asked this question, which lead me to run this command: $ du -sk /dev/* Which outputs about 353 different entries that look like this: 0 /dev/sdt 0 /dev/stderr 0 /dev/stdin 0 ...
3
votes
3answers
125 views

How to inspect the contents of /dev/sdt?

I have what I hope is not a huge problem, but could end up being a very large problem. For some context, I mistakenly ran this command on my 27'' iMac: sudo dd if=ubuntu-rescue.img of=/dev/sdt ...
7
votes
4answers
623 views

Trouble with understanding the concept of mounting

Having read both What is meant by mounting a device in Linux? and understanding "mount" as a concept in the OS, I have a problem where it is stated that All accessible storage must have ...
3
votes
1answer
78 views

Difference between /dev and /sys

Exactly what is the difference between devfs and sysfs? Both seem to maintain a list of hardwares attached to the system. Then why the need for 2 separate fs even arose? As far as I can get /sys ...
0
votes
1answer
206 views

What is the difference between /dev/sda and /dev/hda? [duplicate]

Sometimes internal harddrives are available as /dev/sda (with subsequent media located in /dev/sdb etc), and other times available as /dev/hda. What is the difference between the two? Does it vary ...
3
votes
0answers
53 views

Remote Mouse netcat (/dev/input/mice)

I was playing around with nc and I'm discovering how powerful and versatile this tool is. I was wondering how the file /dev/input/mice works because when I do cat /dev/input/mice you see the output, ...
0
votes
0answers
14 views

Device nodes for an ATSC tuner not created

I'm trying to use an external tuner to tune to ATSC signals. But when I plug in the USB-Tuner I could see only frontend created. $ ls -ld /dev/dvb/adapter*{,/*} drwxr-xr-x 2 root root 60 Dec 5 ...
2
votes
1answer
82 views

chroot with unionfs-fuse, can't access /dev/*

I have created the a chroot jail in combination with unionfs-fuse so that I don't need to install another system inside it. However, the resulting system's /dev entries are not readable.This is ...
4
votes
1answer
60 views

Do all devices under Linux have a device node?

I know that each device on Linux is either a char or block or network device. Do all physical devices that exist on Linux have a device node under the /dev directory? I'm not talking here about ...
0
votes
1answer
20 views

Does network interface device have device inodes [duplicate]

Does network devices have device nodes because i have looked inside /dev directory and have not found any corresponding device node although it's up and running
2
votes
1answer
29 views

who is accessing /dev/video0

I have a streaming video feed set up with the motion package. something like this: https://www.youtube.com/watch?v=jGkHSU-UPLU works Great. What I want to know, is who is connecting to my streaming ...
1
vote
0answers
16 views

give group permissions to specific device

I have a panning web camera I built, (future robot arm). The camera pans via a web interface (cgi scripts and JS interface) which access an arduino. To enable sending of commands via the interface, I ...
3
votes
1answer
238 views

Trying to read USB Audio Device, but /dev/hidraw0 is unavailable for reading

I'm trying to write a simple driver for my USB Sound Card (just for fun) on Xubuntu 14.04 -- for example, I want to have an opportunity to control volume on my laptop via this device. The problem is ...
1
vote
0answers
37 views

Capturing data from a Fluke 1620a via Bash /dev/tcp file descriptor

I am currently trying to develop a script that will connect to a Fluke DewK 1620a Themo-Hygrometer and pull the current temperature and humidity readings from the device. While these devices have a ...
1
vote
0answers
29 views

Is there support for flattened device tree in Sparc 32 port of the Linux kernel?

We are trying to write a minimal bootloader for booting the linux kernel on a Sparc V8 processor simulator. From what I understand, the interface between the bootloader and kernel consists of a data ...
0
votes
1answer
30 views

Can't Make a LDD for a Devkit8000

I'm trying to build a Linux Device Driver for a Devkit 8000. I'm getting the following errormessage: When I try to follow it's directions I get asked a bunch of yes/no questions I don't really ...
4
votes
2answers
44 views

How to run an application with certain group permissions?

I have a 3D printer, with which my PC can communicate through /dev/ttyACM0: crw-rw---- 1 root uucp 166, 0 16 nov 14:58 ttyACM0 The 3D printing application repetierHost requires read/write access ...
2
votes
1answer
75 views

create several /dev/xconsole files automatically upon boot

I understand from my previous question that the /dev/xconsole file can be created using mkfifo. On my system (Debian Wheezy), /dev/xconsole gets created automatically. I am wondering who creates it ...
3
votes
0answers
114 views

Why does a device show up as hidraw instead of hiddev?

I read the kernel documentation for hidraw and hiddev, and I understand the differences, but I am wondering how the kernel decides whether or not a device should show up as /dev/hidraw* or ...
3
votes
1answer
96 views

How to disable USB devices based on their vendor ID on GNU/Linux?

In that question someone wanted a blacklist for all USB devices, and then only allow specific devices. In this question, we want to accept all USB devices, but prevent the driver (e.g. cdc_acm) from ...
2
votes
0answers
28 views

PC speaker device missing

I've just connected a small internal PC speaker to my motherboard. The beep command is producing sounds correctly. The pcspkr is loaded but there is no /dev/pcsp, so I cannot send audio to it. How ...
1
vote
1answer
1k views

Why is my Mac, upgraded from Mavericks to Yosemite, no longer giving VMware Fusion needed resources?

I have a Mac upgraded from Mavericks to Yosemite. When I tried to run VMware Fusion, I got an error stating: Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel ...
1
vote
1answer
43 views

talk to modbus device

I currently have a minimal install of Red Hat 6.5 running, on the machine I need to talk to a modbus device. I am wondering what tools and drivers are needed on a linux machine to talk to a modbus ...
2
votes
2answers
717 views

Mount an ISO virtually using /dev/sr0 device

I'm doing a study about how CD-ROM can be mounted virtually and all I could find out was mounting using loop devices. mount -o loop disk1.iso /mount-point This is fairly easy. I understand that ...
3
votes
0answers
57 views

Bad/strange USB device issue: failed to shutdown/restart

On a fresh Arch Linux installation with Intel i7 processor and an Nvidia graphics card, I noticed during boot log messages related to a usb device filled the screen before it reached the graphical ...
6
votes
2answers
639 views

What happens if I run fsck on /dev/sda instead of /dev/sda1?

When I have run fsck in the past I have always run it on what I thought was a filesystem partition, ie. fsck -yf /dev/sdaN, where N is the partition number on disk A. A friend of mine recently ran ...
1
vote
0answers
50 views

How/where are linux device capabilities / bitfields set?

I have a device that has this output in /proc/bus/input/devices: I: Bus=0003 Vendor=05b8 Product=3280 Version=0111 N: Name="PixArt USB Optical Mouse" P: Phys=usb-0000:00:1a.0-1.1/input0 S: ...
0
votes
0answers
127 views

How can I mount the Logitech C270 in the zynq-7000 (with Linaro linux)?

I am doing camera control programming for a university project using zynq 7000. I want to mount the camera module that's for the Logitech C270 (like this ...
11
votes
3answers
849 views

Are there alternatives to using `udev`?

While I understand the greatness of udev and appreciate the developers' effort, I was simply wondering if there is an alternative to it. For instance, I might imagine there should be a way to make ...
1
vote
1answer
98 views

create several /dev/xconsole files

I am using /dev/xconsole to send system logs from rsyslog. That works great, because I am don't have to store the logs on disk. I would like to have another similar file , i.e /dev/xconsole1 where I ...