Ubuntu Multimedia :: How To Create Directory Before LIRC Starts
Feb 4, 2010
Not many people read my previous item (URL...). I guess my title wasn't good.After reading my previous item, can someone answer the following questions:Has anybody have an idea why my lirc directory is removed after every reboot? Or how can I create this dir before lirc is started?
I am running Ubuntu 10.10 and am trying to get lirc to recognize my pcusa mce remote control. I have been working on this for a week and have not had any success. Please note that I am very new to Linux. I am comfortable moving around in the terminal but most of anything else that I do in the terminal is just following instructions.
This is the remote that I am using:
[URL]
When I run
cat /proc/bus/input/devices
I do not see anything that could be the remote. I have tried plugging the USB receiver into my Ubuntu 10.10 net book but it doesn't see the receiver either. I do not have a windows machine that I can test the remote on but I plugged the receiver into my iMac and I did get a red LED lit that I haven't seen on the Ubuntu machines.
When I run irw and press buttons on the remote I see nothing on the terminal.
When I run:
sudo mode2
I get:
mode2: could not get file information for /dev/lirc mode2: default_init(): No such file or directory
I have tried mode2 both with lirc running and stopped and I get the same response either way.
I have confirmed that there is no /dev/lirc but there is a lircd in /dev (it's not a directory). Also I had read somewhere that lirc doesn't work under Ubuntu 10.10. Is that the case?
I have recently built a new Ubuntu 10.10 (64bit) and installed MythTV and LIRC.I have correctly (?) configured LIRC for my specific IR Blaster on the serial port. Using the test send (see below), nothing happens - ie none of the pins on the serial port change state, and hence my IR Blaster hardware does nothing.
# irsend SEND_ONCE DSTV9110 1 2 3 tail -f /var/log/syslog Feb 15 00:56:56 MalutiPVR2 lircd-0.8.7-pre3[10127]: lircd(default) ready, using /var/run
I'm setting up a gui-less music server so there's no login, and I've tried using mplayer's lirc interface as well as irexec (sending mplayer slave commands to a fifo). But I can't get mplayer to work unless I start either irexec or mplayer from a logged in session. So my S99test is something like:
If I use the "mplayer" line, I do hear music at startup, but no lirc control. Yet if I log in and kill the mplayer and rerun S99test as root, all works fine.
The only thing I have found so far which does not work for me after upgrading to 10.04 is the ability to change the master volume via LIRC and the pulseaudio lirc plugin.LIRC itself is working, I can verify it recognizes my remote control input by using irw, and all other portions of my lircrc file are executed correctly, such as my On Screen Display. However, no changes are made to the system volume.
I have already reinstalled the lirc pulseaudio plugin to no avail.Can anyone else confirm if this does/doesn't work on their own system?
I use Mythbuntu 9.10 with an IMON PAD IR/VFD. Everything is fine except that two buttons (MyDVD and menu) fire their event twice. In that case, I'm not talking about a normal repetition in case of a long button press but they fire their initial events twice.
Here is what irw shows: 0000000029a3d5b7 00 MyDVD iMON-PAD 0000000029a3d5b7 00 MyDVD iMON-PAD 000000002ba385b7 00 Menu iMON-PAD 000000002ba385b7 00 Menu iMON-PAD
I pressed the buttons only once each - and not long enough for a repetition. For all other buttons it's fine. As far as I understand, using the .lirrc file to cope with repetitions is no valid approach (at least it didn't work for me) because the events are all numbered with "00", and not with "00", "01",... - so .lircrc is out of this, right?
I have a bare Ubuntu install that I use to run Xbmc. It has been working perfect for a month. I reboot it every few days. This morning I decided to reboot when it came back up my remote stopped working. I hadn't done any updates since I build the box. Unless Ubuntu does them without asking. Here is the dmesg log
The only thread on creating a contact sheet appears to be years old & locked:- (photography) how to create a single jpg /tif contact sheet? So may I ask what's the most common method today of creating a set of contact sheets of a directory of, say, 500 photos (on Ubuntu 10.04 lucid)? The only thing I really want to specify is the grid (e.g., 4 photos by 6 photos, or something like that).
I've got an Antec Fusion V2 chassis with a built in ir receiver.I've setup lirc on my system, and I can get irrecord to see my remote input and build a config file.I cannot get irw to work, and subsequently no activity on my HTPC.I'm running XBMC Live Further Reading:I've asked two questions on the Live community forum, however it's a slow process and the helpful responses have only taken me so far. These threads include some debug logs and troubleshooting steps.Question 1Question 2I'm wondering if this is something really basic that might simply be missing. The biggest problem here is that Linux changes so fast that information that was valid a year ago is completely obsolete now.
My only issue that I can't figure out thus far is the remote. I'm using a Hauppauge Nova-T USB Stick, and generally the setup for the Nova-T 500 is good. No problem with lircd.conf, .lircrc etc. My problem is that the remote doesn't work on startup. Looked in /etc/lirc/hardware.conf and it says, as expected: REMOTE_DEVICE="/dev/lirc0"
Which doesn't work because I have no /dev/lirc0 (I do have a /dev/lircd). However, running /proc/bus/input/devices, I discover that my IR receiver is event5, so if I change the /etc/lirc/hardware.conf to: REMOTE_DEVICE="/dev/input/event5"
And restart lirc, it works fine. Unfortunately, upon restarting the PC, the IR receiver doesn't always have the same path - eg it could be event6 or event8 etc - so then I need to fix the /etc/lirc/hardware.conf again.
I've bought this remote control that sais it works in Vista, XP etc. without any driver. Basically it has a bunch of buttons that replace the mouse and a bunch of others that replace basic keyboard functions (arrows, enter, escape). It has a USB IR receiver so I thought I could simply use it as a lirc remote in Ubuntu.
However, it sais absolutely nothing on it except for "PCremote" so during lirc installation I have no idea what to choose. And, interestingly, I accidentally discovered that it works in Ubuntu, too, out of the box. Controlling the mouse and acting like a keyboard. Is there a way I can forfeit current functionality and just get it to work as a customizable lirc remote? Or even better, keep current functionality but change it only for certain apps (xbmc, vlc etc)?
I am not able to play certain movie files with MPlayer since a few days: Code: MPlayer dev-SVN-r32749-4.4-openSUSE Linux 11.2 (i686)-Packman (C) 2000-2010 MPlayer Team Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control.
Playing somefile.wmv. ASF file format detected. [asfheader] Audio stream found, -aid 1 [asfheader] Video stream found, -vid 2 VIDEO: [WMV3] 640x480 24bpp 1000.000 fps 1500.0 kbps (183.1 kbyte/s) Opening video decoder: [dmo] DMO video codecs DMO dll supports VO Optimizations 0 1 DMO dll might use previous sample when requested MPlayer interrupted by signal 11 in module: init_video_codec
I am not sure which filetypes are affected by this bug, but I can play *some* files. The specific file here used to work a few days ago. Code: kalle@hoppers:~> file somefile.wmv somefile.wmv: Microsoft ASF The only major thing referring to multimedia in the past few days I remember is installing 'h264enc' from Packman, however, meanwhile I uninstalled this package, yet the problem persists.
Code: kalle@hoppers:~> grep h264enc /var/log/zypp/history 2011-01-15 20:11:53|install|h264enc|9.2.4-0.pm.1.1|noarch|root@hoppers|Packman|c5bd1d534726472929134e5acc8f66492c52c51b 2011-01-20 22:06:20|remove |h264enc|9.2.4-0.pm.1.1|noarch|root@hoppers The only way of solving this was moving MPlayers config, but that did not help either.
Xine also is not able to play this video: Code: kalle@hoppers:~> xine somefile.wmv Dies ist xine (X11 gui) - Ein freier Video-Player v0.99.6. (c) 2000-2007 Das xine Team. [wmv3 @ 0x8f78060] Extra data: 8 bits left, value: 0 xiTK received SIGSEGV signal, RIP.
After upgrading to Lucid, gnome-terminal and xterm both start in the root directory (/); I'd like for them to start in my home directory instead. I had added "cd /home/myname" to the end of .bashrc, and this worked well as a temporary fix, but was never necessary in Karmic. Furthermore, modifying .bashrc in this way renders Nautilus' "Open in Terminal" menu item useless, as it still opens the home directory instead of the folder Nautilus was viewing.
Well, I am facing problem when doing lab questions.
I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).
I am required to use the /usr/local directory.
In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".
Code: mkdir: cannot create directory `/dev/cgroup/cpu/user/5900': No such file or directory bash: /dev/cgroup/cpu/user/5900/tasks: No such file or directory bash: /dev/cgroup/cpu/user/5900/notify_on_release: No such file or directory It seems like it's probably from this part of .bashrc:
[Code]...
What does this code do, why, and what's causing it to go wrong?
It seems that when I start up any video in VLC recently that it automatically opts for the left only audio channel. This means that I have to go into the audio options with every movie or show I watch and switch it to stereo mode. I was wondering if anyone knew a way to get VLC to automatically start up in stereo. The videos I have been watching have stereo audio so that is not the problem. I have worked though all of the advanced audio options and I haven't found a way to be able to set this up.
I installed code blocks from .deb files, icon of CB was created but when I click on it to start it, it shows only logo of CB and end, please wehe is error?
I have this issue with Rhythmbox where if I tried to open it trhough Applications > Sound & Video, the program would start and close almost immediately.
I ran it in CLI & got:
Code: rhythmbox ** (rhythmbox:3378): DEBUG: Loading the real store page ** (rhythmbox:3378): DEBUG: navigation requested to https://one.ubuntu.com/music/store-no-token Segmentation fault
JuK works, but I prefer Amarok. I'm running KDE on Jessie. Happened after an update, but I should mention that I update rarely due avoid breakage. I update big security flaws (such as bash and heartbeat) individually. At first I thought Amarok wasn't starting at all. The icon on the task bar came up, ground away with the wait a minute rotating circle, then disappeared.
I thought Amarok wasn't starting at all, but I discovered later that System Monitor showed it as running normally - not zombie, and not consuming excess ram or cpu. However, clicking show application window did nothing.So the problem is no Amarok GUI.
Google. Result: no fix found.uninstall completely and reinstall. Result: no change.Run as different user (root, for diagnostic purposes only). Result: no change. delete amarokrc, amarok_homerc, amarok-appletsrc. Result: no change.
Amarok --debug QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. #tail -f /var/log/messages
When i set skype to load on start up my webcam will not work. However if I manually start it after booting up the system it works fine. I am not using ciaro dock but am using docky. My webcam is a Logitech. This can be anoying as I would sometimes forget to turn Skype on manually.
I'm running Ubuntu 10.04 LTS and recently upgraded Banshee Media Player which I had been using for months no problem. I'm not sure what version I was using before and I'm not sure what version I'm using now. I assume 1.8.0 or higher. Here's what I get when I type 'banshee' into the terminal:
I am using Debian Jessie x64 with XFCE 4.10: Code: Select allnickolay@nickolay-pc:~$ uname -a Linux nickolay-pc 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13) x86_64 GNU/Linux
And am having a problem with dockbarx.
Whenever I try to launch it as a regular user, I get:
I just installed Lenny base and added Fluxbox as wm. I can start Fluxbox from root with "startx" command but only get a light blue screen that is frozen if I try to start Fluxbox from the command line user ID using "startx." I think that it might be an ownership problem but I'm not sure what files I should change the owrnship of, if any. Some of the in installation of fluxbox was done from the root directory instead of from the user directory using the sudo command.
whenever i try to record a video with gtk screen recorder it starts lagging and when the video is over and you wanna watch it there is a major sound and video lag and nothing is as it should be (could the desktop effects be the issue)?
I downloaded a linux kernel from linux.org to check what is the kernel is about, i clicked on make_file or make sth .. and in the same session i downloaded a program called login window.
Now the problem is that the system boots ok, it gives me a msg saying that system is running in low graphics mode, when i press ok i get a few options like troubleshootin or restart x or use back up configuration .. and nothing works .. when i press start normally it never stops loading .. i can see the terminal when clicking ctrl + alt + f1,f2 ... but when i press ctrl + alt + f7 or return back to the desktop ubuntu is still loading .. it never stops loading.
And after using ubuntu for a while i really hate windows 7 .. i have it on the system, so is there a way to fix this problem?
I have an Echo Mia soundcard that I had working in Ubuntu 9.04 fine but just upgraded today to 10.04. I got the card working fine with the Medibuntu respository Alsa Firmware. However, every time I boot up the volume is insanely loud (I use studio monitors with a set volume). As soon as I click to change the volume it suddenly kicks in down to the correctly set volume but I need it to not boot at max. I remember I had to do something in 9.04 to resolve this and had the Echo Mixer in the panel as a launcher but I can't remember what I did to get it to initialize the volume correctly. I've tried everything I could think of to no avail.
Anyone have any ideas? Even if I could just use a script to set the volume to initialize to a specific level I'd be fine with raising it after.
I just installed Moonlight but except for the clock that starts running, buffering and connecting to the video server nothing else works.The screen stays grey and there is no sound. I thought it might work when I install Java applet, but also that doesn't fix.
All of a sudden the screensaver starts when I play movies in kaffeine. I noticed this yesterday. It didn't do that before. I don't know what I've done to make this happen. I'm using Kaffeine v. 1.0-svn3 on a 64 bit OpenSUSE 11.3. My screensaver is kometen4 from kde-look.org.
I have Administrator rights. I want to create new folder into /opt directory. So i clicked(Right click). but new folder menu has disabled. I cannot create new folder. Then Alternatively I used terminal. then I type mkdir /opt/lampp/htdocs/dummy now folder name has created. but I cannot paste anything into my dummy folder. So I checked permission which has you are not owner. How to create new folder & copy contents to new folder.