From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1Eb1QR-0003zK-Dw for garchives@archives.gentoo.org; Sat, 12 Nov 2005 19:52:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jACJpXPv022698; Sat, 12 Nov 2005 19:51:33 GMT Received: from hetzner.email-server.info (new.email-server.info [213.133.109.44]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jACJjwLp021518 for ; Sat, 12 Nov 2005 19:45:58 GMT Received: from [192.168.1.12] (muedsl-82-207-207-012.citykom.de [82.207.207.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hetzner.email-server.info (Postfix) with ESMTP id E1137274E08 for ; Sat, 12 Nov 2005 20:45:58 +0100 (CET) Message-ID: <43764676.8000603@mid.email-server.info> Date: Sat, 12 Nov 2005 20:45:58 +0100 From: Alexander Skwar User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050809) X-Accept-Language: de-DE, de, en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Automatically mounting USB mass storage devices (camera) Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Archives-Salt: 75f2bbeb-d546-4cc1-a77e-8396864d95d3 X-Archives-Hash: 49e37b71ef10d9e558a3fb61ca62e9f1 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