[SOLVED] output VC/tty = xterminal ? (cat /dev/?? or something?)

Hi!
I'm trying to access the output shown in vc / tty in X. Just "cat /dev/tty1" in an xterminal seems to be way off track, so is "cat /dev/vt/1"... any hint on how to do it right?
Thx!
Last edited by whoops (2009-07-10 19:26:13)

whoops wrote:Oh, so it works after all, thx. Still a little confused, but for now "sudo cat /dev/vcc/#" working is enough for me. Didn't find it, because for some reasons it requires root privileges while...
- /dev/tty# are all readable (but not working)
- /dev/vc/# have the right permissions - can access all the user is logged into, none else (still, wrong folder, but that "right permissions"-thing did catch me).
In this scheme
- /dev/tty# are symlinks to /dev/vc/#, and always shows as "lrwxrwxrwx", don't care.
But tty devices not are for the "capture" purpose
a better "cat" is to use "fold" or better setterm
fold -w80 /dev/vcs12 (current scheme)
fold -w80 /dev/vcc/12 (devfs scheme [Arch Linux])
setterm -dump 12 -file /proc/self/fd/1
PS: Because a bug, there no anymore vcs1 and vcsa1 in 2.6.30. http://lkml.org/lkml/2009/7/10/369

Similar Messages

  • [solved] duplicate post TTY terminal on DVI output

    Hi
    Does someone know how to turn video output on tty over HDMI?
    Last edited by infoslaw (2013-06-17 13:50:17)

    Sorry maybe I need more explain here. When I switch to TTY terminal from KDE environment (ctrl+alt+F2) I would like to have video signal.
    I'm docking laptop and connecting via DisplayPort to DVI.
    It's working on lower 3.0 LTE kernel but not on last kernel version (my current is 3.9.5.1).
    On VGA connection working fine.
    Last edited by infoslaw (2013-06-14 07:55:54)

  • Can't `cat /dev/video`

    I've been trying to do this, but I can't find anything to help.
    16:24:48 cha0s6983@localhost:/usr/bin$ ls -l /dev/vide*
    lrwxrwxrwx 1 root root      6 2009-09-14 23:29 /dev/video -> video0
    crw-rw---- 1 root video 81, 0 2009-09-14 23:29 /dev/video0
    16:26:17 cha0s6983@localhost:/usr/bin$ cat /dev/video0
    cat: /dev/video0: No such device
    vlc and xawtv are showing me a capture screen just fine... my deal is I want to stream the webcam output to stdout, but I just can't figure out how to do it.
    Any help very welcome, thanks!
    P.S. First post, hi ^^

    I suspect this is an issue with YouTube.
    It goes down from time to time.
    Try it again, click refresh button.

  • "cat /dev/audio" as solution to strange audio-noise?

    With my Macbook Pro (2,2), I hear a strange noise when I connect a loudspeaker to the earphone output that isn't there when I use the internal loudspeakers.
    The issue vanishes when I listen to music for example. And appears again as soon as I clouse the player.
    interestingly, when I enter "cat /dev/audio" in a console, then the noise disappears! And I can still listen to music and everything else!
    I see then many lines of something like "
    |z{{{{{{{{|{{{{{{z|{z{{{|{{{{{{{|{{|{{|{{{{{{{|{{{{|{{{{{{||{{|{{{{{|{{{{{|{{{{{|z{{{"
    Any idea what the problem could be?

    ebonyhack!!! You genius!!!
    I've recently bought brand new quad core beast, with loads of memory, twin 20" cinema screens, apogee duet, Logic Pro Studio 8, Novation keyboard with automap. The reason I bought this lot was because it is all designed to work seamlessly with each other. And with a mac (my first ever), it wouldn't have all those lovely windows / PC issues I had to put up with for years.
    Setup was an utter doddle - easy peasy - it all recognised the other components and worked like a dream, until ............................... first song, three instruments, three audio tracks, HUNDREDS (I am not exaggerating) of error message 10011! It is impossible to record vocals when the darned track keeps crashing! Vocalists get very annoyed. Critical listening to your mix is a complete joke, so you waste hours - no - days of your life bouncing, listening, changing the mix, bouncing, etc, etc, etc.
    I have gone through so many of these threads, trying all the "fixes" offered, with no success at all.
    Just read this thread, unticked that I/O box, loaded up three songs into memory (just for fun!), played the one which crashed most frequently, waited, and waited .............. and waited - and it played right through! First time since I'd got more than the first track or two written! Did the same with the next song - worked perfectly!!!
    Early days as yet, but thanks so much - I love you.

  • [Solved] Vim breaks TTY output

    Everything works fine in my TTY until I use vim, then all further input is unreadable gibberish until next boot.  I have tested other commands and applications (pstree, canto, iptraf).  None of these cause any problems.  Only vim.
    This is the output from ":language" in vim:
    Current language:
    "LC_CTYPE=en_US.UTF-8;
    LC_NUMERIC=C;
    LC_TIME=en_US.UTF-8;
    LC_COLLATE=C;
    LC_MONETARY=en_US.UTF-8;
    LC_MESSAGES=en_US.UTF-8;
    LC_PAPER=en_US.UTF-8;
    LC_NAME=en_US.UTF-8;
    LC_ADDRESS=en_US.UTF-8;
    LC_TELEPHONE=en_US.UTF8;LC_MEASUREMENT=en_US.UTF-8;
    LC_IDENTIFICATION=en_US.UTF-8"
    locale:
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE=C
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    locale -a
    C
    POSIX
    en_US
    en_US.iso88591
    en_US.utf8
    Last edited by the sad clown (2013-02-04 13:24:21)

    I don't have a complex .vimrc:
    " All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
    " /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
    " you can find below. If you wish to change any of those settings, you should
    " do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
    " everytime an upgrade of the vim packages is performed. It is recommended to
    " make changes after sourcing archlinux.vim since it alters the value of the
    " 'compatible' option.
    " This line should not be removed as it ensures that various options are
    " properly set to work with the Vim-related packages.
    runtime! archlinux.vim
    " If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
    " Or better yet, read /usr/share/vim/vim73/vimrc_example.vim or the vim manual
    " and configure vim to your own liking!
    filetype plugin indent on
    syntax on

  • [Solved] cannot access ttys (Ctrl + Alt + F1-F7)

    When I press Ctrl + Alt + F1 I just get this error (Ctrl + Alt + F2 brings me back):
    :: Loading Initramfs
    commandline read: splashy
    commandline read: boot
    waiting 90 seconds for device /dev/disk/by-uuid/e289..[numbers]..311 ...
    ... When pressing Ctrl + Alt + F3-F7 I just get blank screen.
    Here's the output of ps a:
    [det@myhost ~]$ ps a
    PID TTY STAT TIME COMMAND
    2183 tty2 Ss+ 3:10 /usr/bin/Xorg :0 -audit 0 -auth /var/lib/gdm/:0.Xauth
    14044 pts/0 Ss 0:00 bash
    14046 pts/0 R+ 0:00 ps a
    Last edited by algorythm (2009-08-06 13:05:59)

    Ii guess that is.. . See my both (/etc/)inittab(.pacsave) files look exactly the same:
    # /etc/inittab
    # Runlevels:
    # 0 Halt
    # 1(S) Single-user
    # 2 Not used
    # 3 Multi-user
    # 4 Not used
    # 5 X11
    # 6 Reboot
    ## Only one of the following two lines can be uncommented!
    # Boot to console
    id:3:initdefault:
    # Boot to X11
    #id:5:initdefault:
    rc::sysinit:/etc/rc.sysinit
    rs:S1:wait:/etc/rc.single
    rm:2345:wait:/etc/rc.multi
    rh:06:wait:/etc/rc.shutdown
    su:S:wait:/sbin/sulogin -p
    # -8 options fixes umlauts problem on login
    c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
    # Example lines for starting a login manager
    x:5:respawn:/usr/bin/xdm -nodaemon
    #x:5:respawn:/usr/sbin/gdm -nodaemon
    #x:5:respawn:/usr/bin/kdm -nodaemon
    #x:5:respawn:/usr/bin/slim >& /dev/null
    # End of file
    I guess I need to change the vc/s to ttys?
    Like this?:
    c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
    Edit: Yeah, thanks man.
    Edit 2: Later on I also edited /etc/rc.sysinit the same way
    Last edited by algorythm (2009-08-07 22:58:15)

  • [SOLVED] How To Read Data Over /dev/ttyUSB0

    So...I am using a serial device connected to a Keyspan Serial-to-USB adapter and plugged in to my computer's USB port. The device is constantly sending 115200 baud data over UART, with no parity, 8 data bits, 1 stop bit, no flow control, and no handshaking. I can read the data just fine on my Windows machine (once I install the Keyspan driver). On Arch64, I notice that when I plug it in, /dev/ttyUSB0 shows up so I believe that means the kernel is recognising the device and already has drivers to handle it. I would like to simply see the output of the device through my terminal emulator so I have written the following script....
    stty -F /dev/ttyUSB0 115200 cs8 -cstopb -parenb
    while true; do
    read LINE < /dev/ttyUSB0
    echo $LINE
    done
    When I run this script as root, however, I get no output. I have also tried appending "-icanon min 1 time 1" to the stty arguments list but also to no avail. Can anyone help? Thanks!!
    Last edited by tony5429 (2009-10-30 20:59:30)

    Thanks, all for the responses!
    perbh: I wasn't sure exactly how to implement your suggestion. If the cat line doesn't use the variable, "$LINE", how can "echo $LINE" work? I am probably missing something simple...
    Well, I have had a little success. The following script creates blank lines whenever data comes in through the usb device. Basically the device sends FFT data whenever it hears a sound which is greater than a certain threshold, so when I snap my fingers near it I see the FFT data show up in Terminal on Windows. Now, with the script below, if I snap my fingers my Linux machine outputs a bunch of blank lines so basically I just see my linux terminal emulator scrolling whenever I snap my fingers Does anyone have any ideas how to get the actual data on Linux? Thanks again!
    stty -F /dev/ttyUSB0 115200 cs8 -cstopb -parenb
    while true; do
    read -n 8 LINE < /dev/ttyUSB0
    echo $LINE
    done

  • [Solved]output of `watch` doesn't show non-english characters

    Using `watch`, the output can only show English characters in Archlinux, but in Ubuntu, it works well.
    I've googled webs and searched the ArchWiki but to find nothing.
    Following is the result in my laptop with Archlinux.
    [six@localhost /tmp]$ uname -a
    Linux localhost 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64 GNU/Linux
    [six@localhost /tmp]$ cat tmpfile
    English: alpha
    Greek: α
    Chinese: 阿尔法
    [six@localhost /tmp]$ watch "cat tmpfile"
    Every 2.0s: cat tmpfile Wed Jan 8 21:40:32 2014
    English: alpha
    Greek:
    Chinese:
    Following is the result in my PC with Archlinux.
    [six@eskibear /tmp]$uname -a
    Linux eskibear.info 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64 GNU/Linux
    [six@eskibear /tmp]$cat tmpfile
    English: alpha
    Greek: α
    Chinese: 阿尔法
    [six@eskibear /tmp]$watch "cat tmpfile"
    Every 2.0s: cat tmpfile Wed Jan 8 21:42:24 2014
    English: alpha
    Greek:
    Chinese:
    Following is the result in Ubuntu.
    cit@cit-HP-Z220-SFF-Workstation:~$ uname -a
    Linux cit-HP-Z220-SFF-Workstation 3.8.0-32-generic #47-Ubuntu SMP Tue Oct 1 22:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    cit@cit-HP-Z220-SFF-Workstation:/tmp$ cat tmpfile
    English: alpha
    Greek: α
    Chinese: 阿尔法
    cit@cit-HP-Z220-SFF-Workstation:/tmp$ watch "cat tmpfile"
    Every 2.0s: cat tmpfile Wed Jan 8 21:45:20 2014
    English: alpha
    Greek: α
    Chinese: 阿尔法
    I cannot figure out why. Looking forward to your help
    Last edited by eskibear (2014-02-01 00:36:11)

    karol wrote:
    /usr/bin/watch is owned by procps-ng 3.3.9-1
    What application and what version is it for Ubuntu?
    I use apt-show-version and dpkg, and following is the output.
    cit@cit-HP-Z220-SFF-Workstation:~$ apt-show-versions -p procps
    procps/raring-updates uptodate 1:3.3.3-2ubuntu5.3
    cit@cit-HP-Z220-SFF-Workstation:~$ dpkg -s procps
    Package: procps
    Status: install ok installed
    Priority: important
    Section: admin
    Installed-Size: 628
    Maintainer: Ubuntu Developers <[email protected]>
    Architecture: amd64
    Multi-Arch: foreign
    Version: 1:3.3.3-2ubuntu5.3
    Provides: watch
    Depends: libc6 (>= 2.15), libncurses5 (>= 5.5-5~), libncursesw5 (>= 5.6+20070908), libprocps0 (>= 1:3.3.2-1), libtinfo5, upstart-job, lsb-base (>= 3.0-10), initscripts
    Recommends: psmisc
    Breaks: guymager (<= 0.5.9-1), open-vm-tools (<= 2011.12.20-562307-1), xmem (<= 1.20-27.1)
    Conflicts: pgrep (<< 3.3-5), w-bassman (<< 1.0-3)
    Conffiles:
    /etc/init/procps.conf 96170a339d08797dc90d69b01d6bf610
    /etc/sysctl.conf d1cb9fea7a813e02111874f040cfc04b
    /etc/sysctl.d/README c20074b9b11a5202758c69d7bcb6996f
    /etc/sysctl.d/10-ipv6-privacy.conf e9473d12b4a7069d6a3ca8b694511ddf
    /etc/sysctl.d/10-zeropage.conf 8d7193abcc4dfedaf519dd03016a5e59
    /etc/sysctl.d/10-kernel-hardening.conf 5c1388f00011a287cdeba60208c674e1
    /etc/sysctl.d/10-network-security.conf 4ac7258f5336e7eeaf448c05ab668d3c
    /etc/sysctl.d/10-link-restrictions.conf 8568316f2baa8db06554dab91f93a161
    /etc/sysctl.d/10-ptrace.conf 47f40494b2fc698e15549e0a4a79e81c
    /etc/sysctl.d/10-console-messages.conf 154f6f5c5810d10bb303fb6a8e907c6a
    /etc/sysctl.d/10-magic-sysrq.conf b3059f2835f17c97265433fdfdee358f
    Description: /proc file system utilities
    This package provides command line and full screen utilities for browsing
    procfs, a "pseudo" file system dynamically generated by the kernel to
    provide information about the status of entries in its process table
    (such as whether the process is running, stopped, or a "zombie").
    It contains free, kill, pkill, pgrep, pmap, ps, pwdx, skill, slabtop,
    snice, sysctl, tload, top, uptime, vmstat, w, and watch.
    Homepage: http://gitorious.org/procps
    Original-Maintainer: Craig Small <[email protected]>

  • Same program ran in DEV&QAS but output data is summarized in DEV??

    What could be the causes of having the same identical program ran in different clients with the same variant and same input data but the output is summarized in DEV and not QAS?
    Since DEV is not summarized, grand debits and credits are larger in DEV when comparing the two but the net totals are the same.

    Hi,
    Check if the output is an ALV grid output.  Then there might be a layout change from DEV and QAS and hence their might be a difference between the outputs.  The layout set in DEV wil not be transported automatically.  It has to be transported manually.
    Regards,
    Ravi

  • [solved] fdisk alignment not sticking on /dev/sda1

    Hey everyone.
    There are several statements that SSDs should be properly aligned.
    So i went ahead and aligned my Intel X25-M following this guide on the OCZ forums.
    After partitioning the SSD with fdisk using proper alignment, i confirmed via 'fdisk -l' and 'fdisk -lu' that the alignment is correct.
    My next step was installing Windows Vista X86_X64, where AS Benchmark again confirmed a proper alignment (128 K as suggested by Theodore Ts'o or 512 K, as suggested in the guide linked above, i tried both).
    However, when i checked with fdisk again to confirm the alignment once more, the alignment for /dev/sda1 seems to have shifted. I also get the message, that partition 2 doesn't end on a cylinder boundary.
    Right now, it should be 32 heads and 32 sectors per track to result in a 512 K alignment. But fdisk shows 255 heads and 63 sectors/track for /dev/sda1, which is, from what i understand, the standard used by linux. The other partitions seem to be just fine.
    I've read that there might be an issue with partition 1 shifting but i also heard it could by avoided by starting partition 1 on cylinder 2 instead of cylinder 1. Unfortunately, that doesn't change anything for me.
    Can anyone tell me what i did wrong?
    Regards,
    demian
    Here's the bad output:
    fdisk -l
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3d26f824
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1567 12583424 7 HPFS/NTFS
    /dev/sda2 1567 9730 65566720 5 Extended
    Partition 2 does not end on cylinder boundary.
    /dev/sda5 1567 2220 5243376 83 Linux
    /dev/sda6 2220 2742 4194800 83 Linux
    /dev/sda7 2742 9730 56128496 7 HPFS/NTFS
    printed partition table in expert mode
    Disk /dev/sda: 255 heads, 63 sectors, 9729 cylinders
    Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
    1 80 16 17 0 254 63 1023 1024 25166848 07
    2 00 31 32 1023 31 32 1023 25167872 131133440 05
    Partition 2 does not end on cylinder boundary.
    3 00 0 0 0 0 0 0 0 0 00
    4 00 0 0 0 0 0 0 0 0 00
    5 00 31 32 1023 31 32 1023 32 10486752 83
    6 00 31 32 1023 31 32 1023 32 8389600 83
    7 00 31 32 1023 31 32 1023 32 112256992 07
    Last edited by demian (2010-06-19 09:38:32)

    You can avoid it by using /dev/sda1 for /boot or swap. You should still start /dev/sda1 in cylinder 2 though.
    Also, remember to adjust the offset of all the logical partitions in expert mode. Otherwise they'd start sector 32 as you can see in the bottom code tags in my first post.
    For example, here's my current installation:
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    32 heads, 32 sectors/track, 152638 cylinders
    Units = cylinders of 1024 * 512 = 524288 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x25168a91
    Device Boot Start End Blocks Id System
    /dev/sda1 2 402 205312 83 Linux
    /dev/sda2 * 403 24979 12583424 7 HPFS/NTFS
    /dev/sda3 24980 152638 65361408 5 Extended
    /dev/sda5 24981 26517 786944 82 Linux swap / Solaris
    /dev/sda6 26519 38806 6291456 83 Linux
    /dev/sda7 38808 49047 5242880 83 Linux
    /dev/sda8 49049 152638 53038080 7 HPFS/NTFS
    Disk /dev/sda: 32 heads, 32 sectors, 152638 cylinders
    Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
    1 00 0 1 1 31 32 401 1024 410624 83
    2 80 0 1 402 31 32 1023 411648 25166848 07
    3 00 31 32 1023 31 32 1023 25578496 130722816 05
    4 00 0 0 0 0 0 0 0 0 00
    5 00 31 32 1023 31 32 1023 1024 1573888 82
    6 00 31 32 1023 31 32 1023 1024 12582912 83
    7 00 31 32 1023 31 32 1023 1024 10485760 83
    8 00 31 32 1023 31 32 1023 1024 106076160 07
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    32 heads, 32 sectors/track, 152638 cylinders, total 156301488 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x25168a91
    Device Boot Start End Blocks Id System
    /dev/sda1 1024 411647 205312 83 Linux
    /dev/sda2 * 411648 25578495 12583424 7 HPFS/NTFS
    /dev/sda3 25578496 156301311 65361408 5 Extended
    /dev/sda5 25579520 27153407 786944 82 Linux swap / Solaris
    /dev/sda6 27154432 39737343 6291456 83 Linux
    /dev/sda7 39738368 50224127 5242880 83 Linux
    /dev/sda8 50225152 156301311 53038080 7 HPFS/NTFS
    Regards,
    demian
    Last edited by demian (2010-06-19 09:42:35)

  • [SOLVED] iPod doesn't appear in /dev/ when plugged in

    I've been trying to get my iPod touch to work, but I can't even find it inside /dev/. I'm supposed to be able to mount it manually if I see it as /dev/sdx# but I only see my hard drive's devices.
    I know it is recognized by the system,
    when I try lsusb, I get this line (among others):
    Bus 001 Device 010: ID 05ac:1299 Apple, Inc.
    also, with usb-devices I get the following:
    T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  3
    P:  Vendor=05ac ProdID=1299 Rev=00.01
    S:  Manufacturer=Apple Inc.
    S:  Product=iPod
    S:  SerialNumber=2b032b9c4f73f37786c4fb2cf3a0e15bc75a0331
    C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=(none)
    I don't know if  the <<Driver=(none)>> part is normal here, I can mount/automount whatever other usb devices, like usb flash, or external hdd's, but not the iPod.
    Any help would be very much appreciated
    Last edited by KBM (2010-07-10 06:29:06)

    hey guys. I know this thread was "solved", but it didn't solve my problems.
    I also got my ipod touch mounted using ifuse and was able to use gtkpod to transfer my files. However, since all of my files ended in .mp3, and the ipod didn't strip the extensions off, I decided to clear them from the ipod and start again.
    In the middle of a sync I forgot about it, unplugged the ipod, and now ifuse gives me the message:
    No device found, is it connected?
    If it is make sure that your user has permissions to access the raw usb device.
    If you're still having issues try unplugging the device and reconnecting it.
    whenever I try to mount it.
    I did the view-the-log thing, and when I plug it in I get this:
    Oct 11 08:00:10 localhost usbmuxd[22304]: [2] Could not open device 1-4: -3
    So it seems to be a problem with usbmuxd. Any ideas guys?
    One more thing, I think I may have accidentally deleted some files from the ipod ("HashTable" comes to mind...), but I did a software update. Would that rebuild the filesystem?
    Thanks.

  • [SOLVED] ((none)) login/tty and no keyboard after last upgrade?

    Hi,
    I dual boot and it's been a while since I last upgraded. I booted into Arch, updated everything, and used the system for a few days before rebooting (perhaps a bad call). I just rebooted today and my login prompt is like this:
    ((none)) tty1
    (none) login:
    But my keyboard does nothing. No alt+f* to get to a different terminal, no nothing. I have to hard kill the machine. I've tried twice but would prefer not to do that more than I have to. The second time, fsck didn't work so I booted into the Arch install disk and ran it manually. I tried to chroot into my Arch install and re-run pacman -Syu but got transient server failures. Not sure what all needs to be in place to try and do that, though.
    Has anyone encountered anything like this before? I get the same behavior with arch and arch fallback. I boot to login prompt, not directly to X so it's not anything to do with that, at least not that I would figure.
    So far, the only thing I've been able to find is from 2007 (LINK) but it seemed related to X. I'm going to check rc.conf next time I boot up but wanted to see if there's any other suggestions from someone more experience before I boot up again and potentially have to hard kill.
    Thanks for any thoughts/suggestions.
    Last edited by jwhendy (2010-10-26 02:53:26)

    @Knute: indeed.
    Somewhat embarrassingly, I just found out about manually maintaining *.pacnew files today when researching an unrelated issue. It made me wonder if that was my problem. Perhaps something is goofed in /etc which would explain a ton.
    I'm in OS X right now but will reboot shortly and try to fix this issue.
    The keyboard issue is troubling as well, though. Some have reported no logins, but often it's a PAM or login manager issue trying to go into X directly. I'm doing no such thing and literally can't get *anything* to work on my keyboard. That makes me wonder...
    If I were to boot into the Arch CD and try to run pacman manually... what do I have to do other than
    # mount /dev/sda3 /mnt
    # chroot /mnt
    I tried that yesterday but failed. I'm wondering if I have to mount some other items for that to work. /proc?

  • [SOLVED] SATA DVD-RW not in /dev (IRQ problem?)

    I have an nForce550 Gigabyte M55S-S3 motherboard, with a SATA HD and a SATA DVD.
    I am able to use the HD, but somehow the DVD will not come up in /dev.
    Now the HD is present as /dev/sda.
    I have played around in the BIOS (as I had to disable some stuff to get sound woring), and I've found that if I disable IEE1394, than Arch will find the DVD drive as /dev/sda, but the HD will be gone (leading to a kernel panic).
    Below is the - possibly - relevant part of dmesg. I don't know what the problem might be, but I suspect it's related to some IRQ thing, as enabling/disabling firewire enables/disables the DVD/HD. (Same thing happened with ide/paralell port and the sound card).
    Any idea / help is welcome!
    EDIT: I've just booted into a Knoppix live CD, with noapic pci=bios, and the DVD was mountable, worked just fine
    The same params. did not help in Arch.
    ata1: PATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
    ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
    scsi0 : pata_amd
    ata1: port disabled. ignoring.
    ata1: reset failed, giving up
    scsi1 : pata_amd
    ata2: port disabled. ignoring.
    ata2: reset failed, giving up
    sata_nv 0000:00:05.0: version 2.0
    ACPI: PCI Interrupt Link [LSID] enabled at IRQ 11
    PCI: setting IRQ 11 as level-triggered
    ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LSID] -> GSI 11 (level, low) -> IRQ 11
    PCI: Setting latency timer of device 0000:00:05.0 to 64
    ata3: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xC400 irq 11
    ata4: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xC408 irq 11
    scsi2 : sata_nv
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: ATA-7, max UDMA/133, 488395055 sectors: LBA48 NCQ (depth 0/32)
    ata3.00: ata3: dev 0 multi count 16
    ata3.00: configured for UDMA/133
    scsi3 : sata_nv
    ata4: SATA link down (SStatus 0 SControl 300)
    ATA: abnormal status 0x7F on port 0x977
    scsi 2:0:0:0: Direct-Access ATA MAXTOR STM325082 3.AA PQ: 0 ANSI: 5
    ACPI: PCI Interrupt Link [LFID] enabled at IRQ 15
    PCI: setting IRQ 15 as level-triggered
    ACPI: PCI Interrupt 0000:00:05.1[b] -> Link [LFID] -> GSI 15 (level, low) -> IRQ 15
    PCI: Setting latency timer of device 0000:00:05.1 to 64
    ata5: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xD800 irq 15
    ata6: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xD808 irq 15
    IRQ handler type mismatch for IRQ 15
    current handler: libata
    [<c014deee>] setup_irq+0x11e/0x1d0
    [<c01086d8>] dma_alloc_coherent+0xd8/0x110
    [<f8819130>] nv_generic_interrupt+0x0/0xb0 [sata_nv]
    [<c014e043>] request_irq+0xa3/0xc0
    [<f882f8e4>] ata_device_add+0x324/0x560 [libata]
    [<f8819562>] nv_init_one+0x152/0x1d0 [sata_nv]
    [<c022a3cf>] kobject_get+0xf/0x20
    [<c02353b6>] pci_device_probe+0x56/0x80
    [<c029218b>] really_probe+0x3b/0x110
    [<c02922a9>] driver_probe_device+0x49/0xd0
    [<c034256d>] klist_next+0x5d/0xa0
    [<c0292430>] __driver_attach+0x80/0x90
    [<c02916ea>] bus_for_each_dev+0x3a/0x60
    [<c0292086>] driver_attach+0x16/0x20
    [<c02923b0>] __driver_attach+0x0/0x90
    [<c0291a8c>] bus_add_driver+0x7c/0x1a0
    [<c023558c>] __pci_register_driver+0x7c/0xa0
    [<c0145e8d>] sys_init_module+0x15d/0x1b60
    [<c01627ac>] do_mmap_pgoff+0x53c/0x7b0
    [<c0108090>] sys_mmap2+0xd0/0xe0
    [<c010332b>] syscall_call+0x7/0xb
    =======================
    sata_nv 0000:00:05.1: irq 15 request failed: -16
    ACPI: PCI interrupt for device 0000:00:05.1 disabled
    Last edited by sessy (2007-01-29 15:16:23)

    Well, after countless reboots, bios & sata cable tweaking, I made it work
    I don't know what the problem was, but putting the HD on SATA II 1, DVD on SATA II 2, plus disabling paralell port in bios, the system booted fine [dvd and sound working too].
    The strange thing is that Arch thinks the DVD drive is a HD, and tries to mount it at boot, but I'll live with that.

  • [SOLVED] Output of "top" persistent after exit

    So, I have been using arch for a couple months, and through my own idiocy I have reinstalled arch.  Everything is pretty much back how it used to be (I didn't have a whole lot going on to begin with), except fot the niggling little issue of top's output remaining on the screen after I press q.
    I've tried to look through the forum and the wiki (both here and others online) and havent found anything which seemed to be what i am looking for.  I'm just hoping someone might know what i've done incorrectly.  (I'm assuming this is something I've fat fingered)
    I'm doing this all from an ssh session, btw.   Also, I don't think it is a local issue as when I run top locally, it behaves as I have always known top to behave.
    btw, I have a suspicion this might be a bash issue, but I have nowhere near enough bash configuration experience to know how to troubleshoot this.
    Last edited by educated_caveman (2012-07-17 14:45:02)

    It's a feature, not a bug. AFAIK, top always left behind the last frame when you quit. It makes it easier to spot the process if it's not moving up and down all the time, and to freely copy-paste something without jumping from one line to the next (the list is sorted based on CPU usage). Having it stay still is also very useful if you want to change the niceness level of a program by its PID.
    http://www.nixtutor.com/linux/changing- … -processes
    Last edited by DSpider (2012-07-17 15:03:13)

  • [solved] systemd times out waiting for dev-null.device on encrypted fs

    I have a relatively new install of Arch on my laptop. The relevant sections of the drive setup are a luks encrypted root device (with associated unencrypted /boot), and a large ntfs device encrypted with truecrypt. That contains my home directory, which is shared with the Windows 8 dual-boot on the machine.
    I have all this mounted on boot, so my typical usage is to enter my password for the encrypted root, followed by the password for the truecrypt-encrypted data drive, then normal login.
    This has been working fine for a couple of weeks. This afternoon I rebooted my machine from Windows to Linux, at which point the secondary encrypted drive failed to mount. The root device mounts fine.
    On further examination, in the form of journalctl -xb, I'm getting the following errors after mounting the encrypted root device:
    Feb 12 21:29:54 kafka systemd[1]: Job dev-null.device/start timed out.
    Feb 12 21:29:54 kafka systemd[1]: Timed out waiting for device dev-null.device.
    -- Subject: Unit dev-null.device has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
    -- Unit dev-null.device has failed.
    -- The result is timeout.
    Feb 12 21:29:54 kafka systemd[1]: Dependency failed for Cryptography Setup for cryptdata.
    -- Subject: Unit [email protected] has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
    -- Unit [email protected] has failed.
    As my root home directory is on the root filesystem, I can still log in as root. If I try to mount or unmount the truecrypt device (located at /data) the command hangs. After removing "auto,x-systemd.automount" from that device from /etc/fstab and rebooting, I have a significant delay at boot, but I can then mount the /data device as normal.
    I can't find anything related to this either here or on Google. Any ideas?
    Last edited by tealeaf (2014-02-13 12:01:55)

    WonderWoofy wrote:A bit OT, but I just want to mention that having your $HOME on ntfs is probably not the best idea either.  It may work, but because it is not a POSIX compliant filesystem, there is a good chance you might run into some issues.
    Thanks for the warning. Sadly, as there are applications I need for work that only run in Windows, I need to dual boot this machine with Windows 8.1. This is the best option I can find for sharing my home directory, which is also a necessity due to the amount of data I have to share between the systems. I would much rather trust to ntfs-3g-ar and its UserMapping (and all the fiddling with ACLs that I had to do) than to the Windows ext2 drivers I can find. They all seem to be several years out of date. Linux is much better at talking NTFS than Windows is at talking EXT. (To be honest, I'm actually quite impressed with Windows 8 since the upgrade to 8.1. As a long term Arch user and a fan of tiling window managers it's interesting to see Windows moving in the right direction. )
    With 'permissions' in the /etc/fstab and the .NTFS-3G/UserMapping file in place it works almost seamlessly. (It took a lot of tinkering with ACLs in Windows and Linux, but it's working very well now. One tip that I'll write here in case it's of use is that you want the last line of the UserMapping file to be a 'generic' mapping. When I didn't have that there were very strange things going on.)
    The only two minor problems I have now are:
    1) A few applications don't like FUSE filesystems. Steam worked for a while and then broke; reinstalling it failed at every stage. When I checked, it seems that FUSE is a known problem for Steam. (I don't think it's restricted to NTFS.) My response to that was to create /home/.local/$HOME on my root (ext4) filesystem and symlink out to it for troublesome applications.
    2) There are a few characters for filenames that Windows doesn't like, making those files inaccessible in Windows. (Colons are the major culprit.) They're usually quite easily renamed. (The exception being my .maildir folder, which I have had to duplicate natively in cygwin.)
    Neither of these are anything more than minor niggles. I appreciate the warning, though.
    Having said that, if you have an alternative that lets me share a truecrypt-encrypted drive between Linux and Windows that is better than the NTFS-3G approach, I'd love to hear it for future reference.

Maybe you are looking for