Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Successfull hardware autodetection
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
posthuman_5
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 154
Location: San Juan, PR

PostPosted: Fri Jul 23, 2004 4:53 am    Post subject: Successfull hardware autodetection Reply with quote

Hi,
I have been having a HECH of a headache trying to get hardware autodetection SUCCESULLY work.Well i am tried lol :cry:
So i wish to know if anybody out there has been able to get HARDWARE AUTODETECTION actually and successfully work lol.Doesnt matter if i have to use genkernel or whatever, but i need at howto to get hardware autodetection working so my kernel autoloads the necesary modules for all hardware once i plug them in.
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Fri Jul 23, 2004 4:57 am    Post subject: Reply with quote

doesnt hotplug do this?

chris
Back to top
View user's profile Send private message
posthuman_5
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 154
Location: San Juan, PR

PostPosted: Fri Jul 23, 2004 6:19 am    Post subject: Tried. Reply with quote

Well i have tried with hutplug but i connect a "stv680" cam,wich drivers of it are in the kernel and i dont see any /dev/video or /dev/v4l created nor the module loaded when doing lsmod :-S
Back to top
View user's profile Send private message
Braetene
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2004
Posts: 89

PostPosted: Fri Jul 23, 2004 8:20 am    Post subject: Reply with quote

maybe you should be looking at plug n play in the kernel, seems more of a plug n play kind of thing
_________________
I will not fear.
Fear is the mind killer.
I will face my fear.
I will let it pass through me.
- Leto Atreides II
Back to top
View user's profile Send private message
posthuman_5
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 154
Location: San Juan, PR

PostPosted: Fri Jul 23, 2004 5:13 pm    Post subject: In Kernel Reply with quote

I have that compiled in my kernel(2.6.7-gentoo-r11) as * not M
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Fri Jul 23, 2004 5:34 pm    Post subject: Reply with quote

how bout suport for the usb devices that you want to autoload support for? are you compiling them in or as modules?

chris
Back to top
View user's profile Send private message
posthuman_5
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 154
Location: San Juan, PR

PostPosted: Fri Jul 23, 2004 5:35 pm    Post subject: Reply with quote

as modules.
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Fri Jul 23, 2004 5:54 pm    Post subject: Reply with quote

have a look at /etc/hotplug/usb.usermap. It's setup just like /etc/hotplug/usb.distmap but it is for adding support for your own devices.

Are you using usbfs?

chris
Back to top
View user's profile Send private message
posthuman_5
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 154
Location: San Juan, PR

PostPosted: Fri Jul 23, 2004 6:22 pm    Post subject: Reply with quote

this is my /etc/hotplug/usb.usermap:

# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info

ALL that is just one line in the file.
Yes i am using usbfs
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Fri Jul 23, 2004 7:04 pm    Post subject: Reply with quote

yes, under that you need to then add a line for your device that you want hotplug to autoload for you. have a look at /etc/hotplug/usb.distmap for examples. As for all of the information that it wants you to enter I'm not sure where you would find all of it but you might be able to find it somewhere in /proc/usb. Sorry I'm not more help, but I have never done this before. Just hope that my advice is getting you closer to your goal.

chris
Back to top
View user's profile Send private message
posthuman_5
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 154
Location: San Juan, PR

PostPosted: Fri Jul 23, 2004 7:05 pm    Post subject: Reply with quote

no problem..I will test :-D
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