Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB-Problem
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
Ragin
l33t
l33t


Joined: 14 Apr 2003
Posts: 776

PostPosted: Fri Jul 18, 2003 2:36 pm    Post subject: USB-Problem Reply with quote

Irgendwie versucht ein System hier ständig /dev/usb und alle möglichen Untergruppen /dev/usb/ttyXXX zu laden.

USB Unterstützung ist im Kernel deaktiviert und auch sonst nirgends aktiviert.

Als Test habe ich einmal alles angeschaltet, aber das System zeigte sich klar unbeeindruckt von meinen Bemühungen :).
Back to top
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Fri Jul 18, 2003 2:44 pm    Post subject: Reply with quote

Das Problem habe ich auch - ich verstehe nicht warum es auftritt aber ich glaube es liegt an cups!

Cups mit USB Support versucht glaub ich auf gut glück alle USB Drucker zu laden die es geben könnte...
_________________
He's not much to look at but it's sooo hard to find a family guy...
Back to top
View user's profile Send private message
Ragin
l33t
l33t


Joined: 14 Apr 2003
Posts: 776

PostPosted: Fri Jul 18, 2003 2:47 pm    Post subject: Reply with quote

Hmmm....
kann man den USB Support irgendwie abschalten?
Vielleicht gehts ja dann.
Back to top
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Fri Jul 18, 2003 2:51 pm    Post subject: Reply with quote

Ja es gibt ein USE Flag bei cups ich glaub es heisst usb ;)

Mach mal emerge -pv cups dann siehst du welche USE Flags cups supported...

Danach schaltest du die USE Flags ab per USE="-usb" und compilest cups neu...

Allerdings kannst du dann keine USB Drucker mehr mit cups verwenden!
_________________
He's not much to look at but it's sooo hard to find a family guy...
Back to top
View user's profile Send private message
Ragin
l33t
l33t


Joined: 14 Apr 2003
Posts: 776

PostPosted: Fri Jul 18, 2003 2:53 pm    Post subject: Reply with quote

Code:

>>emerge -pv cups
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild   R  ] net-print/cups-1.1.19-r1  +ssl -slp +pam


Das wären dann die Optionen :)
Der USB Support interessiert mich in dem Fall auch nicht, da alles über Printserver läuft.
Back to top
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Fri Jul 18, 2003 2:54 pm    Post subject: Reply with quote

Das ist seltsam:

In /usr/portage/profiles/use.desc steht:

"usb - Adds USB support to applications that have optional USB support (e.g. cups)"
_________________
He's not much to look at but it's sooo hard to find a family guy...
Back to top
View user's profile Send private message
Ragin
l33t
l33t


Joined: 14 Apr 2003
Posts: 776

PostPosted: Fri Jul 18, 2003 3:01 pm    Post subject: Reply with quote

Stimmt...irgendwie seltsam.
Andererseits habe ich das usb-Flag auch nicht gesetzt.

Das komische ist auch, dass dieser Fehler nur auf einem Rechner von 8 Rechnern, die ich insgesamt unter meiner Hand habe auftritt...

3 Rechner davon sind eigentlich weitestgehend gleich (besagter Rechner ist mit dabei)
Back to top
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Fri Jul 18, 2003 3:04 pm    Post subject: Reply with quote

Mach mal
'etcat uses cups'

Das zeigt dir an welche USE Variablen gesetzt waren als du cups emerged hast... Eventuell gabs damals ein USB?
_________________
He's not much to look at but it's sooo hard to find a family guy...
Back to top
View user's profile Send private message
Ragin
l33t
l33t


Joined: 14 Apr 2003
Posts: 776

PostPosted: Fri Jul 18, 2003 3:06 pm    Post subject: Reply with quote

Code:

 etcat uses cups
[ Colour Code : set unset ]
[ Legend      : (U) Col 1 - Current USE flags        ]
[             : (I) Col 2 - Installed With USE flags ]
 
 U I [ Found these USE variables in : net-print/cups-1.1.19-r1 ]
 + + ssl : Adds support for Secure Socket Layer connections
 - - slp : Adds Service Locator Protocol support to CUPS
 + + pam : Adds support PAM (Pluggable Authentication Modules)
[ No USE flags found for : net-print/fax4cups ]
[ No USE flags found for : net-print/cups-pdf ]
[ * No USE flags found for : net-print/gnome-cups-manager ]
[ * No USE flags found for : net-print/libgnomecups ]
[ No USE flags found for : net-print/qtcups ]
 
 U I [ Found these USE variables in : net-print/gimp-print-cups-4.3.8-r1 ]
 + - nls      : unknown
 + - gtk      : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + - readline : enables support for libreadline, a GNU line-editing library that most everyone wants.
 
 U I [ Found these USE variables in : sys-apps/apcupsd-3.10.5-r3 ]
 - - doc : Adds extra documentation (API, Javadoc, etc)


Nicht wirklich....
Zumal der Cups ja erst neu gemacht wurde, da eine neue Version kam.
Back to top
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Fri Jul 18, 2003 3:09 pm    Post subject: Reply with quote

Wirklich komisch!

Eventuell liegt das Problem auch an was ganz anderem... Das war nur ne Vermutung von mir, da es bei mir an einem PrintServer auftritt wo CUPS + USB läuft mit USB Druckern...

Bei mir am Desktop tritt es nicht auf und ich habe nur USB-OHCI und HID Support an...
_________________
He's not much to look at but it's sooo hard to find a family guy...
Back to top
View user's profile Send private message
MasterOfMagic
l33t
l33t


Joined: 20 Aug 2002
Posts: 677
Location: Vienna, Austria

PostPosted: Sat Jul 19, 2003 6:18 pm    Post subject: Reply with quote

hast du hotplug oder derartiges installiert und gestartet?

mfg
masterofmagic
_________________
Gentoo 1.4
Kernel 2.4.24
KDE 3.1.5
Back to top
View user's profile Send private message
lpetersen
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 76
Location: Germany

PostPosted: Tue Jul 29, 2003 9:40 am    Post subject: Re: USB-Problem Reply with quote

Hi Ragin und hachre,

Ragin wrote:
Irgendwie versucht ein System hier ständig /dev/usb und alle möglichen Untergruppen /dev/usb/ttyXXX zu laden.


meint ihr mit "ständig", dass es jedesmal beim Booten auftritt (oder wirklich "ständig")?
Falls das Problem beim Booten auftritt, habe ich es auch gehabt und gelöst, indem ich in der /etc/init.d/cups in der Funktion depends{...} einen Eintrag "after metalog" eingefügt habe. Dadurch wird cups beim Hochfahren erst nach metalog gestartet und seitdem kamen bei mir die ellenlangen Fehlermeldungen nicht mehr.

Ich hoffe, das hilft euch ein wenig weiter (und kommt nicht zu spät...),
Cheers, Lars
Back to top
View user's profile Send private message
beejay
Retired Dev
Retired Dev


Joined: 03 Oct 2002
Posts: 924
Location: Flensungen (das liegt neben Merlau)

PostPosted: Tue Jul 29, 2003 9:45 am    Post subject: Re: USB-Problem Reply with quote

lpetersen wrote:
Hi Ragin und hachre,

Ragin wrote:
Irgendwie versucht ein System hier ständig /dev/usb und alle möglichen Untergruppen /dev/usb/ttyXXX zu laden.


meint ihr mit "ständig", dass es jedesmal beim Booten auftritt (oder wirklich "ständig")?
Falls das Problem beim Booten auftritt, habe ich es auch gehabt und gelöst, indem ich in der /etc/init.d/cups in der Funktion depends{...} einen Eintrag "after metalog" eingefügt habe. Dadurch wird cups beim Hochfahren erst nach metalog gestartet und seitdem kamen bei mir die ellenlangen Fehlermeldungen nicht mehr.

Ich hoffe, das hilft euch ein wenig weiter (und kommt nicht zu spät...),
Cheers, Lars


Nun - damit ist das "Problem" nicht gelöst, sondern nur verdrängt. Die Meldungen werden nun nicht mehr in der Konsole, sondern im Logging-Daemon verarbeitet. Die Meldungen sind noch da - nur eben in /var/log/messages bzw. tty10.

Sie erscheinen vorher noch, weil kein Logging-Daemon gestartet ist - ist dieser aber gestartet, dann können die Meldungen auch von Ihm verarbeitet werden und verschwinden somit aus dem Blickfeld des Betrachters. ;)
_________________
Dort wo schwarzer Rauch aufsteigt, sich alsbald ein Fehler zeigt.
www.paludis-sucks.org | www.gentoo.de | www.gentoo-ev.org | www.gentoo.org
Back to top
View user's profile Send private message
lpetersen
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 76
Location: Germany

PostPosted: Tue Jul 29, 2003 10:49 am    Post subject: Reply with quote

Hmm... klingt überzeugend. (Man lernt halt nie aus, das ist das Schöne an Linux... :lol: )

Andererseits, ist das Absuchen der /dev/usb/schlagmichtot-Geräte denn wirklich ein (mehr als "kosmetisches") Problem? Funktioniert eines der tatsächlich angeschlossenen Geräte dadurch nicht?
Back to top
View user's profile Send private message
beejay
Retired Dev
Retired Dev


Joined: 03 Oct 2002
Posts: 924
Location: Flensungen (das liegt neben Merlau)

PostPosted: Tue Jul 29, 2003 11:27 am    Post subject: Reply with quote

Eben das müsste geklärt werden. Aber: Die Meldungen kommen sicherlich nicht ohne Grund. Vielleicht ist es wirklich kein Problem (deswegen hatte ich dieses Wort auch vorhin in "" gepackt), aber dann wäre es IMHO sinnvoller, dass Problem an der Wurzel zu beseitigen, und nicht die Folgen zu übertünchen :)
_________________
Dort wo schwarzer Rauch aufsteigt, sich alsbald ein Fehler zeigt.
www.paludis-sucks.org | www.gentoo.de | www.gentoo-ev.org | www.gentoo.org
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