Skip to content

Usb

This will probably be a lot about usb sticks.

usb stick

Try and find the drives with a command like this :

find usb drives
duso dmesg | grep scsi -A 3

scanner problem

Important

For a network setup use the brsaneconfig4 tool. See network page. Starting xsane on debian as a non-root user fails with this message :

error
Failed to open device 'brother4:bus9:dev1' invalid argument.

Starting xsane by hand as root user works fine so this must be a rights issue. A quick workaround is to find the usb port you need with lsusb. Most interesting entry was :

lsusb output
Bus 001 Device 005: ID 04f9:0340 Brother Industries, Ltd

So .. bus 1, device 5. Now we need to alter device rights to let use kees scan :

change rights
sudo chmod a+w /dev/bus/001/005

Now this does work for this session but a reboot will wipe it all away. Now if we do a ls -l of the device in question :

list usb devices
ls -l /dev/bus/usb/001

crw-rw-r-- 1 root root 189, 256 Oct  9 19:18 001
crw-rw-r-- 1 root root 189, 257 Oct  9 19:18 002
crw-rw-r-- 1 root lp   189, 260 Oct  9 19:18 005

Ok, so it belongs to group lp (lineprinter ?). Any way it makes sense to add all users to that group. So we edit /etc/group and add kees and yvon to group lp:

pc connectors

image

  • 1 USB 3.2 Gen 2 (up to 10Gbps) port (teal blue, Type A). This 9-pin Universal Serial Bus 3.2 (USB 3.2) port is for a USB 3.2 Gen 2 device.
  • 2 Ethernet port
  • 3 DisplayPort.
  • 4 USB 2.0 ports. These 4-pin Universal Serial Bus (USB) ports are for USB 2.0 devices.
  • 5 Center / Subwoofer port (orange). This port connects the center/subwoofer speakers.
  • 6 Rear Speaker Out port (black).
  • 7 Line In port (light blue).
  • 8 Line Out port (lime).
  • 9 USB 3.2 Gen 2 (up to 10Gbps) port (USB Type-C®). This 9-pin Universal Serial Bus 3.2 (USB 3.2) port is for USB 3.2 Gen 2 Type-C® devices.
  • 10 USB 3.2 Gen 1 (up to 5Gbps) ports. These 9-pin Universal Serial Bus (USB) ports connect to a USB 3.2 Gen 1 device.