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)

3
votes
1answer
100 views

Can renaming a network device cause race conditions?

Arch uses predictable network interface names. MATLAB licenses are linked to the MAC address of eth0, so I need to rename one of my devices eth0. In a machines with only one NIC I can just turn off ...
2
votes
1answer
31 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 ...
2
votes
1answer
203 views

How to get device filename from lsusb output or by device path

Related question: USB connect/disconnect notification When the device is plugged/unplugged, I get instant notification, that's great. But to make it (almost) perfect, I also want to get device ...
2
votes
1answer
101 views

What are the two values in < > in a device tree .dts file ?

Following is the code snippet in a device tree file: flash@0 { compatible = "n25q128"; reg = <0x0>; spi-max-frequency = <50000000>; ...
2
votes
1answer
168 views

GPS Device Attached to Linux Mint 15

I purchased a Silvercrest GPS device from Lidl recently, but the software that came with it is a tad "underpowered" to say the very least and has no Linux support. I'm attempting to get at the raw ...
2
votes
1answer
75 views

Assigning static device path

I have 4 flash cards plugged in, sequentially named by system: /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 I want to assign static pathes to them, so every time the system boots up their pathes will ...
4
votes
0answers
2k views

How do I find out the device node corresponding to my device in SuSE 8?

I'm forced to work with a bunch of point-of-sale systems running SuSE 8. They are my client's computers. We are stuck dealing with these old systems until they get to upgrade their whole fleet to SLE ...
3
votes
0answers
21 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, ...
3
votes
0answers
32 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
0answers
45 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 ...
3
votes
0answers
111 views

How to rename devices for graphical output such as VGA0

On my Laptop the names of my graphical outputs change depending on what chip is activated in the BIOS. This leads to problems in some scripts where outputs such as VGA-0 or LVDS-0 are specified. So I ...
3
votes
0answers
189 views

How to route one video device to multiple programs

I'd like to direct the output of a single capture card (Hauppauge PVR-150) to two programs: VLC (for streaming on LAN) and MythTV for scheduled recording. I think it's possible to do this with the ...
3
votes
0answers
514 views

How do I let an SDL app (not running as root) use the console

I want to use an SDL-based program to display graphics on the console, without having to log on from the console, and without running the program as root. For example, I want to be able to run it via ...
3
votes
0answers
274 views

How to know the event by looking at /dev/input/by-id

I want to access the keyboard device driver. I usually accesses it by looking at /dev/input/by-name but the event provided by it gets changed every time I log in. After searchin on the Net, I found ...
2
votes
0answers
22 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 ...
2
votes
0answers
153 views

/dev/sda not appearing after secure erase

I decided to wipe my SSD with a secure erase before installing Arch Linux, since the Arch wiki said that it would improve performance. I followed the instructions listed on the wiki, but now when I ...
2
votes
0answers
90 views

Debian - cannot find cdrom

Having a jessie/sid debian box on kernel 3.13 (had same issue on kernel 3.10) First thing I notices was that k3b didn't find any optical drives. Then: The optical drives (dvd-writers) are found in ...
2
votes
0answers
442 views

Debian Wheezy USB2 ehci_hcd

I have a friend who decided to switch to Linux from Windows. I was helping her to get up and running as quickly as possible but we ran into a problem which I can't seem to solve. She uses Debian ...
2
votes
0answers
79 views

How to know when a device is ready

I have firewire mixing console and I wrote an udev rule which calls a script to set up the whole audio chain (alsa -> pulseaudio -> jackd -> firewire) as soon an the console is switched on. Now I ...
2
votes
0answers
144 views

Block Devices & Partitions

I partitioned a microSD card (mmcblk1) into two partitions mmcblk1p1 and mmcblk1p2. If use a dedicated card reader I am able to see the entire SD card and its partitions using various disk management ...
2
votes
0answers
193 views

Webcam Device Driver to support H.264

I have a Creative Live Cam Connect HD (id: 041e:4093) and this webcam has an on-board H.264 encoder. Unfortunately v4l2 only inputs the feed as MJPG. $ v4l2-ctl --list-formats ioctl: VIDIOC_ENUM_FMT ...
2
votes
0answers
187 views

Connected Android device - brings the network down?

I have dealt with sensitive development under Android, and have recently decided to switch to Linux now sit under (Mint 13 - KDE). But strangely, when the Android device is connected, my network goes ...
2
votes
0answers
58 views

Limiting write rate of a device

How does one go about limiting the write/read rate of a device, E.G., USB drive, SD card? Motivation behind this question is covered here (superuser.com).
2
votes
0answers
65 views

What are the differences between the current Linux kernel and the Unix SVR4 kernel in terms of device drivers+i/o and virtual files systems?

Yes I realize that Linux supports many more file systems and recognizes more devices than Unix SVR4. I'm interested in what the differences are in the abstraction on top of an actual file system, or ...
1
vote
0answers
12 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 ...
1
vote
0answers
13 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
21 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 ...
1
vote
0answers
33 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: ...
1
vote
0answers
13 views

How do you determine the capabilities of a WebCam?

I have a collection of WebCam's lying around. Some of them are new, some go back a decade (gotta love not having to "upgrade" devices in Linux :). Somehow I've developed the impression that ...
1
vote
0answers
16 views

character device file (rtai_shm) disappears under runlevel=5 in fedora9 (exists when runlevel=3)

I am trying to run Realtime (RTAI) on my Linux Fedora 9 machine. For that, it is needed to have a character device file, named rtai_shm, in /dev, that takes care of shared memory. I have made this ...
1
vote
0answers
98 views

Why is my embedded Linux unable to detect the sd device?

I have this ARM9 SAM9G25 embedded System, running a Linux 2.6.39 Kernel and a Busybox. I put the Images (of the bootloaders, and the linux+initramfs) on a SD so that in the end the system is booting ...
1
vote
0answers
29 views

Execute command when mouse is pluged/unpluged on GNU/Linux

Is it possible to have something like event handler for plugging unpluggig a mouse in Unix System? I want to have a script that will enable/disable touchpad but not only on startup (you can find ...
1
vote
0answers
103 views

Mount partition with truecrypt using the commandline

I'm trying to mount a encrypted HDD with truecrypt, but I cann't find the device. Where can I finde my HDD and what is the command to mount it in truecrypt? I'm using Raspbian on Raspberypi.
1
vote
0answers
69 views

Create a fake read only device like file with incrond

I need to generate UUID with uuidgen (not through any function call, but external command, because processes which will read the file cannot call any APIs or external commands directly). My idea is ...
1
vote
0answers
79 views

Which Unixes support cross-device filesystem links (in particular for rename)?

Just read the following on the FreeBSD man page for the rename syscall: ... [EXDEV] The link named by to and the file named by from are on different logical devices (file systems). Note that ...
1
vote
0answers
116 views

Any good usb-serial (RS485) adapter to use with GNU/Linux?

I'm having problem with usb-serial (RS485) adapters. Firstly, I tried ch341 without success. The problem in this case is the linux driver, made by reverse engeneering (sadly without any help from the ...
1
vote
0answers
451 views

Check if Keyboard and Mouse are plugged in

Is there a way to detect if a keyboard and a mouse is plugged in (and working) in Linux? This will be embedded in a PXE setup, so I only have Kernel + Modules and Busybox available. Bonus question: ...
0
votes
0answers
6 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 ...
0
votes
0answers
893 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 ...
0
votes
0answers
72 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 ...
0
votes
0answers
25 views

Is the device tree compiler tied to the kernel version?

I have a situation in which same device trees are used with different kernels. Can the device trees be build only once and used with all kernels? The reason I ask this is because I found the device ...
0
votes
0answers
21 views

unitek nec upd720200 not detected

I've decided to buy an USB3.0 controller on PCI for my debian machine. I did a short research and it appeared that NEC chips will be fine. I've bought Unitek NEC UPD720200 and I does not work: I ...
0
votes
0answers
27 views

Hotplug Device Driver Priority

Is it possible to have more than one driver for one purpose (eg. USB) included in the Linux kernel? If so, then how does the kernel decide which one to load?
0
votes
0answers
48 views

Best Practices for Configuring/Reading Sensor Devices

I have a gadget with a number of environmental sensors attached via an I2C bus, and would like to be able configure and read these sensors via an unprivileged application. Unfortunately, there ...
0
votes
0answers
31 views

information about txop in ath9k wlan driver

I'm trying to implement the rate control algorithm into ath9k wireless LAN driver. I need to find if the transmission of first packet in the TXOP has failed or succeeded (ack received or not). I ...
0
votes
0answers
181 views

Editing a device tree to disable driver loading

Below is a section of device tree. ps7_ethernet_0: ps7-ethernet@e000b000 { #address-cells = <1>; #size-cells = <0>; ...
0
votes
0answers
243 views

Debian 7.3 - Nautilus doesn't show devices and partitions in left panel after changing partitions

Today I changed some partitions (moving, resizing) on my second hard drive and after restarting Debian I noticed that Nautilus doesn't show either partitions nor removable devices in left panel. In ...
0
votes
0answers
435 views

What are high level and low level device drivers

Recently I read that there are two types of drivers (at least for disk), one that are called high level drivers and another called low level device drivers. Can some one tell me what these are, and ...
0
votes
0answers
137 views

problem exporting /media as an nfs share: why does it happen?

I've got two netbooks. One netbook has two installed Linux systems: openSUSE 11.04 and Debian testing. By default, in Debian, gnome mounts the /home filesystem for openSUSE, which shows up in gnome's ...
0
votes
0answers
487 views

Silicon Wave USB Bluetooth Adapter doesn't work

I have been trying to use my usb bluetooth adapter(silicon wave) on ubuntu 11.10 server, it appears in the lsusb list but it doesn't work Bus 005 Device 003: ID 0c10:0000 root@i5-PC:/home/john# ...