You are not logged in.
Pages: 1
Hi
I'm kinda new to archlinux, and having major trouble getting any devices to work if I plug them in after booting. For example, my USB modem works if plugged in from boot, same for my thumbdrive, but if I plug them in after booting, I can't seem to access them. Having said that, Udev does create the appropriate entries for them in the /dev directory. Symptoms include wvdial complaining that it can't access my modem (despite the fact that it can open /dev/ttyUSB0) and PCManFM not displaying any kind of media in the sidebar.
Does anyone have any ideas? Any help would be greatly appreciated.
I've got HAL and FAM running too, if that helps.
Thanks heaps!
CapnFabs.
Last edited by capnfabs (2009-01-06 12:01:33)
Offline
Edit - wrong answer (hotplugging)
Does fstab have an entry for the thumb drive? Also what DE are you using?
Last edited by M177ER (2008-12-31 16:04:43)
Offline
the only entries in fstab are for my swap and '/' partitions. I removed the cdrom and dvd ones and never added the thumbdrive one. I'm actually having trouble detecting CDs/DVDs in the aforementioned manner too.
I'm using LXDE for a desktop manager (and, as an aside, it's great!) but also had a tinker with XFCE and got the same results.
thanks heaps!
Offline
I have set up a couple of eee701 with LXDE.
add your user to hal. Make sure hal is running. Check the wiki under LXDE
Offline
yep, i've done all that a number of times to no avail.
...actually, just reading through my /etc/group file now, do I need to be a member of the 'dbus' group too?
Offline
No you don't have to be in group dbus. But you should be in group storage...
Offline
thanks guys
i'm actually already a member of audio, optical, storage, power and hal, and have been right from when I installed hal. Still no luck. Any more ideas??
Thanks again!
Offline
Take a look in wiki hal
Offline
I've looked through the hal wiki a number of times to no avail.
Today, however, I opened dbus-monitor to look at the messages passing through the bus, when I plug in a device all messages have "(null destination)" as the destination.
I'm guessing this could well be the problem. Does this mean that pcmanfm is not subscribing to the messages (it IS running as a daemon)? Or that there is something wrong with my dbus configuration (I'm just using the out-of-the-box config)?
Thanks heaps for all your help/suggestions everyone.
Last edited by capnfabs (2009-01-01 22:46:05)
Offline
Out of curiosity, do you have both dbus and dbus-core installed? You may want to if you don't.
Offline
yes i do, they're both version 1.2.4-1. Thanks for checking
Offline
did you try to mount manually? What is the output of dmesg when you insert the usb stick?
Offline
I can mount it manually, and it works without a problem. furthermore, i can just "pmount /dev/sdb" (or whatever device it happens to be) and it's not too bad, but i really want the GUI functionality.
the output of dmesg when the stick is inserted is
usb 4-1: new high speed USB device using ehci_hcd and address 5
usb 4-1: configuration #1 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi 4:0:0:0: Direct-Access Generic STORAGE DEVICE 2254 PQ: 0 ANSI: 0
sd 4:0:0:0: [sdb] 1024000 512-byte hardware sectors (524 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 02 00 00 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 1024000 512-byte hardware sectors (524 MB)
usb 4-1: reset high speed USB device using ehci_hcd and address 5
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 02 00 00 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sdb: unknown partition table
sd 4:0:0:0: [sdb] Attached SCSI removable disk
sd 4:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
and, for further reference, the output from dbus-monitor --system when the stick is inserted is
signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_780_7100_0001538"
signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_780_7100_0001538_if0"
signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_780_7100_0001538_usbraw"
signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_780_7100_0001538_if0_scsi_host"
signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_780_7100_0001538_if0_scsi_host_scsi_device_lun0"
signal sender=:1.0 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/usb_device_780_7100_0001538_if0_scsi_host_scsi_device_lun0_scsi_generic"
any ideas?
thanks again!
Offline
I am running out of recommendation at the moment
Offline
ok do you get any output in lsusb? with any devices plugged in
Mr Green I like Landuke!
Offline
yep, there's plenty of output, here's the output for lsusb:
Bus 005 Device 001: ID 1d6b:0001
Bus 004 Device 003: ID 0780:7100 **
Bus 004 Device 001: ID 1d6b:0002
Bus 003 Device 001: ID 1d6b:0001
Bus 002 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0001
The one marked with the ** is my thumbdrive, and you'll notice i'm also using my USB Wireless modem to connect to the internet
I actually got it to autodetect and mount with autoFS (which detects specific devices), but it just wouldn't work with anything more generic (I've tried both PCManFM and Thunar).
Can I just ask again, when I dbus-monitor --system, every message about the insertion of USB devices has a destination of (null destination). Does this mean that nothing is subscribing to the messages?
Thanks again for your help so far everyone!!
Offline
Ok everyone!! I discovered a completely idiot-proof solution!! Here it is: (wait for it, astoundingly simple)
pacman -Syu.
and then screw around with the fact that i got kernel panics on boot (there are a few great posts on this board about that) and all of a sudden everything started working.
Beats me :-/
Thanks for all your help!
Offline
Pages: 1