lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 27 May 2008 12:20:09 +0530
From:	"Veda N" <veda74@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: i2c writes different sizes

Hi,
   I am writing a kernel module that makes lots of i2c writes.

   Each write is different. Some writes need only device command and data.
   Some need device command, <some more paramters> <data>

   there are different ways of doing this. but i want to know how it is done
   in standard way. if it is simple read/write of 8 or 16 bit register write.
   it is easy. but in my case instead of register address it is command
   and command takes lots of parameters. which is different for different
   commands. i am a newbie and i dont know how to do it.

  Are there any drivers that implement such a mechanism.

  I want help so that i can see how it is done in standard way
  and implement it in my own module.


Thanks you.

Regards,
vedan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ