Announcement

Collapse
No announcement yet.

USB Printer accessibility only when on/ready before booting OS!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    USB Printer accessibility only when on/ready before booting OS!

    I have a Panasonic KX-P4410 laser printer which is connected via one of my on board USB ports on my laptop. All required packages are installed, and the printer works and prints from within Kubuntu. But, if I don't have it powered on and indicating 'on line' before I turn on the laptop and boot into any of my three Kubuntu OS's (Feisty, Gutsy, Hardy), it never prints! Why? The cups daemon is running.

    This behavior is frustrating - I don't have my printer on until I have a need for it - yet finding that I do have to print something after I've booted into the system but with the printer off, doesn't work. I should be able to turn on the printer "when I need it" and have the underlying OS recognize it's presence and allow me to use it.

    Any thoughts?!
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    #2
    Re: USB Printer accessibility only when on/ready before booting OS!

    When you turn your usb printer on, what tells:

    Code:
    dmesg
    or
    Code:
    dmesg | grep usb
    and
    Code:
    lsusb
    Is it detected ? Error messages ?


    Logs:

    LinuxLogFiles
    https://help.ubuntu.com/community/LinuxLogFiles


    Bugs (what to check ; dmesg, lpinfo. lsusb...):

    Bug #35638 in cupsys (Ubuntu Hardy) / Printer is not detected properly over USB
    https://bugs.launchpad.net/ubuntu/ha...ys/+bug/35638/
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: USB Printer accessibility only when on/ready before booting OS!

      Just turned on the printer after I already had the OS up and running.

      cat /var/log/dmesg shows no new entries since boot.
      dmesg | grep usb shows no 'new' entries since boot.
      lsusb shows the following (after boot):
      Bus 005 Device 009: ID 0458:0003 KYE Systems Corp. (Mouse Systems) Genius NetScroll+
      Bus 005 Device 007: ID 0644:0000 TEAC Corp. Floppy
      Bus 005 Device 006: ID 0409:0059 NEC Corp. HighSpeed Hub
      Bus 005 Device 005: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
      Bus 005 Device 004: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
      Bus 005 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub
      Bus 005 Device 001: ID 0000:0000
      Bus 004 Device 001: ID 0000:0000
      Bus 003 Device 001: ID 0000:0000
      Bus 002 Device 001: ID 0000:0000
      Bus 001 Device 004: ID 1309:f002
      Bus 001 Device 001: ID 0000:0000
      What I'm thinking here, is that this isn't a cups daemon issue. As stated, it's running. Appears that what's going on is that the usb port 'polling' which takes place during boot, is identifying to the kernel only 'active' USB devices - those that are powered at boot time - and that once the polling is finished, there is no 'updating' afterwards.

      Now, I understand that USB devices such as HDs and Thumbdrives are a different matter - they are recognized by the kernel/OS as 'pluggable' devices, and so, get recognized when plugged in after boot, but a USB printer isn't such a device. Hmm.

      So, is there a way (I'm sure there is) to get the system to 're-poll' USB ports after the system has booted?
      Using Kubuntu Linux since March 23, 2007
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Re: USB Printer accessibility only when on/ready before booting OS!

        I have thought that the dmesg should show all detected devices.

        Here, when i turn scanner on:
        Code:
        dmesg | grep usb
        [103060.197896] usb 1-1: new full speed USB device using ohci_hcd and address 2
        [103060.425749] usb 1-1: configuration #1 chosen from 1 choice
        and when i turn it off:
        Code:
        dmesg | grep usb
        [103082.001758] usb 1-1: USB disconnect, address 2
        but i can't say nothing of the printers...


        Afterthought - is your printer connected directly to the computer or through the usb-hub ?
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: USB Printer accessibility only when on/ready before booting OS!

          Originally posted by Rog131
          Afterthought - is your printer connected directly to the computer or through the usb-hub ?
          Directly to one of the four on-board USB ports.
          Using Kubuntu Linux since March 23, 2007
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: USB Printer accessibility only when on/ready before booting OS!

            I have the pretty same problem with my HP 640 connect to my DELL Vostro 1000 64 bits running kde 4.1

            The problem also occurs with my usb mouse and the commadn lsusb returns almost the same thing that yours...

            Any solution or suggestion?
            Kubuntu 15.10 - Asus All-in-one (i3, 4GB ram)

            Comment


              #7
              Re: USB Printer accessibility only when on/ready before booting OS!

              Update:

              cat /var/log/dmesg | grep lp
              [ 0.000000] On node 0 totalpages: 259728
              [ 20.064659] Calibrating delay using timer specific routine.. 3203.87 BogoMIPS (lpj=6407742)
              [ 20.587850] Calibrating delay using timer specific routine.. 3200.19 BogoMIPS (lpj=6400390)
              [ 20.889377] PCI: If a device doesn't work, try "pci=routeirq". If it helps,post a report
              [ 44.498910] usblp0: USB Bidirectional printer dev 4 if 0 alt 1 proto 2 vid 0x1309 pid 0xF002
              [ 44.499019] usbcore: registered new interface driver usblp
              [ 46.256284] lp: driver loaded but no devices found

              So, confirmation. During boot, the driver is being loaded, but it then looks for the device. Because it isn't turned on, it can't be identified.
              Using Kubuntu Linux since March 23, 2007
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: USB Printer accessibility only when on/ready before booting OS!

                This problem is happening to me only with my usb mouse, not with my printer (teh problem was another due to hardware stupid question).
                Kubuntu 15.10 - Asus All-in-one (i3, 4GB ram)

                Comment

                Working...
                X