Red Hat / Fedora :: Read Or Write At Specified Memory Location On SD Card

Dec 10, 2010

I am new to linux at driver level. I want to read/write at specified memory location in microSD card in linux. I do not want to used SD card with any file system. How to do that. My linux distribution is Fedora13.

View 3 Replies


ADVERTISEMENT

Fedora Hardware :: Can't Write To Flash Memory. Automatically Set As Read-only

Jan 21, 2010

I used to be able to write to my SD memory card but just recently it is being automatically mounted as read-only. I checked the read-only tab and tried to set it to the lock position, and to the unlock position. Neither position makes a difference. It was working normally a few days ago. I also tried changing the permission using su

ls -lt gives the following result
drwxr-xr-x 4 col root 16384 1970-01-01 01:00 CANON_DC
chmod chgrp and chown in su mode don't change anything either.

I tried mounting a different 1GB SD card and it works perfectly. I noticed that when I mount this card I get a window asking me what I want to do, but I don't get this on the other card. It must some kind of setting related to the unwriteable card.

I am using F10 2.6.27.41-170.2.117.fc10.i686

View 3 Replies View Related

Programming :: Write A Value From A Specific Memory Location In C?

Jul 13, 2010

How to write a value to a specific memory location in C language and how to access the same value ?
I am trying the same on fedora linux and i am trying to write the value to the 32-bit address.

View 2 Replies View Related

Hardware :: Phone And Memory Card Auto Mounting With Write Permissions

Feb 4, 2010

Few weeks ago modified my old mobile phone SE k750i by setting on it w800i firmware. After this my phone isn't really (fully automatically) recognized by Ubuntu (9.10) which is the small problem for me now. Linux recognizes it as a USB device, but doesn't automatically mount it, which is why I have to do that manually and that leads to read only permissions for my user.

Here are the few outputs:

lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 002 Device 005: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 002 Device 004: ID 0fce:d028 Sony Ericsson Mobile Communications AB
Bus 002 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 002: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg | grep usb .....

I've tried to create a custom udev rule via this thread, by putting the correct information according to lsusb:

Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="d028", MODE="0660", OWNER="zivs"
and reloading the udev rules, but that didn't help also.

How could I make my Ubuntu mount the /dev/sdb1 (which is my phone's memory card, since manually mounting it, there's all my phone recorded stuff) automatically on Desktop with all read and write permissions when I connect my phone to computer? Phone gets recognized immediately on Win7 OS ... but after the firmware change it's not really recognized by Ubuntu anymore.

View 1 Replies View Related

Ubuntu :: Write A Shell Script To Extract Files From An SD Memory Card In The Background?

Aug 20, 2010

I'm looking for a way to insert an SD memory card into my computer and have it copy the files from it (a specific directory) in the background while I view the images from the desktop.

View 2 Replies View Related

Hardware :: PCMCIA Linear Flash - Read And Write To The Card

Mar 4, 2011

The card in question is a PC Card (PCMCIA) 16Bit Intel Series 2 Flash Memory Card (2MB) and I want to be able to read from and write to the card. I've rebuilt latest stable kernel (2.6.37.2) with all the PCMCIA options turned on or built as modules. I've got an SRAM card, a CompactFlash Card (in a CF to PC-Card adapter) and the Linear Flash card to try, the SRAM card I'm not expecting greatness from, but hoping to prove that the slot works (it registers, but doesn't get much reported from lspcmcia). The CF card in the adapter works. I'm expecting to see a block device in /dev but nothing appears lspci:

[Code]....

View 11 Replies View Related

General :: Cannot Read / Write SD Card After Improper Format (sector Size 0) - Fix It?

Jun 12, 2011

I was attempting to reformat a 16GB MicroSD card in my camera when the battery died mid-way. After that, any time I try to read the card in my camera, it gives me a "Card Error" and does not allow me to reformat it in my camera.

So, I thought I would plug the camera in to the laptop with it set to host the card as media when plugged in as USB, in an attempt to fix the formatting issue.

However, when I plug it in to my linux machine, it does not register as a device (e.g., /dev/sda) due to some errors, therefore I cannot reformat it. Essentially, I think I need to fix the partition table but I'm not sure how to when it doesn't register as a device. code...

View 7 Replies View Related

Ubuntu :: Nautilus Location Bar: How To Write Manually Location

Oct 30, 2010

I have been testing ubuntu 10.10 maverick, it has some nice features. Anyway I am missing the possibility of writing manually the folder you want to go on nautilus using the Location bar. It was used to have some kind of icon which you can click and it switched between graphich breadcrumbs or the location of the folder and you could changed it manually, you know what I mean?

View 2 Replies View Related

General :: Storage - Mount "locked" SD Card As Read-write In GNU

Feb 9, 2010

My Canon PowerShot A470 + CHDK can write to SD-cards that are "locked" (the lock switch is used to make the card bootable), but GNU/Linux

`/dev/mmcblk1': Read-only file system

(I'm using "Texas Instrument 5-in-1 Multimedia Card Reader")

So I have to switch that switch on and off again and again. ("unlocked" to write to the card in Linux, "locked" to boot the camera from it).

How to force locked card to be writable in GNU/Linux?

View 1 Replies View Related

Programming :: Write A Script That Can Show Me Total Memory Vs Used Memory?

Apr 13, 2010

How do I write a script for my Linux that can show me total memory vs used memory and have it email me results if it's over 70 percent?

View 2 Replies View Related

Fedora X86/64bit :: 32 Bit Does Not Read The Full Memory?

Jan 18, 2011

I believe that more than 3GB of memory can be read by 64-bit only.

[user@hostname ~]$ getconf LONG_BIT
32

View 5 Replies View Related

Fedora :: Read & Write Share With NFS In 13

Jun 18, 2010

I can't see any option for recursive directories in nfs in fedora 13.

This is my set-up:

Code:

Code:

save and exit.

Code:

When i mount the directory /media/Data from another Fedora 13 box i don't have read and write permissions for each and every file. The -R recursive option would be handy unfortunately this option is unavailable. The red hat docs have not been helpful in this respect.

Code:

Code:

The mounted partition is of the ext3 type. With the nfs-3g type i don't have any issue however most of my directories/partitions are of the ext3 type so i need get it sorted.

I changed my user name id number to the same number on all boxes thus giving me write access. There must be a better solution than this.

View 3 Replies View Related

Red Hat / Fedora :: How To Get Unlimited Read/write?

Oct 25, 2010

I installed SAMBA and SWAT, latest versions. What I want to accomplish is to give Windows users unlimited read/write access to the entire filesystem, eg. (/). Barring that, I'd like to at least be able to configure full access to individual directories.And by "unlimited", I mean being able to edit and delete everything that would be normally accessible only by the root user. I want to grant the Windows users of the shares access as if they were root users.

View 2 Replies View Related

Fedora :: Chmod GUI For Read And Write Permissions?

Nov 25, 2010

Is there also an chmod GUI for read and write permissions?

View 5 Replies View Related

Fedora :: Samba / Can Map / Plan To Read But Not Write?

Jan 29, 2011

I can map / plan to read but not write.I also chmod 755 / plans done.Does anyone have a solution

[global]
workgroup = MYNETWORK
netbios name = LINUX
log file = /var/log/samba/log.%m
security = share
;
[homes]
code....

View 8 Replies View Related

Fedora Security :: Cryptset - Can't Read Or Write

Jul 28, 2011

So I have just set up my cryptsetup.I can open/mount it by either "crypsetup luksOpen" or just clicking on the partition from the "Places" tab and it will ask me for a password and all.

The only problem is that I can't read or write to it at all. Everything is probably root, which isn't useful to me.

So how can I change it so that when I do either of those 2 methods for opening it, I can just fully use it, read and write and everything? As my user.

View 1 Replies View Related

Fedora :: Mounting Windows Server08 From Fedora 8 With Read/write Permissions?

Oct 7, 2009

I have Fedora 8 and we just switched over from a Windows "File Server" to Windows Server 2008 (10.1.1.17). I updated my fstab file and now when I go onto the Windows folders, I can list and read files, even save them, but new files are always read only.

fstab file (some, without the asterisks):
//10.1.1.17/USERS/Jeff/fs /home/mriuser/Desktop/fs cifs rw,username=jsadino,password=**** 0 0

I've tried ntfs-3g, auto, ntfs, smb, some umask combinations, changing ownerships, changing permissions, everything I could think of, but still can't modify new files.

[root@localhost tmp10]# mkdir tmp2
[root@localhost tmp10]# cd tmp2
[root@localhost tmp2]# touch tmp
[root@localhost tmp2]# ls -l

[Code]...

View 3 Replies View Related

Fedora Hardware :: Zune Not Able To Read / Write Music

Jun 30, 2010

After 10 minutes of trying to mount my zune, I finally got it, only to open rhythem box to find that I can't view the music on it, or write new music to it. (It does have music on it, nearly 30 gigs of music, its also assigned to my windows computer that I dont use anymore). Sorry for the file being a jpe, but the fedora forums seem to hate high resolution, full desktop, PNG screenshots, so I edited it down and made it a jpe.

View 5 Replies View Related

Fedora :: LibUSB 1.0 - Read / Write Privileges For Users

Dec 13, 2010

I am developing a program that uses libusb-1.0 on a FC14 x64 system. I solved the compile and link issues, but I now have a problem with user privileges when I try to get device handles. The problem appears to be in the mounting of the usbfs. Is the an accepted fix to giving users read/write privileges for all usb devices?

View 4 Replies View Related

Ubuntu :: Read Write Access To Fedora Partition?

Jul 1, 2011

On opening nautilus,it shows the XP ad Fedora partitions.Clicking on them mounts the partition.However,XP partitions are mounted in Read/write mode,whereas Fedora partition is mounted only in Read mode.What changes should i need to make in /etc/fstab to enable Read/Write access to Fedora partition as well?

View 9 Replies View Related

Fedora Networking :: Samba Not Working On 15 - Read / Write Privileges

Jun 19, 2011

i have a windows xp machine with filesharing enabled and the shares set up and ready to go i have a laptop on which i did a fresh install of fedora 15 with samba and all the necessary packages to make the fedora machine a samba client to the windows machine.

my problem is that when i go into nautilus and click on the network tab it shows nothing not one single computer...the fedora machine doesnt even show up.....i have done all the tests i can think of and confirmed that the smb service is running, the nmb service is running, samba is allowed thru the firewall and all the computers are in the same workgroup..yet neither one can see each other even more frustrating is when i go to mount a windows share thru the terminal it shows a successful mount (as i type in the command hit enter and recieve no errors) BUT when i go into the mount directory and open the new directory i made for the samba share it shows nothing there not even when i go into the windows machine and add a file to the shared folder...PLUS for some strange reason the /mnt directory already had two empty files called "home" and "boot" already in it i have no clue what thats about but ok, then on the windows side i go into "network places" and click on "show workgroup computers" and the windows machine will show up but not the fedora machine.

these are the commands i have used to install and get samba working- "yum install samba system-config-samba samba-client cifs-utils" "service smb start" anyway until i can figure this out i have decided to start from scratch and erase samba from the machine completely and i am hoping that maybe some one can read all this and come up with some ideas...maybe there is just something i forgot when i was setting this up yesterday its possible i just went to fast and skipped a step again all i want is the fedora 15 machine to just be a samba client with read/write priviledeges

View 2 Replies View Related

Fedora :: Mounting An Ext3 Or 4 Partition With Read And Write Access Using Fstab?

Jul 24, 2009

Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?

View 1 Replies View Related

Fedora Servers :: Cannot Start Apache - No Read / Write Access To HTTP Files

Jan 14, 2009

I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:

Code:
Summary:
SELinux prevented httpd reading and writing access to http files.

Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.

Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"

Fix Command:
setsebool -P httpd_unified=1

I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
Code:
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php
</VirtualHost>

<VirtualHost 192.168.1.2:80>
SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>

Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.

View 10 Replies View Related

Fedora Hardware :: Does Not Recognize Sd Memory/card?

Jun 6, 2011

im new in all this, i already found a lot of drivers for my pc but this is annoying me xD fedora does not recognize sd memory/card

View 1 Replies View Related

Red Hat / Fedora :: Format For Server & RAID Setup For Multi Platform Read/write/access?

Jun 23, 2011

I'm looking to set up a server with attached mass storage device and tape autoloader to run linux. It's set up under Windows at the moment. Goal is to have users, connecting from individual workstations and laptops, backup their data to the linux server. On their personal machine, some users run linux, some MacOS, some Windows. I plan to set up the 5 500 GB drives as RAID5. I understand that if setting up as software raid the format is "physical volume for RAID". Under this setup, will Windows users be able to read/write and function as expected? I can't assume only linux user access.

View 3 Replies View Related

Fedora Installation :: Booting From Memory Card SDHC ?

Oct 24, 2009

I would like to install fedora onto a memory card 16Gb kingstone SDHC that I use in a ACER aspire one

I followed the instruction on the website and I found the following problem:

The wireless and Ethernet hardware where either not found or, if they were found, they did't work and there were no possibilities to make it work.

The strange thing is that almost every time after I attempted to boot form the memory when booting window as usual, the Ethernet hardware was not found anymore also under window!

View 2 Replies View Related

Programming :: Byte At Memory Location 45 With Immediate Value 03

Jul 10, 2011

As 2.17
I want to code this:
and byte[45],03

In words, AND the byte at memory location 45 with immediate value 03. As reports "Ambiguous operand size for and". How could I code the instruction such that as understands my intention?

john: .byte 45
and byte[john],03
gives the same error.

View 8 Replies View Related

Fedora Hardware :: Flash Memory Card Reader / Writer

Jan 20, 2010

Looking for a card reader/writter that will support most current card types. I am running Fedora 12 x86_64. Are there any gotchas, that I need to watch for? Also, Internal vs. external, any benifits of one over the other, or is it just personal preference?

View 2 Replies View Related

Fedora Hardware :: F15/dell Inspiron Not Detecting Memory Card?

Aug 13, 2011

Since the install and original tweaking of F15 the os and pc have been operating flawlessly now for a couple months. Today I slid the Sandisk memory card from my camera in but there is no detection of the stick and no paths in the media link directory. I searched the forum but did not find any post specific to this issue.

View 1 Replies View Related

Security :: Change The Sys_call_address To Another Location In Memory?

Jan 4, 2010

Quote:

alexander@osiris:~$ uname -a
Linux osiris 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

I tried to change the sys_call_address to another location in memory. The result was an OOPS!

sys_call_address is of course not exported, so I found it using:

Quote:

grep sys_call_table /boot/System.map-2.6.31-14-generic
c0577150 R sys_call_table

My kernel prog looks like:

Code:
#include <linux/string.h>
#include <linux/smp_lock.h>
#include <linux/init.h>
#include <linux/module.h>

[Code].....

View 5 Replies View Related







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