Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am having problems getting my Ubuntu system to hotplug USB keydrives. This
functionality worked fine in Warty but broke in Hoary. I have upgraded to
the Breezy RC to see if that might fix it, but no go. Because this
functionality worked in earlier versions and others seem to have no problems
with it, I assume there's something wrong in my system configuration. So,
here are the particulars:
Distro: Ubuntu, Breezy Badger Release Candidate
Kernel version: 2.6.12-8
[4294667.296000] Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005
[4341820.002000] usb 2-2: new full speed USB device using uhci_hcd and address 2[4341820.731000] Initializing USB Mass Storage driver...
[4341820.783000] scsi0 : SCSI emulation for USB Mass Storage devices
[4341820.838000] usb-storage: device found at 2
[4341820.838000] usb-storage: waiting for device to settle before scanning
[4341820.839000] usbcore: registered new driver usb-storage
[4341820.839000] USB Mass Storage support registered.
[4341825.842000] Vendor: SanDisk Model: Cruzer Titanium Rev: 0.4
[4341825.842000] Type: Direct-Access ANSI SCSI revision: 02
[4341825.940000] usb-storage: device scan complete
Note that the hotplug system seems to identify the device and load the scsi
emulation layer, but no /dev node gets created for the newly plugged device.
# Listing a module here prevents the hotplug scripts from loading it.
# Usually that'd be so that some other driver will bind it instead,
# no matter which driver happens to get probed first. Sometimes user
# mode tools can also control driver binding.
# Syntax: driver name alone (without any spaces) on a line. Other
# lines are ignored.
# uhci ... usb-uhci handles the same pci class
# usbcore ... module is loaded implicitly, ignore it otherwise
#evbug is a debug tool and should be loaded explicitly
# these drivers are very simple, the HID drivers are usually preferred
# watchdog drivers should be loaded only if a watchdog daemon is installed
# causes no end of confusion by creating unexpected network interfaces
# eepro100 is obsoleted by e100 (Ubuntu bug #2156)
Nope. Still no go. The /dev node isn't being created. I did an lsmod and the usb_storage module is there, as is usbcore, uhci_hdb, pci_hotplug and shpchp. scsi_mod is also being loaded to provide the scsi emulation layer for the drive. dmsg says it's using uhci_hdb to hotplug the device and that the scsi emulation driver is starting, but there's no message about the creation of a scsi device in /dev, nor does there appear to be one when I manually check. The salient dmesg portion is as follows:
[4295305.839000] usb 2-1: new full speed USB device using uhci_hcd and address 2
[4295306.015000] scsi1 : SCSI emulation for USB Mass Storage devices
[4295306.047000] usb-storage: device found at 2
[4295306.047000] usb-storage: waiting for device to settle before scanning
[4295311.051000] Vendor: SanDisk Model: Cruzer Titanium Rev: 0.4
[4295311.051000] Type: Direct-Access ANSI SCSI revision: 02
[4295311.162000] usb-storage: device scan complete
Somewhere in here should be a message about the creation of a /dev node for the scsi device, but it doesn't seem to happen :-(.
Possible solution (loss of permission/group membership)
fadrian: I had the same thing happen, and what it turned out to be in my case was a sudden and (apparently) spontaneous loss of group-membership. Check to see if your user-account belongs to the "plugdev" group (I also lost "audio" group membership, and probably several others, don't know why, or when). If you aren't a member of "plugdev," add yourself back in to the group (Computer --> System Configuration --> Users and Groups --> select your user-name -->Properties --> Other Groups --> plugdev --> OK --> OK.
I broke down and installed Ubuntu on another of the systems I had laying around at home. I also found out that the audio problems that I was having with the original box was due to a bad sound chip (as Windows didn't seem to detect this device anymore, either). I haven't tried out the hotplug facility on the new system yet, but I figure it will work fine. Thanks again for your help.