**** BEGIN LOGGING AT Mon Nov 07 02:59:57 2011 Nov 07 08:08:31 hello Nov 07 08:10:05 can anyone help me ...... in i2c-dev.h................ how slave address is set i.e ...... wat is 0x0703..... #define I2C_SLAVE 0x0703 Nov 07 08:17:29 snkt: hi Nov 07 08:18:02 snkt: are you still trying to not use the kernel driver for your eeprom? Nov 07 08:18:10 snkt: please disclose the reason then! Nov 07 08:19:25 PaulFertser, I have no idea regarding access I2C through userspace...... Nov 07 08:19:51 snkt: then why are you looking at that header file at all? Nov 07 08:20:04 PaulFertser, my slave address as per my datasheet is (1010000).... Nov 07 08:20:41 PaulFertser, I m using AT24C04A eeprom Nov 07 08:21:02 snkt: if you want to continue this offtopic talk here with me, i'm afraid you have to answer my questions. I'm trying to help but i'm getting frustrated by the way you communicate, sorry. Nov 07 08:24:00 PaulFertser, extremely sorry for that..... actually I m newbei to I2C protocol..... I know basic format of I2C protocol..... Nov 07 08:26:32 snkt: that doesn't matter at all! There's a kernel driver already for your memory chip. You do not need to know anything at all about the i2c protocol. Nov 07 08:26:47 snkt: you need to learn how to use kernel drivers, just that. Nov 07 09:04:41 PaulFertser, I m working on such a linux ARM-kernel.... that doesn't have a support for it... Nov 07 09:05:04 PaulFertser, I m working on porting linux OS on Pollux NC600 board Nov 07 09:08:19 snkt: well, i can assure you usually people do not have difficulties understanding my English, even though that's not my native language. Nov 07 09:14:00 PaulFertser, ok ok.... according to you.... there's a kernel driver already for memory chip AT24C0A....... I have to just learn how to use that.... Nov 07 09:16:54 snkt: yeah :) Nov 07 09:19:30 PaulFertser, thats the problem I m facing.... I have modified my kernel source according to my board.... the board for which I m working comes only with WinCE..... but now I m successful in running linux on it...... Nov 07 09:20:13 PaulFertser, there is no standard kernel source is available for that board ...... Nov 07 09:20:41 snkt: do you mean your source is so old that it doesn't have a driver for your chip? Nov 07 09:22:12 PaulFertser, its not that too..... i m working on linux-2.6.31 Nov 07 09:25:07 snkt: so the driver is there, you should be fine to go. Nov 07 10:15:51 PaulFertser, are you familiar with I2C modules in kernel..... just tell me ... there is fix address range from 0x03 - 0x77.... wht is this range? Nov 07 10:22:50 snkt: all i2c devices that are using 7-bit addresses are using only addresses from this range, probably. Nov 07 10:43:11 PaulFertser, and what is I2C_SLAVE address... Nov 07 10:44:01 snkt: where? Nov 07 10:44:20 PaulFertser, in i2c-dev.h Nov 07 10:45:02 snkt: that's fucking specific to the ioctls used for doing i2c from the userspace. Nov 07 10:45:30 PaulFertser, http://pastebin.mozilla.org/1376268 Nov 07 10:45:55 PaulFertser, I didn't get you?? Nov 07 10:46:36 snkt: i'm not discussing i2c from the userspace unless you prove that the kernel driver doesn't work or that you do not need it. Nov 07 10:48:41 PaulFertser, let say..... I do not need it...... Nov 07 11:07:49 PaulFertser, yeah what is the cause of this error..... "Error: Can't use SMBus Quick Write command " Nov 07 16:47:31 hi **** ENDING LOGGING AT Tue Nov 08 02:59:57 2011