Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[50% SOLVED] udev Regel funktionieren nichtmehr
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
Sourcecode
Guru
Guru


Joined: 25 Apr 2005
Posts: 392
Location: Germany, Kerpen in sew of Cologne

PostPosted: Sat Aug 19, 2006 8:44 am    Post subject: [50% SOLVED] udev Regel funktionieren nichtmehr Reply with quote

....hat sich mit dem Neuen Baselayout auch die udev Regeln verändert?

Mein mp3 Stick wird nichtmehr erkannt (auchnicht am USB selbst, udevinfo erkennt nichts).

Hier meine Regeln die bis dato funktioniert haben:
10-udev.rules:

BUS=="scsi", KERNEL=="sd?1", SYSFS{model}=="i.Beat drive    ", NAME="mp3player"
BUS=="scsi", KERNEL=="sd?1", SYSFS{model}=="MP300F Player   ", NAME="mp3player2"
BUS=="scsi", KERNEL=="sd?1", SYSFS{model}=="Motorola Phone  ", NAME="motorola"
BUS=="scsi", KERNEL=="sd?1", SYSFS{model}=="JUMPDRIVE       ", NAME="usbstick"

_________________
Es gibt bloss eins, was wichtig ist: dass man sterben muss.

Suicide is man's way of telling God, "You can't fire me - I quit."

no one gets out here alive....


Last edited by Sourcecode on Sat Aug 19, 2006 9:36 am; edited 1 time in total
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


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

PostPosted: Sat Aug 19, 2006 8:49 am    Post subject: Reply with quote

was sagt /var/log/messages?
hat sich nur das baselayout verändert?
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
Sourcecode
Guru
Guru


Joined: 25 Apr 2005
Posts: 392
Location: Germany, Kerpen in sew of Cologne

PostPosted: Sat Aug 19, 2006 9:01 am    Post subject: Reply with quote

/var/log/messages gibt keine Auskunft darüber. Ich wüsste nicht wo sonst die Ursache liegt, der Kernel hat alle erforderlichen optionen und auf fstab und die udev Regeln funktionieren (haben sie ja auch vorher).

Der USB Treiber wird geladen:
Code:

Aug 19 10:23:44 localhost usbcore: registered new driver usbfs
Aug 19 10:23:44 localhost usbcore: registered new driver hub
Aug 19 10:23:44 localhost usbcore: registered new driver ub
Aug 19 10:23:44 localhost usbmon: debugfs is not available
Aug 19 10:23:44 localhost usb usb1: configuration #1 chosen from 1 choice
Aug 19 10:23:44 localhost usb 1-2: new full speed USB device using uhci_hcd and address 2
Aug 19 10:23:44 localhost usb 1-2: configuration #1 chosen from 1 choice
Aug 19 10:23:44 localhost usbcore: registered new driver cdc_acm
Aug 19 10:23:44 localhost drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
Aug 19 10:23:44 localhost usbcore: registered new driver usblp
Aug 19 10:23:44 localhost drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Aug 19 10:23:44 localhost usbcore: registered new driver usb-storage
Aug 19 10:23:44 localhost usbcore: registered new driver usbhid
Aug 19 10:23:44 localhost drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Aug 19 10:23:44 localhost usbcore: registered new driver touchkitusb
Aug 19 10:23:44 localhost usbcore: registered new driver dabusb
Aug 19 10:23:44 localhost drivers/usb/media/dabusb.c: v1.54:DAB-USB Interface Driver for Linux (c)1999

_________________
Es gibt bloss eins, was wichtig ist: dass man sterben muss.

Suicide is man's way of telling God, "You can't fire me - I quit."

no one gets out here alive....
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


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

PostPosted: Sat Aug 19, 2006 9:04 am    Post subject: Reply with quote

nee, wenn du tail -f /var/log/messages eintippst, und dann das usb device einsteckst, lässt es da verlauten ob es das als /dev/sdx einhängt?
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
Sourcecode
Guru
Guru


Joined: 25 Apr 2005
Posts: 392
Location: Germany, Kerpen in sew of Cologne

PostPosted: Sat Aug 19, 2006 9:11 am    Post subject: Reply with quote

Meldung beim einstecken :

Code:
Aug 19 11:10:22 localhost usb 1-2.3: new full speed USB device using uhci_hcd and address 4
Aug 19 11:10:22 localhost usb 1-2.3: configuration #1 chosen from 1 choice
Aug 19 11:10:22 localhost ub(1.4): GetMaxLUN returned 1, using 2 LUNs
Aug 19 11:10:22 localhost uba: uba1

_________________
Es gibt bloss eins, was wichtig ist: dass man sterben muss.

Suicide is man's way of telling God, "You can't fire me - I quit."

no one gets out here alive....


Last edited by Sourcecode on Sat Aug 19, 2006 9:13 am; edited 2 times in total
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


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

PostPosted: Sat Aug 19, 2006 9:12 am    Post subject: Reply with quote

versuch bitte mal /dev/uba1 von hand zu mounten.


mount -t auto /dev/uba1 /mnt/wasauchimmer
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
Sourcecode
Guru
Guru


Joined: 25 Apr 2005
Posts: 392
Location: Germany, Kerpen in sew of Cologne

PostPosted: Sat Aug 19, 2006 9:14 am    Post subject: Reply with quote

toskala wrote:
versuch bitte mal /dev/uba1 von hand zu mounten.


mount -t auto /dev/uba1 /mnt/wasauchimmer


jep, war mein Gedanke und hab ich direkt mal versucht, das funktioniert.

Die udev Regeln auf ub? anzupassen hat nix gebracht, automatische erkennung gibs nich :/
_________________
Es gibt bloss eins, was wichtig ist: dass man sterben muss.

Suicide is man's way of telling God, "You can't fire me - I quit."

no one gets out here alive....
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


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

PostPosted: Sat Aug 19, 2006 9:15 am    Post subject: Reply with quote

nun schau mal wie deine udev regel aussieht.

änder mal KERNEL="sd?1" in KERNEL="ub?1" und versuchs nochmal
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
Sourcecode
Guru
Guru


Joined: 25 Apr 2005
Posts: 392
Location: Germany, Kerpen in sew of Cologne

PostPosted: Sat Aug 19, 2006 9:18 am    Post subject: Reply with quote

toskala wrote:
nun schau mal wie deine udev regel aussieht.

änder mal KERNEL="sd?1" in KERNEL="ub?1" und versuchs nochmal


Das hatte ich ja danach versucht, das funktioniert aber nicht.
_________________
Es gibt bloss eins, was wichtig ist: dass man sterben muss.

Suicide is man's way of telling God, "You can't fire me - I quit."

no one gets out here alive....
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


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

PostPosted: Sat Aug 19, 2006 9:19 am    Post subject: Reply with quote

welches baselayout benutzt du denn aktuell?
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
Sourcecode
Guru
Guru


Joined: 25 Apr 2005
Posts: 392
Location: Germany, Kerpen in sew of Cologne

PostPosted: Sat Aug 19, 2006 9:21 am    Post subject: Reply with quote

* sys-apps/baselayout
Latest version available: 1.12.4-r4
Latest version installed: 1.12.4-r4
Size of files: 211 kB
Homepage: http://www.gentoo.org/
Description: Filesystem baselayout and init scripts
License: GPL-2
_________________
Es gibt bloss eins, was wichtig ist: dass man sterben muss.

Suicide is man's way of telling God, "You can't fire me - I quit."

no one gets out here alive....
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


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

PostPosted: Sat Aug 19, 2006 9:23 am    Post subject: Reply with quote

ich merge das auch mal eben, dann schau ich mir das an ;)
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


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

PostPosted: Sat Aug 19, 2006 9:28 am    Post subject: Reply with quote

hm, also hier funktioniert alles wie vorher. igendwie tippe ich als fehlerquelle nicht auf das baselayout. ich hab alle config files ausser der modules.autoload sache übergebügelt. tut trotzdem, hast du vllt. doch etwas in deinem kernel verbaut?

oh, edit "udevcontrol reload_rules" hast du schonmal gemacht?
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
Sourcecode
Guru
Guru


Joined: 25 Apr 2005
Posts: 392
Location: Germany, Kerpen in sew of Cologne

PostPosted: Sat Aug 19, 2006 9:36 am    Post subject: Reply with quote

toskala wrote:
hm, also hier funktioniert alles wie vorher. igendwie tippe ich als fehlerquelle nicht auf das baselayout. ich hab alle config files ausser der modules.autoload sache übergebügelt. tut trotzdem, hast du vllt. doch etwas in deinem kernel verbaut?


Den Kernel hab ich mir 3mal angeschaut, sowohl im Wachen zustand, als auch im nüchternen Zustand, als auch im "Stoned" Zustand, da ist alles korrekt, alle 3 Augen sagen da is alles fertig, und das ist ja nicht das erstemal das ich meine USB Geräte einbinde und den Kernel dazu Backe... :)

Quote:

oh, edit "udevcontrol reload_rules" hast du schonmal gemacht?


Jetzt schon, bringt aber nichts.


...egal, ich lass es jetz so und behelf mir mit ALIAS, sollte das Problem an meiner Maschine liegen, wovon auszugehen ist, komm ich schon noch dahinter, hauptsache ich komme jetz endlich mal an meinen mp3 player an um die Musikfiles auszutauschen (die gehen einem nämlich mit der Zeit auf die Cochones ;) )

THX 4 Help.
_________________
Es gibt bloss eins, was wichtig ist: dass man sterben muss.

Suicide is man's way of telling God, "You can't fire me - I quit."

no one gets out here alive....
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Sat Aug 19, 2006 9:39 am    Post subject: Reply with quote

Welche usb bezogene treiber/optionen hast du im kernel aktiviert? Denn ein usb treiber, welches ub* devices erstellt, beist sich mit usb-storage. Leider weis ich den namen nicht, und kann ihn bei mir im kernel (2.6.16-suspend2-r8 ) nicht finden.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
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