Portál AbcLinuxu, 10. května 2025 08:49

Dotaz: scanner, nelze vybvorit funkcni node do /dev/usb/scanner

12.7.2004 14:36 Loki
scanner, nelze vybvorit funkcni node do /dev/usb/scanner
Přečteno: 188×
Odpovědět | Admin
scanner Acer/Benq 3300U S2W. distro - Gentoo.
Mam tenhle skenner uz delsi dobu, spravne funguje na predchozim Gentoo (kernel 2.4.20), na novem Gentoo (kernel 2.6.7) se vse chova jinak.
na starem Gentoo mi sane-find-scanner vypsal
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x04a5, product=0x20b0) at /dev/usb/scanner0
found USB scanner (vendor=0x04a5, product=0x20b0) at libusb:004:003
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

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

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
na novem gentoo uz jen
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x04a5, product=0x20b0) at libusb:003:004
  # 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.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
Zvlastni je, ze ROOT neni v tomto nikterak omezovan a MUZE KLIDNE SKENOVAT, dokonce vypis na sane-find-scanner obdrzi jiny a to
found USB scanner (vendor=0x04a5 [Color], product=0x20b0 [ FlatbedScanner 23]) at libusb:003:003
rozdil je i v scanimage -L
loki@Loki:~>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).

loki@Loki:~>sudo scanimage -L
device `snapscan:libusb:003:003' is a Acer FlatbedScanner23 flatbed scanner
loki@Loki:~>
zkousel jsem obvykle postupy s mknod c /dev/usb/scanner0 180 48 ale vypis sane-find-scanner se nezmenil, a skenovat jako uzivatel nemuzu.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

12.7.2004 15:30 jm
Rozbalit Rozbalit vše Re: scanner, nelze vybvorit funkcni node do /dev/usb/scanner
Odpovědět | | Sbalit | Link | Blokovat | Admin
Pouzivate hotplug? udev? Jinak pochopitelne problem s pravy k danemu zarizeni, celkem nedavno se tady podobny problem resil.
12.7.2004 15:45 Loki
Rozbalit Rozbalit vše Re: scanner, nelze vybvorit funkcni node do /dev/usb/scanner
Pouzivam hotplug, ale jestli jsem hotplug dobre pochopil, tak jen zavadi moduly, a kdyz skener normalne funguje pod rootem, tak uz (je|jsou) modul(y) zaveden(y) a v poradku. Proto jsem smerem badani neubiral (stejnetak config kernelu).
Problem s pravy samozrejme, ale ja nevim kde mam prislusna prava nastavit, resp. odkud to tedy ten root sosa?
device `snapscan:libusb:003:003'
je to snad nejaky sobor z /dev ?
12.7.2004 16:16 jm
Rozbalit Rozbalit vše Re: scanner, nelze vybvorit funkcni node do /dev/usb/scanner
Viz napr. zde.
12.7.2004 16:39 Loki
Rozbalit Rozbalit vše Re: scanner, nelze vybvorit funkcni node do /dev/usb/scanner
Diky moc, navod funguje

sice jsem nevytvoril funkcni node v /dev, ale stacilo zmenit prava
chmod 0666 /proc/bus/usb/003/003

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.