Try restarting the dbus and hal and udev daemons.
If the device is detected but the automount system doesn't kick in you can use "hal-device", "hal-device-manager", and udevinfo to examine how the system sees your device. Hopefully the filesystem is OK.
Code:
udevinfo -q env -n /dev/sdb1
ID_VENDOR=SanDisk
ID_MODEL=Cruzer_Mini
ID_REVISION=0.1
ID_SERIAL=SanDisk_Cruzer_Mini_SNDK4F87642EAA601103
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:00:02.2-usb-0:2:1.0-scsi-0:0:0:0
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT16
ID_FS_UUID=3B69-1AFD
ID_FS_LABEL=
ID_FS_LABEL_SAFE=
With this example, I see that the filesystem is FAT16. That I should use -t VFAT. And if I wanted to I could use "UUID=3B69-1AFD" in an /etc/fstab entry to create an entry that will mount it regardless of which usb port it is plugged into.
Also look at the output of a command like:
Code:
udevtest /class/usb_device/usbdev1.1
This program is for debugging only, it does not create any node,
or run any program specified by a RUN key. It may show incorrect results,
if rules match against subsystem specfic kernel event variables.
main: looking at device '/class/usb_device/usbdev1.1' from subsystem 'usb_device'
run_program: '/bin/sh -c 'K=usbdev1.1; K=${K#usbdev}; printf bus/usb/%03i/%03i ${K%%.*} ${K#*.}''
run_program: '/bin/sh' (stdout) 'bus/usb/001/001'
run_program: '/bin/sh' returned with status 0
udev_rules_get_name: rule applied, 'usbdev1.1' becomes 'bus/usb/001/001'
udev_db_get_device: found a symlink as db file
udev_device_event: device '/class/usb_device/usbdev1.1' already in database, validate currently present symlinks
udev_node_add: creating device node '/dev/bus/usb/001/001', major = '189', minor = '0', mode = '0644', uid = '0', gid = '0'
main: run: 'socket:/org/freedesktop/hal/udev_event'
main: run: 'socket:/org/kernel/udev/monitor'
In your instance, I think you need to run "sudo udevtest /class/usb_device/usbdev2.1"
Also check if you have the usb related kernel modules
Code:
lsmod | grep usb
usbhid 69792 0
usb_storage 105280 2
scsi_mod 173744 3 sg,sd_mod,usb_storage
usbcore 148064 6 uhci_hcd,usbhid,usb_storage,ndiswrapper,ehci_hcd,ohci_hcd
ide_core 174720 4 usb_storage,ide_cd,amd74xx,ide_disk