Tag Info

New answers tagged

0

You could also try to use the device by the USB address (i.e. controller/hub and device number), like so: ls -l /dev/bus/usb/0??/0?? You can find out the device number by using the lsusb command (try using it as root if you do not get all the information you need, albeit it usually tends to give you rather a lot of info), or use udevadm info ...


1

I had a similar problem with a USB device using the pl2303 driver. Every now and again /dev/ttyUSB0 would vanish and /dev/ttyUSB1 would appear in its place. I solved it by running a cronjob every 15 minutes that did the following: if [ ! -c /dev/ttyUSB0 ] then echo `date` Device missing echo `date` Stopping zmconcopy `/usr/sbin/rczmconcopy stop ...


0

I want to disable the on-demand tty spawning of systemd and start ttys […] during boot. This is fairly simple. The X server is grabbing the kernel virtual terminal before any login service is started on it, because your login services are only being started on demand. You want to turn that off, and rather than on-demand start the login services ...


0

Doing AT command communication from the command line with just plain shell operations is rather unreliable. I suggest that you try to use the program atinout which is specifically written to issue AT command from the command line: $ echo AT | atinout - /dev/ttyUSB0 - AT OK $


1

From setpgrp man page from Darwin/MacOS (BSD-based): If the calling process is not already a session leader, setpgrp() sets the process group ID of the calling process to that of the calling process. Any new session that this creates will have no controlling terminal. There's your answer.


0

This accelerometer is in fact a "specialized" Arduino card, I didn't know ! So I just had to program it (with the Arduino software) and choose the example "DigitalReadSerial". So now I have $ tail -f /dev/ttyUSB0 ...


2

It seems that -C causes mpg123 to read from the terminal, not from stdin. I see this, however, in my version of mpg123's man page: -R, --remote Activate generic control interface. mpg123 will then read and execute commands from stdin. Basic usage is ``load <filename> '' to play some file and the obvious ``pause'', ``command. ...



Top 50 recent answers are included