devfs
[Top] [All Lists]

Why ACM driver disables devfs support?

To: devfs mailing list <devfs@xxxxxxxxxxx>
Subject: Why ACM driver disables devfs support?
From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
Date: 23 Mar 2002 17:45:16 +0300
Cc: Thierry Vignaud <tvignaud@xxxxxxxxxxxxxxxx>, Vojtech Pavlik <vojtech@xxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
This has been posted in Mandrake newsgroup:

===============
Hello!
I've just installed MD8.2 but can't find any ttyACM0 in /dev lib. The
acm
modules is up and running. How do I create the ttyACM0 device so yhat I
can
get my usb modem (isdn) working ???
Any reply will be welcome!
===============

for all I can tell, ACM devices should be registered as /dev/ucb/acm/%d
(drivers/usb/acm.c) but devfs support is explicitly disabled:

static struct tty_driver acm_tty_driver = {
        magic:                  TTY_DRIVER_MAGIC,
        driver_name:            "acm",
        name:                   "usb/acm/%d",
        major:                  ACM_TTY_MAJOR,
        minor_start:            0,
        num:                    ACM_TTY_MINORS,
        type:                   TTY_DRIVER_TYPE_SERIAL,
        subtype:                SERIAL_TYPE_NORMAL,
        flags:                  TTY_DRIVER_REAL_RAW |
TTY_DRIVER_NO_DEVFS,
^^^^^^^^^^^^^^^^^^^^

any reason for it?

-andrej


<Prev in Thread] Current Thread [Next in Thread>