General :: Permanently Changing Permission Of FireWire Device?
Jan 22, 2011
I just setup a FireWire audio interface. Everything works fine, except for I need rw-rw-rw- permissions on /dev/fw0. I can always sudo chmod 666 /dev/fw0 just before setting the thing up, but then it will be gone on the next rebooting.The solution to modify /etc/udev/rules.d/020-permissions.rules (which is for Ubuntu Breezy) doesn't go well for Ubuntu 10.10 Maverick because there is no /etc/udev/rules.d directory.
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
I want to make change to environment PATH system wide. Because I have program called "md5". I want to execute it from anywhere (i.e any directory).
My md5 program is located at "/home/ahuq/MappingServer/md5_program". So what I did was to put: "export PATH=$PATH:/home/ahuq/MappingServer/md5_program" in the running SHELL.
This only makes temporary changes and lets me run the "md5" program from anywhere temporarily.
But I want to make this change permanent. So what I did was to put the "PATH=$PATH:/home/ahuq/MappingServer/md5_program" line into the "/etc/environment" file.
This screwed everything up and then for a while I couldn't execute anything from SHELL. I knew the absolute path of "nano" editor and used it to modify the file (i.e. /etc/environment) back to its original condition.
This fixed the problem and now I can run programs like "ls" from the SHELL.
But still I need a way to permanently add the path of "md5" to the environment. How can I do this in Ubuntu 10.10? Which file needs to edited?
Do I just logout or do I have to restart the system to make the changes active?
I have updated my computer to Kubuntu 10.10 (which has the new firewire stack enabled by default) and now my firewire application is giving permission related problems. I try to read CSR_CHANNELS_AVAILABLE_HI (defined in libraw1394 which is used by the application) to see which isochronous channels are available to use:
[Code]......
With the old stack (raw1394) there are not problems and it runs fine and I get the octlet back containing the information about the free channels. But with the new stack (firewire_core and friends) I get a 'permission denied' (errno = 1) error. I do have permission to read/write /dev/fw* and I even tried running the application as root without any luck. If I read the config rom of a node (located at CSR_CONFIG_ROM) there are no permission problems and I am able to get the information/ What am I doing wrong? Did something change with the new stack (even though libraw1394 should be compatible with both stacks)? Is it a bug?
I'm trying to view the output of a dv firewire capture device (advc-100) fullscreen through vlc. I've read of people being able to do this but a detailed explanation of how eludes me.
I'm running Ubuntu 10.10 and VLC 1.1.4
The error message I'm given after trying to open through 'media>open capture device>play' is;
Quote:
Your input can't be opened: VLC is unable to open the MRL 'v4l2:///dev/ffc1/'. Check the log for details.
(and I can't find the log)
I'm not even sure if I've got the device name right so I ran lspci from the command line which gave the following output (and I still can't work out what it is);
I'm using FFADO on JACK in order to use my firewire device (M-Audio Profire 610) and I seem to have the opposite issue as others who have similar problems. Everything starts up fine, and I can record audio into Ardour using my inputs, but I can't get any output from any of my 8 line outs.
I've checked the connections using QjackCtl, and I tried to route audio from another program (Audacious) but I can't seem to pull audio out of the device (or the computer won't send my device audio?).
I am new to Ubuntu 10.04 and so far I love it! I recently created a LiveUSB and I am running Ubuntu from my USB drive with preserve mode.
I changed the /etc/hostname and /etc/hosts files with my new hostname and everytime I reboot those files are going back to original state and change the hostname back to ubuntu...
The rest of my installed applications and settings are preserved... Is there a way to permanently change the host name?
I've got Rhythmbox set to automatically draw songs from two folders. Everytime I start the program up, it builds the library fresh from the folders, so any changes I've made to track numbers, song titles, artists, etc is not retained from the previous section. Is there a way to permanently change this time of info in Rhythmbox, or is the another decent Linux music player that has this capability? Btw, I have Gnome.
My Internet connection runs slow and jerky, but can be fixed by using the Google public nameservers instead of the default one in this file. Problem is, the changes keep being reverted, even when I chmoded the file to have read-only permissions by everyone.
For example /dev/loop*, /dev/raw/*, etc., they are automatically reset to root/root after rebooted.Change the owner/permission of device files maybe not a good idea, though. I just want to know if it is possible and how?
I would like to use HDMI on my graphic card for audio output. ALSA shows it as a card with 4 devices and I can get sound through one of them (the other three are different channels, perhaps? I have only stereo output connected). Although Pulseaudio has the right card set as default, it seems to me that it plays on a wrong device. Pacmd shows that the sink has parameter alsa.device set to the first device listed by ALSA, but I can get sound only from the second one.How can I force Pulseaudio to use another device of the same card as a default output?
my thinkpad Edge 11 has some problems with the touchpad and the trackpoint, so i want to permanently disable the touchpad, but not the TrackPoint. Both are PS2 devices.
I am using Xampp on ubuntu 10.04 and I have set my document root to a folder in my home directory for ease of use with netbeans. There are several times where I have to manually go and change the permission to 755. If you just place a file in the directory it does not default to 755, seems odd since the document root folder is in my home directory. Chmod works fine but I was wondering is their a way to make all files or folders added to my document root to default to 755?
I have a strange problem after downloading a movie file. I noticed that I don't have permission to delete or change anything on this folder and files within it. I am attaching a snapshot image of the folder. please someone help me to delete this from my computer.
How can modify httpd-xampp.conf's permission on my opt/lampp/etc/extra/ directory? I tried chmod-ing it on terminal, there's no error message whatsoever on the terminal but it still can't be modified.
Is it possible to change the general permission denied error. I have some rather young users on this system that think they can "hack the gibson" and I would love to change the general error message to something a little more rude/funnyex:# cd restricted area -sh: cd: restricted area: Permission deniedI am curious if its possible to change the error message in general?ex:# cd restricted area-sh: cd: restricted area: (funny/rude message goes here)Quick info:This is a Gentoo 2008.0 system, I would also love to do this on my slacware and OpenBSD boxes as well just for kicks.
I couldn't able to change file permission of files residing under /media/* Under /media all the NTFS partitions are mounted manually (gnome GUI) using root password. File properties of file under those NTFS partition shows SELinux context is "fusefs_t". I guess this is prevention from changing permission of file. How can I over come this?
I'm currently pursuing a CCNA certification. I need to use a so called "Eagle Server" to do my lab exercises. I have the Linux Live CD (FEDORA CORE 3 KERNEL 2.6.12) and I have installed it on a laptop that I have (TOSHIBA EQUIUM M50-164, PSM57E). This laptop had Windows XP installed, so I created a 4GB FAT partition and booted with the Live CD.I need the CD in the tray every time I want to run Linux. Without the CD, it boots to Windows XP. Also, according to Eagle Server documentation, any modification to the server is available even after reboot. Well, that is not happening to me. Does someone have a clue why the server doesn't save the modifications? Is it because I need the Live CD to boot, even after I have installed on a FAT partition?
Eagle server supports only 1 network interface card, eth0. When I first run the server it showed me that the hardware mapped to eth0 was my wireless adapter. There is no option to disable it in my BIOS, so I just removed the hardware myself. After rebooting it show eth1394 on eth0. I presume that is the FireWire Adapter.What can I do so that eth0 is mapped to my LAN adapter (Marvell Yukon 88E8036 PCI-E Fast Ethernet)?Is there a way do disable FireWire?Please remember that due to 1st problem above, any changes to the server are not available after reboot So the main problem is that I can't ping from Eagle Server to the router and vice-versa
Still getting the "cdrecord has no permission to open the device" error when trying to burn an iso image to a DVD-RW.
I did yet another clean install of openSUSE 11.2 64 on my desktop computer, did updates, added Nvidia and Packman repos (it's not a repo problem as I tried it several times on a totally clean install), added codecs and stuff as advised by caf.
I updated the DVD drive firmware earlier today.
My user is a member of ALL groups.
Drive is an LG GH22NSS50 (sata)
It all works (with the same DVD-RW) under winxp on the same machine.
Is it HAL or something else that blocks permission to devices?
I'm really getting sick to death of this problem, and would be happy just to get rid of anything blocking permissions to the DVD drive.
Is there an application that allows one to 'export' a drive or virtual disk image to firewire so that the machine at the other end sees the computer as a regular firewire drive? Apple computers can do that via their target disk mode (hold down t on boot), but I am searching for an application that would work under Windows or Linux.The goal is to boot an older Apple iBook, which can not boot from USB, via this emulated firewire drive.
I recently compile Kernel 2.6.34 (to fix the AMD PowerNow issue with 1055T processor, and it worked!) However, the device /dev/shm starts up at boot as Read-Only.
Google Chrome requires this device to be user-writable, or it won't start up. Presumably, the stock kernels (and all that are updated) have it set to User-Write. I have not noticed any other ill effects with the permission being read-only. If I do: sudo chmod a+w /dev/shm Everything will work from there, but each time I reboot, I have to do that. How do I make that permission-change permanent?
I have headphones connected via usb and every time I restart computer or disconnect them, my sound output is switched to laptop speakers. Is there a way to make so that every time the headphones are detected, they would be used automatically?
I was trying to burn an .iso with K3b a little while ago, and had some problems. First of all, even though I chose 8x to burn my (16x) DVD, it switched to 11x or 12x around halfway through the burning process. There were also some ticking noises that I'm pretty sure were coming from the DVD writer, not terribly loud, but noticeable. This had never happened before. Finally, it got stuck at about 98% (but not frozen, as the time elapsed kept going), and did not finish burning--got an error message (and a bad disc): "cdrecord has no permission to open the device"
I inspected the disc and there was one dark spot (on the dye) about halfway through the disc, very thin and couple of millimeters long. (This was present only after burning). I'm using Ubuntu 10.04, K3b version 1.91.0, Lite-On DVDRW SHW-160P6S
Changing the brightness and keyboard brightness does not give a notification, though the brightness changes. In addition, ejecting a cd, plugging in a usb device, and seeking/playing music gives no notification (though Rhythmbox tells me what track I've skipped to/played). Again, the cd does eject, the usb device can be accessed, etc. I'm not sure if this last one is a problem, but every notification except for the volume one appears about 80 pixels down from the top panel. This 80 pixels below the panel is only ever occupied by the volume notification. Ubuntu 10.04, gnome-power-manager 2.30.0 ubuntu1, notify-osd 0.9.29-0ubuntu2. I'm using a Dell Studio 1555 notebook.