LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-10-2005, 05:45 PM   #1
rksanders
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian gnu/linux
Posts: 28

Rep: Reputation: 15
Can't get USB devices to work


Stuck again--can't get any USB device to work

Debian Gnu/Linux Woody 3.0r3 kernel 2.4.19.
MSI KT7 motherboard has a UHCI controller (usb 1.0)
 
Old 01-10-2005, 09:25 PM   #2
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 16
I assume you have UCHI support enabled in the kernel, either built in or as a module. If its a module, have you modprobed it? Plug in a usb device and then run 'dmesg' to see if the system recognizes it. Post the relevant lines from the dmesg output and someone may be able to help.

(I like to run 'dmesg' before I plug in the device and then again after to note any changes.)
 
Old 01-11-2005, 01:47 PM   #3
rksanders
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian gnu/linux
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks kdogksu

UHCI support is compiled into the kernel

Started wiht all Usb devices unplugged.

Plugged in printer.

dmesg with hp plugged in (dmesgplughp)

uhci.c: dc00: wakeup_hc
uhci.c: root-hub INT complete: port1: 480 port2: 493 data: 4
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 1, 12 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 101, change 1, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 103, change 0, 12 Mb/s
hub.c: USB new device connect on bus1/2, assigned device number 5
usb.c: kmalloc IF cddf4e40, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 5 default language ID 0x409
Manufacturer: hp
Product: photosmart 7350
SerialNumber: MY29K411V64M
printer.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 1 proto 2 vid 0x03F0 pid 0x3C02
usb.c: usblp driver claimed interface cddf4e40
usb.c: kusbd: /sbin/hotplug add 5


Last edited by rksanders; 01-11-2005 at 01:50 PM.
 
Old 01-11-2005, 01:54 PM   #4
rksanders
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian gnu/linux
Posts: 28

Original Poster
Rep: Reputation: 15
plugged in card reader

dmesg with reader plugged in (dmesgplugreader)

hub.c: USB new device connect on bus3/2, assigned device number 7
usb.c: kmalloc IF ca7354c0, numif 1
usb.c: new device strings: Mfr=2, Product=3, SerialNumber=4
usb.c: USB device number 7 default language ID 0x409
Manufacturer: SanDisk
Product: ImageMate 8 in 1
SerialNumber: 0000013471
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 65
usb-storage: Array length appears to be: 67
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xcdf13c00 Out: 0xcdf13c14 Int: 0x00000000 (Period 0)
usb-storage: Found existing GUID 078188890000000000013471
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 7
usb.c: usb-storage driver claimed interface ca7354c0
usb.c: kusbd: /sbin/hotplug add 7
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: port 2, portstatus 103, change 0, 12 Mb/s
 
Old 01-18-2005, 11:10 PM   #5
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 16
Do you have scsi compiled in your kernel? My USB thumbdrive requires it. I think you need at least:

SCSI generic support
USB device filesystem
USB Mass Storage support
and possibly support for whatever type of memory you're trying to use (I have both sandisk options enabled... not sure if they're needed or not)

all found under Device Drivers -> USB -or- Device Drivers -> SCSI

From dmesg, it looks like your usb system is working okay... it finds the devices. I believe when your thumbdrive is working, it will be mounted on one of the scsi devices, e.g. /dev/sda1. dmesg will tell you where it is. e.g.:

sda: sda1
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 2

As far as the printer... what does it do that indicates it isn't working? Are you using CUPS? Have you compiled in usb printer support, or modprobed it?

Oh, one more thing.... usb requires hotplug to work right... it looks to me like you've got it, but check for that in your kernel as well. Good luck!
 
Old 01-18-2005, 11:11 PM   #6
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 16
Woops... the path to those kernel config options I gave you were for my 2.6 kernel... they may be in different places in 2.4. But I'm sure they're there somewhere... SCSI's been around for a while.
 
Old 01-19-2005, 03:20 PM   #7
rksanders
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian gnu/linux
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for the reply kdogksu,

USB mass storage, usbdevfs, hotplug, scsi generic are all compiled in

/proc/bus/usb/devices shows the card reader thus:

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.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00 (THE USB HUB)
S: Product=USB UHCI-alt Root Hub
S: SerialNumber=d400
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=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 (THE CARD READER)
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0781 ProdID=8889 Rev= 1.28

S: Manufacturer=SanDisk
S: Product=ImageMate 8 in 1
S: SerialNumber=0000013471

C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage (THE DRIVER)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
 
Old 01-19-2005, 10:21 PM   #8
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 16
I'm pretty new to all this also, and don't really know what most of that output means. The only other thing that comes to mind is that maybe your system doesn't have a driver for the card reader, although it seems like it should just be able to mount it like anything else...

You didn't include any info about the printer, but here are some good resources to check:
www.cups.org
www.linuxprinting.org

You will need to find a driver(?) for your printer. I use turboprint for my epson, although there were several available. Yours may already be built into cups. Good luck!
 
  


Reply



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 Mass storage devices don't work in linux 2.6.[9,11.x] _private Debian 9 11-06-2013 06:46 AM
USB devices no longer work! buldir Fedora 6 07-20-2010 11:42 AM
my usb devices do not work andrewnow Linux - Hardware 5 10-02-2005 07:46 AM
MDK 10.2: No USB at all (/proc/bus/usb/devices missing) shrodi Mandriva 5 07-01-2005 11:28 AM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 10:58 AM

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

All times are GMT -5. The time now is 12:59 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
Open Source Consulting | Domain Registration