![]() ![]() ![]() If the USB device is recognized, a listing for the device similar to the one below will be displayed: usb 7-1: new full speed USB device using uhcihcd and address 1 usb 7-1. If found and not disconnected, increment * its refcount and return it with its mutex held. In a terminal window, use the 'dmesg' command to display system information and check if the USB device has been recognized by Linux. SPDX-License-Identifier: GPL-2.0+ /* * cdc-acm.c * * Copyright (c) 1999 Armin Fuerst * Copyright (c) 1999 Pavel Machek * Copyright (c) 1999 Johannes Erdfelt * Copyright (c) 2000 Vojtech Pavlik * Copyright (c) 2004 Oliver Neukum * Copyright (c) 2005 David Kubicek * Copyright (c) 2011 Johan Hovold * * USB Abstract Control Model driver for USB modems and ISDN adapters * * Sponsored by SuSE */ # undef DEBUG # undef VERBOSE_DEBUG #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include " cdc-acm.h" #define DRIVER_AUTHOR "Armin Fuerst, Pavel Machek, Johannes Erdfelt, Vojtech Pavlik, David Kubicek, Johan Hovold" #define DRIVER_DESC "USB Abstract Control Model driver for USB modems and ISDN adapters" static struct usb_driver acm_driver static struct tty_driver * acm_tty_driver static DEFINE_IDR ( acm_minors ) static DEFINE_MUTEX ( acm_minors_lock ) static void acm_tty_set_termios ( struct tty_struct * tty, struct ktermios * termios_old ) /* * acm_minors accessors */ /* * Look up an ACM structure by minor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |