From mboxrd@z Thu Jan 1 00:00:00 1970 From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Tue, 4 Oct 2011 08:28:17 -0400 Subject: [refpolicy] what is a suitable type for /dev/cdc-wdm[01] In-Reply-To: <1317138572.2861.30.camel@x220.mydomain.internal> References: <1317032855.9488.30.camel@x220.mydomain.internal> <4E81CD04.7080107@tresys.com> <1317138572.2861.30.camel@x220.mydomain.internal> Message-ID: <4E8AFBE1.2030405@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 09/27/11 11:49, Dominick Grift wrote: > On Tue, 2011-09-27 at 09:17 -0400, Christopher J. PeBenito wrote: >> On 09/26/11 06:27, Dominick Grift wrote: >>>> device. Ericsson has provided a driver which is mostly a copy of >>>> cdc_ether.c. Nice feature to have, but I've not been able to measure >>>> any speed advantages compared to PPP on ttyACM0. Still, fun to play >>>> with :-) >>> >>> Also, why are ACM tty character device nodes labeled type tty_device_t >>> and not for example acmtty_device_t? >> >> It would seem that modem_device_t would be a better choice, assuming all ttyACM* devices are cellular modems. >> > > From what i am reading these ttyACM character device nodes are "USB > virtual serial ports" > > On my system they are used for sms gps and ppp but i am not sure if that > makes modem_device_t a suitable type for these. Then it seems that tty_device_t is appropriate. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com