LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-29-2008, 11:29 AM   #211
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by bashyow View Post
Im just thinking about this guys

Ive got an external card reader.

if I dont set HAL at start up, and then go on to slot a memory card into the reader after boot, the system wont pick it up (DBUS?)

but when I put a usb pen drive directly into a usb slot after boot. the system (DBUS) does pick it up.

going back to the card reader, is this because DBUS is only seeing the cardreader itself and not the memory slots?

so HAL is needed to monitor the card reader slots for input of a memory card and pass that info onto DBUS?
DBUS isn't "picking up" anything - it's udev. The kernel generates uevents that udev receives, which then passes them to hal, which then does something (or not) with them by communicating over a message bus (DBUS).

In other words, it's the kernel you should be concerned with, not dbus (which is out of the picture entirely since you don't have hal running).

It sounds like you're on 12.0 since this isn't handled automatically - try running the /etc/rc.d/rc.scanluns script after inserting a card in the cardreader, and it should work. On 12.1, this isn't needed (and in fact, the rc.scanluns file is not present), as the kernel is configured to handle this automatically.
 
Old 08-29-2008, 02:34 PM   #212
bashyow
Member
 
Registered: Jun 2008
Location: uk
Distribution: Slackware 12.1, AND IM LOVIN EVERY MINUTE OF IT, JERRY! :D
Posts: 122

Rep: Reputation: 15
thanks for clearing that up robby.

I am actually running 12.1, but HAL was off.
 
Old 09-17-2008, 04:47 AM   #213
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Hi

I was wondering, how do I change HAL's default mount settings... I would like to use the fmask/dmask/gid that for e.g is shown in http://slackwiki.org/NTFS-3G

I really don't like mounting drives with rwxrwxrwx root:root , I want it to mount as rw-rw-r-- and user:users

Any idea how I can force hal to do that for all NTFS/FAT devices ?


Slackware 12.1 btw,
 
Old 12-17-2008, 08:23 AM   #214
rclaudio2003
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
HI. I have a problem with hal. I has slack 12.1 with hal working perfectly, but now, I've upgraded to 12.2 with slackpkg and hal just doesn't work any more. I'm usin KDE 3.5.10 now (3.5.9 before). Is this common? I suppose that is some new configuration file the problem but i have no idea which one can be. GoodBye!
 
Old 12-17-2008, 09:24 AM   #215
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 723
Blog Entries: 3

Rep: Reputation: 77
Hello rclaudio2003,

As stated in UPGRADE.TXT

Quote:
6. Fix your config files. Some of the config files in /etc are going to
need your attention. You'll find the new incoming config files on
your system with the ".new" extension. You may need to fill these in
with information from your old config files and then move them over.

Feel brave? You can use this little script to install most of the
.new config files in /etc. If you've made any local changes you'll
need to add them to the newly installed files. Your old config files
will be copied to *.bak. Anyway, it might be an easier starting
point. Here it is:

#!/bin/sh
cd /etc
find . -name "*.new" | while read configfile ; do
if [ ! "$configfile" = "./rc.d/rc.inet1.conf.new" \
-a ! "$configfile" = "./rc.d/rc.local.new" \
-a ! "$configfile" = "./group.new" \
-a ! "$configfile" = "./passwd.new" \
-a ! "$configfile" = "./shadow.new" ]; then
cp -a $(echo $configfile | rev | cut -f 2- -d . | rev) \
$(echo $configfile | rev | cut -f 2- -d . | rev).bak 2> /dev/null
mv $configfile $(echo $configfile | rev | cut -f 2- -d . | rev)
fi
done

Last edited by gegechris99; 12-17-2008 at 09:26 AM.
 
Old 12-17-2008, 09:50 AM   #216
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rclaudio2003 View Post
HI. I have a problem with hal. I has slack 12.1 with hal working perfectly, but now, I've upgraded to 12.2 with slackpkg and hal just doesn't work any more. I'm usin KDE 3.5.10 now (3.5.9 before). Is this common? I suppose that is some new configuration file the problem but i have no idea which one can be.
I suspect that you didn't *fully* upgrade to 12.2. Did you follow slackpkg's instructions? In other words, did you do "slackpkg install-new" first? If not, then you don't have parted installed, and that's at least part of the problem.
 
Old 03-08-2009, 05:54 PM   #217
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by duryodhan View Post
Hi

I was wondering, how do I change HAL's default mount settings... I would like to use the fmask/dmask/gid that for e.g is shown in http://slackwiki.org/NTFS-3G

I really don't like mounting drives with rwxrwxrwx root:root , I want it to mount as rw-rw-r-- and user:users

Any idea how I can force hal to do that for all NTFS/FAT devices ?


Slackware 12.1 btw,
You can create a mount script for a specific filesystem:
Code:
$ cat /sbin/mount.vfat
#! /bin/sh

/sbin/mount -i -t vfat -o fmask=133,dmask=022 "$@" -o codepage=936,shortname=winnt
In here I "recommend" the fmask and dmask options, and "force" the codepage and shortname options.
Drawback: The "user" and "users" options in fstab will no longer work. If you need them, create a suid binary program instead of a script, and switch your identity to root before calling /sbin/mount.
 
Old 04-19-2009, 10:52 PM   #218
41x
LQ Newbie
 
Registered: Jul 2008
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Quote:
:~$ dbus-monitor --system
signal sender=org.freedesktop.DBus -> dest=:1.8 path=/org/freedesktop/DBus; interface=org.freedesktop.
DBus; member=NameAcquired
string ":1.8"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes
ktop.Hal.Manager; member=DeviceRemoved
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_if0_scsi_host_scsi_device_lun
0_scsi_generic"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes
ktop.Hal.Manager; member=DeviceRemoved
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_if0_scsi_host_scsi_device_lun
0"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes
ktop.Hal.Manager; member=DeviceRemoved
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_if0_scsi_host"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceRemoved
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_if0"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceRemoved
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_usbraw"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceRemoved
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_if0"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_usbraw"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_if0_scsi_host"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_if0_scsi_host_scsi_device_lun 0"
signal sender=:1.4 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedes ktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_4e8_1d23_07720D80018A_if0_scsi_host_scsi_device_lun 0_scsi_generic"
Can anyone help me with that? This is received upon mounting usb flash

Last edited by 41x; 04-20-2009 at 04:33 PM.
 
Old 08-13-2009, 04:01 AM   #219
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
I have unstuck this thread - huge numbers of people are now on 12.1/2 or current or even the 64bit version. For those who aren't yet, either this thread was helpful and you no longer have the issue or you don't care any more
 
Old 08-13-2009, 08:29 AM   #220
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Unsticking this thread isn't a bad idea. I'd like to see this thread updated a bit for newer versions of Slackware. Or, at least, for the information to make it to the Slackbook.
 
Old 08-13-2009, 08:44 AM   #221
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Original Poster
Rep: Reputation: Disabled
Drew,
Pretty much all of the needed information is now in CHANGES_AND_HINTS.TXT, so I personally don't think this thread (or an equivalent) is needed any more.
 
Old 08-13-2009, 10:14 AM   #222
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by rworkman View Post
Drew,
Pretty much all of the needed information is now in CHANGES_AND_HINTS.TXT, so I personally don't think this thread (or an equivalent) is needed any more.
Good point, Robby. Thanks.
 
  


Reply

Tags
compile, error, install, installer, make, nvidia, slackware, trolling


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
How to use HAL wesd Linux - Software 1 06-11-2007 04:00 PM
HAL won't load akjo Slackware 9 01-23-2007 09:03 AM
hal problem fibbi Linux - Software 3 01-11-2006 09:19 AM
hal krusty_lab Fedora 3 10-10-2005 10:23 AM
Hal gamehack Programming 7 12-16-2004 02:03 AM


All times are GMT -5. The time now is 05:29 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