Wie stelle ich es an, dass bei einem 2.6 er kernel das Modul usbserial dauerhaft mit den Parametern vendor=0x0af0 product=0x6300 geladen wird? Zum Hintergrund: Der kernel bindet damit die umts-pcmcia-Karte von Option ein und erstellt /dev/ttyUSB[0-3]. Lässt sich das mit udev-rules machen? Der kernel liefert diese Parameter nicht, wohl aber usbview.
Grüße, Günther
usbserial
- Savar
- Beiträge: 7174
- Registriert: 30.07.2004 09:28:58
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Berlin
Code: Alles auswählen
man modprobe.conf
options modulename option...
This command allows you to add options to the module modulename (which
might be an alias) every time it is inserted into the kernel: whether
directly (using modprobe modulename, or because the module being
inserted depends on this module.
All options are added together: they can come from an option for the
module itself, for an alias, and on the command line.
also ungefähr so:
Code: Alles auswählen
option usbserial vendor=0x0af0 product=0x6300
per udev wäre es bestimmt auch irgendwie möglich.. aber nur mit ein bisschen skripten...
Danke für die Hilfe, aber es funktioniert nicht mit der aliasses. Es war auch unter modprobe.d bereits eine Datei usbserial mit genau dem gleichen code vorhanden.
Erst wenn ich das automatisch geladene Modul usbserial entlade und dann händisch eingebe, werden nach dem Einstecken der Karte die ttyUSB-devices angelegt.
Wo kriegt usbview seine Informationen her?
Grüße, Günther
Erst wenn ich das automatisch geladene Modul usbserial entlade und dann händisch
Code: Alles auswählen
modprobe usbserial vendor=0x0af0 product=0x6300
Wo kriegt usbview seine Informationen her?
Grüße, Günther
Ich habe
in /etc/modprobe.conf eingetragen. Jetzt funktioniert's.
Danke.
Grüße, Günther
Code: Alles auswählen
option usbserial vendor=0x0af0 product=0x6300
Danke.
Grüße, Günther