Find the answer to your Linux question:
Results 1 to 5 of 5
I installed fedora core R2 on a box, then later installed a usb printer. Initial setup was easy, but after reboot kudzu poped up and said there was a hardware ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Location
    MN USA
    Posts
    70

    USB device woes - cant believe that easy to fix


    I installed fedora core R2 on a box, then later installed a usb printer. Initial setup was easy, but after reboot kudzu poped up and said there was a hardware change and wanted to remove the configuration for my printer. I told it to leave the configuration alone, but the printer stopped working, so I dug further.

    First off some system info:
    Dual boot system w/ Fedora Core Release 2 on the second part, using grub to load.
    Kernel version is 2.6.6-1.435.2.3
    Printer is an HP PSC 2410 connected via USB - works fine in windows - worked once in linux.

    During troubleshooting I attempted:
    Ran ptal-init setup (as root) it showed:
    Code:
    Starting the HP OfficeJet Linux driver.
        No hpoj devices have been configured.
        As root, run "/usr/sbin/ptal-init setup".
    Uninstalled all sane rpms, so I was only dealing w/ 1 aspect of the problem, instead of multiplying it by scanning.
    Uninstalled and reinstalled hpoj and hpijs.
    Ran ptal-init setup again, same result.

    checked /proc/bus/usb/devices and list shows 3 items and no printer:
    Code:
    # cat /proc/bus/usb/devices|grep S:
    S:  Manufacturer=Linux 2.6.6-1.435.2.3 ohci_hcd
    S:  Product=OHCI Host Controller
    S:  SerialNumber=0000:00:02.1
    
    S:  Manufacturer=Linux 2.6.6-1.435.2.3 ohci_hcd
    S:  Product=OHCI Host Controller
    S:  SerialNumber=0000:00:02.0
    
    S:  Manufacturer=Linux 2.6.6-1.435.2.3 ehci_hcd
    S:  Product=EHCI Host Controller
    S:  SerialNumber=0000:00:02.2
    Checkd for USB kernel mods:
    Code:
    # lsmod |grep hci
    ohci_hcd               16016  0
    ehci_hcd               22916  0
    I think that is right.
    I also have devices in /dev:
    Code:
    # ls /dev/usb/lp*
    /dev/usb/lp0   /dev/usb/lp11  /dev/usb/lp14  /dev/usb/lp3  /dev/usb/lp6  /dev/usb/lp9
    /dev/usb/lp1   /dev/usb/lp12  /dev/usb/lp15  /dev/usb/lp4  /dev/usb/lp7
    /dev/usb/lp10  /dev/usb/lp13  /dev/usb/lp2   /dev/usb/lp5  /dev/usb/lp8
    And I checked /var/log/messages to find this regarding the printer:
    Code:
    # tail /var/log/messages
    Jul 21 11&#58;33&#58;51 rlgale ptal-mlcd&#58; SYSLOG at ExMgr.cpp&#58;652, dev=<mlc&#58;usb&#58;probe>, pid=2723, e=111, t=1090427631         ptal-mlcd successfully initialized.
    Jul 21 11&#58;33&#58;51 rlgale ptal-mlcd&#58; ERROR at ExMgr.cpp&#58;2525, dev=<mlc&#58;usb&#58;probe@/dev/usb/lp8>, pid=2723, e=19, t=1090427631         Couldn't find device!
    If anyone can help me, please do.. I really want to get rid of Windows, but I can't until I fix this!

    Thanks in advance!

  2. #2
    Just Joined!
    Join Date
    Jul 2004
    Location
    MN USA
    Posts
    70

    Someone please help

    Can anyone help me with this - I really have no idea what to do and have been working on this for over a week. Maybe I should just switch back to windows? I dont like that idea at all

  3. #3
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    this is odd, you could re-compile your kernel with more support for usb devices...
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2004
    Location
    MN USA
    Posts
    70

    Anyone able to help with this added info?

    Ok - I've dug further into my system - knowing nothing shows in my /proc/bus/usb/devices about my printer.
    So I looked in dmesg and found this (filtered all the extra stuff, but can post the whole list if it helps):
    Code:
    # dmesg|grep usb
    usbcore&#58; registered new driver usbfs
    usbcore&#58; registered new driver hub
    usbcore&#58; registered new driver hiddev
    usbcore&#58; registered new driver usbhid
    drivers/usb/input/hid-core.c&#58; v2.0&#58;USB HID core driver
    &#91;<02216a08>&#93; &#40;usb_hcd_irq+0x0/0x4b&#41;
    usb 2-2&#58; new full speed USB device using address 2
    usb 2-2&#58; control timeout on ep0out
    Looks like the very last line here may explain the root of all my evil? But I do not know how to correct. I saw something someplace about a bug in a 2.6 kernel that makes this happen, and I am running a 2.6 kernel, but they also said it was fixed in a point release and my system is updated as of right now.

    Any ideas anyone? Please help

  6. #5
    Just Joined!
    Join Date
    Jul 2004
    Location
    MN USA
    Posts
    70
    I cant believe it!!! I spend about 10 days trying to figure out this problem, and the solution was SIMPLE:

    Bug in kernel 2.6.6
    Booted with kernel 2.6.5

    Everything works great.

    Well heck - at least I learn ALOT about linux, commands, and troubleshooting techniques - thanks everyone who read this - It helped me alot to be typing this stuff to a message board, even if nobody had the answer ready for me!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •