DebianThis forum is for the discussion of Debian 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.
You probably need to insert the modules. The Debian method is to use the console command modconf (as root). If it says command not found then apt-get install modconf. You may need to find a howto relevant to the pen drive and find out what modules you need. In addition to anything else I would suggest installing hotplug and discover packages.
Originally posted by simon_w lsmod | grep usb
<code>
usb_storage 70048 0
usbcore 122148 5 usb_storage,ehci_hcd,uhci_hcd
scsi_mod 127972 2 usb_storage,libata
ide_core 142556 5 usb_storage,ide_cd,ide_generic,piix,ide_disk
</code>
Hotplug and discover are installed and have been restarted - dmesg still doesn't show anything
Its being seen as above but won't work unless you setup an entry in /etc/fstab to tell what to do with it. You need to do some reading wrt getting a pen drive working. Google is your friend
But surely dmesg should report that the pen drive has been inserted/removed (without anything in fstab)? I'm fairly sure that it does on my Slackware box at home.
I'll keep googling as well.
Edit: fdisk -l doesn't show anything relating to my pen drive
Edit: fdisk -l doesn't show anything relating to my pen drive
Computers are non-intelligent. Your system knows the device is there but you haven't told it what type of file system it has in order to read it or where to mount it so that you can read the contents (these must be specified in /etc/fstab). Sorry if I am coming across as a bit difficult but you need to do some work on this, else you won't learn anything.
I shouldn't do this but I will. A detailed howto on getting a pen drive to work in Debian can be found here . If you are still having problems after following this guide let us know.
I've already tried all that, but I don't think the pen drive is being recognised at all - any attempt to mount it results in "/dev/sda1 is not a valid block device"
Same goes for:
sdb1
sdc1
sdd1
This isn't the "usual" missing entry in fstab problem.
Ok, I just pinched my dad's camera that is a USB mass storage device, and have followed that tutorial that someone else has put up. I modprobed all the modules, and then plugged the camera in. Typing dmesg shows that this has been picked up:
Code:
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
However, I cannot seem to find anything when I type ls -l /dev/sd*
Have you installed the scsi module support? There is something missing in terms of driver support because what is listed there is the usb bus on the mainboard. The pen drive is functional and formatted with a file system?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.