LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-11-2011, 09:12 AM   #1
madsci1016
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Rep: Reputation: Disabled
Question USB devices randomly don't appear after boot OpenSUSE 10.3


I have a embedded computer running 11.3 (stuck with that version) that has USB device issues.

In reality, it has two USB devices attached, both FTDI FT232 USB to Serial Uart driven hardware. Both usually are at /dev/ttyUSB0 and 1 when everything goes right. The latest FTDI driver is already in the kernel.

Randomly however, when it boots one or both will be missing in dev.

If we only leave one physically attached before booting, sometimes it comes up ok, the other times there's no listing in /dev/ or lsusb. But when we do run lsusb once and watch the system log, suddenly the device is found and 'attached'. Then it works fine.

I've repeated this with another test USB device (and old cell phone that gets installed as a ceullar modem) and the same thing can happen. It will randomlyy be missing from lsusb listing till lsusb is run once. IE, run it once, no listing, run it again, then it shows up and the system log saya it was just attached.

If we leave both, sometimes one device (Call this one A) is ready to go, but device B is missing. If we unplug B, A dissapears from /dev/ and the system log says A was unpluged. The when we reattach B, both show up in /dev/ and the system log reports two USB devices were attached. running lsusb doesn't fix one or both missing when they are both physically attached.

This is an embedded system and we need both to be discovered at boot 100% of the time. Any ideas what might be going on?

Last edited by madsci1016; 08-11-2011 at 10:36 AM. Reason: wrong version number
 
Old 08-11-2011, 10:36 AM   #2
madsci1016
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
I do mean 11.3, sorry about that.
 
Old 08-11-2011, 08:04 PM   #3
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
I think that comparing dmesg between when it works right and when it doesn't work right might help to give us a clue what is happening.
 
Old 08-12-2011, 11:08 AM   #4
madsci1016
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by qlue View Post
I think that comparing dmesg between when it works right and when it doesn't work right might help to give us a clue what is happening.
I'll try to capture the dmesg next time I'm near the system, but from what I remember it looked normal, nothing related to USB when the system boots with no devices logically found, till you run lsusb when the tail is updateds with messages about a new USB device attached.

In the meantime,

I think we have narrowed this problem down to a linux<->chipset driver issue. ANYTHING usb will randomly not be present at boot. Keyboards, mice, etc. Sometimes running lsusb 'discovers' the devices, sometimes not.

Disabling Legacy USB support in the bios seems to make the problem less prevalent, (1 out of 8 boots as opposed to 3 out of 5) but doesn't fix it completely.

The computer is Atom z530 processor based with the US15W chipset.

We are trying to sneak in a kernel update, but it would help if we found knowledge of this bug first for justification.
 
Old 08-12-2011, 03:42 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Some distros make you want a long time on boot. The statement is something like waiting for usb devices to settle. I think there is a way to add in some wait time on boot at that point to try to fix that.

But, I do know that many of those usb to serial devices stink and they could be causing this.
 
  


Reply



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
USB Mass storage devices don't work in linux 2.6.[9,11.x] _private Debian 9 11-06-2013 06:46 AM
Usb storage devices don't work, everything else usb does scheme Ubuntu 5 01-04-2011 03:44 PM
USB devices not recognized with OpenSuse 11.0 moegreen Linux - Newbie 1 11-19-2009 03:55 PM
USB Serial devices assigned randomly? fang0654 Ubuntu 3 08-29-2008 01:52 PM
enabled usb devices for virtualbox in opensuse 10.3 dissident_goodchild Linux - Software 4 12-05-2007 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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