Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usbfs or udev : wich one is loaded first ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
svoufff
n00b
n00b


Joined: 31 Oct 2006
Posts: 2

PostPosted: Mon Nov 06, 2006 5:10 pm    Post subject: usbfs or udev : wich one is loaded first ? Reply with quote

Hi,
i'm trying to make a midi audio interface (M-audio Midisport 2x2) work on Gentoo.
The device needs a firmware upload at boot time that is realized by fxload, after udev discovered the device.
The whole process doesn't woks at boot time.However, if i unplug/replug the usb cable once the OS is fully loaded, everything works perfectly.
So would it be possible that the USB filesystem (/proc/bus/usb) is not yet mounted when udev starts ?
If someone would know the relative boot order of usbfs and udev (and maybe how to change that) i would be soooo happy to learn about it.For now i'm stuck with this problem.

Thanks !


Last edited by svoufff on Tue Nov 07, 2006 3:53 am; edited 1 time in total
Back to top
View user's profile Send private message
dev-urandom
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 260
Location: Huh?

PostPosted: Mon Nov 06, 2006 10:47 pm    Post subject: Re: usbfs or udev : wich one is loaded first ? Reply with quote

svoufff wrote:
Hi,
i'm trying to make a midi audio interface (M-audio Midisport 2x2) work on Gentoo.
The device needs a firmware upload at boot time that is realized by fxload, after udev disvovered the device.
The whole process doesn't woks at boot time.However, if i unplug/replug the usb cable once the OS is fully loaded, everything works perfectly.
So would it be possible that the USB filesystem (/proc/bus/usb) is not yet mounted when udev starts ?
If someone would know the relative boot order of usbfs and udev (and maybe how to change that) i would be soooo happy to learn about it.For now i'm stuck with this problem.
Thanks !


/proc/bus/usb is mounted from localmount - this happens during the boot softlevel. I am not sure about udev, but IMHO this should be after usbfs is mounted. Now to answer your question, you should be looking at coldplug IIRC. This does a lot of funky initialization stuff during bootup - also you could try tweaking your udev rules to see whether that might help.
_________________
/earth: file system full.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum