problem using usb keyboard and mouse when install philips usb driver

From: 沈 方 (swallowtail_sf_at_hotmail.com)
Date: 06/16/05

  • Next message: Rezk Mekhael: "open source print services for windows"
    To: redhat-list@redhat.com
    Date: Wed, 15 Jun 2005 20:30:48 -0500
    
    

    Hi,
       I am a novice on Linux.When I try to install philips usb driver on
    redhat 9.0(core 2.4.20), the usb keyboard and mouse stop working after I
    reboot my PC. I followed all of the steps list below to install philips usb
    driver.There is no problems in the compile process. Just after compiling
    the core, when I reboot my PC, the usb keyboard and mouse stop working. How
    can I solve this problem? Thank you!

    Setting up Logitech QuickCam pro 4000 on RH 9.0

    Michael Willem's reported that he got the Logitech QuickCam Pro 4000
    working, by just pluggin it in, in his RH 9.0 system. So you might probably
    consider doing that first before following the below instructions.
    This receipe discusses the steps that I took to install the Logitech
    QuickCam Pro 4000 on my RedHat 9.0 Linux System. I haven't experimented
    with all features of this device, but my first impression is good. You can
    access the manual here, but it may not prove to be so useful.

    I followed most of the below steps listed on
    http://www.ap-accessgrid.org/linux/usb.html. However even after following
    all the steps, my camera refused to work becuase of some small
    misconfiguration. This is explained in a later point.
    If you are using Red Hat 9.0, the kernel which comes with it will probably
    have some EXTRAVERSION (for e.g. 2.4.20-13-9). In order to use the camera,
    you will have to start with a fresh kernel. You can download this from
    www.kernel.org. At the time of this writing, the latest version was 2.4.21,
    but i choose to use 2.4.20 becuase the linux driver for this camera, was
    supposed to work only for 2.4.20. So do some background research before you
    download the right kernel version.
    After downloading the kernel, put it in /usr/src/ and untar/unzip it using
    tar -xvjf linux-2.4.20.tar.bz2. You will get a directory
    /usr/src/linux-2.4.20. Make a link to this directory using the following
    commad:
    #>ln -s /usr/src/linux-2.4.20 /usr/src/linux

    Our camera works very well with the philips web cam driver that can be
    downloaded from the http://www.smcc.demon.nl/webcam/ site. Download the
    following files:
    Download the PWC core modules: Check what version is required with your
    kernel version. For our case, we needed pwc-8.8.tar.gz, although I could
    have downloaded the higher versions too. Follow these instructions:
    [pwc-8.8.tar.gz ]
    [shashank@mia ~shashank/temp]# tar -xvzf pwc-8.8.tar.gz
    pwc-8.8/
    pwc-8.8/kernel-2.4/
    pwc-8.8/kernel-2.4/ChangeLog
    --SNIP--
    [shashank@mia ~shashank/temp]# cd pwc-8.8/kernel-2.4/
    [shashank@mia kernel-2.4]# ls
    ChangeLog pwc-ctrl.c pwc-ioctl.h pwc-uncompress.c pwc.h
    pwc_nala.h
    philips.txt pwc-if.c pwc-misc.c pwc-uncompress.h pwc_kiara.h
    pwc_timon.h
    [shashank@mia kernel-2.4]# cp pwc* /usr/src/linux-2.4.20/drivers/usb/

    Download the PXCX decompressor modules: Follow the below instructions: [
    pwcx-8.2.2.tar.gz ]
    [shashank@mia ~shashank/temp]# tar -xvzf pwcx-8.2.2.tar.gz
    usb-pwcx-8.2.2/
    usb-pwcx-8.2.2/x86/
    --SNIP--
    [shashank@mia ~shashank/temp]# cd usb-pwcx-8.2.2/x86/gcc-3.2/
    [shashank@mia gcc-3.2]# ls
    README pwcx-2.4.20.o pwcx-2.5.67.ko
    [shashank@mia gcc-3.2]# cp pwcx-2.4.20.o /lib/modules/usb/

    NOTE: If you don't have the /lib/modules/usb directory, then create it.
    Add the following lines to /etc/modules.conf.
    NOTE: Note the options supplied to pwc module. Here I have specifed the
    frame Capture rate (fps) as 15. This was required to make xawtv work. If i
    do not specify this, xawtv will not detect the camera and aborts with
    /dev/video0: no such device error.
    If in confusion, I will suggest comments out the options field for pwc (and
    let the default values take care. These default values can be read from
    here)
    [shashank@mia gcc-3.2]# cat /etc/modules.conf
    --SNIP--
    alias char-major-81 videodev
    alias char-major-81-0 pwc
    #options pwc size=vga leds=250,250 fps=25 mbufs=3 compression=0
    options pwc fps=15 mbufs=3 compression=0
    post-install pwc /sbin/insmod --force -k /lib/modules/usb/pwcx-2.4.20.o
    >/dev/null 2>&1 || :
    --SNIP--

    Now start compiling the kernel. I have mentioned the detailed instructions
    here, but you need to make a few changes in some steps.
    #>cd /usr/src/linux-2.4.20
    #>make clean; make mrproper
    #>cp /boot/config-2.4.20-13.9 .config
    #>make menuconfig

    Turn off the following option
    Loadable Module Support --> Set Version Information on All module Symbols

    In addition check if the following options are selected. (Most probably
    they are)
    USB support --> Support of USB
                --> UHCI (Intel PIIX4, VIA, ...)
                --> USB Audio support
                --> USB Philips Cameras

    Then complete the final step as :
    #>make dep; make bzImage; make modules; make modules_install; make install

    When the compilation is complete, reboot the system in the new kernel
    (2.4.20).
    Download the xawtv application and install it using the normal ./configure;
    make; make install. Start the applications using xawtv.
    Need to experiment more with gnomemeeting.

    _________________________________________________________________
    与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Rezk Mekhael: "open source print services for windows"

    Relevant Pages

    • USB firmware download: Problem on FX2 chip
      ... I have a selfmade USB board based on a Cypress EZ-USB FX2 chip. ... Now I try to download that firmware using fxload. ... Oct 7 10:57:47 holzmayer-te9416 kernel: usb.c: USB disconnect on ... Oct 7 10:57:48 holzmayer-te9416 kernel: usb.c: config descriptor ...
      (comp.os.linux.development.system)
    • Re: how to install Lenny with hard drive
      ... For this unusual installing I need to download: ... downloaded the installation medium to the root directory. ... The easiest way to get the images is to download the USB stick image, ... the kernel, an initrd.gz and an iso to put on the hard ...
      (Debian-User)
    • Re: Voltage, EDM-700, trim switch follow-up
      ... USB outlet in it, that I could plug into the stupid little phono jack, ... The USB download is directly to a USB memory stick, not to a USB port on a computer. ... This was actually the one thing I had planned on getting while at OSH (I did get a good deal on the combination of adding fuel flow and the USB download by going to OSH). ... I chose the internal one because I was done with adapter cables. ...
      (rec.aviation.owning)
    • Re: Microsoft and --What Do You Want To Do Today
      ... Defrag from XP unless I am in safe mode. ... patch/Update) when in fact I download and install some of these ... >gamepads joysticks and usb harddrives and usb jump ...
      (microsoft.public.windowsxp.security_admin)
    • FreeBSD 5.3 Stable and Speedtouch 330 USB (using pppoA) HOWTO
      ... USB modem under FreeBSD5.3. ... Download the firmware for this modem from ... (This does not install all that easy under FREEBSD5.3-Release) ...
      (comp.unix.bsd.freebsd.misc)