For those of you, who may follow in my footsteps, I hope to give you some assistance before you need it. :) Thanks to Tim, Mike, and others who gave me some pointers along the way. Problem: You have a digital camera and a USB card reader....PNY or other brand and would like to have it defined at bootup. Solution: put a "card" in the reader that has at least 1 image on it or is formated, and reboot the 'puter. Login and carefully read the /var/log/messages file......near the end of it. An example of what you're looking for is below, which is what the system "sees" the card reader as. Apr 9 23:37:40 linux kernel: Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0 Apr 9 23:37:40 linux kernel: SCSI device sdc: 125185 512-byte hdwr sectors (64 MB) Apr 9 23:37:40 linux kernel: sdc: Write Protect is off Apr 9 23:37:40 linux kernel: sdc: sdc1 Apr 9 23:37:40 linux kernel: WARNING: USB Mass Storage data integrity not assured Note that on this box, it's sdc1. Make a mount point of your choice. In my case, it's /local2/coolpix, which is on an 18.3G SCSI drive as /local2. Ok....now you're ready to add a line in /etc/fstab, which in my file is: /dev/sdc1 /local2/coolpix vfat ro,noauto,user,exec 0 0 Reboot, and in KDE2.2.2 or KDE3.0, you'll have an icon on your desktop noteing the reader. Enjoy! Fred -- The suicide bombers, and Islam in general, come to mind... "Those who can make you believe absurdities can make you commit atrocities" - Voltaire
I did as you said, and opened /var/log/messages in Advanced editor so I could search. Searching for USB, there is nothing in the file. Does this mean my system no longer sees the USB ports? How can I check this? Harry G On Wednesday April 10 2002 12:10 am, Fred A. Miller wrote:
For those of you, who may follow in my footsteps, I hope to give you some assistance before you need it. :) Thanks to Tim, Mike, and others who gave me some pointers along the way.
Problem: You have a digital camera and a USB card reader....PNY or other brand and would like to have it defined at bootup.
Solution: put a "card" in the reader that has at least 1 image on it or is formated, and reboot the 'puter. Login and carefully read the /var/log/messages file......near the end of it. An example of what you're looking for is below, which is what the system "sees" the card reader as.
Apr 9 23:37:40 linux kernel: Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0 Apr 9 23:37:40 linux kernel: SCSI device sdc: 125185 512-byte hdwr sectors (64 MB) Apr 9 23:37:40 linux kernel: sdc: Write Protect is off Apr 9 23:37:40 linux kernel: sdc: sdc1 Apr 9 23:37:40 linux kernel: WARNING: USB Mass Storage data integrity not assured
Note that on this box, it's sdc1.
Make a mount point of your choice. In my case, it's /local2/coolpix, which is on an 18.3G SCSI drive as /local2. Ok....now you're ready to add a line in /etc/fstab, which in my file is:
/dev/sdc1 /local2/coolpix vfat ro,noauto,user,exec 0 0
Reboot, and in KDE2.2.2 or KDE3.0, you'll have an icon on your desktop noteing the reader.
Enjoy!
Fred
On Wed, Apr 10, 2002 at 11:30:46AM -0400, Harry G wrote:
I did as you said, and opened /var/log/messages in Advanced editor so I could search.
Searching for USB, there is nothing in the file. Does this mean my system no longer sees the USB ports? How can I check this?
Go right to the heart of the matter with "cat /proc/bus/usb/devices". Here is mine... T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=bce0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=046d ProdID=c00e Rev=11.00 S: Manufacturer=Logitech S: Product=USB-PS/2 Optical Mouse C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl= 10ms Each T line shows either a hub or device. Scanning it, you can see that I only have one device connected right now, a Logitech USB Optical Mouse (a damn fine mouse I might add). If you want to decode the whole thing and have the kernel source installed, look in /usr/src/linux/Documentation/usb/proc_usb_info.txt. Best Regards, Keith -- LPIC-2, MSCE, N+ I can C for miles and miles Got spam? Get SPASTIC http://spastic.sourceforge.net
Thanks. I did a cat /proc/bus/usb/devices and the file wasn't found. Me thinks when I had my power outages, the kernel got a little wacked, and I have also had a lot of problems with sound. I have never compiled a kernel bvefore, and the problem is, I have a very slow dial-up (around 19 k), and the download bogs down before I can finish. (I tried to get the latest stable Suse kernel when I discovered this). Sigh. Can I "copy" my 2.4.10 or what ever version it is from my Suse disks? do I need to compile it then? Thanks for your help. Harry G On Wednesday April 10 2002 11:55 am, Keith Winston wrote:
On Wed, Apr 10, 2002 at 11:30:46AM -0400, Harry G wrote:
I did as you said, and opened /var/log/messages in Advanced editor so I could search.
Searching for USB, there is nothing in the file. Does this mean my system no longer sees the USB ports? How can I check this?
Go right to the heart of the matter with "cat /proc/bus/usb/devices".
Here is mine...
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=bce0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=046d ProdID=c00e Rev=11.00 S: Manufacturer=Logitech S: Product=USB-PS/2 Optical Mouse C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl= 10ms
Each T line shows either a hub or device. Scanning it, you can see that I only have one device connected right now, a Logitech USB Optical Mouse (a damn fine mouse I might add).
If you want to decode the whole thing and have the kernel source installed, look in /usr/src/linux/Documentation/usb/proc_usb_info.txt.
Best Regards, Keith
On Wed, Apr 10, 2002 at 12:18:40PM -0400, Harry G wrote:
Thanks. I did a cat /proc/bus/usb/devices and the file wasn't found. Me thinks when I had my power outages, the kernel got a little wacked, and I have also had a lot of problems with sound.
Harry, I jumped into this thread to help you find out the status of your USB devices, but I don't know the history of your problem. Could you tell me which version of SuSE you are running and what kernel version? The latest stock SuSE kernels (and several versions back) have full support for USB. Best Regards, Keith
Harry G wrote:
I did as you said, and opened /var/log/messages in Advanced editor so I could search.
Searching for USB, there is nothing in the file. Does this mean my system no longer sees the USB ports? How can I check this?
If you have the usb-storage module loaded, and the CF card reader plugged in and loaded, all you need to do to sheck this is type as root: "/sbin/fdisk -l". Your card reader will show up as a disk. -- JAY VOLLMER JVOLLMER1@MN.RR.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
On Wednesday April 10 2002 12:21 pm, Jay C Vollmer wrote:
snip>
If you have the usb-storage module loaded, and the CF card reader plugged in and loaded, all you need to do to sheck this is type as root: "/sbin/fdisk -l".
Your card reader will show up as a disk.
nothing but the hard drives. How can I check if the usb-storage module is loaded? Harry G
Harry G wrote:
On Wednesday April 10 2002 12:21 pm, Jay C Vollmer wrote:
snip>
If you have the usb-storage module loaded, and the CF card reader plugged in and loaded, all you need to do to sheck this is type as root: "/sbin/fdisk -l".
Your card reader will show up as a disk.
nothing but the hard drives. How can I check if the usb-storage module is loaded?
Type: lsmod -- JAY VOLLMER JVOLLMER1@MN.RR.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
Jay C Vollmer wrote:
Harry G wrote:
On Wednesday April 10 2002 12:21 pm, Jay C Vollmer wrote:
snip>
If you have the usb-storage module loaded, and the CF card reader plugged in and loaded, all you need to do to sheck this is type as root: "/sbin/fdisk -l".
Your card reader will show up as a disk.
nothing but the hard drives. How can I check if the usb-storage module is loaded?
Type: lsmod
To be precise: /sbin/lsmod -- JAY VOLLMER JVOLLMER1@MN.RR.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
On Wednesday April 10 2002 01:07 pm, Jay C Vollmer wrote:
<snip>
Type: lsmod
I did, and results are below. Nothing I can see about USB. What do I do to add it? Harry G linux:/sbin # lsmod Module Size Used by nls_iso8859-1 2880 1 (autoclean) ppp_deflate 39488 0 (autoclean) bsd_comp 4032 0 (autoclean) ppp_async 6160 1 (autoclean) ppp_generic 15040 3 (autoclean) [ppp_deflate bsd_comp ppp_async] slhc 4432 1 (autoclean) [ppp_generic] snd-mixer-oss 4768 0 (autoclean) snd-card-ens1370 1888 2 (autoclean) snd-ens1370 7408 0 (autoclean) [snd-card-ens1370] snd-pcm 29184 2 (autoclean) [snd-ens1370] snd-timer 8336 0 (autoclean) [snd-pcm] snd-rawmidi 9312 0 (autoclean) [snd-ens1370] snd-seq-device 3744 0 (autoclean) [snd-rawmidi] snd-ak4531-codec 14400 0 (autoclean) [snd-ens1370] snd-mixer 23488 0 (autoclean) [snd-mixer-oss snd-ens1370 snd-ak4 531-codec] snd 31344 5 (autoclean) [snd-mixer-oss snd-card-ens1370 sn d-ens1370 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ak4531-codec snd-mixe r] soundcore 3280 3 (autoclean) [snd] lp 5248 0 (autoclean) ipv6 124736 -1 (autoclean) 3c59x 24864 1 (autoclean) ipt_REJECT 2784 1 (autoclean) ipt_LOG 3152 1 (autoclean) iptable_nat 12656 0 (autoclean) (unused) ip_conntrack 12848 1 (autoclean) [iptable_nat] iptable_filter 1728 0 (autoclean) (unused) ip_tables 10496 6 [ipt_REJECT ipt_LOG iptable_nat iptable_filter ] epst 9328 0 parport_pc 19280 2 (autoclean) ppscsi 11248 1 [epst] parport 22240 2 [lp parport_pc ppscsi] ext3 61312 2 jbd 41504 2 [ext3] ide-scsi 7552 1
Harry G wrote:
On Wednesday April 10 2002 01:07 pm, Jay C Vollmer wrote:
<snip>
Type: lsmod
I did, and results are below. Nothing I can see about USB. What do I do to add it?
type: "modprobe usb-storage" To load the module automatically with each boot, you can either add it to your /etc/modules.conf file, or add "modprobe usb-storage" to /etc/rc.d/boot.local. -- JAY VOLLMER JVOLLMER1@MN.RR.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
participants (4)
-
Fred A. Miller
-
Harry G
-
Jay C Vollmer
-
Keith Winston