From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Automatically mounting USB mass storage devices (camera)
Date: Sat, 12 Nov 2005 20:45:58 +0100 [thread overview]
Message-ID: <43764676.8000603@mid.email-server.info> (raw)
Hi!
Since "recently" (I "of course" don't know since when exactly *G*),
I cannot get KDE or Gnome or ivman to automatically mount my
digicam, when I plug it in. The camera appears as a "USB
Mass Storage devices". In the kern.log, I get the following entries:
Nov 12 20:28:14 blatt usb 1-1: new full speed USB device using uhci_hcd and address 5
Nov 12 20:28:14 blatt scsi3 : SCSI emulation for USB Mass Storage devices
Nov 12 20:28:14 blatt usb-storage: device found at 5
Nov 12 20:28:14 blatt usb-storage: waiting for device to settle before scanning
[...]
Nov 12 20:28:19 blatt Vendor: NIKON Model: NIKON DSC E4300 Rev: 1.00
Nov 12 20:28:19 blatt Type: Direct-Access ANSI SCSI revision: 02
Nov 12 20:28:19 blatt SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
Nov 12 20:28:19 blatt sda: Write Protect is off
Nov 12 20:28:19 blatt sda: Mode Sense: 18 00 00 08
Nov 12 20:28:19 blatt sda: assuming drive cache: write through
Nov 12 20:28:19 blatt SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
Nov 12 20:28:19 blatt sda: Write Protect is off
Nov 12 20:28:19 blatt sda: Mode Sense: 18 00 00 08
Nov 12 20:28:19 blatt sda: assuming drive cache: write through
Nov 12 20:28:19 blatt sda: sda1
Nov 12 20:28:19 blatt Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Nov 12 20:28:19 blatt usb-storage: device scan complete
As you can see, the system made the device available as "sda1".
When I "mount /dev/sda1 /mnt", I can get to the pictures and
what-not on the disk.
I just noticed another strange thing - lsusb isn't finding the
device. Or rather, it's only able to find it when ran with root
rights.
alexander@blatt ~ $ lsusb
Bus 002 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
alexander@blatt ~ $ sudo lsusb
Bus 002 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 04b0:010e Nikon Corp. Coolpix 4300 (storage)
Bus 001 Device 001: ID 0000:0000
Strange.
How can I get the system to automatically mount my USB device when I
attach it?
alexander@blatt ~ $ lsmod
Module Size Used by
autofs4 19844 4
rt2500 169572 1
sd_mod 16144 0
usb_storage 33412 0
scsi_mod 92772 2 sd_mod,usb_storage
snd_pcm_oss 50720 0
snd_mixer_oss 18176 1 snd_pcm_oss
snd_seq_oss 32896 0
snd_seq_midi_event 7168 1 snd_seq_oss
snd_seq 50192 4 snd_seq_oss,snd_seq_midi_event
snd_via82xx 26656 1
snd_ac97_codec 88316 1 snd_via82xx
snd_ac97_bus 2304 1 snd_ac97_codec
snd_pcm 88584 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 24708 2 snd_seq,snd_pcm
snd_page_alloc 10504 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7424 1 snd_via82xx
snd_rawmidi 25120 1 snd_mpu401_uart
snd_seq_device 8460 3 snd_seq_oss,snd_seq,snd_rawmidi
snd 52452 13
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 10080 1 snd
ext3 121736 2
jbd 58260 1 ext3
reiserfs 238448 3
af_packet 22024 2
usbhid 37088 0
rtc 9236 0
pcspkr 3808 0
drm 69652 0
via_agp 9600 1
agpgart 33608 2 drm,via_agp
ide_cd 39940 0
cdrom 38176 1 ide_cd
cpufreq_conservative 7204 0
cpufreq_ondemand 6300 0
cpufreq_powersave 1920 0
p4_clockmod 4872 0
speedstep_lib 3968 1 p4_clockmod
freq_table 4612 1 p4_clockmod
evdev 9344 1
psmouse 35204 0
ac 4868 0
button 6672 0
video 15492 0
thermal 13064 0
processor 22844 1 thermal
battery 9348 0
fan 4612 0
uhci_hcd 32016 0
usbcore 120064 4 usb_storage,usbhid,uhci_hcd
alexander@blatt ~ $ uname -a
Linux blatt 2.6.14-suspend2.037 #1 PREEMPT Tue Nov 8 20:57:32 CET 2005 i686 Intel(R) Celeron(R) M processor 1.50GHz GenuineIntel GNU/Linux
Thanks,
Alexander
--
gentoo-user@gentoo.org mailing list
next reply other threads:[~2005-11-12 19:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-12 19:45 Alexander Skwar [this message]
2005-11-12 20:26 ` [gentoo-user] Automatically mounting USB mass storage devices (camera) Christoph Eckert
2005-11-12 20:39 ` Alexander Skwar
2005-11-12 21:03 ` Christoph Eckert
2005-11-13 9:12 ` Alexander Skwar
2005-11-14 3:02 ` Norberto Bensa
2005-11-14 5:20 ` Alexander Skwar
2005-11-14 23:12 ` Norberto Bensa
2005-11-15 6:09 ` Alexander Skwar
2005-11-19 1:24 ` Norberto Bensa
2005-11-19 7:40 ` Alexander Skwar
2005-11-19 11:57 ` Jose Maria Alvarez Fernandez
2005-11-20 6:49 ` Alexander Skwar
2005-11-21 18:45 ` Stefan Frank
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43764676.8000603@mid.email-server.info \
--to=listen@alexander.skwar.name \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox