login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
26
Re: Configuring previously loaded module
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Kay Sievers <kay.sievers@...>
To: Thiago Ramos dos Santos <dimtracker@...>
Cc: <linux-kernel@...>
Subject:
Re: Configuring previously loaded module
Date: Sunday, August 26, 2007 - 6:15 pm
On 8/27/07, Thiago Ramos dos Santos <dimtracker@gmail.com> wrote:
quoted text
> I have 2 devices which use the usbserial module: a CDMA modem and a > Palm PDA (to be more especific, the PDA uses the visor module, which > uses the usbserial). > When I plug the PDA to the computer, the visor module gets > automatically loaded by the kernel, and so is the usbserial module. > When the modem is pluged, the module is not loaded automaticaly, so I > created a hotplug entry for it. > For both devices I put rules in udev configuration files, so they are > autmaticaly mapped to the same /dev node in despite of the ttyUSB* > node they are mapped to. > > The problem is that the modem requires the usbserial module to be > loaded with some parameters: product=xxxxx vendor=xxxxx. So, if I plug > the PDA first, the usbserial is loaded without those parameters, and > when the modem is pluged, the ttyUSB nodes are not created for it. So > I have to manually unload both the visor and usbserial modules, reload > the usbserial with the specific parameters (to get the ttyUSB nodes > for the modem) and reload the visor module (to recreate the ttyUSB > nodes for the PDA). > > Is there anyway to configure the previously loaded usbserial module > with the modem parameters without having to unload it? If it is not > possible, is there any other solution?
Try putting: options usbserial product=xxxxx vendor=xxxxx in: /etc/modprobe.d/serial Kay -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Configuring previously loaded module
, Thiago Ramos dos Santos
, (Sun Aug 26, 6:03 pm)
Re: Configuring previously loaded module
, Kay Sievers
, (Sun Aug 26, 6:15 pm)
Re: Configuring previously loaded module
, Thiago Ramos dos Santos
, (Mon Aug 27, 5:43 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Matt Mackall
Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
Colocation donated by:
Who's online
There are currently
0 users
and
530 guests
online.
Syndicate