**** BEGIN LOGGING AT Sat Nov 05 02:59:57 2011 Nov 05 07:54:14 i m working on ARM board ...... I want to integrate external eeprom AT24C04C ... through userspace.... I detected SDA, SCL port with no external peripherals.... so I have to use that slot .... can anyone help... Nov 05 09:03:05 snkt: can you rephrase your question? Nov 05 09:03:25 snkt: why do you want to use that EEPROM without a kernel driver? Nov 05 09:09:55 PaulFertser, I have a support in kernel.... i have to just communicate eeprom through userspace... Nov 05 09:11:11 snkt: why do you have to? How the kernel driver (that's there since like forever ;) doesn't suffice? Nov 05 09:12:19 PaulFertser, I want write my own code on that eeprom.... Nov 05 09:13:53 snkt: isn't the sysfs interface provided by the driver good enough? Nov 05 09:14:46 PaulFertser, my I2c slot is empty..... no externel peripherals are connected..... Nov 05 09:16:06 snkt: what do you mean? Do you have an eeprom connected or not? If yes, then what's the issue, if not, then why's the question? ;) Nov 05 09:17:00 PaulFertser, I want solder externally that chip .... Nov 05 09:18:32 snkt: sounds good so far. Nov 05 09:20:48 PaulFertser, please help me after I solder that chip ..... how can I access that chip.... Nov 05 09:21:26 snkt: what makes you think there will be any problems with using the kernel driver and accessing the chip through sysfs interface? Nov 05 09:22:08 PaulFertser, I m newbee to it..... Nov 05 09:23:28 PaulFertser, I have worked on I2C protocol on ARM9 and Atmega128 ..... but that was hard coded assembly programming..... I m newbei to access I2C through userspace.... Nov 05 09:24:10 snkt: i do not understand _at all_ why do you want to access i2c from userspace. Nov 05 09:24:23 snkt: because there's already an _in-kernel_ driver for your device. Nov 05 09:25:12 PaulFertser, ok.... hw can I write ,store and read my code on that eeprom...... Nov 05 09:29:09 snkt: the driver will create the file "eeprom" in the sysfs hierarchy. Nov 05 09:55:24 PaulFertser, yeah... what is I2C address...... I know EEPROM has Slave address as mention in the datasheet.... Nov 05 14:03:29 hah Nov 05 14:08:18 snkt: I bet PaulFertser can tell you what to add to config of kernel (or which module to modprobe in which way) so you get the according /sys/*/* nodes to access your eeprom from userland Nov 05 14:09:54 the docs/src of that module will provide the detailed info about (how to use) the sys API for you Nov 05 14:14:30 of course there's also the possibility to do "low level access" to I2C bus directly, from userland (only if the module for handling your EEPROM is *not* loaded as otherwise that module will block direct I2C access) - see i2cget i2cset i2cdump cmdline tools Nov 05 14:16:25 I do NOT recommend to use i2ctools when there's a way mire convenient kernel driver aka module to access the EEPROM on a more abstract level - which is what PaulFertser suggested Nov 05 14:16:42 s/mire/more/ Nov 05 14:16:42 DocScrutinizer meant: I do NOT recommend to use i2ctools when there's a way more convenient kernel driver aka module to access the EEPROM on a more abstract level - which is what PaulFertser suggested Nov 05 14:17:20 PaulFertser: hi! :-D Nov 05 14:18:32 snkt: btw, what "ARM board" of yours are we talking bout here? Nov 05 14:21:33 DocScrutinizer, Pollux-ARM Nov 05 14:27:47 hello Nov 05 19:20:41 hi Nov 05 21:17:24 phone:~# uptime 16:48:33 up 573 days, 18:26, 1 user, load average: 0.00, 0.07, 0.08 Nov 05 21:17:33 ^my freerunner :) Nov 05 21:34:25 ndnihil: nice uptime - my n900 is not so good ;) i think 2 - 4 weeks is the average Nov 05 21:37:07 wish my android phone was that stable Nov 05 21:37:25 dont get me wrong, I like it, and it's better than most of the other stuff out there Nov 05 21:37:40 but it's no moko for sure Nov 05 21:44:12 ndnihil: the problem with n900 is often that the sound not works (dont know why) - that means no musicplayer works and no - VERY IMPORTANT - alarm works -.- Nov 05 21:51:24 hrm, can you test for it and reload the kernel modules associated with it? Nov 05 22:00:28 ndnihil: yes i think so, but the problem is not so often - so i only test before i go top sleep if the soundoutput works Nov 05 22:00:51 at home i have extra alarm it's only important, when i am not at home :) Nov 05 22:10:41 anything interesting in the logs? Nov 05 22:13:02 ndnihil: i have not investigated the problem - it was two times in the last two years and normally i have no laptop or connection ;) Nov 06 00:33:42 stop the friggin mediaplayer that ocupies audio ;-P Nov 06 00:34:40 also plug&remove a wired headset often tends to "unlock" sound **** ENDING LOGGING AT Sun Nov 06 02:59:57 2011