09-26-2011
I don't know enough about UBI to make intelligent questions. And it doesn't look like the bits you want are inside the UBI area anyway.
Anyway. A 32-kilobit filesystem in a device with a 256 kilobit eraseblock size is ridiculous. Are you sure those specs apply to the entire chip?
10 More Discussions You Might Find Interesting
1. Solaris
I need to install a raid HBA internal card on a T5240. The reason is I have
more drives and the current mother board controller does not support more
than 4 drives.
My question is I have raidctl set up on current drives. If I install new HBA
card do I have to delete current raidctl and... (3 Replies)
Discussion started by: photon
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
I need to redirect internal internet requests to a auth client site siting on the gateway. Currently users that are authenticated to access the internet have there mac address listed in the FORWARD chain. All other users need to be redirected to a internal site for authentication.
Can... (1 Reply)
Discussion started by: mshindo
1 Replies
3. Solaris
Hi all
i would like to ask some suggests about my next job!
I have to install a new Sun Netra T5220, with an additional internal StorageTek SAS HBA Raid.
The problem come in if every disk is now controlled by the HBA, how can I install the OS?
No disk is being detected by the OS.
SAS card... (2 Replies)
Discussion started by: kakabobo
2 Replies
4. UNIX for Advanced & Expert Users
I have a V490 that has couple internal disks attached to the same dual-port HBA card that I'm planning attach to the SAN for additional storage.
Would I sacrifice performance if I use the same HBA?
Is it better to throw in a new HBA instead? (1 Reply)
Discussion started by: kiem
1 Replies
5. Ubuntu
I need some assistance formatting a compact flash card in Ubtunu.
I connect up the CF card through a USB reader. Ubuntu recognizes the reader usb device, but does not "mount" the CF card as a device.
The CF card was formatted in FAT32 format.
Any help would be greatly appreciated.... (3 Replies)
Discussion started by: genesis211
3 Replies
6. AIX
Around a month ago we suffered a prolonged power outage, due to circumstances the servers and storage arrays were still in use when the UPS dropped. One of the servers was running a flash copy on the database while batch processing had commenced. This is the only server that suffered any further... (2 Replies)
Discussion started by: gull04
2 Replies
7. Shell Programming and Scripting
Hi All,
I have a rather stange set of requirements that I'm hoping someone here could help me with. We receive a file that is actually a concatenation of 4 files (don't believe this would change, but ideally the solution would handle n files).
The super-file looks like:... (7 Replies)
Discussion started by: Leedor
7 Replies
8. SuSE
I have noticed that when I copy files to flash disk and in UI I see message copy completed in notification area on task bar, usually copy is not completed. So, if I eject the media I loose data.
It is very serious problem because may cause loss of valuable and even critical data.
Moreover, when... (2 Replies)
Discussion started by: netwalker
2 Replies
9. Shell Programming and Scripting
Hi
I have been trying to figure a way to copy a file, (a template), that has internal variables. Using the values as defined for those variables in another script.
So a file called x -
#! /bin/bash
D=aa.$X.bb
And file y
#! /bin/bash
X=6
while read line
do
eval echo... (5 Replies)
Discussion started by: steadyonabix
5 Replies
10. AIX
Hey guys, wondering if this is possible to accomplish.
PowerHA SystemMirror7.1 active/passive cluster. Restored a clustered system in test and upgraded to the latest version of PowerHA. Things are working great. However in the interest of time during cut over to the new system, I was hoping to... (4 Replies)
Discussion started by: j_aix
4 Replies
LEARN ABOUT CENTOS
i2cset
I2CSET(8) System Manager's Manual I2CSET(8)
NAME
i2cset - set I2C registers
SYNOPSIS
i2cset [-f] [-y] [-m mask] [-r] i2cbus chip-address data-address [value] ... [mode]
i2cset -V
DESCRIPTION
i2cset is a small helper program to set registers visible through the I2C bus.
OPTIONS
-V Display the version and exit.
-f Force access to the device even if it is already busy. By default, i2cset will refuse to access a device which is already under the
control of a kernel driver. Using this flag is dangerous, it can seriously confuse the kernel driver in question. It can also cause
i2cset to silently write to the wrong register. So use at your own risk and only if you know what you're doing.
-y Disable interactive mode. By default, i2cset will wait for a confirmation from the user before messing with the I2C bus. When this
flag is used, it will perform the operation directly. This is mainly meant to be used in scripts.
-m mask
The mask parameter, if specified, describes which bits of value will be actually written to data-address. Bits set to 1 in the mask
are taken from value, while bits set to 0 will be read from data-address and thus preserved by the operation. Please note that this
parameter assumes that the read and write operations for the specified mode are symmetrical for the device you are accessing. This
may or may not be the case, as neither I2C nor SMBus guarantees this.
-r Read back the value right after writing it, and compare the result with the value written. This used to be the default behavior. The
same limitations apply as those of option -m.
There are three required options to i2cset. i2cbus indicates the number or name of the I2C bus to be scanned. This number should corre-
spond to one of the busses listed by i2cdetect -l. chip-address specifies the address of the chip on that bus, and is an integer between
0x03 and 0x77. data-address specifies the address on that chip to write to, and is an integer between 0x00 and 0xFF.
The value parameter, if specified, is the value to write to that location on the chip. If this parameter is omitted, then a short write is
issued. For most chips, it simply sets an internal pointer to the target location, but doesn't actually write to that location. For a few
chips though, in particular simple ones with a single register, this short write is an actual write. If the mode parameter is s or i, mul-
tiple values can be specified.
The mode parameter, if specified, is one of the letters b, w, s, or i, corresponding to a write size of a single byte, a 16-bit word, a
SMBus block write, or an I2C block write, respectively. For SMBus and I2C block writes, the write size is determined by the number of
value parameters. Except for I2C block writes, a p can also be appended to the mode parameter to enable PEC. If the mode parameter is
omitted, i2cset defaults to byte mode without PEC. The value provided must be within range for the specified data type (0x00-0xFF for byte
and block writes, 0x0000-0xFFFF for words). Another possible mode is c, which doesn't write any value (so-called short write). You usually
don't have to specify this mode, as it is the default when no value is provided, unless you also want to enable PEC.
WARNING
i2cset can be extremely dangerous if used improperly. It can confuse your I2C bus, cause data loss, or have more serious side effects.
Writing to a serial EEPROM on a memory DIMM (chip addresses between 0x50 and 0x57) may DESTROY your memory, leaving your system unbootable!
Be extremely careful using this program.
SEE ALSO
i2cdump(8), isaset(8)
AUTHOR
Frodo Looijaard, Mark D. Studebaker and Jean Delvare
This manual page was originally written by David Z Maze <dmaze@debian.org> for the Debian GNU/Linux system.
November 2008 I2CSET(8)