LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-15-2007, 06:03 AM   #1
DaneelGiskard
LQ Newbie
 
Registered: Apr 2007
Posts: 24

Rep: Reputation: 15
udev: problems at boot, works fine later


Hi!

I'm using a udev rule in /etc/udev/rules.d/10-local.rules to assign a specific USB device a special name:

SYSFS{idProduct}=="e02d", SYSFS{idVendor}=="147a", NAME="usb_irc_receiver"

However, this does not work fine at boot. When I restart the machine the /dev/usb_irc_receiver file is created, but I cannot read from it using cat (it returns immediately without any output). If I then re-plugin the USB device it starts working fine.

Can I somehow tell udev to re-mount all USB devices (or just that single one) at a later point (without replugging it), since there seem to be problems when it tries to mount it at boot time?

Any other ideas?

Thanks,
Michael

Last edited by DaneelGiskard; 04-15-2007 at 06:06 AM.
 
Old 04-15-2007, 06:45 AM   #2
DaneelGiskard
LQ Newbie
 
Registered: Apr 2007
Posts: 24

Original Poster
Rep: Reputation: 15
Hi all,

after some more googling, I think unloading and reloading the kernel module which takes care of this usb device might work. But I've no idea how to do that with FC6 and the latest kernel. Any ideas?

Many thanks,
Michael
 
Old 04-15-2007, 08:02 AM   #3
DaneelGiskard
LQ Newbie
 
Registered: Apr 2007
Posts: 24

Original Poster
Rep: Reputation: 15
Hi all,

I resolved the problem by doing:

/sbin/rmmod ehci_hcd
/sbin/rmmod ohci_hcd
/sbin/rmmod uhci_hcd
/sbin/modprobe ehci_hcd
/sbin/modprobe ohci_hcd
/sbin/modprobe uhci_hcd

in rc.local.

All the best,
Michael
 
  


Reply


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
X won't start at boot, startx works fine though TLV Debian 15 01-03-2007 09:10 AM
ALSA has problems on 2.6.10, 2.6.9 works fine. gbkyle Linux - General 1 03-22-2005 03:21 AM
Boot from hard drive stalls, rescue CD works fine jonr Mandriva 12 11-09-2004 07:54 PM
Fedora freeze on initial boot, but works fine on reboot. petterdk Linux - Laptop and Netbook 0 04-19-2004 10:23 AM
iptables works fine but not after boot wslogue Linux - Security 2 11-24-2003 10:51 AM


All times are GMT -5. The time now is 03:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration