Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]skaner bearpaw 1200CU i migracja z 2.4.25na2.6.5-mm1
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Fri Apr 09, 2004 10:12 am    Post subject: [SOLVED]skaner bearpaw 1200CU i migracja z 2.4.25na2.6.5-mm1 Reply with quote

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
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Fri Apr 09, 2004 10:35 am    Post subject: Reply with quote

o scanner ?
ja mam taki moduł, oraz uhci- tez jako moduł
Back to top
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Fri Apr 09, 2004 10:49 am    Post subject: Reply with quote

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
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Fri Apr 09, 2004 3:19 pm    Post subject: Reply with quote

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? :o
Back to top
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Fri Apr 09, 2004 11:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolkowski_damian
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 88
Location: Nysa, Poland

PostPosted: Sun Apr 11, 2004 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Sun Apr 11, 2004 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Sun Apr 11, 2004 5:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolkowski_damian
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 88
Location: Nysa, Poland

PostPosted: Sun Apr 11, 2004 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Tue Apr 13, 2004 10:35 am    Post subject: Reply with quote

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
View user's profile Send private message
kolkowski_damian
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 88
Location: Nysa, Poland

PostPosted: Tue Apr 13, 2004 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Tue Apr 13, 2004 3:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolkowski_damian
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 88
Location: Nysa, Poland

PostPosted: Tue Apr 13, 2004 4:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Sat Apr 17, 2004 1:42 pm    Post subject: Reply with quote

zainstalowalem 2.6.5-love4 i skaner chodzi..:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum