LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 03-04-2011, 12:06 PM   #1
rtmistler
Senior Member
 
Registered: Mar 2011
Location: Milford, MA. USA
Distribution: Angstrom, Debian, Ubuntu, MINT
Posts: 1,322
Blog Entries: 7

Rep: Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506
Trying to run X without udev


In support of a fast boot (Intel ATOM Z530 CPU, 2.6.31) we removed udev.

In the meantime we had to get the X server running to support graphics, as a result of that, udev was added back in.

Later we realized that udev was or some reason managing, and thus removing serial USB peripherals; however those peripherals are needed to be there all the time. These are standard FT232 serial USB devices, they do work, and I have no idea why udev detects them and then removes them as part of the boot sequence.

End results are:
- Udev not running, we can see and talk to all serial USB devices, and likely to the USB WIFI adapter (we merely haven't done much with that as yet) BUT we can't load Xserver.

- Udev running, we can load Xserver, but it causes the USB serial devices to be detected and then removed.

We'd like to figure out how to get Xserver running without udev running. The system boots faster and we do not have to worry about weird device behaviors.

Xserver is version 1.5.3.
 
Old 03-04-2011, 01:58 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
If Xserver is version 1.5.3, then you should be able to use hal instead of udev.
 
Old 03-04-2011, 04:08 PM   #3
rtmistler
Senior Member
 
Registered: Mar 2011
Location: Milford, MA. USA
Distribution: Angstrom, Debian, Ubuntu, MINT
Posts: 1,322
Blog Entries: 7

Original Poster
Rep: Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506
Thanks for the reply.

hald is running and (not knowing too much about it) my guess is that when I don't run udev at all, hald is providing information for the Xserver.

The problem there is the following:
With udev, the Xorg log file shows:
LoadingModule: extmod, dbe, glx, freetype, dri, iegd, lvds, sdvo, fb, and ramdac

When udev is not running, it goes as far as iegd and then does not run the remaining modules.

This does have two displays, the Intel ATOM chip has a controller (Intel US15W) that has both LVDS and SDVO outputs and we have an xorg.conf that provides the proper settings for these displays.

What I don't know is the information that udev provides to allow the Xserver to load those final 4 modules and get fully operational. Since they are .so files, I can't load them as modules, I instead have a chance at finding the right modules to run at startup, or need to find the correct options to indicate to Xserver that these need to be included.
 
  


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
envar PATH when run by udev - poor choice? catkin Slackware 7 04-15-2010 11:00 AM
[SOLVED] Using UDEV to automatically run a script on optical disc mount? atavus Linux - Software 8 03-04-2010 10:48 PM
udev RUN+= doesn't seem to work PlancksCnst Linux - General 18 05-15-2007 07:44 PM
Can't run openoffice from bash-script with udev krisealv Programming 1 04-16-2007 12:17 PM
udev does not run program on remove uselpa Slackware 2 10-22-2006 05:24 AM


All times are GMT -5. The time now is 02:08 PM.

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