Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-25-2010, 04:23 PM   #1
LQ Newbie
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
usbserial enumeration issue after suspend


I'm quite new to Linux kernel. I'm using Linux on OpenSuse. Currently I have a usbserial device with three ports showing

If I start a program when open the port of /dev/ttyUSB1 and /dev/ttyUSB2 and then suspend PC (s2ram --force), I will see
/dev/ttyUSB3 instead of /dev/ttyUSB1
/dev/ttyUSB4 instead of /dev/ttyUSB2
after PC resume.

My goal is NOT to close port of /dev/ttyUSB1 and /dev/ttyUSB2 before suspend and keep the port enumeration the same after resume.

I trace the /var/log/message and found /driver/usb/serial/bus.c usb_serial_device_remove function weren't called for /dev/ttyUSB1 and /dev/ttyUSB2. So at the resume, it directly enumerate with /dev/ttyUSB3 and /dev/ttyUSB4.

I don't know how to proceed to change the driver to reach my goal or I should try other directions?

Any hint will be appreciated!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
suspend to disk issue ksmatthews Linux - Software 1 12-09-2009 04:29 AM
suspend issue gerryd Linux - Newbie 3 11-16-2009 03:58 AM
Issue Connecting Wifi after pm-suspend Romanus81 Slackware 1 09-14-2009 06:52 AM
Issue when resume from suspend in Slack 12.1 lordwolf Slackware 8 12-03-2008 07:24 AM
Linux USB Enumeration Vs Windows USB Enumeration rajasekarpadmanaban Linux - Software 1 05-02-2007 03:36 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration