View previous topic :: View next topic |
Author |
Message |
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Fri Apr 09, 2004 10:12 am Post subject: [SOLVED]skaner bearpaw 1200CU i migracja z 2.4.25na2.6.5-mm1 |
|
|
witam
mam problem ze skanerem, mianowicie nie ma /dev/usb/scanner od czasu migracji na nowy kernel..
zrobilem make oldconfig, wiec wszystko powinno byc ok..
lsmod pokazuje:
Code: |
[...]
usblp 12484 0
nvidia 1703308 10
uhci_hcd 30300 0
usbcore 102644 4 usblp,uhci_hcd
|
o czym zapomnialem?
Last edited by cin0l on Sat Apr 17, 2004 1:43 pm; edited 1 time in total |
|
Back to top |
|
|
misterLu Guru
Joined: 14 Sep 2003 Posts: 430 Location: Poland
|
Posted: Fri Apr 09, 2004 10:35 am Post subject: |
|
|
o scanner ?
ja mam taki moduł, oraz uhci- tez jako moduł |
|
Back to top |
|
|
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Fri Apr 09, 2004 10:49 am Post subject: |
|
|
hmm no wlasnie problem w tym ze w starym kernelu byla opcja scanner support (albo cos takiego) i dodawal sie modul scanner.o, a w nowym kernelu nie znalazlem juz tej opcji w tej samej sekcji, czyli USB devices (chyba, pisze z pamieci).. |
|
Back to top |
|
|
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Fri Apr 09, 2004 3:19 pm Post subject: |
|
|
hmm.. szukalem tego modulu juz kilka razy i napewno go tam nie ma..
dlaczego w jajku 2.6.5-mm1 nie ma modulu scanner.ko?
sprawdzalem nawet w katalogu, powinien byc gdzies w linux/drivers/usb/ plik o nazwie scanner.o/.ko/.c/.h no i nie ma..
czyzby ten modul sie nazywal inaczej, czy moze moj kernel nie ma obslugi skanera? |
|
Back to top |
|
|
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Fri Apr 09, 2004 11:09 pm Post subject: |
|
|
dobra.. wygooglowalem ze w nowym kernelu 2.6.5-mm1 nie ma modulu scanner.ko poniewaz jest on wycofany i zastapiony libusb, zainstalowalem libusb, wpisuje:
Code: | $ sane-find-scanner
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x05d8, product=0x4002, chip=GT-6801?) at libusb:001:002
# 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.
|
Code: | $ 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).
|
co jeszcze powinienem zrobic? |
|
Back to top |
|
|
kolkowski_damian Tux's lil' helper
Joined: 18 Mar 2004 Posts: 88 Location: Nysa, Poland
|
Posted: Sun Apr 11, 2004 4:01 pm Post subject: |
|
|
cin0l wrote: | (...) co jeszcze powinienem zrobic? |
Zważywasz na to, że niedawno miałem ten sam problem, wystarczy:
Code: |
.~. $ uname -a
Linux uran 2.6.5-gentoo #4 Fri Apr 9 20:38:31 CEST 2004 i686 AMD Athlon(tm) XP 2200+ AuthenticAMD GNU/Linux
.~. $ scanimage -L
device `mustek_usb:libusb:003:002' is a Mustek 1200 CU Plus flatbed scanner
.~. $ cat /etc/conf.d/local.start |grep -A 2 chmod
chmod 777 /proc/bus/usb/ -R
chgrp usb /proc/bus/usb/ -R
.~. $
|
|
|
Back to top |
|
|
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Sun Apr 11, 2004 5:24 pm Post subject: |
|
|
Code: | cin0@cin0 cin0 $ uname -a
Linux cin0.7th.pl 2.6.5-mm1 #3 SMP Fri Apr 9 11:19:30 CEST 2004 i686 AMD Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux
cin0@cin0 cin0 $ 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).
cin0@cin0 cin0 $ sane-find-scanner
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x05d8, product=0x4002, chip=GT-6801?) at libusb:001:002
# 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. |
wiem ze od 2.6.3 nie ma modulu scanner.ko w jadrze, od >=2.6.3 trzeba kozystac z libusb..
mi znajduje skaner przez libusb
Code: | found USB scanner (vendor=0x05d8, product=0x4002, chip=GT-6801?) at libusb:001:002
|
ale co dalej? xsane go nie wykrywa, kooka to samo.. |
|
Back to top |
|
|
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Sun Apr 11, 2004 5:26 pm Post subject: |
|
|
ps. moge zobaczyc twoj /etc/sane.d/mustek*.conf albo /etc/sane.d/gt68xx.conf?
chociaz nic nie zmienialem w systemie, no ale jak mozesz to wklej..
thx |
|
Back to top |
|
|
kolkowski_damian Tux's lil' helper
Joined: 18 Mar 2004 Posts: 88 Location: Nysa, Poland
|
Posted: Sun Apr 11, 2004 7:30 pm Post subject: |
|
|
cin0l wrote: | ps. moge zobaczyc twoj /etc/sane.d/mustek*.conf albo /etc/sane.d/gt68xx.conf?
chociaz nic nie zmienialem w systemie, no ale jak mozesz to wklej..
thx |
Skoro nic nie zmieniałeś to problem powinien być następujący:
1. Nie ma Cię w grupie USB.
Dodaj się i po problemie.
P.S. Masz hotpluga w jaju i w systemie?
PP.S. Plików konfiguracyjnych nie zmieniłem ostatecznie, ponieważ nie było potrzeby, nie w tym jądrze. |
|
Back to top |
|
|
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Tue Apr 13, 2004 10:35 am Post subject: |
|
|
po tym jak dodalem sie do usb, i zmienilem prawa do /proc/bus/usb/* mam nastepujacy problem
Code: | $ sane-find-scanner
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
|
i koniec.. konsola sie zawiesza, nawet zkillowac jej nie moge, wczesniej tak mialem tylko z roota, po zmianie praw, dla usera tez..
scanimage -L tez wiesza konsole, i cat /proc/bus/usb/devices tez wiesza.. |
|
Back to top |
|
|
kolkowski_damian Tux's lil' helper
Joined: 18 Mar 2004 Posts: 88 Location: Nysa, Poland
|
Posted: Tue Apr 13, 2004 12:17 pm Post subject: |
|
|
cin0l wrote: | (...) scanimage -L tez wiesza konsole, i cat /proc/bus/usb/devices tez wiesza.. |
Heh, nie powiedziałeś że masz stare jajo.
W związku z tym:
1. Zaktualizuj do 2.6.5 np.
2. Bądź dodaj mapę do hotpluga, jak to się w starych jajach robi masz na forum napisane: https://forums.gentoo.org/viewtopic.php?t=138862&highlight=scanner
Polecam metodę nr. 1 bo u mnie działa. |
|
Back to top |
|
|
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Tue Apr 13, 2004 3:55 pm Post subject: |
|
|
napisalem ze mam nowe
Code: | cin0@cin0 cin0 $ uname -a
Linux cin0.7th.pl 2.6.5-mm1 #3 SMP Fri Apr 9 11:19:30 CEST 2004 i686 AMD Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux |
co do hotpluga to chyba to nie przez to, mi poprostu sie wiesza konsola jak z roota wykonuje sane-find-scanner, scanimage -L, lub po tych poprzednich, jak wykonam cat /proc/bus/usb/devices to tez sie wiesza kolejna konsola
moze to przez kernela 2.6.5-mm1 ? |
|
Back to top |
|
|
kolkowski_damian Tux's lil' helper
Joined: 18 Mar 2004 Posts: 88 Location: Nysa, Poland
|
Posted: Tue Apr 13, 2004 4:35 pm Post subject: |
|
|
cin0l wrote: | (...) moze to przez kernela 2.6.5-mm1 ? |
Raczej nie.
Przeczytaj wątek z pkt 2. Zdaje się, że tam ktoś miał podobny problem. |
|
Back to top |
|
|
cin0l Apprentice
Joined: 29 Feb 2004 Posts: 182
|
Posted: Sat Apr 17, 2004 1:42 pm Post subject: |
|
|
zainstalowalem 2.6.5-love4 i skaner chodzi.. |
|
Back to top |
|
|
|