LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-25-2013, 12:40 AM   #1
dirtyfishtank
LQ Newbie
 
Registered: Aug 2013
Posts: 9

Rep: Reputation: Disabled
/dev/pts/#: device activation failed.


Hey guys, I'm trying to install an app [gpsd] using this line
Code:
scons && scons testregress && sudo scons udev-install
As far as I can tell it sets up some tests scripts in the process but they seem to fail every time and give me this error.
Code:
Processing test/daemon/ch-4701.log...gpsd:ERROR: device open failed: Permission denied - retrying read-only
gpsd:ERROR: read-only device open failed: Permission denied
gpsd:ERROR: /dev/pts/2: device activation failed.
gpsd:ERROR: device open failed: Permission denied - retrying read-only
gpsd:ERROR: read-only device open failed: Permission denied
gpsd:ERROR: /dev/pts/2: device activation failed.
What does this mean? By default permission in this folder look like this
Code:
[root@localhost gpsd-3.9]# ll /dev/pts
total 0
crw--w----. 1 root tty  136, 0 Aug 25 14:34 0
crw--w----. 1 root tty  136, 1 Aug 25 14:36 1
c---------. 1 root root   5, 2 Aug 25 14:21 ptmx
I tried manually changing the permission using chmod 666 /dev/pts/* but this doesn't help. Any ideas?
 
Old 08-25-2013, 01:23 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,773

Rep: Reputation: 197Reputation: 197
I've never used this.

Look at:
man pts
man unlockpt
http://www.catb.org/gpsd/
http://packages.debian.org/unstable/misc/gpsd

Good luck, let us know what you find.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Terminal Emulation & /dev/pts and /dev/shm Issues on Kernel 3.4.3 unassailable Gentoo 8 10-28-2012 12:03 AM
What creates /dev/pts, /dev/loopx, and other /dev devices - Fedora Core 2 rickpo12 Linux - General 5 02-11-2012 09:50 PM
pseudo terminals: /dev/ptmx <-> /dev/pts/ vs. /dev/ptyp <-> /dev/ttyp rtspitz Linux - Software 2 12-02-2011 03:07 PM
Failed to open audio device (/dev/dsp): No such device stevesk Slackware 6 01-01-2009 07:29 AM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 09:46 PM


All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration