Announcement

Collapse
No announcement yet.

USB storage works fine. But other USB connected devices do not work.

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

    [SCANNER] USB storage works fine. But other USB connected devices do not work.

    USB storage works fine. But other USB connected devices do not work.
    Eg USB scanner, USB Tablet. Have installed all suggested vendor software.
    The scanner works if I use Livedisk Kubuntu, so eliminates hardware issue.
    I have a seperate printer working over IP. But scanner needs USB,
    and I end up using a Win7 machine for weekly scanning.

    Scanner is identified as below. Any thoughts ?

    DCP-135C ;
    Serial #: BROB8F150043

    Class 0
    ((Defined at Interface level))
    Subclass
    Protocol
    USB Version 1.00
    Vendor ID 0x4f9 (Brother Industries, Ltd)
    Product ID 0x1ce (DCP-135C)
    Revision 0.00
    Speed 12 Mbit/s
    Channels
    Max. Packet Size 8

    #2
    https://askubuntu.com/questions/8103...canner-to-work
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Thanks GG.
      How the heck did you know it was likely to be 32bit drivers issue ?!!!

      Copied 32bit files over. And got as far as below. But stuck because that really good article you sent was from nearly 7 years ago !!

      They suggest:
      Search for # libusb device nodes section and add by the end of it this line:
      ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01ce", MODE="0666", GROUP="scanner", ENV{libsane_matched}="yes"

      But I cannot find it in my current Kubuntu below. Should I just change
      my line: SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
      to: SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666" ?

      --------------------------------------------------------------------------------------
      My: sudo gedit /lib/udev/rules.d/50-udev-default.rules
      ----------------------------------------------------

      SUBSYSTEM=="input", KERNEL=="js[0-9]*", MODE="0664"

      SUBSYSTEM=="video4linux", GROUP="video"
      SUBSYSTEM=="graphics", GROUP="video"
      SUBSYSTEM=="drm", GROUP="video"
      SUBSYSTEM=="dvb", GROUP="video"
      SUBSYSTEM=="media", GROUP="video"
      SUBSYSTEM=="cec", GROUP="video"

      SUBSYSTEM=="sound", GROUP="audio", \
      OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"

      SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"

      SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*", GROUP="video"
      SUBSYSTEM=="firewire", ATTR{units}=="*0x00b09d:0x00010*", GROUP="video"
      SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video"
      SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video"

      KERNEL=="parport[0-9]*", GROUP="lp"
      SUBSYSTEM=="printer", KERNEL=="lp*", GROUP="lp"
      SUBSYSTEM=="ppdev", GROUP="lp"
      KERNEL=="lp[0-9]*", GROUP="lp"
      KERNEL=="irlpt[0-9]*", GROUP="lp"
      SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", GROUP="lp"

      SUBSYSTEM=="block", GROUP="disk"
      SUBSYSTEM=="block", KERNEL=="sr[0-9]*", GROUP="cdrom"
      SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom"
      KERNEL=="sch[0-9]*", GROUP="cdrom"
      KERNEL=="pktcdvd[0-9]*", GROUP="cdrom"
      KERNEL=="pktcdvd", GROUP="cdrom"

      SUBSYSTEM=="scsi_generic|scsi_tape", SUBSYSTEMS=="scsi", ATTRS{type}=="1|8", GROUP="tape"
      SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="0", GROUP="disk"
      KERNEL=="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*|nrawqft[0-9]*", GROUP="disk"
      KERNEL=="loop-control", GROUP="disk", OPTIONS+="static_node=loop-control"
      KERNEL=="btrfs-control", GROUP="disk"
      KERNEL=="rawctl", GROUP="disk"
      SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", GROUP="disk"
      SUBSYSTEM=="aoe", GROUP="disk", MODE="0220"
      SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440"

      KERNEL=="rfkill", MODE="0664"
      KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"

      KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"

      # The static_node is required on s390x and ppc (they are using MODULE_ALIAS)
      #KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"

      SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"

      LABEL="default_end"
      Last edited by sparxz; Sep 26, 2018, 02:03 PM. Reason: Extra info

      Comment


        #4
        It appears that Brother may have a driver available http://support.brother.com/g/s/id/li...nload_scn.html And look for the table labelled brscan2 models. There is a .deb file in there. One for 32 bit and one for 64 bit.

        I don't know that either will actually work but the table does have your model number listed. Worth a shot!
        The next brick house on the left
        Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



        Comment


          #5
          Thanks JGlen.

          Just tried those debs.
          Sadly, did not work.

          Comment


            #6
            Sorry. But don't change the "usb" rule stanza, you risk screwing up other USB actions. You could add your own rule stanza for a "scanner", using the vendor and product info you found for your scanner. I'm by no means a great udev rules expert, but there are instructions on the 'net for creating them.
            The next brick house on the left
            Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



            Comment


              #7
              Thanks JGlen.

              Have never done this before. Will give it some thought,
              and open to suggestions. In the meantime.

              Intalled "sane-extras". Then tried:

              sp@Desktop-Kubuntu:~$ sudo sane-find-scanner

              # sane-find-scanner will now attempt to detect your scanner. If the
              # result is different from what you expected, first make sure your
              # scanner is powered up and properly connected to your computer.

              # No SCSI scanners found. If you expected something different, make sure that
              # you have loaded a kernel SCSI driver for your SCSI adapter.

              found USB scanner (vendor=0x04f9, product=0x01ce) at libusb:004:009
              could not fetch string descriptor: Operation timed out
              could not fetch string descriptor: Operation timed out
              # Your USB scanner was (probably) detected. It may or may not be supported by
              # SANE. Try scanimage -L and read the backend's manpage.

              # Not checking for parallel port scanners.

              # Most Scanners connected to the parallel port or other proprietary ports
              # can't be detected by this program.

              ---------------------------------------------------------------------------------------

              sp@Desktop-Kubuntu:~$ sudo scanimage -L

              No scanners were identified. If you were expecting something different,
              check that the scanner is plugged in, turned on and detected by the
              sane-find-scanner tool (if appropriate). Please read the documentation
              which came with this software (README, FAQ, manpages).
              Last edited by sparxz; Sep 26, 2018, 04:48 PM. Reason: merge

              Comment


                #8
                I've had a Brother printer/scanner for a couple of years. I don't recall much trouble getting it going with Xenial back then. After that install, upgraded up to Artful, shat itself, I clean installed Bionic (in a separate sub-volume) in March. It took me till May to get around to the scanner; the scan to USB stick approach was a stopgap. Here are my notes about what eventually worked:
                I made the Brother scanner work with sane. It didn't go smoothly; the install script linux-brprinter-installer-2.1.1-1 ran without errors but didn't work. Eventually by comparing bionic with artful I realized that it didn't install the scanner driver, and I had to download it and do that manually.

                ! sudo ./linux-brprinter-installer-2.1.1-1
                ! sudo apt install xsane
                ! sudo dpkg -i brscan4-0.4.4-4.amd64.deb
                ... fails, error about libusb-0.1 ...
                ! sudo apt install libusb-0.1
                ! sudo dpkg -i brscan4-0.4.4-4.amd64.deb
                ! brsaneconfig4 -a name=paul model=MFC-J5330DW ip=192.168.1.201
                (That IP on the LAN is fixed by the router.)

                HTH, and Regards, John Little
                Regards, John Little

                Comment


                  #9
                  Hi John,

                  Thanks. Tried all that.

                  Only options left is for using Windows drivers over Wine.
                  Or.
                  Setting up a VM of Windows.

                  I have never bought a 'new' "Brother" printer or scanner. And I am now more convinced I never will,
                  short of asking the seller to set it up in the shop, to run on Linux.

                  Although after reading the uDev file I am left wondering, in the name of security is it also a Ubuntu problem ?

                  Comment


                    #10
                    Would anything in this topic help? It's for Canon AIO but maybe ...

                    https://www.kubuntuforums.net/showth...hlight=scanner

                    -=Ken=-
                    -=Ken=-
                    "A man has to know his limitations." Harry Callihan (Dirty Harry)
                    DIY ASRock AB350, AMD Ryzen 3 1200, 16 GB RAM, nvidia GT-710, kubuntu 20.04

                    Comment


                      #11
                      Hi Ken,

                      Thanks.
                      The link you kindly sent(and it was interesting). That was for running a Scanner on a network.

                      I have a much more basic problem, and that is the basic USB function of a Scanner.

                      I think scanner permissions are the most likely cause, and I can't find much information.

                      Scanners are a much more long running issue than printers.

                      Eg running Sane as root, to overcome issues, you get a major warning.

                      Comment

                      Working...
                      X