You are not logged in.
Pages: 1
So I have a port replicator plugged into my laptop with an external monitor. I have everything working fine using the udlfb module. I would really like to get this module to start whenever I boot into linux.
Here is my rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# Note: Using "localtime" is discouraged.
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
# VERBOSE: Verbose level (from 1 to 8). man 3 syslog for level info
#
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="America/Chicago"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
VERBOSE="3"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
# Replace every !module by an entry as on the following line in a file in
# /etc/modprobe.d:
# blacklist module
# See "man modprobe.conf" for details.
#
MODULES=(udlfb)
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30
# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"
# Scan for BTRFS volumes at startup
USEBTRFS="no"
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="squinky-mobile"
# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=
interface=
address=
netmask=
gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng netfs crond dbus bluetooth networkmanager sshd)
I can use modprobe to load the module after I log in
sudo modprobe udlfb
dmesg does not mention anything about it until I do the modprobe:
[ 565.836442] udlfb: DisplayLink Adriatic USB Dock - serial #PN600011ZZ51FA
[ 565.836447] udlfb: vid_17e9&pid_0327&rev_0102 driver's dlfb_data struct at ffff880068747000
[ 565.836449] udlfb: console enable=0
[ 565.836451] udlfb: fb_defio enable=0
[ 565.836669] udlfb: vendor descriptor length:1b data:1b 5f 01 0019 05 00 01 03 00 04
[ 565.836673] udlfb: DL chip limited to 2080000 pixel modes
[ 565.836741] udlfb: allocated 4 65024 byte urbs
[ 565.916982] udlfb: 1440x900 valid mode
[ 565.916986] udlfb: 720x400 valid mode
[ 565.916988] udlfb: 640x480 valid mode
[ 565.916989] udlfb: 640x480 valid mode
[ 565.916991] udlfb: 640x480 valid mode
[ 565.916992] udlfb: 640x480 valid mode
[ 565.916994] udlfb: 800x600 valid mode
[ 565.916995] udlfb: 800x600 valid mode
[ 565.916997] udlfb: 800x600 valid mode
[ 565.916998] udlfb: 800x600 valid mode
[ 565.917000] udlfb: 832x624 valid mode
[ 565.917001] udlfb: 1024x768 valid mode
[ 565.917002] udlfb: 1024x768 valid mode
[ 565.917004] udlfb: 1024x768 valid mode
[ 565.917005] udlfb: 1280x1024 valid mode
[ 565.917007] udlfb: 1152x864 valid mode
[ 565.917008] udlfb: 1440x1440 valid mode
[ 565.917010] udlfb: 1152x864 valid mode
[ 565.917011] udlfb: 1280x1024 valid mode
[ 565.917012] udlfb: 1440x1440 valid mode
[ 565.917014] udlfb: Reallocating framebuffer. Addresses will change!
[ 565.918755] udlfb: 1440x900 valid mode
[ 565.918758] udlfb: set_par mode 1440x900
[ 565.925457] udlfb: DisplayLink USB device /dev/fb1 attached. 1440x900 resolution. Using 5064K framebuffer memory
[ 565.925485] usbcore: registered new interface driver udlfb
Any thoughts on how to get it to load automatically? The only thing I have in modprobe.conf is
blacklist bcma
Thanks!
Last edited by squinky4 (2011-08-19 18:25:41)
Offline
You're sure the module isn't blacklisted by some file in /etc/modprobe.d/?
Last edited by alphaniner (2011-08-19 17:04:12)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
You're sure the module isn't blacklisted by some file in /etc/modprobe.d/?
Yeah, checked and rechecked...
squinky-mobile modprobe.d $ ls -la
total 16
drwxr-xr-x 2 root root 4096 Aug 18 19:21 .
drwxr-xr-x 61 root root 4096 Aug 19 11:14 ..
-rw-r--r-- 1 root root 70 Aug 18 19:21 modprobe.conf
-rw-r--r-- 1 root root 196 Aug 9 18:41 usb-load-ehci-first.conf
squinky-mobile modprobe.d $
squinky-mobile modprobe.d $ cat /etc/modprobe.d/modprobe.conf
#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#
blacklist bcma
squinky-mobile modprobe.d $
squinky-mobile modprobe.d $ cat usb-load-ehci-first.conf
install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install ohci_hcd $CMDLINE_OPTS
install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install uhci_hcd $CMDLINE_OPTS
squinky-mobile modprobe.d $
Not sure what the usb-load-ehci-first.conf does, maybe this is my problem?
Last edited by squinky4 (2011-08-19 18:09:37)
Offline
Edit: NVM, you clearly don't have any other blacklist files there.
When I was searching for files that go in /etc/modprobe.d/, I found there's a /lib/modprobe.d/ folder that's part of udev. It contains a framebuffer_blacklist.conf file that blacklists udlfb. It's a shot in the dark, but maybe try removing that line?
Last edited by alphaniner (2011-08-19 18:20:48)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Edit: NVM, you clearly don't have any other blacklist files there.
When I was searching for files that go in /etc/modprobe.d/, I found there's a /lib/modprobe.d/ folder that's part of udev. It contains a framebuffer_blacklist.conf file that blacklists udlfb. It's a shot in the dark, but maybe try removing that line?
That seems to have done the trick, thank you!
Offline
framebuffer_blacklist.conf is not listed as a backup file in the udev package! You will lose your changes if you do not do one of the following:
1) Copy the file higher in the modprobe.d hierarchy so that it overrides the rule provided by udev: `/etc/modprobe.d/framebuffer_blacklist.conf'. It's important that it have the same filename.
2) Add the file to NoUpgrade in /etc/pacman.conf as lib/modprobe.d/framebuffer_blacklist.conf (note the lack of the leading slash). If this file ever changes in the udev package, you'll have a .pacnew created on upgrade.
Offline
Pages: 1