Re: Question about usb-serial port registration

John <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
--- Greg KH <[email protected]> wrote:

> As for applications that foolishly use ttyUSB0 only,
> well, they kind of deserve the breakage.  
> It is pretty trivial to work around that issue
> with udev if they want to (and it's recommended 
> that they fix it that way...)

In this case somebody should fix usb_console_setup,
because it has the following lines:

/* grab the first serial port that happens to be
connected */
serial = usb_serial_get_by_index(0);
if (serial == NULL) {
	/* no device is connected yet, sorry :( */
	err ("No USB device connected to ttyUSB0");
	return -ENODEV;
}

Thank you
John




 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.