LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-20-2005, 01:12 AM   #1
Pratt
Member
 
Registered: Apr 2005
Location: Colombia
Distribution: Slackware 14.2
Posts: 82

Rep: Reputation: 18
Hotplug Question


Hi there, first off all, i just want to say, that i dont write/speak english very well, so pardon me, if my english sounds *rude*, or disrespectfull, i am a *English-Newbie*, trying to *hack* my way into the language...

My problem is that, everytime i turn on my PC, i have to wait, till the Hotplug recognizes my (onboard)soundcard (Its called something with Viaxxxx)... If i disable the Hotplug, the soundcard does not get recognized by my Slackware 10.1 ....
Is there a way to avoid that? i mean, to put the devices in some kind of list, so that i dont have to wait till the Hotplug does his thing?
How do i see what the hotplug recognizes?... I guess i have to do something like *modprobe -whatever* but im just a newbie... if someone could help me out there, that would be great...

And another bonus-question: ive got a really cheap/old usb Logitech webcam... and ive also have an analog PCI TV card.. the problem is, i cant get the webcam to work.. everytime i try to use it (No matter what program), ive always get to choose one *capture* device, which is somthing like *bttv*, and thats the name of my TV card.... Obiously, when i choose that device, i get to see the image of the TV card....
Can someone, kindly give me some pointers here too?

The output of my lsusb:
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 046d:0920 Logitech, Inc.

The output of my lspci:
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev10)
00:0c.0 Modem: PCTel Inc HSP MicroModem 56 (rev 02)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 23)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 40)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4200] (rev a3)

The output of my lsmod:
Module Size Used by Tainted: P
ppp_async 6528 1 (autoclean)
ppp_generic 19364 3 (autoclean) [ppp_async]
slhc 4592 0 (autoclean) [ppp_generic]
snd-pcm-oss 36704 0
snd-mixer-oss 12152 1 [snd-pcm-oss]
tuner 9640 1 (autoclean)
tvaudio 12968 0 (autoclean) (unused)
bttv 95680 0
i2c-algo-bit 7112 1 [bttv]
i2c-core 12676 0 [tuner tvaudio bttv i2c-algo-bit]
videodev 5760 2 [bttv]
8139too 13928 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
uhci 24284 0 (unused)
usbcore 58860 1 [uhci]
snd-via82xx 12928 4
gameport 1420 0 [snd-via82xx]
snd-ac97-codec 52472 0 [snd-via82xx]
snd-pcm 54504 1 [snd-pcm-oss snd-via82xx snd-ac97-codec]
snd-timer 13412 0 [snd-pcm]
snd-mpu401-uart 3200 0 [snd-via82xx]
snd-rawmidi 12320 0 [snd-mpu401-uart]
snd-seq-device 3812 0 [snd-rawmidi]
snd 31268 2 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codecsnd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 4712 0 [snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore 3396 4 [bttv snd]
nvidia 3205624 6
ntfs 51232 2 (autoclean)
ide-scsi 9392 0
agpgart 45092 3


Thanks there guys, i apreciate every help possible, since im kind of stuck here...
 
Old 04-20-2005, 02:49 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

in theory you could disable hotplut and "modprobe" everything that you see with lsmod.
how to do that?
1. lsmod > whatever
2. modify whatever in a way that looks like
Code:
modprobe snd_blahlbha
modprobe video_balla
..
..
change the permission of the hotplug script in a way that is not executable anymore.
and it is done.

regards

slackie1000

ps. and about your english skill don't worry. mine is much worst.
 
Old 04-20-2005, 07:31 AM   #3
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Rep: Reputation: 63
only one thing to add here.. I would not make the hotplug script not executable as it seems to cause other problems... I would pass the command "nohotplug" without the quotes to the kernel at boot..
 
Old 04-21-2005, 12:13 PM   #4
Pratt
Member
 
Registered: Apr 2005
Location: Colombia
Distribution: Slackware 14.2
Posts: 82

Original Poster
Rep: Reputation: 18
Thanks for the info.. just one question about de "nohotplug" thing...
I have to put de "nohotplug" flag in the Lilo.conf? , or do i have to do it via pkgtool? or, just type the comand as root?

And another question, do if i write: "modprobe snd_blablabla" once, i dont have to do it anymore?, or do i have to repeat it everytime i login?

thanks!
 
Old 04-21-2005, 12:29 PM   #5
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

in your lilo.conf...
Code:
append=nohotplug
run lilo again...

regards

slackie1000
 
Old 06-25-2005, 11:43 AM   #6
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
i have added that append=nohotplug to lilo.conf
when i run lil after saving it
i recieve Duplicate entry 'append' at or above line 6 in file '/etc/lilo.conf'

why is that?
 
Old 06-25-2005, 11:56 AM   #7
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
If you look at line 6, like the error says, you'll notice the line
Code:
append = "hdc=ide-scsi"
You can alter that to:
Code:
append = "hdc=ide-scsi nohotplug"
--Shade
 
Old 06-25-2005, 12:03 PM   #8
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
thank you
i added near the end it seem to work
anyway i need hotplug otherwise my mouse is not detected, its a usb connection.

can i add it using "modprobe mouse" or something like that, also Alsa mixer won't load either

any suggestions?
 
  


Reply



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
Hotplug question... darkarcon2015 Linux - Software 1 03-20-2005 12:04 PM
SCSI Scanner Hotplug Question failure_man Linux - Hardware 1 10-18-2004 12:17 PM
USB and hotplug question Grunty Slackware 3 08-15-2004 05:41 PM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM
hotplug ericsoft Slackware 1 10-03-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 PM.

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