Click to See Complete Forum and Search --> : slackware usb question


drake79
10-29-2004, 09:10 PM
I've installed slackware 10 and with the support of this site have gotten everything working with one exception. I've downloaded mmXMPCR and have tried installing it. It installs just fine but when I try running it, I get an error similar to this: "/dev/ttyUSB0 no device found"

An "ls -l /dev/ttyUSB0" returns this:

crwxrwxrwx 1 root uucp 188, 0 2004-10-29 00:13 /dev/ttyUSB0


I'm beginning to wonder if I have the right usb modules loaded, so I tried and lsmod and it returned this:


Module Size Used by Not tainted
usbcore 59308 0 (unused)
snd-pcm-oss 37736 1
snd-mixer-oss 12504 0 [snd-pcm-oss]
snd-emu10k1 62920 2
snd-pcm 56072 0 [snd-pcm-oss snd-emu10k1]
snd-timer 13604 0 [snd-pcm]
snd-hwdep 4804 0 [snd-emu10k1]
snd-page-alloc 6328 0 [snd-emu10k1 snd-pcm]
snd-util-mem 1136 0 [snd-emu10k1]
snd-ac97-codec 49500 0 [snd-emu10k1]
snd-rawmidi 12740 0 [snd-emu10k1]
snd-seq-device 3888 0 [snd-emu10k1 snd-rawmidi]
snd 30852 1 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device]
soundcore 3396 8 [snd]
ntfs 51424 1 (autoclean)
ide-scsi 9328 0
agpgart 43940 0 (unused)


is there any other usb modules that I'm missing or does my problem lie elsewhere?


Thanks

MMYoung
10-29-2004, 10:02 PM
A shot in the dark, but have you added yourself, ie username, to the uucp group? Don't know if that will help but you might try it for grins and giggles.

HTH,
MMYoung

BTW, what is mmXMPCR?

MMYoung
10-29-2004, 10:09 PM
Never mind, I did a search for mmXMPCR.

As far as modules are concerned here are the modules that I have loaded for USB:
uhci_hcd 28944 0
ehci_hcd 27524 0

Also if you are running a 2.6.x kernel it might have something to do with udev, although I doubt it. Just a possiblility.

Later,
MMYoung

drake79
10-30-2004, 12:37 AM
Thanks for the reply.

As a test I chgrp'd /dev/ttyUSB0 to the 'users' group AND tried to run the prog as root but still with the same error. I also tried loading the modules you mentioned but got "module not found" on both. I also uncommented all the modules having to do with usb and still nothing.

During install I selected the bare kernel, is there a kernel I should've selected that would load something that would help me?


Thanks again.

MMYoung
10-30-2004, 07:57 AM
Are you running the stock kernel that came with Slackware 10 (2.4.26), or have you compiled one yourself? Reason I ask is that in order to see a module that is running it must be a module (of course ;)), however if you compiled the kernel yourself and compiled the ehci and ohci drivers into the kernel, as opposed to outside the kernel as a module, then they wouldn't show up using lsmod even though they are running.

What does the output of lspci show for usb? Mine lists the following:

00:0b.0 USB Controller: NEC Corporation USB (rev 43)
00:0b.1 USB Controller: NEC Corporation USB (rev 43)
00:0b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)

Later,
MMYoung

BTW, I alway use the bare.i kernel when I install.

drake79
10-31-2004, 11:50 PM
I'm using the stock bare.i kernel, I haven't gotten around to compiling the most recent. Below is the only line from lspci that deals with usb is this one:


00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)


Thanks again for the reply