Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HARDWARE] USB-Drucker
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Fri Sep 26, 2003 3:09 am    Post subject: [HARDWARE] USB-Drucker Reply with quote

Hab vorhin im kernel usb-printer support aktiviert und bin den how-to's auf http://www.linuxprinting.org sowie auf http://www.gentoo.org gefolgt, aber trotzdem ist der Drucker nicht in /dev/usb/lp0 zu finden.
Vieleicht kann mir jemand von euch weiterhelfen.

btw. hab auch schon den kernel auf 2.4.22 upgedatet, scheint aber nichts geholfen zu haben.

Drucker: Epson Stylus CX 3200

[mod edit]
Titel angepasst
beforegod
Back to top
View user's profile Send private message
reptile
Guru
Guru


Joined: 19 Nov 2002
Posts: 363

PostPosted: Fri Sep 26, 2003 4:33 am    Post subject: Reply with quote

das da:

Code:

modprobe printer
modprobe usb-[u/o]hci


tuts nicht?
Back to top
View user's profile Send private message
rincewind
Apprentice
Apprentice


Joined: 16 Aug 2002
Posts: 172
Location: Essen, Germany

PostPosted: Fri Sep 26, 2003 5:10 am    Post subject: Reply with quote

HI !

Mir ist aufgefallen, das cups das falsche device anspricht,
ich hab hier cups-1.1.19.r1 und der versucht usb printer mit /dev/usblp0 anzusprechen, gentoos devfs nennt es imho besser /dev/usb/lp0.
mit
Code:
 ln -sf /dev/usblp0 /dev/usb/lp0

sollte es wieder klappen.

gruss rince

Edit ian!:
Doppler gelöscht.
Back to top
View user's profile Send private message
rincewind
Apprentice
Apprentice


Joined: 16 Aug 2002
Posts: 172
Location: Essen, Germany

PostPosted: Fri Sep 26, 2003 1:05 pm    Post subject: Reply with quote

danke ian!

hatte probleme mit opera heut morgen, erzählte mir immer "server closed connection" grrrrr.

gruss rince
Back to top
View user's profile Send private message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Tue Sep 30, 2003 10:38 am    Post subject: Reply with quote

hm, das device lp0 ist bei mir unter /dev/usb/ überhaupt nicht vorhanden :(
Back to top
View user's profile Send private message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Tue Sep 30, 2003 10:40 am    Post subject: Reply with quote

reptile wrote:
das da:

Code:

modprobe printer
modprobe usb-[u/o]hci


tuts nicht?


ne, irgendwie auch nicht:

modprobe: Can't locate module printer

Hab aber das usb-printer modul fest in den kernel einkompiliert.
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


Joined: 14 Dec 2002
Posts: 2080
Location: hamburg, germany

PostPosted: Tue Sep 30, 2003 10:55 am    Post subject: Reply with quote

wennst etwas fest eincompilierst dann kannst es auch als modul nimmer ansprechen.
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Tue Sep 30, 2003 11:26 am    Post subject: Reply with quote

Bau das USB ZEug mal als Modul(e), lade die erwähnten dann mit modprobe und wenns dann immer noch nicht will, zeig uns doch mal den relevanten Ausschnitt von dmesg...
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Tue Sep 30, 2003 12:16 pm    Post subject: Reply with quote

Also bei modprobe printer kommt das:

/lib/modules/2.4.22/kernel/drivers/usb/printer.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/usb/printer.o: insmod /lib/modules/2.4.22/kernel/drivers/usb/printer.o failed
/lib/modules/2.4.22/kernel/drivers/usb/printer.o: insmod printer failed

und bei dmesg wird mir z.B. das hier angezeigt:

printer.c: v0.11: USB Printer Device Class driver

:(
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Tue Sep 30, 2003 12:28 pm    Post subject: Reply with quote

Ich hab auch einen USB-Drucker (HP Laserjet 1000). Achtung! Kernel 2.6.0-test6-mm1!

/etc/modules.autoload.d/kernel-2.6
Quote:
## USB (Maus, Drucker)
usbcore
usbmouse
usblp
uhci-hcd
hid


DMesg
Quote:
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/core/usb.c: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci-hcd 0000:00:10.0: UHCI Host Controller
uhci-hcd 0000:00:10.0: irq 21, io base 0000d800
uhci-hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci-hcd 0000:00:10.1: UHCI Host Controller
uhci-hcd 0000:00:10.1: irq 21, io base 0000dc00
uhci-hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci-hcd 0000:00:10.2: UHCI Host Controller
uhci-hcd 0000:00:10.2: irq 21, io base 0000e000
uhci-hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver

_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Tue Sep 30, 2003 12:35 pm    Post subject: Reply with quote

was ist eigentlich dieses usbcore? das steht bei mir nirgends
Back to top
View user's profile Send private message
tobimat80
Apprentice
Apprentice


Joined: 27 May 2003
Posts: 272
Location: Trier - Germany

PostPosted: Wed Oct 01, 2003 9:00 am    Post subject: Reply with quote

usbcore erhält man, wenn man generell USB im Kernel aktiviert (als Modul wohlgemerkt). Dazu muss man noch ein USB Printer Modul haben, um einen USB-Printer überhaupt anzusprechen (wie z.B printer, oder usblp)

Gruß
Tobi
Back to top
View user's profile Send private message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Wed Oct 01, 2003 1:34 pm    Post subject: Reply with quote

also den usbprinter support hab ich ja im kernel aktivert, aber sowas wie usbcore find ich bei dmesg nirgends :(
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Wed Oct 01, 2003 3:47 pm    Post subject: Reply with quote

smokecd wrote:
also den usbprinter support hab ich ja im kernel aktivert, aber sowas wie usbcore find ich bei dmesg nirgends :(


Aber das scheint doch genau das Problem zu sein, dass du usb-support nicht im kernel drin hast.
Dann kannst du es natürlich auch nicht finden und usb läuft dann natürlich auch nicht.
Schau halt einfach nochmal nach, ob du es drin hast, oder nicht.
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Thu Oct 02, 2003 4:06 pm    Post subject: Reply with quote

Es ist aber drin:

# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=y
# CONFIG_USB_UHCI_ALT is not set
CONFIG_USB_OHCI=y
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
CONFIG_USB_SCANNER=m
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_KAWETH=m
CONFIG_USB_CATC=m
CONFIG_USB_AX8817X=m
CONFIG_USB_CDCETHER=m
CONFIG_USB_USBNET=m
CONFIG_USB_USS720=m
Back to top
View user's profile Send private message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Mon Oct 06, 2003 4:10 pm    Post subject: Reply with quote

*push*
Back to top
View user's profile Send private message
phasezero
n00b
n00b


Joined: 06 Oct 2003
Posts: 12
Location: Bad Brückenau

PostPosted: Mon Oct 06, 2003 7:29 pm    Post subject: Selbes Problem Reply with quote

Gibt es mittlerweile eine lösung dazu?? Ich hab das selbe Problem nur wenn ich
Code:
modprobe printer

eingebe erhalte ich
Code:
modprobe: Can't locate module printer

und bei
Code:
modprobe usb [u/o]
erhalte ich
Code:
modprobe: Can't locate module o] which is needed for [u/o]


usb ist im Kernel aktiviert
Back to top
View user's profile Send private message
smokecd
n00b
n00b


Joined: 06 Sep 2003
Posts: 42
Location: Germany

PostPosted: Tue Oct 14, 2003 12:26 pm    Post subject: Reply with quote

kann denn sonst niemand helfen?
Back to top
View user's profile Send private message
Macrobiotus
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 230

PostPosted: Tue Oct 14, 2003 4:06 pm    Post subject: Reply with quote

Bau einfach die USB-Unterstützung auch als Modul(e) und lade die dann erstmal per Hand.
"Mühsam ernährt sich das Eichörnchen"
Schritt für Schritt vorgehen. Manchmal geht´s halt nur wenn man die gewünschten Eigenschaften als Modul baut, manchmal nur wenn sie eincompiliert sind ... und manchmal findet man den Fehler, an dem es wirklich liegt ;-)

Ich jedenfalls hab Module lieber, da man dann per lsmod erkennen kann ob sie geladen sind oder nicht.
Back to top
View user's profile Send private message
phasezero
n00b
n00b


Joined: 06 Oct 2003
Posts: 12
Location: Bad Brückenau

PostPosted: Tue Nov 11, 2003 12:39 pm    Post subject: einen Schritt weiter Reply with quote

Tja, so geschehen ich bin auch mittlerweile einen Schritt weiter. Ich habe es geschafft ein /dev/usblp0 zu bekommen.

Code:

dmesg | grep usb

liefert mir jetzt auch
Code:

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xf882f000, IRQ 11
usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] 7001 (#2)
usb.c: new USB bus registered, assigned bus number 1
usb-ohci.c: USB OHCI at membase 0xf8831000, IRQ 5
usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] 7001
usb.c: new USB bus registered, assigned bus number 2
usb.c: registered new driver hid
usb.c: registered new driver usb-storage
usb.c: USB device 2 (vend/prod 0x57c/0x2800) is not claimed by any active driver.
usb.c: USB device 3 (vend/prod 0x3f0/0x6104) is not claimed by any active driver.
usb-uhci.c: $Revision: 1.275 $ time 23:19:00 Nov  6 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x6104


Jetzt gibt es nur noch folgendes Problem. Mein Drucker Modell hat sich inzwischen von einem DeskJet 930c auf ein DeskJet 5652 geändert. Nachdem ich die Installation so durchgeführt habe wie auf http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_5652 tut sich dennoch nichts. :cry:

Hat bereits jemand einen solchen Drucker zum laufen bekommen und weiß vielleicht irgendwelche Besonderheiten??

greetz
Phase
Back to top
View user's profile Send private message
malachay
n00b
n00b


Joined: 18 Jun 2003
Posts: 71
Location: Germany

PostPosted: Tue Nov 11, 2003 1:26 pm    Post subject: Reply with quote

Hi,
hast du dir schon das Printing-HOWTO von gentoo.org zu Herzen genommen?
http://www.gentoo.org/doc/en/printing-howto.xml

Hatte gestern auch auf einmal Probleme mit dem drucken (muss zugeben ich druck nicht so oft, und bei irgend einem Update hatte es wohl irgendwas verhauen), hab dann einfach cups, foomatic und ghostscript reemerged, jetzt gehts wieder.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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