Click to See Complete Forum and Search --> : USB
evulish
08-11-2001, 02:04 AM
Ok, just got 2.4.7 installed...too bad 2.4.8 came out today. :/
I figured since I have a new kernel, I might as well try to get USB working again since thats the only think not working now.
Now, I think I have all my mods probed. usbcore, uhci, and scanner are in but when the usb fs gets mounted, nothing shows up in /proc/bus/usb/devices or drivers. When I boot, it can see the USB devices (it saw my hub and my 2 internal ports) but I don't think it saw my devices connected to it (ms sidewinder, nikon coolpix 880, or hp scanjet 4100c).
Also, what are the MAJOR and MINOR things on the end of a mknod?
If you have any ideas on how to install these or something I did wrong, please let me know.
Malakin
08-11-2001, 06:00 AM
Did you select the following kernel option?
Under USB - "preliminary USB device filesystem"
evulish
08-11-2001, 03:41 PM
Yeah. There's data in the 001 folder (nothing readable tho)
frank754
08-12-2001, 05:51 PM
in my new kernel options I selected the
following, and it seems to work fine:
Code maturity level options: Prompt for devel,etc Y
Processor type & features: N to symmetric multi processing if you don't need it
General setup: Hot pluggable devices Y
(should be Y as default on a newer kernel)
Networking options:
Packet socket Y
Asynchronous transfer mode (experimental) Y
Network device support:
PPP support M
PPP for async serial ports M
PPP for sync tty ports M
PPP deflate compression M
Character devices:
Non-standard serial port support Y
HDLC line discipline support M
Unix98 PTY support Y
USB support:
support for usb Y
USB controllers M for all 3 (uhci,uhci,ohci)
and whatever else you need, I have
usb modem M
usb printer M
usb scanner M
usb kodak dc-z** M
USS 720 parport driver M
(has modules for several supported fomats)
Malakin
08-12-2001, 08:14 PM
So the files /proc/bus/usb/devices and /proc/bus/usb/drivers don't exist? But /proc/bus/usb/001/ does exist and you have some files in it? These files are the devices, you may have 5(?) files listed in there if it sees all your devicees (root hub, hub, camera, printer and scanner)
I'm not sure why the devices and drivers files aren't there but if what I just said was correct then maybe your usb is working and you just have to try and talk to one of the devices?
The following if useless if your camera isn't usb storage device compatible but if it is then from what I recall all you need is scsi support, scsi disk support, usb mass storage support, and it should be accessible on /dev/sda1 assuming you don't have any other scsi devices.
This is what I have in fstab for my sony dsc-p1 camera and it's working great, readable and writable with my kernel (2.4.6-5mdk):
/dev/sda1 /mnt/camera vfat nosuid,noauto,nodev,user 0 0