Solved

USB Problem on (Gentoo) Linux....

Posted on 2004-08-11
6
806 Views
Last Modified: 2008-01-09
So, here's the deal:

I think my hardware (USB Port) on my notebook is dying -- however, having said that ....

It seems that *sometimes* Linux notices my Bluetooth USB dongle is in, and other times it does not -- the USB port feels loose, so I attribute it to a bad USB port; however, when I boot into Windows XP, it never has ANY problems ... which makes me back up and say, "While the port might be loose, it seems to be working." (I will note, the USB dongle ALWAYS gets power on the Linux side, too).

SOoooooooooo, I reinstalled BlueZ, updated the kernel, etc.. nothing helps -- about 20% of the time it works (if I do 'shutdown -h now' -- restart that is) ....

Question is -- is there a way to "flush" out the kernel memory, to make sure it knows it's disconnected?  Or, to "restart" the USB "plug and play" from BlueZ ?  I really need this box, as it's a demo box for a Bluetooth app., and going to meetings with a 20% chance of it working is rather embarassing ... buying a new notebook now is out of the questions (lack of $$$$$) ...

My only hope is being able to "reset" the USB or flush the memory to insure the kernel KNOW it isn't connected ....

Any ideas?  (BTW, it used to work without problem and nothing changed software wise, so it is probably the port -- but why does it work on Windows then -- ugh!)

0
Comment
Question by:praefectus
  • 3
  • 3
6 Comments
 
LVL 3

Accepted Solution

by:
pYrania earned 240 total points
ID: 11770712
It's probably a problem with the kernel's usb driver, which is not a gentoo related problem.

unload the dongle driver and the usb driver afterwards and reload them again in reverse order, that should help.
are you using hotplug?
0
 
LVL 3

Author Comment

by:praefectus
ID: 11771048
Yeap, using hotplug ....

So, I should unload the BlueZ drivers and then the USB drivers?  How do I unload?  You mean remove and re-install?
0
 
LVL 3

Expert Comment

by:pYrania
ID: 11771280
rmmod <BlueZ driver> && rmmod usb-(e|u|o)hci
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 3

Expert Comment

by:pYrania
ID: 11771283
err with hotplug a simple /etc/init.d/hotplugd restart might work also
0
 
LVL 3

Author Comment

by:praefectus
ID: 11771620
Thanks, I'll give the hotplug restart a try ... that doesn't work, I'll try re-installing, but we've done it twice now -- nothing has changed.  I'll let you know ASAP ...

0
 
LVL 3

Author Comment

by:praefectus
ID: 13114472
Nothing really helped, as it just might be a USB port (hardware) problem itself ... thanks for helping.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trying to make SNMP connection work 7 65
nagios monitor 3 44
High Available Storage based on linux 6 69
video edge NVR Device Discovery Problem 4 34
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now