[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: udev, scanner and memory stick



On Fri, 12 Mar 2004 11:40:17 +0100, Michael Graham wrote:

> Ken wrote:
>> I also had to manually modprobe sd_mod before my usb mass storage
>> devices (my digital camera) would show up. It seems that hotplug
>> missed that module. After I proved that worked, I put sd_mod in
>> /etc/modules
> 
> This is exactly the bug I tried to report against udev (I say try
> because the maintainer didn't believe me), udev seems to break hotplug. 
> 
> Try it for yourself. Uninstall udev and reinstall hotplug (it needs to
> be reinstalled) then sd_mod should be loaded when you mount you're
> memory stick.
> 
> Also if you had hotplugging installed before you installed udev you will
> see that is no longer writing to the log file.

I just upgraded to 2.6.4, and while doing so I compiled in all of the
extra modules that I have been using (including sd_mod) so I don't know
how to test this now on my 2.6.4.

So here's what happens when I plug in my digital camera. If hotplug were
working correctly, should I expect to see a message from hotplug despite
the fact that all of my camera's modules (sd_mod, usb_storage) are all
compiled in now?

Mar 12 08:31:31 kabloom kernel: usb 1-2: new full speed USB device using address 3
Mar 12 08:31:31 kabloom kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Mar 12 08:31:31 kabloom kernel:   Vendor: IDIGAT L  Model: ACEMAR            Rev: .100
Mar 12 08:31:31 kabloom kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Mar 12 08:31:32 kabloom kernel: SCSI device sda: 32000 512-byte hdwr sectors (16 MB)
Mar 12 08:31:32 kabloom kernel: sda: assuming Write Enabled
Mar 12 08:31:32 kabloom kernel: sda: assuming drive cache: write through
Mar 12 08:31:32 kabloom kernel:  /dev/scsi/host0/bus0/target0/lun0: p1
Mar 12 08:31:32 kabloom kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Mar 12 08:31:32 kabloom kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Mar 12 08:31:32 kabloom kernel: WARNING: USB Mass Storage data integrity not assured
Mar 12 08:31:32 kabloom kernel: USB Mass Storage device found at 3
Mar 12 08:31:32 kabloom udev[3212]: configured rule in '/etc/udev/local.rules' at line 1 applied, 'sda' becomes 'cameras/camera0'
Mar 12 08:31:32 kabloom udev[3212]: creating device node '/dev/cameras/camera0'
Mar 12 08:31:32 kabloom udev[3213]: configured rule in '/etc/udev/local.rules' at line 1 applied, 'sda1' becomes 'cameras/camera0'
Mar 12 08:31:32 kabloom udev[3213]: creating device node '/dev/cameras/camera0'
Mar 12 08:31:32 kabloom udev[3215]: configured rule in '/etc/udev/udev.rules' at line 22 applied, added symlink '%k %c{2}'
Mar 12 08:31:32 kabloom udev[3215]: configured rule in '/etc/udev/udev.rules' at line 22 applied, 'sg0' becomes '%c{1}'
Mar 12 08:31:32 kabloom udev[3215]: creating device node '/dev/scsi/host0/bus0/target0/lun0/generic' 

Go ahead, report the bug again, and link to this thread.

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
My key was last signed 10/14/2003. If you use GPG *please* see me about 
signing the key. ***** My computer can't give you viruses by email. ***



Reply to: