LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SuSE 9.1 won't see USB camera after hotplugging too many times (https://www.linuxquestions.org/questions/linux-hardware-18/suse-9-1-won%27t-see-usb-camera-after-hotplugging-too-many-times-297294/)

Napalm Llama 03-03-2005 04:18 PM

SuSE 9.1 won't see USB camera after hotplugging too many times
 
That's not strictly true, but it doesn't mount it.

lsusb gives me:
Code:

Bus 003 Device 001: ID 0000:0000
Bus 002 Device 007: ID 03eb:3301 Atmel Corp. 4-port Hub
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 04b4:aef6 Cypress Semiconductor Corp.
Bus 001 Device 001: ID 0000:0000

without, and
Code:

Bus 003 Device 001: ID 0000:0000
Bus 002 Device 008: ID 07b4:0105 Olympus Optical Co., Ltd Camedia C-700/C-3040/C-4000 Zoom Camera
Bus 002 Device 007: ID 03eb:3301 Atmel Corp. 4-port Hub
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 04b4:aef6 Cypress Semiconductor Corp.
Bus 001 Device 001: ID 0000:0000

with, but unfortunately I don't know enough about mounting things (still new enough not to have had any experience at it) to get the contents of the camera to appear in my filesystem.

It normally turns up automatically in /media/usb-storage-somegreatbignastyhexnumber, but no such luck.

There's a
usbfs /proc/bus/usb usbfs rw 0 0
entry in my /etc/mtab, so I tried mount usbfs - it told me this:
Code:

mount: usbfs already mounted or /proc/bus/usb busy
mount: according to mtab, usbfs is already mounted on /proc/bus/usb

In my desperation, I even tried temporarily removing the usbfs line from my mtab, but that only resulted in the 'according to mtab' error disappearing.

I expect there's a fairly simple way around this, but unfortunately I don't know it. I'm hoping there's somebody reading this who does...

Napalm Llama 03-04-2005 02:47 PM

I think the main problem could be that /proc/bus/usb is busy.

Is there any way of rectifying this?

KimVette 03-04-2005 05:21 PM

Open SusePlugger, try selecting the camera, clicking eject, waiting a few seconds, then re-connecting the camera. I've had that help with some devices when the module (driver) hung.

Napalm Llama 03-05-2005 05:17 AM

My camera doesn't show up as itself, but the hub it's attached to is external, and listed. I can eject that, if required, but the camera still doesn't work even when plugged directly into my USB card.
I've got some things called
Linux-2.6.4-52-default ehci_hcd EHCI Host Controller
Linux-2.6.4-52-default ohci_hcd OHCI Host Controller
Linux-2.6.4-52-default uhci_hcd UHCI Host Controller
(two each of the last 2) - these are also ejectable, but I don't know what they are.

All of the things are listed under 'Unknown'.

I've tried Ejecting and Inserting everything that can be, but it doesn't really seem to make any difference.

I have a 6-port USB 2.0 card, and defunct motherboard 1.1 support.
As far as I know, the card has 3 'hubs', each with 2 ports coming off.
The motherboard gives me 2 ports on the rear panel, and pin headers for a further 2 frontal ports, I think. Unfortunately I accidentally killed my motherboard's USB support, so that doesn't work anymore :(

Back in Windoze, I had a problem with the USB card not waking up when the machine came out of standby - could this be part of the problem?

Thanks for your reply.

KimVette 03-05-2005 12:02 PM

Quote:

Originally posted by Napalm Llama

Back in Windoze, I had a problem with the USB card not waking up when the machine came out of standby - could this be part of the problem?

Thanks for your reply.

Hmm.

Does anyone here know how to force a reprobe of USB devices?

Napalm Llama 03-05-2005 05:24 PM

YaST > Hardware > Hardware Information says it's probing the devices.

I've restarted my machine now and it seems to work again... (but I know it'll stop working soon - it's done it before - so please don't just drop this thread) ... but I don't want to keep having to restart every time there's a problem - that's not really a very Linux thing to do...

I think what might have happened is I unplugged it before it was safe to, and this left the process/driver/whatever that was dealing with it tied up and unable to re-accept it when it was plugged back in again.

How would I go about safely detaching my camera from my machine?

KimVette 03-05-2005 05:45 PM

That's what the "eject" feature in suseplugger is for, actually.

Napalm Llama 03-05-2005 06:18 PM

Do I detect sarcasm / other similar tone in that post?

The 'Eject' button is greyed out for my camera - that's why I asked.

KimVette 03-05-2005 07:23 PM

Quote:

Originally posted by Napalm Llama
Do I detect sarcasm / other similar tone in that post?

The 'Eject' button is greyed out for my camera - that's why I asked.

Actually, no, that was not a sarcastic one. However since you accused me of it I will give one:

Am I supposed to know that eject is still disabled through osmosis or something? :D

Napalm Llama 03-06-2005 04:40 AM

Curse these text-based mediums and their inability to correctly convey subtle human sentiments!

Ahem...

Well yes, it's greyed out. My camera only seems to appear in the 'Disk' section, and I can't Eject that entry. I don't know if it appears under a different name elsewhere...


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