Software :: Stty -F Does Not Use Specified Device?

Mar 11, 2011

I have a java program that opens /dev/tty6 and writes vt100 escape sequences and characters. The problem is that the terminal is echoing the control keys that are typed on the screen. I have tried to use "stty -F /dev/tty6 -echoctl to turn it off but this does not work - "stty -a -F /dev/tty6" shows echoctl is still in force. If I try the stty command in another terminal without -F "stty -a" properly reports -echoctl. It just seems that the -F parameter is not getting the setting to the proper tty. There is another note that I reduced the number of mgettys so that /dev/tty6 has no bash running in it. It's just a blank screen when I ctl-alt-f6 to it before writing to it with my program.

View 5 Replies


ADVERTISEMENT

Debian :: Stty Command In /etc/rc.local

Jun 16, 2010

Using serial terminal(emulated) to connect to linux box. In order to fix row/column count I added stty command in rc.local:

Code:
stty -F /dev/ttyS0 rows 56
stty -F /dev/ttyS0 cols 110

If I add it in redhat's /etc/rc.d/rc.local - it works fine. But if I add it in debian's /etc/rc.local - it doesn't work. I checked by redirecting some output to /dev/ttyS0 - rc.local gets executed and stty commands are executed also - but for some reason rows/columns dosn't change after I login. If I execute rc.local by hand - stty commands work.

why this works on redhat but not on debian ?

View 1 Replies View Related

Ubuntu :: Trying To Change Baud Rate With STTY

Oct 30, 2010

I am using the command:
Code:
sudo stty -F /dev/ttyUSB0 115200
to try and change the baud rate from 9600 to 115200 on device USB0, but I keep getting this error.
Code:
stty: /dev/ttyUSB0: unable to perform all requested operations
ttyUSB0 is not locked, and I know it is capable of 230400 b/s so I know it should handle 115200 just fine.

View 9 Replies View Related

Software :: Cann't Find The Device Created Through Device Mapper In /proc/partitions?

May 15, 2011

Recently, I created a device sc0 through device mapper. The divice could be found in /dev/mapper/sc0. My problem is that the device doesn't exist in /dev/partitions which will block my following test.BTW, I found dm-0 in /dev/partitions. Is it the same as /dev/mapper/sc0? But the device /dev/dm-0 doesn't exist!

View 2 Replies View Related

Fedora Hardware :: Full Speed USB MSC Device Detected As Input Device?

Apr 7, 2011

I am working on an embedded system, which is an USB MSC device that supports some vendor specific scsi commands. I am using FC10 laptop as USB host for testing, and it runs some small apps based on sg3. All has been well for ~ a week. The FC10 laptop is able to communicate with the device and retrieve data. Suddenly, starting from today, the laptop is not able to properly detect the device. When plugged-in, the MSC device is detected as input device (I thought). This is observed from "dmesg" output and changes in "/dev/input/".The device under development is running at full speed. When I connect to winXP, no problem. A windows file explorer pops up, showing the content of the drive.Also, the FC10 has no problem with other USB flash drive (high speed).

View 1 Replies View Related

Ubuntu Multimedia :: Unable To Open Device /dev/dsp - Device Or Resource Busy

Apr 13, 2010

All my music editing software programs say, "unable to open device /dev/dsp.Device or resource busy." How can I fix this?

View 3 Replies View Related

Ubuntu :: Mdadm: Cannot Open Device /dev/sdb1: Device Or Resource Busy

Jun 11, 2011

I rebooted my server and out of nowhere the RAID5 array won't assemble. I've tried everything I could think of to reassemble the thing. I fear that the array is ruined, but I can't imagine how. Here are various bits of information: The simplest failure (with and without partition numbers, which have not been needed in the past):

Code:

richard@nas:~$ sudo mdadm --assemble --verbose /dev/md0 /dev/sd[bcd]
mdadm: looking for devices for /dev/md0
mdadm: cannot open device /dev/sdb: Device or resource busy

[code]...

View 5 Replies View Related

Slackware :: VirtualBox - Windowsxp Guest - No Sound - Unknown Audio Device - In The Windows Device Manager

Mar 11, 2010

For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?

View 13 Replies View Related

General :: Ubuntu - Find The Device Node File For USB Device?

Aug 23, 2011

I've bought an X10 Home Automation USB interface: the CM15.

This is the information lsusb gives:

skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)

But this tells me nothing about where the device file is! How can I find that, or create one myself?

View 1 Replies View Related

Hardware :: Possible To Access An IrDA Device As A Serial Device Such As /dev/ttyUSB0?

May 24, 2011

the message from dmesg for the IrDA device:

[ 3635.194162] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 3635.338159] usb 3-1: New USB device found, idVendor=066f, idProduct=4200
[ 3635.338165] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[code]...

View 1 Replies View Related

Hardware :: Retrofitting A Device File For A Mass Storage Device?

Jan 7, 2010

here we have an older digicam (Jenoptik/Exakta Model "DC 22", if someone might want to know) that can be switched between some "PC Camera mode" and "Mass storage mode".Unfortunately, if attached to USB, it is always recognized as

Code:
UDEV [1262910483.475886] add /class/video4linux/video0 (video4linux)
lsusb tells:

[code]...

View 4 Replies View Related

Server :: Lifekeeper Error - DEVICE FAILURE On SCSI Device - /dev/add

Sep 17, 2009

Since May 12,2009. Our system lifekeeper has the error log "lifekeeper error: DEVICE FAILURE on SCSI device '/dev/add'", but it ran normally. Until last week, it failover to the standby server. The disk still running, the error still come out.

View 3 Replies View Related

Fedora Installation :: Device Driver For Usb To Detect Device?

Sep 19, 2009

I am currently using fedora 11 kernel 2.6.29 version, i wanted to write device driver for usb to detect my own device. My project is radio with computer. My fm radio get connected to usb port so i need to write h/w interfacing program.

View 1 Replies View Related

Hardware :: USB Device Is Not Claimed By Any Active Driver For Every Device

Nov 10, 2010

The error "USB device 6 (vend/prod 0x603/0xf2) is not claimed by any active driver." is in dmesg every time I connect my Logitech keyboard to my system. I also tried (all with the same error):
- Memory stick
- DVD-burner
- Compaq mouse

View 3 Replies View Related

Software :: Getting Device Info From Device File?

Sep 26, 2010

Let's say I have a joystick in `/dev/input/js0`, how do I find out which device is it on `/sys/bus/usb/devices/`?

View 2 Replies View Related

CentOS 5 :: Specify The Device Driver When Mounting A Device?

Jul 28, 2010

I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?

View 3 Replies View Related

General :: Can't Find Boot Device - Error "Unable To Determine Major/minor Number Of Root Device"

Mar 17, 2011

I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:

[Code]....

I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:

[Code]....

View 10 Replies View Related

Fedora Networking :: 3G USB Modem Has Wrong Device Port In NM - Change Device Port In Network Manager?

Aug 14, 2009

I installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?

View 1 Replies View Related

Fedora :: Cannot Add Device In HP Device Manager?

Jun 28, 2010

Running Fedora 13, I cannot add my HP J4680 through the HP Device Manager. I get an error message saying that the print queue cannot be started and it asks me to restart CUPS. I tried restarting CUPS and adding the device. It did not work. The printer is on my home network wirelessly. I can add it through the CUPS web interface and print, but then I cannot access the scanner. I tried adding the device after it was already added through CUPS, but that did not work. I would like to use the scanner; I don't really care about the fax.

View 8 Replies View Related

Ubuntu :: Get The Card Number And Device Number On System For Attched USb Audio Device?

Oct 1, 2010

how to get the card number and device number on system for attched USb audio device?

View 3 Replies View Related

Ubuntu :: Reboot And Select Proper Boot Device Or Insert Boot Media In Selected Boot Device And Press A Key

Apr 16, 2011

Reboot and select proper boot device or insert boot media in selected boot device and press a key. I got this error after: Reducing my Windows 7 partition by about 100gb. Creating a new partition (100gb) and copying my Ubuntu partition (10gb) to the new partition. After it was copied, and pasted, the original partition was deleted. I now had two partitions a new 100gb Ubuntu partition and a 600gb (or so) Windows 7 partition.

All of this was done using a bootable USB with Ubuntu 10.10 and GParted partition editor. Now when I boot I get the "Reboot and select proper boot device or insert boot media in selected boot device and press a key." error.

View 9 Replies View Related

Fedora Networking :: Open The Network Device Control To Activate It But There Is No Network Ports In Network Device Control?

Jan 7, 2010

I just added a 2 port network card to a system that is running Fedora 11, but it is INACTIVE. I open the Network Device Control to activate it but there is no network ports in Network Device Control. It is empty.It looks like the system recognize the card and loaded correct driver.

View 4 Replies View Related

OpenSUSE Network :: Device YaST - Can't Identify YaST - "Unknown Network Device"

Dec 8, 2010

In my YaST Network Settings (11.3), I see an entry labelled "Unknown Network Device" how to remove the confusion? The Overview tab also correctly lists my three known network devices (listed below), as does the Hardware Information utility. This is the output of lspci, and as far as I can tell, is accurate and complete. So what has YaST seen that it can't identify?

Code:
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI [Code].....

View 7 Replies View Related

Red Hat :: What Is Raw Device Or Raw Fs

Mar 3, 2011

What is raw device or raw fs? I have seems some one use dd command to generate a file and he said it would use as raw device for db.

View 6 Replies View Related

OpenSUSE :: USB Device Not Available?

Jun 9, 2011

Suse 11.4 32bit. Formerly when I plugged in the first USB device it would be identified as /dev/sdb, my primary SATA drive being /dev/sda. The second USB device as /dev/sdc and so on. That has now changed so that the first USB device is /dev/sdc, second one /dev/sdd etc. This causes havoc with several backup scripts. How can I revert to previous assignments?

View 6 Replies View Related

Fedora :: Anyway To Sync Mtp Device?

May 3, 2009

Is there anyway to sync my mtp device? I use Rythmbox and quite like it. It will let me drag and drop songs onto my MTP device. What I'm looking for is a true sync. Something that will delete from the device if it's been deleted from my library. Or update, or anything really. Just a sync, not a drag and drop.

View 14 Replies View Related

Fedora :: Internal Usb Device ?

Mar 21, 2010

I have an internal card reader that connect via usb. I'm finding that when I plug in a memory card a umount of the card "unmounts" the card reader. From that point forward I can't use the device without rebooting the machine! I've tried unloading the usb-storage module and reloading it but that doesn't help. I see the following entries in the messages file when I do that.

View 4 Replies View Related

OpenSUSE :: How To Reset A Usb Device

Mar 19, 2011

Flash is having really trouble in firefox, it works in chrome on the other hand.You can see the large white boxes that randomly appear while flash plays.Thunderbird's lightning fails to install and gives this error.

System Spec's

OpenSuse 11.4 64bit
Intel i3 CPU and Graphic's
4 GB of ram
Webcam (working)

[code]....

(works some times, doesn't seem to load right but that might have something to do with the fact that is shows under lsusb. I need to learn how to reset a usb device)

View 1 Replies View Related

Ubuntu :: Grub2 And Win 7 - No Such A Device

Mar 30, 2010

Grub2 fails when trying to boot into Win 7 from Grub2 menu. No such a device. I did run boot_info_script055.sh Here is the result:

Boot Info Script 0.55 dated February 15th, 2010
============================ Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks for
(UUID=34c6661d-7609-441c-b7b9-1d60d1e44fd5)/boot/grub.

[code]....

View 2 Replies View Related

Ubuntu :: USB Device Only Mounts Once?

May 23, 2010

I'm having difficulty getting a usb device (garmin edge 500) to mount. I believe the behavior is that it mounts the first time after startup but not again.dmesg of failed mount:

Code:
[76991.476050] usb 4-1: new full speed USB device using uhci_hcd and address 5
[76991.638744] usb 4-1: configuration #1 chosen from 1 choice

[code]....

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved