Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-29-2008, 11:29 AM
|
#211
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Original Poster
Rep: 
|
Quote:
Originally Posted by bashyow
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.
|
|
|
|
08-29-2008, 02:34 PM
|
#212
|
|
Member
Registered: Jun 2008
Location: uk
Distribution: Slackware 12.1, AND IM LOVIN EVERY MINUTE OF IT, JERRY! :D
Posts: 122
Rep:
|
thanks for clearing that up robby.
I am actually running 12.1, but HAL was off.
|
|
|
|
09-17-2008, 04:47 AM
|
#213
|
|
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
|
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,
|
|
|
|
12-17-2008, 08:23 AM
|
#214
|
|
LQ Newbie
Registered: Dec 2008
Posts: 1
Rep:
|
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!
|
|
|
|
12-17-2008, 09:24 AM
|
#215
|
|
Member
Registered: Oct 2005
Location: France
Distribution: Slackware 14.0
Posts: 662
Rep:
|
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.
|
|
|
|
12-17-2008, 09:50 AM
|
#216
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Original Poster
Rep: 
|
Quote:
Originally Posted by rclaudio2003
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.
|
|
|
|
03-08-2009, 05:54 PM
|
#217
|
|
Member
Registered: Dec 2008
Posts: 743
Rep: 
|
Quote:
Originally Posted by duryodhan
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.
|
|
|
|
04-19-2009, 10:52 PM
|
#218
|
|
LQ Newbie
Registered: Jul 2008
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 5
Rep:
|
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.
|
|
|
|
08-13-2009, 04:01 AM
|
#219
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
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 
|
|
|
|
08-13-2009, 08:29 AM
|
#220
|
|
Senior Member
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 13.37 & Slackware64_13.37
Posts: 1,118
Rep: 
|
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. 
|
|
|
|
08-13-2009, 08:44 AM
|
#221
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Original Poster
Rep: 
|
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.
|
|
|
|
08-13-2009, 10:14 AM
|
#222
|
|
Senior Member
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 13.37 & Slackware64_13.37
Posts: 1,118
Rep: 
|
Quote:
Originally Posted by rworkman
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
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 04:07 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|