LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-25-2007, 06:59 PM   #1
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Rep: Reputation: 15
problems loading modules and keeping nodes alive


Hi all,

I am running Slackware 11 on my laptop. I have a device that uses the usbserial module. Every time I start the system I have to make the /dev/ttyUSB0 node and then insert the module with the vendor and product parameters. I thought that the node should be permanent and the vendor, product stuff was added to a file somewhere so every time I plugged in my device it would be recognized.

So I just added

modprobe usbserial vendor=0x03EB product=0x6124
mknod -m 0666 /dev/ttyUSB0 c 188 0

(this coresponds to Atmel's AT91SAM7S-EK evaluation board if you were curious)

to rc.local and called it good.

Now I have a USB to Serial converter that uses the module pl2303 and this one depends on the usbserial module. So now the usbserial module is already loaded when rc.local gets called and my device doesn't work till I

remove pl2303
remove usbserial
add usbserial with the vendor=0x03EB product=0x6124 parameters
add pl2303
make a second node for USB1 (for the usb to serial converter, Atmel is on USB0)

What am I missing here? As of now I have that whole process in rc.local but I dont feel that I should have to do that every time I want to use this thing.

Ryan
 
Old 12-26-2007, 07:27 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
In recent 2.6 kernels, most (all?) of the entries in the /dev directory are dynamically created by udev. So they won't persist across boots. Sadly, at this time, that is about the extent of my knowledge of udev. (Just enough to be dangerous. ) But my guess is the solution to your problem lies in figuring out how udev works with all of this.

Good luck.
 
Old 12-27-2007, 08:13 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I've had similar problems on Slackware 11.0, but they just went away after upgrading to Slackware 12.0. Could it be HAL or something that's helping out in all this ?
 
Old 12-27-2007, 01:01 PM   #4
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
Ok so I know to look into udev. I have been reading for a day or so and I will get that straightened out and report back. How about the modules problem though, how do I get them to load properly without having to remove and add them in rc.local?
 
Old 12-28-2007, 01:22 AM   #5
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by dasoberdick View Post
Ok so I know to look into udev. I have been reading for a day or so and I will get that straightened out and report back. How about the modules problem though, how do I get them to load properly without having to remove and add them in rc.local?
Within my ignorance (let the buyer beware! ) I am thinking it is all tied together within the udev paradigm. Have you considered trying Slackware 12.0 and seeing if the whole problem goes away as H_TeXMeX_H suggested?

Last edited by blackhole54; 12-28-2007 at 01:25 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XDMCP - problem keeping sessions alive RedHatCat Linux - Networking 2 06-27-2007 03:05 AM
keeping Xvnc alive after vncviewer dies rcbell Linux - Networking 2 10-12-2006 08:40 PM
LXer: FOSS for OS/2: Keeping the flame alive LXer Syndicated Linux News 0 02-17-2006 08:31 AM
Keeping the connection alive? NonSumPisces Linux - Networking 2 07-08-2004 05:12 PM
Keeping dialup alive kobe Linux - General 3 08-18-2002 01:46 AM


All times are GMT -5. The time now is 08:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration