PDA

View Full Version : USBView Error



spydie
12-31-2003, 05:27 PM
I'm using a usb keyboard and it works fine. I can connect my HP 932c printer up via usb and it works fine.
When I connect my Kodak DX6340 camera up it does not work.

So I have been trying to see what is wrong.
I'm running Knoppix from the HD

When I try and view my USB I get this error message.


-------------------------------------------------------
USBView Error

Can not open the file /proc/bus/usb/devices

Verify that you have USB compiled into your kernel, have the USB core modules loaded, and have the usbdevfs filesystem mounted.
---------------------------------------------------------

How do I verify that I have USB compiled into the kernel, have the USB core modules loaded?
Also how do I mount the usbdevfs?

I should maybe add that I can run knoppix from the cd on my other computer (1.8, 512Mhz ram) and the camera works great connected via USB.

It's not a big deal if I can not get the camera working on this computer as I do use the other computer for photo's as it is much faster and I will be doing a Knoppix HD install on it someday soon.

It's just bugs me as to why it's not working.....

Thanks,

TheCyberDude
12-31-2003, 09:23 PM
Put in /etc/fstab
at end of line, press [Enter Key] and Save /etc/fstab

usbdevfs /proc/bus/usb usbdevfs defaults 0 0
Now USBVIEW will Work!


Shows modules loaded...


lsmod

http://www.internettrash.com/users/thecyberdude/TheCyberDude.gif

Stephen
12-31-2003, 09:26 PM
I'm using a usb keyboard and it works fine. I can connect my HP 932c printer up via usb and it works fine.
When I connect my Kodak DX6340 camera up it does not work.

So I have been trying to see what is wrong.
I'm running Knoppix from the HD

When I try and view my USB I get this error message.


-------------------------------------------------------
USBView Error

Can not open the file /proc/bus/usb/devices

Verify that you have USB compiled into your kernel, have the USB core modules loaded, and have the usbdevfs filesystem mounted.
---------------------------------------------------------

How do I verify that I have USB compiled into the kernel, have the USB core modules loaded?
Also how do I mount the usbdevfs?

I should maybe add that I can run knoppix from the cd on my other computer (1.8, 512Mhz ram) and the camera works great connected via USB.

It's not a big deal if I can not get the camera working on this computer as I do use the other computer for photo's as it is much faster and I will be doing a Knoppix HD install on it someday soon.

It's just bugs me as to why it's not working.....

Thanks,

To find the USB in the kernel:


HappyTux:/home/stephen# grep USB /boot/config-2.4.23.031202
# CONFIG_INPUT_IFORCE_USB is not set
# USB support
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
# CONFIG_USB_SL811HS_ALT is not set
# CONFIG_USB_SL811HS is not set
# USB Device Class drivers
CONFIG_USB_AUDIO=m
CONFIG_USB_EMI26=m
# CONFIG_USB_BLUETOOTH is not set
CONFIG_USB_MIDI=m
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
# CONFIG_USB_STORAGE_HP8200e is not set
CONFIG_USB_STORAGE_SDDR09=y
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
# USB Human Interface Devices (HID)
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_KBD=m
CONFIG_USB_MOUSE=m
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# USB Imaging devices
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
CONFIG_USB_SCANNER=m
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# USB Multimedia devices
# Video4Linux support is needed for USB Multimedia device support
# USB Network adaptors
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_AX8817X is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_USBNET is not set
# USB port drivers
# CONFIG_USB_USS720 is not set
# USB Serial Converter support
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# Support for USB gadgets
# CONFIG_USB_GADGET is not set


You would do this for your kernel config. In the /etc/fstab you should have:


none /proc/bus/usb usbfs defaults 0 0


And for the camers I believe that you need the usb-storage module loaded it is seen as a scsi storage device by the system so you would be accessing it as sda,sdb .. whatever it shows up as when plugged in use dmesg and you should see it being recognized at the bottom of the output.

A. Jorge Garcia
03-12-2006, 04:29 PM
I'm having trouble connecting to my Kodak Easy Share Camera

I tried

usbdevfs /proc/bus/usb usbdevfs defaults 0 0

as suggested above, but I get usbdevfs unknown command error....

How do I download my pix?

TIA,
AJG

A. Jorge Garcia
03-12-2006, 07:22 PM
OK, I added

none /proc/bus/usb usbfs defaults 0 0

to /etc/fstab and now usbview shows the Kodak Easy Share.

Where do I find the picture files?

TIA,
AJG