[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] USB woes
Hello all :) Happy new year!
> If the camera is a mass storage device, it won't show up there. My
> camera shows up as a SCSI (!) device - sda - that I can mount using a
> dos filing system. There is then a specific layout to the directory
> structure (I think cameras have baggsied specific names in there..), but
> all my photos are just files I can the copy across.
>
in /proc/bus/usb you should have a file called devices. Doing 'cat
/proc/bus/usb/devices' should at the very least contain details of your
root hub (your mobo)
> chkconfig just adds the 'hotplug' script to the various run-levels -
> it's quite good actually (well, I like it). You can always start and
> stop the service manually using '/etc/rc.d/init.d/hotplug start'.
>
I have not had extensive experience with hotplug (it didn't work on my
machine. Repeated lockups when plugging things in. Changed to usbmgr and
all is well :( )
IIRC the stuff in /proc/bus/usb is all to do with the usbdevfs setup. In
your kernel config, enable CONFIG_USB_DEVICEFS.
Also, you need at least a UHCI or OHCI driver. I would try
CONFIG_USB_UHCI first, followed by CONFIG_USB_UHCI_ALT, and finally
CONFIG_USB_OHCI (just build them all as modules)
This is the USB bit of my kernel config:
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
CONFIG_USB_BLUETOOTH=m
CONFIG_USB_STORAGE=m
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
CONFIG_USB_KBD=m
CONFIG_USB_MOUSE=m
This is using kernel 2.2.19, with the USB patches, but it is 95% similar
to the 2.4.12 one (and so I presume the 2.4.17 one :)
This works perfectly with usbmgr, if not hotplug :)
--
Craig Andrews
"Though my opinion may have changed, the fact that I am right has not"
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.