From: clairm <cla...@ho...> - 2007-06-20 22:35:44
|
OH, i guess you can't set the direction. I have no trouble getting the values. clairm wrote: > > OK, I got i2c-io loaded and can turn the LEDs on and off. How do I set or > read one of the ADC ports? I've tried every combination of: > > i2c-io 0x0b getdir ad0 > i2c-io 0x0b getdir adc.0 > i2c-io 0x0b getdir ADC.0 > etc. > > ...but I always get ERROR: Unrecognized port: 'xxx.x' > > > Dave Hylands wrote: >> >> Hi Clair, >> >>> I had expanded the tarball from /mnt/mmc/i2c. I redid it from / and I >>> now see >>> /lib/modules/2.6.18gum/kernel/drivers/i2c/i2c-dev.ko. I added: >>> >>> # I2C >>> i2c-dev >>> i2c-pxa >>> >>> to /etc/modules, and rebooted. Now I can't get it to come up and attach >>> to >>> the Bluetooth console any more. I guess it's time to add the pull-up >>> resistor between GUMSTIX pins 3 & 4. Was I just getting lucky before? >> >> I've you're using a robostix, and have nothing plugged into the >> GUMSTIX connector, then yes, it's just luck. >> >> -- >> Dave Hylands >> Vancouver, BC, Canada >> http://www.DaveHylands.com/ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> > > -- View this message in context: http://www.nabble.com/Module-i2c_dev-not-found-tf3954660.html#a11223535 Sent from the Gumstix mailing list archive at Nabble.com. |