LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Closed Thread
  Search this Thread
Old 01-22-2005, 05:44 PM   #1
salukibob
LQ Newbie
 
Registered: Mar 2001
Location: South of England
Posts: 9

Rep: Reputation: 0
USB Device not found when hotplugging


Hi There,

I'm having a real problem with getting my USB hotplugging working. Basically, I have three USB peripherals (mouse, camera, and serial converter), all of which I would like to be able to hot plug. All of these devices are recognised without a problem when I have them plugged in before booting (i.e. coldplugging). They all appear in the /proc/bus/usb/devices file.

However, if I plug them in after boot, nothing happens. I have compiled in to my kernel USB debug messages, and still nothing in /var/log/messages, debug, syslog or kern.log, if I plug in a device whilst up and running.

My kernel version is 2.6.8 running a debian unstable distribution. In my kernel .config file I have CONFIG_HOTPLUG=y, and /proc/sys/kernel/hotplug contains /sbin/hotplug.

When I plug a device in, the /sbin/hotplug is never called. I have verified this by adding output to file commands in the script (I added 'echo $1 > "/root/hotplug.debug" to the script).

The usb drivers I have installed are usbcore, uhci-hcd & ehci-hcd (both correct using the output from lspci), usb-storage, usbserial and usbhid.

As things do work for cold-plugging, it can't be the driver setup, so must be something i've configured wrong to do with hotplugging support, but I can't find any info on that whatsoever after numerous google efforts.

Any suggestions?

Thanks for any help
salukibob
 
Old 01-23-2005, 12:01 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Please post any replies here Thanks -- J.W.
 
  


Closed Thread



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 Hotplugging Howto? mooreted Mandriva 4 02-04-2005 11:04 AM
USB Device no found when hotplugging salukibob Linux - Hardware 1 01-24-2005 08:03 PM
HP Deskjet 3322 and Debian Testing - USB device not found? OwlManAtt Linux - Hardware 1 05-15-2004 09:29 AM
USB Hotplugging in LFS urk_forever Linux From Scratch 1 04-20-2004 04:36 PM
USB storage device not found Canadian_2k2 Linux - Hardware 2 10-25-2003 01:57 AM

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

All times are GMT -5. The time now is 02:06 AM.

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