All of lore.kernel.org
 help / color / mirror / Atom feed
* sysfs bind/unbind attributes usage
@ 2014-07-01  9:07 Raghavendra
  2014-07-01 10:43 ` Bjørn Mork
  0 siblings, 1 reply; 2+ messages in thread
From: Raghavendra @ 2014-07-01  9:07 UTC (permalink / raw)
  To: kernelnewbies

Hello,

I would like to know more about manually probing/removing the devices 
through sysfs attributes.
After searching for a while I came across two attributes 'bind' and 
'unbind' present in all the drivers.

Now how may I correctly use them to probe my devices.
I sense the probing syntax is different for different kinds of drivers 
(I2C, SPI, PCI, USB, etc).
I am mainly looking for probing I2C and SPI devices.

Also I found related attributes called 'new_id and remove_id' (for PCI 
drivers) and also 'new_device and delete_device' (present in the i2c 
adapter devices). Now how are they different from the bind/unbind 
attributes, because as far as I know, even they do the same thing.

Could any one guide me through any documentation regarding all these issues

Thanks,
Raghavendra



-------------------------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-01 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-01  9:07 sysfs bind/unbind attributes usage Raghavendra
2014-07-01 10:43 ` Bjørn Mork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.