LinuxQuestions.org
Visit Jeremy's Blog.
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 08-16-2003, 08:07 AM   #1
desolat
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: suse 10.1
Posts: 23

Rep: Reputation: 15
Question Disabling USB for vmware4


Hello all, I am trying to use a KDS CD organizer in vmware (the software uses M$ databasing). It is a USB device, and vmware's help texts say I need to disable the Linux device drivers for the device so that vmware can use it. They say to use the rmmod command or go into /etc/hotplug if it was loaded automatically by hotplug. The problem is, I don't know WHICH module to unload with rmmod, nor have I figured out exactly what all is going on in the hotplug directory. I don't want to kill all USB because my mouse is running on it. I need to unload this specific device only, but don't know what Linux is calling it. I would like to just put a rmmod command in my boot files (seems the easiest-dunno). Can anyone help out?
 
Old 08-16-2003, 08:13 AM   #2
jvds
Member
 
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
What is the KDS CD organizer? Some sort of extrnal CD-Rom?

Also posting lsmod might help

Rgds

Rus
 
Old 08-16-2003, 12:03 PM   #3
desolat
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: suse 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jvds
What is the KDS CD organizer? Some sort of extrnal CD-Rom?

Also posting lsmod might help

Rgds

Rus
http://www.kdsusa.com/product_details.asp?prod=48

Below is the output of lsmod (a command which I had no knowledge of before you metioned it-- thankyou, you've taught me something already):

[root@localhost root]# lsmod
Module Size Used by Tainted: PF
msdos 7404 0 (autoclean)
isofs 27988 1 (autoclean)
zlib_inflate 21156 0 (autoclean) [isofs]
udf 90464 0 (autoclean)
appletalk 25700 1 (autoclean)
ipx 21252 1 (autoclean)
binfmt_misc 7020 1
vmnet 23400 5
vmmon 27956 11
autofs4 11540 2 (autoclean)
lp 8096 0 (autoclean) (unused)
parport 34176 0 (autoclean) [lp]
agpgart 40896 3 (autoclean)
nvidia 1767264 11 (autoclean)
audigy 70952 3
ac97_codec 12488 0 [audigy]
sound 70644 0 [audigy]
nfsd 74256 0 (autoclean)
af_packet 14952 1 (autoclean)
sr_mod 16920 0 (autoclean)
floppy 55132 2
button 3724 0 (unused)
thermal 8224 0 (unused)
processor 10872 0 [thermal]
fan 2528 0 (unused)
ac 2784 0 (unused)
battery 7008 0 (unused)
3c59x 29584 1 (autoclean)
ohci1394 19048 0 (unused)
ieee1394 45900 0 [ohci1394]
nls_cp850 4316 1 (autoclean)
vfat 11820 1 (autoclean)
fat 37944 0 (autoclean) [msdos vfat]
nls_iso8859-1 3516 3 (autoclean)
ntfs 76812 1 (autoclean)
supermount 15296 3 (autoclean)
ide-cd 33856 2
cdrom 31648 0 [sr_mod ide-cd]
tuner 11744 1 (autoclean)
tvaudio 15068 0 (autoclean) (unused)
msp3400 17804 1 (autoclean)
bttv 78496 0
videodev 7872 3 [bttv]
i2c-algo-bit 9064 1 [bttv]
i2c-core 21192 0 [tuner tvaudio msp3400 bttv i2c-algo-bi
soundcore 6276 0 [audigy sound bttv]
ide-scsi 11280 0
scsi_mod 103284 2 [sr_mod ide-scsi]
usbmouse 2936 0 (unused)
keybdev 2720 0 (unused)
mousedev 5268 2
hid 20900 0 (unused)
input 5664 0 [usbmouse keybdev mousedev hid]
usb-uhci 24652 0 (unused)
usbcore 72992 1 [usbmouse hid usb-uhci]
rtc 8060 1 (autoclean)
ext3 59916 2
jbd 38972 2 [ext3]


Keep in mind my ASUS board has two USB controllers onboard for a total of four USB1.1 ports (and all are enabled). However only the two in the rear have anything plugged in right now, the USB mouse and the KDS. If anyone knows of a Linux native driver and software for this CD organizer, I'd love to know, but for now I'd like to get it running in vmware.
 
Old 08-16-2003, 03:12 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Remove the KDS CD organizer. Wait a few minutes for hotplug to remove the module. Type /sbin/lsmod > modulelist

Insert the KDS CD organizer. Wait a few minutes for hotplug to install the module. Type /sbin/lsmod > modulelist-with-KDS-CD-organizer. Compare modulelist and modulelist-with-KDS-CD-organizer with the diff command. Do man diff to found out how to use the diff command.

You have appletalk. Remove that. It going to hurt your network performance.
 
Old 08-16-2003, 09:32 PM   #5
desolat
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: suse 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
Oh man, I should have thought of comparing the system with and without, good idea. But I've never used diff, so that's even better. OK that sounds good. But how do I disable modules the proper way so they don't go in at boot time (like the appletalk for starters)?
 
Old 08-16-2003, 09:50 PM   #6
desolat
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: suse 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
Hmmm, that test brought me just more confusion, perhaps you can make sense of it. Here is the only difference that occurs. lsmod outputs show a difference in the "used" column of the lsmod output when plugging and unplugging the CD org. WITH the device plugged in, it shows a "1" and unplugged shows a "2". I'm about to do a man lsmod to try to figure out what I'm reading, but your thoughts would be appreciated too. Below is the diff output.


diff modulelist modulelist-no-CD-org
37c37
< ide-cd 33856 1
---
> ide-cd 33856 2
 
Old 08-17-2003, 07:20 AM   #7
desolat
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: suse 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
One other thing. When I plug the CD org into one of the FRONT two ports (my 2nd onboard USB controller), then it goes from 2 to 3 on the "ide-cd" line in lsmod. That is, 3 when it is unplugged and 2 when it is plugged in. ??? WTH?
 
Old 08-17-2003, 08:56 AM   #8
desolat
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: suse 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
OK I found the driver that is tying it up. It's called HID. If I rmmod that, I still have a mouse, but the CD org is operational in vmware. Great huh? Nope, all CD writing software can no longer find my CD-RW drive, and the entire system become unstable as well, like as in konqueror locking, shells not fully starting and not taking input, and ctl-alt-F6 and logging in as root and init 6 or halt won't even shut down the system. It seems to me that hid driver is somehow tied to the ide-cd driver because of the behavior of the CD writing software once I unload hid. So what I want to try is PREVENT hid module from EVER loading during boot. How can I do that?
 
Old 08-17-2003, 05:57 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
If you have hotplug, put the module's name in the blacklist file under /etc/hotplug. Though if the module is compiled in to the kernel, it won't work this way.
 
Old 08-17-2003, 08:53 PM   #10
desolat
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: suse 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
Yep, I found that, and put it in there, but it does not work. usb-uhci is in the blacklist already and it still loads too. I thought it was going to be pretty slick, but it is pretty much worthless for my problem unfortunately. Is there anything else I can do???
 
Old 09-11-2003, 09:46 PM   #11
desolat
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: suse 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
hmmm, well no one has any other ideas? It'd be nice to be able to free this port up for vmWare, I still really need to do this...
 
  


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
Fedora3 question in vmware4 Elonch Linux - Laptop and Netbook 1 12-23-2004 03:08 PM
x respawning too fast on VMWare4( for windows) HSV Guy Linux - General 1 03-13-2004 01:41 PM
Redhat 9 disabling USB in BIOS chmodman Linux - Hardware 1 08-27-2003 12:10 AM
mandrake 9.1+vmware4 ntechnik Linux - Hardware 1 05-23-2003 05:58 PM
Slackware9 and vmware4 Deceiver83 Linux - Software 1 04-30-2003 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:05 AM.

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