LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-23-2005, 12:47 PM   #1
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Rep: Reputation: 15
USB devices aren't recognised


I'm trying to get my pen drive working with my pc at work which has an Intel d865glc motherboard.

uname -r
Code:
2.6.8-2-686-smp
lspci | grep USB
Code:
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
lsusb
Code:
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
dmesg doesn't report anything when inserting or removing my pen drive. I'm guessing this is the important bit, but I'm not really sure what it means

Any pointers?
 
Old 08-23-2005, 01:31 PM   #2
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
lsmod | grep usb will show the usb kernel modules. The output I get on Debian Sarge (using 2.6.8-2-k7 kernel) is as follows:
Code:
$ lsmod | grep usb
usbcore               118308  4 ehci_hcd,ohci_hcd
.
There are various different modules for USB support depening on your chipset, so don't expect exactly the same output.
 
Old 08-23-2005, 02:23 PM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 08-24-2005, 03:09 AM   #4
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
Old 08-24-2005, 07:11 AM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
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
 
Old 08-24-2005, 07:30 AM   #6
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Original Poster
Rep: Reputation: 15
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

Last edited by simon_w; 08-24-2005 at 07:33 AM.
 
Old 08-24-2005, 07:43 AM   #7
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by simon_w


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.
 
Old 08-24-2005, 08:01 AM   #8
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by TigerOC
Your system knows the device is there
Shouldn't there be something in dmesg if it does know about it?
 
Old 08-24-2005, 08:24 AM   #9
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 08-24-2005, 08:44 AM   #10
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Original Poster
Rep: Reputation: 15
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.
 
Old 08-24-2005, 08:52 AM   #11
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
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*

Is this the same problem as you then?
 
Old 08-24-2005, 08:57 AM   #12
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Code:
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
That's the result of modprobe'ing the usb-storage not inserting the camera.

It would appear that we have similar problems
 
Old 08-24-2005, 11:06 AM   #13
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Post the output of cat /proc/bus/usb/devices with the pen drive inserted.

Last edited by TigerOC; 08-24-2005 at 11:08 AM.
 
Old 08-24-2005, 12:04 PM   #14
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Original Poster
Rep: Reputation: 15
cat /proc/bus/usb/devices
Code:
T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8-2-686-smp uhci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4
S:  SerialNumber=0000:00:1d.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=   2 Ivl=255ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8-2-686-smp uhci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3
S:  SerialNumber=0000:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8-2-686-smp uhci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2
S:  SerialNumber=0000:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8-2-686-smp uhci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1
S:  SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=   2 Ivl=255ms
That's with and without it inserted.
 
Old 08-24-2005, 12:12 PM   #15
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb thumb drive not recognised espaw Linux - Hardware 6 11-03-2005 09:55 PM
USB flash disk not recognised bspus Linux - Hardware 7 08-20-2005 01:42 PM
USB Wireless not recognised macalase Linux - Hardware 4 11-07-2004 09:51 PM
front USB ports not recognised mms_master Linux - Hardware 7 03-21-2004 02:35 AM
Forcing recognised USB devices robtheJobNorflk Slackware 1 04-29-2003 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration