Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th December 2005, 08:44 AM
brasse Offline
Registered User
 
Join Date: May 2005
Posts: 4
hotplug, cold plugging, usb, fc3

Hello!

I have some questions about how FC3 handles cold plugging of usb devices.

Basically I have a usb touch screen device that I want to enable hotplugging for. I have managed to get everything working as I want to when I boot my computer without the device attached. What I have done is the following:

* Copied the device driver to /lib/modules/2.6.10-1.770_FC3smp/kernel/drivers/usb/input/tkusb.ko
* Run depmod -a
* Added this hotplug script (/etc/hotplug/usb/tkusb);

Code:
#!/bin/bash 
if [ "${ACTION}" = "add" ]; then 
  /usr/bin/tpaneld 
  touch $REMOVER 
  chmod 755 $REMOVER 
cat > $REMOVER <<EOF 
#!/bin/bash 
killall tpaneld 
EOF 
fi
This makes the tpaneld daemon start and stop when I insert and remove my device.

However, if I boot the computer with the device attached things does not work as I would have hoped. What happens is that the tkusb.ko kernel module is loaded but tpaneld is not running. Because of this my guess is that the /etc/hotplug/usb/tkusb script is not being run.

Can anyone tell me how FC3 handles usb devices as boot. Somehow it has managed to load the correct kernel module, without running my hotplug script, and I guess that this is part of some cold plugging implementation. Is there some way that I can get my own hotplug script to run as part of this boot up handling? Maybe some knows something about FC3 cold plugging that can help me here?

Regards,
Mattias
Reply With Quote
Reply

Tags
cold, fc3, hotplug, plugging, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A tad cold in the UK? Wayne Wibble 29 8th February 2009 06:42 PM
A cold winter Wayne Wibble 1 15th February 2007 04:20 PM
Flash not Plugging In to Firefox Eraph Using Fedora 6 11th June 2006 01:17 AM
hotplug, cold plugging, usb, fc3 brasse Hardware & Laptops 1 6th December 2005 08:42 AM


Current GMT-time: 12:28 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat