Ubuntu Multimedia :: Check If Display Device Is Connected?

Feb 10, 2010

I am trying to write a script to turn my HTPC off automatically and turn it back on again at a specified interval.

I've got the turn on off bit sorted using /sys/class/rtc/rtc0/wakealarm but I want the script to not turn the machine off if say something is downloading, I am currently watching something etc and i dont think I will have any trouble with that.

But what I would really like to be able to do is tell if my TV is currently on. I dont think anything x11 related would work here and this may not even be possible. Does Ubuntu "know" if it's display device is powered on or not? if so can I interrogate this somehow?

View 5 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Connected Terratec H7 DVB-T/DVB-C Into Kernal Version 2.6.38.2 - Make This Device Up And Running

Apr 13, 2011

I connected Terratec H7 DVB-T/DVB-C into ubuntu kernal version 2.6.38.2. How to make this device up and running. I tried installing v4l-dvb but it gave lot of compilation errors. Also i would like to know linux has this device support.

View 1 Replies View Related

Ubuntu Multimedia :: Use 2nd GPU As The Main Display Device?

Mar 23, 2011

have a system that has a GTX285 and a PCI 8400GS. I'm running Ubuntu 9.10 I'm trying to get the system to use the 8400GS to run X windows and the GTX285 to use as the compute device. Everytime I start up my system with both cards it always uses the GTX285 as the display device. How do I configure it to use the 8400 instead? I've tried the nvidia settings program and I don't see how to do this. Do I need to change something in my xorg.conf ? I don't know much about editing this file.

View 3 Replies View Related

Ubuntu Multimedia :: Unclaimed Display Controller 82852/855 GM Integrated Graphics Device?

Jul 9, 2011

I really wanna use the OS. I wiped my laptop and installed it but I can't change my screen resolution (it's stuck at 1024 X 768 and my refresh rate is at 0 HZ) I tried installing a driver that was for both the i9xx and i8xx chipset family but it doesn't look like it helped anything. I want to be able to play World of Warcraft Wrath of The Lich King but when I try it the way the computer is now the the frame rate is really really slow. I also need to fix my audio because there's crackling that comes from the speakers often. I attached a screen shot of what I get when I enter the command: sudo lshw -c video Changing the resolution isn't the problem so much as the fact that I can't change the refresh rate from "0 HZ" to anything higher so that my game will play smoothly. I would also like to put compiz fushion on my laptop as well but I don't believe it will work unless I resolve this problem.

View 9 Replies View Related

Ubuntu :: Check If Connected Then Launch App?

Apr 16, 2011

Well, i have some applications that i use everyday so i add them to the startup applications, but they require Internet, otherwise the configuration is lost. I'll like a command that first check if i'm connected to Internet and if i am, launch the app. If not, don't do nothing.

This is a problem because for some reason everytime i turn on my laptop the wireless adapter doesn't turn on automatically (it always did when i was running windows).

View 4 Replies View Related

General :: How To Check If LAN Is Connected

Feb 25, 2011

I want to write a script and put it in /etc/rc.local so that
if lan is connected then
rfkill block all
else
nmcli con up id 'Network id' --nowait
How should I write the if part and how should I check for "lan is connected" ?

View 1 Replies View Related

Ubuntu :: Check Via Terminal If External Monitor Is Connected?

Apr 20, 2010

Ive been wondering about an alternative method for checking to see if an external monitor is connected.
Currently I am using:

Code:
#!/bin/bash
EXTERN=VGA1
if $(xrandr --prop |grep -q "$EXTERN connected");then
echo -e "$(echo $EXTERN | tr -d [0-9]) is e[1;32mconnectede[0m"
else

[Code].....

So, what I am asking is, is there a way to ignore/over-ride compiz's texture size check, a different way to query xrandr, or is there a completely different method I can go about checking if an external monitor is connected?

View 3 Replies View Related

Ubuntu :: Launch A Script When A Display Is Connected?

Aug 8, 2010

I am currently thinking about buying a new computer; it is supposed to be a server kind of thing, at least most of the time. So basic HTTP, SQL I want it to run all day 24/7... but after looking for a good PC I got a idea... since any new PC supports HD Video and all I thought why not add something like Boxee to my little server... but then I thought it don't have to run Boxee all the time and the graphical user interface only needs to run when Boxee wants to run or dont I not need the XServer to run and display Boxee? Anyways Boxee should only lunch when a Display aka HD TV is connected and also turned on.

So my question is that even possible? To lunch a script if a TV is turned on and than start the XServer and Boxee (or some other Media Browser) with it or if not is there a workaround like some key combination or signal (power button on a remote control) that can lunch that script? And is there a script that will do this?

View 5 Replies View Related

Ubuntu :: What Comport A Bluetooth Device Is Connected To?

Mar 18, 2011

How do I tell what comport a Bluetooth device is connected to? The software that i'm using needs to know what comport to connect to.

View 2 Replies View Related

General :: Does Not Recognize - No Scanners Detected - Please Check Your Scanner Is Connected And Powered On

Aug 11, 2010

I have HP Scanjet 3770. UBUNTU 10.04 installed on my desktop. HPLIP also installed. This scanjet working well in Windows Xp but in ubuntu SimpleScan does not recognize it.

It shows:- No scanners detected Please check your scanner is connected and powered on.

I Also visited [url] & found as below-

ScanJet 3770 Unsupported. While an external binary-only backend exists, it works only on Linux i386. Therefore the scanner is unsupported on other platforms.

View 2 Replies View Related

CentOS 5 Networking :: Which Command Can Check If Network Card Is Connected With Media

Nov 26, 2009

Suppose that it is not convenient to go behind a machine to have a look.So I want to use a command to show whether the cable is plugged into network card. (Media connected or not)Can ifconfig do this? Or another one?

View 2 Replies View Related

Ubuntu Networking :: Find A Device Connected Via Ethernet?

Nov 12, 2010

I have a device (not a pc) connected to my pc via ethernet, it dose not show up in networks, I was hoping there was a way of scanning to detect for it, is there a way of seeing content of it is basically what I'm asking?

View 5 Replies View Related

General :: Detect FireWire Interface And Connected Device On It, In Ubuntu 11.04?

Sep 6, 2011

I have a FireWire camera LifeSize connected to my PC in the FireWire interface. My PC has miniPCI slot and with external converter its having a FireWire interface. Now its Ubuntu who is not showing me anything at all when i try:

$ uname -a
Linux desktop 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux

[code]....

View 1 Replies View Related

Ubuntu :: Slave Hard Drive Connected Via Usb Device Can't Mount

Sep 10, 2010

I got a sort of usb connected device(not an external enclosure) so i can connect a sata hard drive into a machine that only has ide connections but the drive is not mounting. I am not very good at mounting slave hard drives anyway ,,,,never been able to get one happening without help. I am wanting to read this drive as i killed another desktop machine(i think the mb) and i need the data off the hard drive. The drive is shown in a directory and in the media directory. Can't think of what else sorry as i am so tired from testing everything out of the machine that i killed.....

View 4 Replies View Related

Ubuntu :: Can't Connect Different Usb Devices To The Same Usb Ports If A Device Had Been Previously Connected To It

Nov 1, 2010

I am running 9.10 latest updates (as far as I know) My problem is with my usb connections.I cant connect different usb devices to the same usb ports if a device had been previously connected to it. IE: I have to keep my camera connected to one particular port. If I disconnect it and connect anything to it, it cant be seen. It doesnt matter if I reboot. Is there a way to clear out any memory that stores the usb port assignments?

View 1 Replies View Related

General :: Finding Ipaddress Of The Device Connected With System In Ubuntu?

Mar 25, 2010

How to find ipaddress of the device connected to the system.

View 14 Replies View Related

General :: Display User's Last Login Information When Connected Through FTP?

Apr 11, 2011

I want the last login information whenever I log in through FTP.

This is possible for normal console and SSH logins by configuring in /etc/login.defs file. But I am not able to view the last login information when FTP is used.

View 5 Replies View Related

Software :: Display Some Advertisements On Big Screen Connected To PC In One Shop?

Sep 13, 2010

Do you know any software or any way that helps to displaying some advertisements (multimedia ones, like video, images and sound also) on a big screen connected to PC in one shop?
I am new on linux.

View 2 Replies View Related

Ubuntu Networking :: Bash Script To Find Network Device Connected?

Jan 17, 2011

I need a bash script to run ARPON for the connected network device, eth1 or eth2. (ethernet or wireless)

Arpon has an option (-o) to select the network automatically, but it only works for ethernet, hence i need this script. I've also tried running arpon for ethernet and wireless at the same time, but the arpon process running the inactive device will consume all of my CPU.

So, basically i need a script to find which device is connected, eth1 or eth2 and then to run arpon -d -i <device connected> (or something like that).

Is there an easy way to do this? code...

I've searched everywhere how to find the connected device via bash, but i couldn't find anything.

View 1 Replies View Related

Debian Hardware :: Failed To Assign Any Connected Display Devices

Jun 8, 2015

Had this strange issue ....

Steps
a. Working Gnome desktop with NVidia proprietary drivers in Jessie.
b. Something happened (see below)
c. Still working Gnome desktop with NVidia proprietary drivers in Jessie.
d. Reboot
e. Boot up in low res -can see the terminal messages but no X/ Gnome Desktop
f. CtrlAlt-F1 takes to terminal login
g. Log in, looked at dmesg, syslog shows no errors but looking at Xorg.[0-5].log shows:

Code: Select all[     7.942] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[     7.943] (II) NVIDIA(0): NVIDIA GPU GeForce GT 240 (GT215) at PCI:1:0:0 (GPU-0)
[     7.943] (--) NVIDIA(0): Memory: 1048576 kBytes
[     7.943] (--) NVIDIA(0): VideoBIOS: 70.15.27.00.00
[     7.943] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     7.945] (--) NVIDIA(0): Valid display device(s) on GeForce GT 240 at PCI:1:0:0

[Code] ...

After looking at this post [URL] .... poked around at the back of the monitor and found the DVI cable loose. Plugged it in tight and rebooted and Gnome desktop came up as good as ever.

Step b. , as it turns out, was someone had adjusted the monitor height resulting in the DVI cable coming loose but not getting pulled out entirely.

View 0 Replies View Related

Hardware :: Display Settings Hosed If Second Monitor Is Connected On Boot-up

May 5, 2011

I'm trying to get my secondary display (DVI-Out) working on a laptop (built-in monitor & external display) and I'm afraid I made quite the mess of it installing the proprietary driver only to learn that my old ATI card is no longer supported and having to clean that up and reinstall the original distro driver!Anyways, I reverted back to the open source driver and all is ok. That is until I reboot. If I reboot with the DVI display connected then both displays are brought up in 640x480 res and look terrible.

What do I have to do to be able to leave my DVI display connected when I start up the machine and get it to render the way it does when I plug in the display after the machine is running?I suspect I need to create an xorg.conf file but these fancy modern Linuxes these days don't come with one (or maybe they no longer need it anymore).

View 2 Replies View Related

Ubuntu Networking :: Getting My Wireless Printer To Work - Unknown Device Connected To Router

Apr 27, 2010

I had previously been having loads of problems getting my wireless printer to work with Linux [http://ubuntuforums.org/showthread.php?t=1453697]. Everything is working fine now. However, something that confused me is that whenever I tried to ping the printer _before_ I got it working, it would fail with a _different_ IP address. That is, the command 'ping x.y.z.3' would fail with a message saying it was unable to contact 'x.y.z.2'

Now I am looking at my router - for something unrelated - and I've noticed that rogue IP address shows up in the list of connected devices. It has a MAC address but for the device name it lists "<unknown>". Should I be concerned about this? how to figure out what this device is?

View 6 Replies View Related

OpenSUSE Hardware :: Palm Device Goes Into Continual Reset When Connected?

Jan 24, 2010

All I do is connect my Palm to the usb port, and it starts a reset loop. It resets, gets booted, and crashes to reset again. What's up with this? BTW, this same palm worked with gnome pilot on Debian and Vector installs, and works currently with an XP install. But on my 11.2 suse, it goes crazy.

View 9 Replies View Related

General :: Change Virtual Screen Resolution On Ubuntu (connecting Via VNC Without Real Display Connected)?

Aug 29, 2010

I have an Ubuntu server with no physical access to it, only via ssh/vnc.

It is stuck on a 1680x1050 resolution and in the system display settings the menus are disabled since there is no detected real display connected.

I need to lower the resolution to e.g. 800x600. code...

View 3 Replies View Related

Debian Hardware :: Get Vga Display Connected Notebook Mainboard Show Screen?

Nov 10, 2015

I know about ubuntu. Not debian.I have installed debian 8 64bit on a notebook mainboard vga display only.During installation vga display worked. After restarting the lock up crypt hdd shows. After that debian login screen should show. It does not. Only the pointer shows.If I put the hdd in another note book, the debian login screen shows on the notebook's display. I then connect the vga display.

Then I can select settings, displays and mirror debian gui and gui will show on both displays. After restarting the notebook both displays show the debian gui. If I then put the hdd into the notebook mainboard, then the vga display will not show the debian login screen. The pointer shows. On ubuntu settings, displays, general option, I can set all displays. That option is not in debian 8. How do I get debian 8 to show the debian 8 login screen on the notebook mainboard vga display only computer?

View 3 Replies View Related

Ubuntu Networking :: Check The All Device Information?

Nov 25, 2010

how to check the all device information on ubuntu

View 1 Replies View Related

Debian Configuration :: Bluez Gatt Tool Not Connected To Hcix Device

Apr 19, 2016

Using jessie over 4.2.8 or 4.3.4 kernel.

Used both the default bluez package, 5.23 and building bluez 5.36 by hand.

hciconfig shows a good configuration,

hci0: Type: BR/EDR Bus: UART
BD Address: 78:A5:04:31:3C:4B ACL MTU: 1021:6 SCO MTU: 180:4
UP RUNNING
RX bytes:82105 acl:0 sco:0 events:1989 errors:0
TX bytes:516 acl:0 sco:0 commands:48 errors:0

hcidump -x does show Commands/Events received, beacons are being seen, and collected by our app.

> HCI Event: LE Meta Event (0x3e) plen 42
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr F9:77:66:E8:F7:8B (Random)
Flags: 0x06

[Code] ....

However when the app tries to connect it always gets connection refused at gatt_connect.

gatttool behaves the same way, and hcidump does not show any connection attempts, implying no connection between gatttool and the device, although it is specified on the command line.

Finally although the bluetoothd is running bluetoothctl also shows no default controller found. I had edited /etc/bluetooth/uart.conf, adding an hciattach entry for the device but that changed nothing when restarting the bluetoothd. Entering a garbage entry into that file does not produce any errors, so I am not sure it is even being read.

Also systemctl|grep bluetooth shows :-

sys-devices-virtual-bluetooth-hci0-rfkill0.device loaded active plugged /sys/devices/virtual/bluetooth/hci0/rfkill0
sys-devices-virtual-bluetooth-hci0.device loaded active plugged /sys/devices/virtual/bluetooth/hci0
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
bluetooth.target loaded active active Bluetooth

/sys/devices/virtual/bluetooth/hci0/address shows the correct MAC, but /sys/subsystem/bluetooth/devices/hci0 does not exist, a post elsewhere indicated this was not a problem but that seems odd.

Is the uart.conf file still used([URL] .... would suggest yes) and if so is the format a full hciattach command or merely the hciattach parameters?

View 1 Replies View Related

OpenSUSE Hardware :: Reload The Firmware Come Up With Device Not Connected Errors (even Under Windoze XP)?

Mar 12, 2010

My old Creative Zen MP3 player has just gone titsup - it's gone into recovery mode and attempts to reload the firmware come up with device not connected errors (even under Windoze XP) So I'm looking around for a replacement and the Cowon D2 looks good as it takes SD cards like the zen (and I'd just bought 2 new 8Gb cards). The Zen used mtpfs which worked under linux but not well an I believe the D2 just connects as USB memory. Anyone out there using a Cowon D2 under Linux?

View 1 Replies View Related

Networking :: Script To Check Mounting Device?

Jun 20, 2011

I have written a script to take backup of my database in remote server which is a windows machine.i have mounted that machine to my server using the script and daily script will run automatically, i have scheduled it using crontab like that and backup will be taken. but if my remote server is down means it gets unmounted and my backup falls on my local linux server itself. i want a script to check whether the remote server is mounted or not if mounted take the backup or else stop the backup.

View 2 Replies View Related

Software :: How To Check Which Process Is Accessing Device?

Feb 7, 2010

I wonder if there is a command that can tell me which process is accessing a folder, say, /mnt? Sometimes I forgot which process is accessing /mnt and therefore cannot umount /mnt.

View 4 Replies View Related







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