LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-11-2006, 08:26 PM   #1
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Rep: Reputation: 15
usb devices not detected in Ubuntu 6.06


Hey there

I've just installed Ubuntu 6.06. I've no linux experience so I'm muddling my way through at the moment.

It seems to me that none of my usb devices are being seen. I've tried dmesg and can't see any of them listed there. With lsusb -v I get no output at all. With lsusb -t I get: "cannot open /proc/bus/usb/devices. no such file or directory".

The devices I have plugged in are:
epson photo R200
canoscan 4200F
speedtouch modem (it seems this will be tricky to get working anyway, but I'll worry about that when I come to it!)
other bits and bobs through a usb hub

I'm just concerned that it seems nothing is detected.

and I don't know what to do

Any advice really appreciated
Thanks

Xenny
 
Old 07-11-2006, 08:50 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
can you post the output of the commands 'lsmod' and 'dmesg | tail -n 20' please? if you get permission denied when running these commands, prepend 'sudo ' to the commands, ie 'sudo lsmod'

Last edited by nadroj; 07-11-2006 at 08:51 PM.
 
Old 07-11-2006, 09:24 PM   #3
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks for the response

Here is the output of lsmod:

Code:
xenny@localhost:~$ lsmod
Module                  Size  Used by
nls_cp437               5888  1
isofs                  37688  1
udf                    88452  0
ipv6                  265600  6
rfcomm                 40216  0
l2cap                  26244  5 rfcomm
bluetooth              49892  4 rfcomm,l2cap
ppdev                   9220  0
cpufreq_userspace       4696  0
cpufreq_stats           5636  0
freq_table              4740  1 cpufreq_stats
cpufreq_powersave       1920  0
cpufreq_ondemand        6428  0
cpufreq_conservative     7332  0
video                  16260  0
tc1100_wmi              6916  0
sony_acpi               5644  0
pcc_acpi               12416  0
hotkey                 11556  0
dev_acpi               11140  0
container               4608  0
button                  6672  0
acpi_sbs               19980  0
battery                 9988  1 acpi_sbs
ac                      5252  1 acpi_sbs
i2c_acpi_ec             5120  1 acpi_sbs
i2c_core               21904  1 i2c_acpi_ec
dm_mod                 58936  1
md_mod                 72532  0
lp                     11844  0
floppy                 62148  0
tsdev                   8000  0
parport_pc             35780  1
rtc                    13492  0
psmouse                36228  0
pcspkr                  2180  0
serio_raw               7300  0
parport                36296  3 ppdev,lp,parport_pc
evdev                   9856  1
ext3                  135688  1
jbd                    58772  1 ext3
ide_cd                 33028  1
cdrom                  38560  1 ide_cd
ide_disk               17664  3
ide_generic             1536  0
thermal                13576  0
processor              23360  1 thermal
fan                     4868  0
capability              5000  0
commoncap               7296  1 capability
vga16fb                13704  1
vgastate               10368  1 vga16fb
fbcon                  42784  72
tileblit                2816  1 fbcon
font                    8320  1 fbcon
bitblit                 6272  1 fbcon
softcursor              2304  1 bitblit
And here is dmesg | tail -n 20

Code:
xenny@localhost:~$ sudo dmesg | tail -n 20
Password:
[4294709.345000] ibm_acpi: ec object not found
[4294709.382000] pcc_acpi: loading...
[4294710.228000] powernow: No powernow capabilities detected
[4294718.074000] ppdev: user-space parallel port driver
[4294719.823000] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[4294719.824000] apm: overridden by ACPI.
[4294725.570000] Bluetooth: Core ver 2.8
[4294725.570000] NET: Registered protocol family 31
[4294725.570000] Bluetooth: HCI device and connection manager initialized
[4294725.570000] Bluetooth: HCI socket layer initialized
[4294725.643000] Bluetooth: L2CAP ver 2.8
[4294725.643000] Bluetooth: L2CAP socket layer initialized
[4294725.662000] Bluetooth: RFCOMM socket layer initialized
[4294725.662000] Bluetooth: RFCOMM TTY layer initialized
[4294725.662000] Bluetooth: RFCOMM ver 1.7
[4294747.107000] NET: Registered protocol family 10
[4294747.108000] lo: Disabled Privacy Extensions
[4294747.108000] IPv6 over IPv4 tunneling driver
[4294757.162000] ISO 9660 Extensions: Microsoft Joliet Level 3
[4294757.238000] ISOFS: changing to secondary root
 
Old 07-11-2006, 09:32 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
remove the device.. run 'modprobe usbcore' and 'modprobe usb_storage'.. then post the same dmesg|tail command as before, please.

youll need to use 'sudo' with these two modprobe commands.
 
Old 07-11-2006, 09:56 PM   #5
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Ok, here it is:

Code:
xenny@localhost:~$ sudo modprobe usbcore
xenny@localhost:~$ sudo modprobe usbstorage
FATAL: Module usbstorage not found.
xenny@localhost:~$ sudo modprobe usb-storage
xenny@localhost:~$ dmesg | tail -n 20
[4294725.835000] Bluetooth: Core ver 2.8
[4294725.835000] NET: Registered protocol family 31
[4294725.835000] Bluetooth: HCI device and connection manager initialized
[4294725.835000] Bluetooth: HCI socket layer initialized
[4294725.919000] Bluetooth: L2CAP ver 2.8
[4294725.919000] Bluetooth: L2CAP socket layer initialized
[4294725.938000] Bluetooth: RFCOMM socket layer initialized
[4294725.938000] Bluetooth: RFCOMM TTY layer initialized
[4294725.938000] Bluetooth: RFCOMM ver 1.7
[4294741.645000] NET: Registered protocol family 10
[4294741.646000] lo: Disabled Privacy Extensions
[4294741.646000] IPv6 over IPv4 tunneling driver
[4294751.438000] ISO 9660 Extensions: Microsoft Joliet Level 3
[4294751.755000] ISOFS: changing to secondary root
[4294789.793000] usbcore: registered new driver usbfs
[4294789.794000] usbcore: registered new driver hub
[4294801.988000] SCSI subsystem initialized
[4294802.036000] Initializing USB Mass Storage driver...
[4294802.037000] usbcore: registered new driver usb-storage
[4294802.038000] USB Mass Storage support registered.
 
Old 07-11-2006, 09:57 PM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
is that after unplugging and plugging back in the device?

edit: can you also post 'lspci -v' so we can see what USB controller you have on the motherboard

Last edited by nadroj; 07-11-2006 at 10:08 PM.
 
Old 07-11-2006, 10:10 PM   #7
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Yes, that's after unplugging and replugging in all my usb devices.

I'm pretty sure I tried lspci -v earlier too and got nothing, though perhaps I misremember. I'll switch back over now (it's dual boot) and try again.
 
Old 07-11-2006, 10:18 PM   #8
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Original Poster
Rep: Reputation: 15
I've tried again - I get nothing from lspci -v.
 
Old 07-11-2006, 10:21 PM   #9
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
hmm, you should get something.. whats 'ls -l /sbin/lspci'? no output with just '/sbin/lspci'? did you try it with 'sudo' too?

Last edited by nadroj; 07-11-2006 at 10:23 PM.
 
Old 07-11-2006, 10:36 PM   #10
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Original Poster
Rep: Reputation: 15
If I do 'ls -l /sbin/lspci' I get:

ls /sbin/lspci: no such file or directory.

And nothing from just lspci on it's own no.

I must go and get some sleep (is 4am here). I appreciate your help so much - this has been driving me mad as I know so little about what I'm doing. I'll log on tomorrow and follow any more suggestions you might have

Thanks again - so kind!

Xenny
 
Old 07-11-2006, 11:12 PM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
OK ill try and post afew different methods because you'll be up before me i probably wont be able to respond right away.

first unplug your device.

try and run '/bin/lspci -v | grep USB'..
if no output then post 'ls -l /bin/lspci'..
if not found then post 'which lspci'..

if 'which lspci' gives output, then substitute 'program' with the output of that command (ie /usr/sbin/lspci.. or whatever it gives, if anything), and run: 'program -v | grep USB'

-- if none of the above commands work, try them all again prepended with 'sudo ', then continue --

if 'which lspci' results in not found/no output, then run synaptic (System->Administration->Synaptic Package Manager). use a search function in Synaptic to search for 'pciutils' and install it if it lists as not installed. i doubt its not already installed.
if in fact it wasnt installed and you just did, note where it was installed to. the executable file you need to run will be in a folder or subfolder that will look like '.../bin/lspci', thats what you need.

now that the program is installed, run: 'lspci -v | grep HCI'. again, substitute 'lspci' with the full path to the executable file that you found after install.

this command should display afew lines of output, at least one. you will need to run at least one 'modprobe' command and most likely two, by following the next step.
- if you see 'EHCI' then run: 'modprobe ehci-hdc'
- if you see 'UHCI' then run: 'modprobe uhci-hdc'
- if you see 'OHCI' then run: 'modprobe ohci-hdc'

again, you will most likely need to run these commands prepended with 'sudo '.

after using modprobe, plug the device back in and post the output of 'dmesg | tail -n 20'. hopefully we will see a line containing something like '/dev/sda1' or some other /dev/ device depending on what you have plugged in. if you do see output similar to this, then try and use ubuntu GUI tools to configure/search for your new device. if that doesnt work then youll most likely need to look for drivers for your paticular device. search google.com/linux or here at lq.org or any other search engine. follow the directions you find with the device. if it doesnt work, no directions are included, or you cant find the proper driver then let us know the specific device (model, name, vendor, etc) and we can go from there.

good luck
 
Old 07-12-2006, 05:35 AM   #12
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Thankyou! I'm going out but when I get back will follow that through and post results.
 
Old 07-12-2006, 12:10 PM   #13
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Original Poster
Rep: Reputation: 15
I followed through what you suggested.

It's best I just post what I did (having unplugged devices):

Code:
xenny@localhost:~$ /bin/lspci -v | grep USB
xenny@localhost:~$ sudo /bin/lspci -v | grep USB
Password:
xenny@localhost:~$ ls -l /bin/lspci
lrwxrwxrwx 1 root root 14 2006-07-10 18:28 /bin/lspci -> /usr/bin/lspci
xenny@localhost:~$ which lspci
/usr/bin/lspci
xenny@localhost:~$ /usr/bin/lspci -v | grep USB
xenny@localhost:~$ /usr/bin/lspci -v | grep HCI
xenny@localhost:~$ sudo /usr/bin/lspci -v | grep HCI
xenny@localhost:~$
I didn't get anything from /usr/bin/lspci -v | grep HCI so I couldn't go on and do the modprobe.
 
Old 07-12-2006, 12:21 PM   #14
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
i have no idea why it isnt running or giving you output. use 'su' then try and run it ?
search your package manager for 'pci' and tell us what comes up (and whether installed or not)
 
Old 07-12-2006, 12:57 PM   #15
*Xenny*
Member
 
Registered: Jul 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
i have no idea why it isnt running or giving you output. use 'su' then try and run it
That didn't work either, so I searched in synaptic for 'pci'. I got something like:

discover1-data
hwdata
libdiscover
linux-restricted-modules
something else
mii-something
pciutils

The 'installed version' column conatined info for all but the third from last.
When I looked at pciutils' properties I saw /bin/lspci there. Umm... just mentioning it incase it's relevant. I really have a clue don't I?!
 
  


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 mouse NOT detected, but usb keyboard IS detected mr.anderson Slackware 16 04-26-2006 09:09 PM
No USB devices are detected TommyB Linux - Hardware 4 04-17-2006 04:19 PM
Preventing Automount for USB Devices on Ubuntu phyx Linux - Newbie 2 02-13-2006 06:01 PM
usb devices not being detected anymore millionknives Linux - Hardware 5 01-11-2006 09:17 AM
USB Devices not Detected Andorin Linux - Hardware 4 01-09-2006 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:28 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