Re: usb vs. drivers

From: Andrea Vettorello (andrea.vettorello_at_gmail.com)
Date: 11/30/04

  • Next message: Mark D. Hansen: "running scripts when logging in (via X)"
    Date: Tue, 30 Nov 2004 15:11:22 +0100
    To: debian-user <debian-user@lists.debian.org>
    
    

    On Tue, 30 Nov 2004 08:44:57 -0500, Christian Convey
    <conveycj@npt.nuwc.navy.mil> wrote:
    > Hey guys,
    >
    > I've got a usb camera (Kodak DX6490). I'm starting to suspect from
    > various tinkering I've done (in Knoppix, FC3, and Sarge) that the kernel
    > can't find a module to associate with the camera, and that's causing my
    > problems.
    >
    > In 2.6/Sarge...
    > - How does the kernel know which driver to use for a USB device I plug in?
    >

    The kernel alone do nothing, you need "userland" programs to load
    kernel modules when a new HD is plugged, like the "hotplug" package.

    If you only need to access the photos, usually you only need to load
    the "usb-storage" kernel module and maybe the "fat" or "vfat".

    If you use Gnome, and you install "udev", "hal",
    "gnome-volume-manager" and "hotplug", you usually end with a nice icon
    on the desktop automagically whenever you attach a USB mass storage to
    your pc, and digital cameras can be seen like USB mass storage.

    > - What's the easiest reliable way of knowing whether or not the kernel
    > managed to bind a driver to a USB device I plug in?
    >

    Looking in your /varl/log/syslog or perusing your /proc/bus/usb or
    /sys/bus/sys. There are utilities that do this for you and show a nice
    tree with device informations.

    Andrea

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Mark D. Hansen: "running scripts when logging in (via X)"

    Relevant Pages

    • Re: Digital camera wont mount
      ... I currently am using suse 10 with kernel version 2.6.18.1 ... The camera is a Kyocera Finecam S5R, which uses a USB connection and SD ... Dec 4 22:15:30 teapot kernel: Initializing USB Mass Storage driver... ... Suse 10.0 is not ready for kernel 2.6.18. ...
      (alt.os.linux.suse)
    • Re: Digital camera wont mount
      ... such as an MP3 player can ... I currently am using suse 10 with kernel version 2.6.18.1 ... The camera is a Kyocera Finecam S5R, which uses a USB connection and SD ... Dec 4 22:15:30 teapot kernel: Initializing USB Mass Storage driver... ...
      (alt.os.linux.suse)
    • USB Digital Camera mount problem [WAS: Removable USB device contents cached after removal?]
      ... I get "No medium found" when I try to mount the SD card inside my digital ... camera It works fine in 2.4.18 that comes with Debian, ... kernel: Initializing USB Mass Storage driver... ...
      (Linux-Kernel)
    • Re: OT: USB mass storage on KNOPPIX 3.8.1
      ... I don't know anything about your kernel config but you also need scsi support ... > GB) hard drive and had access to a KNOPPIX 3.8.1 CD and did the HD ... I've never tried to do USB mass storage on KNOPPIX or the 2.6 ... > The kernel is 2.6.11 and lsusb shows the camera on the bus. ...
      (Debian-User)
    • Write on MP3 USB key is not made persistent
      ... which aacts as an USB key. ... I am using a Debian unstable, with 2.4.20 kernel. ... kernel: usb.c: USB device 2 is not claimed by ... Initializing USB Mass Storage driver... ...
      (comp.os.linux.setup)