#1
  1. Introspective
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Nov 2001
    Location
    London, UK
    Posts
    3,317
    Rep Power
    111

    ?? USB printer and RedHat 7.2 ??


    I bought a printer the other day. Today I downloaded the driver from the Lexmark site, then tried to run the install script and was told that it couldn't find USB support in my Kernel.
    I thought it was there already (I have RH 7.2 with a 2.4 Kernel)

    a ls a-l in /dev/usb shows stacks of stuff, including lp0 lp1 lp2 etc. Where do I go next??

    Regards,
    Christo
    This is me: http://chris.uk.com
  2. #2
  3. Introspective
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Nov 2001
    Location
    London, UK
    Posts
    3,317
    Rep Power
    111

    update..


    I ran the following commands - just copying what somebody else did on the Lexmark mainling list, and suddenly the printer printed a peacock! Very nice...

    modprobe usbcore
    mount -t usbdevfs none /proc/bus/usb/
    modprobe usb-uhci
    modprobe printer

    looking in /var/log/messages shows:


    May 6 16:58:19 localhost kernel: usb-uhci.c: $Revision: 1.259 $ time 17:36:49 Sep 6 2001
    May 6 16:58:19 localhost kernel: usb-uhci.c: High bandwidth mode enabled
    May 6 16:58:19 localhost kernel: PCI: Enabling device 00:07.2 (0000 -> 0001)
    May 6 16:58:19 localhost kernel: PCI: Assigned IRQ 9 for device 00:07.2
    May 6 16:58:19 localhost kernel: PCI: Sharing IRQ 9 with 00:08.0
    May 6 16:58:19 localhost kernel: usb-uhci.c: USB UHCI at I/O 0xfcc0, IRQ 9
    May 6 16:58:19 localhost kernel: usb-uhci.c: Detected 2 ports
    May 6 16:58:19 localhost kernel: usb.c: new USB bus registered, assigned bus number 1
    May 6 16:58:19 localhost kernel: hub.c: USB hub found
    May 6 16:58:19 localhost kernel: hub.c: 2 ports detected
    May 6 16:58:19 localhost kernel: hub.c: USB new device connect on bus1/1, assigned device number 2
    May 6 16:58:19 localhost kernel: usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
    May 6 16:58:19 localhost su(pam_unix)[2313]: session closed for user root
    May 6 16:58:19 localhost kernel: printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0
    May 6 16:59:21 localhost (Worker - Print)[2311]: lexmarkz13: Get_status_from_OF: LP, of_error 5 closed! - Bad file descriptor

    so something is working.. I'll post back when it's all looking good Any of your input appreciated as I continue on this little journey!

    Christo
    This is me: http://chris.uk.com

IMN logo majestic logo threadwatch logo seochat tools logo