LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-03-2004, 06:05 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
usb stopped working FC1


Hi,

I had RH9, my camera and printer worked fine.

Upgraded to FC1, still worked fine. Decided to remove XP from computer so reinstalled FC1 to use whole disk, usb devices still worked fine.

Decided to re-install because I had done a workstation class install but I wanted to have kde, qt etc etc so I did a custom install and picked almost everything.

Now none of the usb devices I plug in are recognised, and /proc/bus/usb does not exist.

All the fedora installs were done with the same set of disks, same kernel and package versions.




I have done two days of but I can't find anything that relates and I need to get the printer working asap because the Mrs wants to print stuff , so any suggestions as to what I might have missed when installing would be very helpful.
 
Old 05-04-2004, 09:00 AM   #2
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
anybody? puh-leeeez
 
Old 05-04-2004, 10:29 AM   #3
jon-do
Member
 
Registered: Feb 2004
Distribution: Red 9, FC 2 Test 3
Posts: 98

Rep: Reputation: 16
Post the output of lsmod
 
Old 05-05-2004, 07:10 AM   #4
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
Code:
[mark@localhost mark]$ /sbin/lsmod
Module                  Size  Used by    Tainted: P
ipt_REJECT              4344   1 (autoclean)
ipt_state               1080   3 (autoclean)
ip_conntrack           29256   1 (autoclean) [ipt_state]
iptable_filter          2444   1 (autoclean)
ip_tables              15776   3 [ipt_REJECT ipt_state iptable_filter]
nls_iso8859-1           3516   0 (autoclean)
udf                    98496   0 (autoclean)
ppp_deflate             4536   1 (autoclean)
ppp_async               9472   1 (autoclean)
ppp_generic            24476   3 (autoclean) [ppp_deflate ppp_async]
slhc                    6756   1 (autoclean) [ppp_generic]
i810_audio             27752   1 (autoclean)
ac97_codec             17192   0 (autoclean) [i810_audio]
soundcore               6468   2 (autoclean) [i810_audio]
parport_pc             19076   1 (autoclean)
lp                      9060   1 (autoclean)
parport                37056   1 (autoclean) [parport_pc lp]
autofs                 13364   0 (autoclean) (unused)
e100                   56100   0
floppy                 58012   0 (autoclean)
sg                     36492   0 (autoclean)
sr_mod                 18168   0 (autoclean)
microcode               4700   0 (autoclean)
ide-scsi               12208   0
scsi_mod              108168   3 [sg sr_mod ide-scsi]
ide-cd                 35776   0
cdrom                  33728   0 [sr_mod ide-cd]
mousedev                5556   1 (autoclean)
input                   5888   0 (autoclean) [mousedev]
agpgart                54820   3 (autoclean)
nvidia               2126088   6 (autoclean)
ext3                   71300   1
jbd                    52084   1 [ext3]
Thanks for taking a look,

mark
 
Old 05-05-2004, 09:49 AM   #5
jon-do
Member
 
Registered: Feb 2004
Distribution: Red 9, FC 2 Test 3
Posts: 98

Rep: Reputation: 16
I see your scsi-device module is loaded

plug in the usb device and post the output of this command at a shell prompt

Code:
tail -s 3 -f /var/log/messages
Also, do you have a mount point for the usb devices in /etc/fstab

Also, one thing to try is reboot with the usb device attached to the usb port and see if kudzu will detect it
 
Old 05-06-2004, 08:47 AM   #6
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
jon-do, I really appreciate you trying to help on this thanks again.

The output of

tail -s 3 -f /var/log/messages

just shows my ip address etc messages from pppd from my dial up and a message from pam about su-ing to root and running the command.

fstab doesn't (I think) have any mount points for usb, unless /dev/pts is it:

Code:
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1             /mnt/cdrom1             udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0

Cheers.
mark
 
Old 05-06-2004, 08:51 AM   #7
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
Also, I have done the re-boot without anything connected and with one and two things connected but kudzu did not detect any changes

mark
 
Old 05-06-2004, 11:30 AM   #8
jon-do
Member
 
Registered: Feb 2004
Distribution: Red 9, FC 2 Test 3
Posts: 98

Rep: Reputation: 16
from a shell
Code:
rpm -qa |grep hotplug
If you have the package installed it will list it, if not
Code:
yum update hotplug
or 
apt-get install hotplug
add this entry to /etc/fstab
Code:
/dev/sda1            /mnt/usbstick                  ext3                      user,noauto,umask=0  0 0
create the mount point from the shell as root
Code:
mkdir /mnt/usbstick
Reboot and login and then try the usb device.

Hope this works
 
Old 05-07-2004, 08:11 AM   #9
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
I found hotplug in /sbin so I ran /sbin/hotplug usb.

Then I put the camer in, turned it on and ran:

tail -s 3 -f /var/log/messages

The last line now says:

May 7 19:52:10 localhost usb.agent[5681]: Bad USB agent invocation, no action

Then I turned on the printer, ran hotplug --usb and tried to print a test page. Tail's last lines report:

May 7 20:00:43 localhost gconfd (root-5859): starting (version 2.4.0), pid 5859 user 'root'
May 7 20:00:43 localhost gconfd (root-5859): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
May 7 20:00:43 localhost gconfd (root-5859): Resolved address "xml:readwrite:/root/.gconf" to a writable config source at position 1
May 7 20:00:43 localhost gconfd (root-5859): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2

Does this give any more clues as to what is wrong?

Thanks,

mark
 
Old 05-07-2004, 08:35 AM   #10
jon-do
Member
 
Registered: Feb 2004
Distribution: Red 9, FC 2 Test 3
Posts: 98

Rep: Reputation: 16
I am running out of ideas and hotplug is suppose to automatically detect your devices.
The only thing I can think of is......
reboot.
open a shell as su
/sbin/modprobe usb-storage
plug in usb device
tail -s 3 -f /var/log/messages

If that doesn't work, then I have no more clues
 
Old 05-07-2004, 10:43 AM   #11
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
I think we are getting there, and once again I am *very* grateful for you taking the time to post in this thread:

[root@localhost mark]# /sbin/modprobe usb-storage
[root@localhost mark]# tail -s 3 -f /var/log/messages
May 7 22:10:55 localhost pppd[1670]: secondary DNS addressXXX
May 7 22:11:12 localhost su(pam_unix)[1725]: session opened for user root by mark(uid=500)
May 7 22:11:25 localhost pppd[1670]: CCP: timeout sending Config-Requests
May 7 22:14:10 localhost su(pam_unix)[1725]: session closed for user root
May 7 22:16:08 localhost su(pam_unix)[1783]: session opened for user root by mark(uid=500)
May 7 22:16:24 localhost kernel: usb.c: registered new driver usbdevfs
May 7 22:16:24 localhost kernel: usb.c: registered new driver hub
May 7 22:16:24 localhost kernel: Initializing USB Mass Storage driver...
May 7 22:16:24 localhost kernel: usb.c: registered new driver usb-storage
May 7 22:16:24 localhost kernel: USB Mass Storage support registered.

So that looks good/better I think, do I need to make a mount point (?) for usbdevfs in /etc/fstab or somewhere?


mark
 
Old 05-07-2004, 03:11 PM   #12
jon-do
Member
 
Registered: Feb 2004
Distribution: Red 9, FC 2 Test 3
Posts: 98

Rep: Reputation: 16
Okay, create a mount point and an entry in /etc/fstab like in my previous post.
Plug in the usb device and hopefully is works

Last edited by jon-do; 05-07-2004 at 03:13 PM.
 
Old 05-09-2004, 05:43 AM   #13
rykel
Member
 
Registered: Jan 2004
Location: Singapore
Distribution: Main Distros: Ubuntu & SUSE, OTHERS: MEPIS, FC, Mandriva, Linspire, Xandros, Knoppix
Posts: 58

Rep: Reputation: 15
hi chefmark,

for more than 4 months, i couldn't get my USB to work in FC1... tried all the command lines and config files suggestions i could find, but still, no results...

finally, u know wat i found out?

well, my USB was basically damaged, way before i installed FC1 on the machine.

could this be ur problem as well? ie. ur USB port is damaged...

hope this helps!!


regards,

rykel
singapore
 
Old 05-09-2004, 06:45 AM   #14
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
Hi Rykel, thanks for the reply, but all my usb stuff worked fine before my last install so I am pretty sure I screwed it up.

It seems that another install and a few prayers are in my future

mark
 
Old 05-09-2004, 10:45 AM   #15
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
Success! (partial ;) )

jon-do
I did make an entry in fstab and also created the mount point as root, still no luck.

Today on a whim I dug up an old Creative camera, plugged it in and started Gnome meeting.

Hey presto the Gnome meeting window has no problem finding the camera (and displaying it's output)


Here is the (relevant) results of the Tail command:

Code:
[root@localhost mark]# tail -s 3 -f /var/log/messages

May  9 22:21:49 localhost kernel: usb.c: USB disconnect on device 00:1f.4-2 address 8
May  9 22:21:49 localhost devlabel: devlabel service started/restarted
May  9 22:22:04 localhost kernel: hub.c: new USB device 00:1f.4-2, assigned address 9
May  9 22:22:04 localhost kernel: ov511.c: USB OV511 video device found
May  9 22:22:04 localhost kernel: ov511.c: model: Creative Labs WebCam 3
May  9 22:22:04 localhost kernel: ov511.c: Sensor is an OV7610
May  9 22:22:05 localhost kernel: ov511.c: Device at usb-00:1f.4-2 registered to minor 0
May  9 22:22:08 localhost usb.agent[20204]: missing kernel or user mode driver ov511
May  9 22:22:09 localhost devlabel: devlabel service started/restarted
May  9 22:22:26 localhost modprobe: modprobe: Can't locate module sound-slot-1
May  9 22:22:26 localhost modprobe: modprobe: Can't locate module sound-service-1-0
May  9 22:22:26 localhost modprobe: modprobe: Can't locate module sound-slot-1
May  9 22:22:26 localhost modprobe: modprobe: Can't locate module sound-service-1-3
May  9 22:22:26 localhost modprobe: modprobe: Can't locate module sound-slot-1
May  9 22:22:26 localhost modprobe: modprobe: Can't locate module sound-service-1-0
May  9 22:22:26 localhost modprobe: modprobe: Can't locate module sound-slot-1
May  9 22:22:27 localhost modprobe: modprobe: Can't locate module sound-service-1-3
May  9 22:22:27 localhost modprobe: modprobe: Can't locate module sound-slot-1
May  9 22:22:27 localhost modprobe: modprobe: Can't locate module sound-service-1-0
May  9 22:22:27 localhost modprobe: modprobe: Can't locate module sound-slot-1
May  9 22:22:27 localhost modprobe: modprobe: Can't locate module sound-service-1-0
May  9 22:22:49 localhost kernel: usb.c: USB disconnect on device 00:1f.4-2 address 9
May  9 22:22:51 localhost devlabel: devlabel service started/restarted
The last two lines showed up when I un-plugged it.

I am not concerned about the sound modprobe messages, because I have sound in xine and Gnome working fine and for sure the usb is working.

I am thinking that my usb support is fine but the problem may be with kudzu or some other setting somehow not liking my upgrade.

Any further suggestions are very welcome

mark
 
  


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
usb flash stopped working toodr Linux - Hardware 9 05-23-2007 03:35 PM
USB stopped working jowizzle Linux - Software 1 03-20-2005 12:11 AM
Mandrake 10, USB stopped working EvMaster Linux - Hardware 3 07-30-2004 12:28 PM
Mouse stopped working after upgrade to FC2 from FC1 bmzf Fedora 9 07-04-2004 05:07 PM
USB has stopped working cruane Linux - Software 1 12-02-2002 01:52 PM

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

All times are GMT -5. The time now is 03:32 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