Re: [PATCH] i2c/busses: Driver for Devantech USB-ISS I2C adapter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > +	/* setup i2c adapter description */
> > > +	dev->adapter.owner = THIS_MODULE;
> > > +	dev->adapter.class = I2C_CLASS_HWMON;
> > 
> > Doesn't seem to be HWMON ?
> > 
> You lost me there. Why not ? Many if not all I2C bus drivers register as
> I2C_CLASS_HWMON.

Would you expect platform hardware monitoring devices to be hanging off
it ?

> > If setting the tty to raw 8bit noecho and firing commands over the
> > virtual interface works then turning your driver into an ldisc is pretty
> > trivial. The ldisc interfaces provide data received and allow data writes
> > through the relevant tty.
> > 
> I'll try.

Any queries on the ldisc internals drop me an email

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux