> I notice that the /dev/smbX devices are exclusive access. This makes
> it impossible to run two (or more) programs concurrently that want
> to talk to SMbus devices (in my case, healthd and lmmon, both of which
> want to open /dev/smb0 to access the LM78).
> 
> Is this an SMbus restriction, or an artifact of the smb driver? I did a
> very quick scan through /sys/dev/smbus/* and nothing jumped out to
> indicate why it needs to be exclusive access.

Transactions on the bus should be locked, ie. only one client talking at 
a time, but it should probably be feasible to allow more than one opener.

The SMBus code is dearly in need of a maintainer. 8(



-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to