On Mon, 18 Oct 2004 [EMAIL PROTECTED] wrote:

> > You should use the dmesg program to read kernel messages.
> 
> I'm using "more /var/log/messages" - would this show all kernel messages?

It depends.  If /etc/syslog.conf is set up so that all kernel messages are 
stored in /var/log/messages, and if the messages don't arrive so quickly 
that syslogd misses some, then yes.  Otherwise no.

> > This may seem like a silly question, but why are you developing a USB 
> > driver for memory sticks when there's already a perfectly good usb-storage 
> > driver in the kernel?
> 
> I'd like to get familiar with the USB on linux and thought that using usb-
> skeleton and playing around with memory stick would be a good start. However 
> I don't understand why USB subsystem on linux calls the probe function for 
> digital camera when it's plugged in, but does not do the same when memory 
> stick is plugged in. As I said earlier I verified that Vendor/Product ids 
> are correct for memory stick.
> 
> Your help would be much appreciated.

I don't know.  You can try doing your own debugging of the kernel to find 
out.  The relevant functions are usb_probe_interface and usb_match_id in 
drivers/usb/core/usb.c.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to