Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi. When I try to mount my USB digital camera (mount -t vfat /dev/sda1 /mnt/camera), mount freezes.
I have the camera (HP Photosmart 318) set to disk drive mode, and have it connected and turned on before I start linux. I have all the kernle modules needed compiled into the kernel.
I get the following output form dmesg:
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 10 for device 00:07.2
PCI: Sharing IRQ 10 with 00:07.3
PCI: Sharing IRQ 10 with 00:10.0
PCI: Sharing IRQ 10 with 00:10.1
uhci.c: USB UHCI at I/O 0xe400, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
...
hub.c: USB new device connect on bus1/1, assigned device number 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: HP Model: PhotoSmart 318 Rev: 100
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 14721 512-byte hdwr sectors (8 MB)
Is the "PCI: Sharing IRQ 10" likely to be the problem? Otherwise I have no idea what is stopping the camera from mounting.
It looks like if it's trying to use a SCSI emulator to access an USB interface....what's up with that...hehe, can't USB just be USB...since people think USB is so "cool, and convenient". I tell you guys, USB is crap....
Yeah I know, you really hate USB. I guess it would just "assume" the position of the first available block device, in this case, I guess sc comes before sd so it took the scsi emulation instead.
Again, I don't know for sure, but that's what it would look like.
Thanks for the help, but as far as I can tell from a few Google searches, /dev/scsi0 only exists if you're using devfs. Besides, I didn't think the name was relevant, only the major/minor numbers?
It just seems odd that the camera appears perfectly in the /proc filesystem, but won't mount.
scsi1 is just the name given to the chain, the first drive is /dev/sda1, he's got that right, and USB mass storage is reliant on treating a USB device as a scsi device in order to make disk accesses to it.
In /proc/scsi/usb-storage-0, does it appear as a storage device? (prior to mounting?).
Also, the best way to debug this may be to recompile your kernel with "verbose USB debugging" on, as well as verbose SCSI error messages. It makes for a horking lot of dmesg spam, but at least you can get an idea where the error is coming from.
Also, while you're at it, I'm assuming a current release of X-distro, they've all standardized on 2.4.18 for now, so you might want to d/l 2.4.19 and give that a whirl, a lot of improvements were made in USB in the 6 months between those 2 kernels.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.