Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting usb to work on an asus k8v deluxe
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
dasbear
n00b
n00b


Joined: 21 Jul 2002
Posts: 33
Location: Dallas, TX

PostPosted: Mon Mar 15, 2004 4:10 am    Post subject: Getting usb to work on an asus k8v deluxe Reply with quote

I'm having difficulties getting usb working on my k8v motherboard.
I'm not sure if this is a linux usb issue (lack of knowledge on my part) in general, or if it is a usb with gentoo-amd64 on the k8v related issue.

In the kernel I have EHCI and UCHI specifed as modules.
I ran modules-update and depmod after rebuilding the kernel and rebooting, and have rebooted more than once after doing this.

I have tried just having UCHI but that did not work either.

The problem is that nothing I plug in is recognized. The usb hardware is working because the k8v bios recognizes my camera and lists it as a possible boot device. USB is enabled in the bios. I've tried having USB legacy auto or disabled in the bios, but that does not make a difference.

Here is the ouput from lspci -v
Code:

00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) (prog-if 00 [UHCI])
        Subsystem: Asustek Computer, Inc.: Unknown device 80ed
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at b400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) (prog-if 00 [UHCI])
        Subsystem: Asustek Computer, Inc.: Unknown device 80ed
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at b800 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) (prog-if 00 [UHCI])
        Subsystem: Asustek Computer, Inc.: Unknown device 80ed
        Flags: bus master, medium devsel, latency 64, IRQ 10
        I/O ports at c000 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) (prog-if 00 [UHCI])
        Subsystem: Asustek Computer, Inc.: Unknown device 80ed
        Flags: bus master, medium devsel, latency 64, IRQ 10
        I/O ports at c400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
        Subsystem: Asustek Computer, Inc.: Unknown device 80ed
        Flags: bus master, medium devsel, latency 64, IRQ 5
        Memory at f7f00000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2


Here is the output of lsmod:
Code:

Module                  Size  Used by
snd_via82xx            23392  0
snd_ac97_codec         63556  1 snd_via82xx
gameport                3904  1 snd_via82xx
snd_mpu401_uart         6400  1 snd_via82xx
snd_rawmidi            20896  1 snd_mpu401_uart
snd_seq_oss            32064  0
snd_seq_midi_event      7104  1 snd_seq_oss
snd_seq                49216  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7244  3 snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            52004  0
snd_pcm                90060  2 snd_via82xx,snd_pcm_oss
snd_page_alloc         10312  2 snd_via82xx,snd_pcm
snd_timer              21448  2 snd_seq,snd_pcm
snd_mixer_oss          17600  1 snd_pcm_oss
snd                    46376  12 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8288  1 snd
st                     35676  0
sg                     32312  0
nvidia               2564660  0
sk98lin               152300  1
sbp2                   21896  0
ohci1394               30788  0
ieee1394              329672  2 sbp2,ohci1394
usb_storage            67008  0
hid                    23616  0
ehci_hcd               23364  0
usbcore                96048  5 usb_storage,hid,ehci_hcd


and lsusb:
Code:

Bus 001 Device 001: ID 0000:0000


With usbd running I get periodic messages like the following showing up:
Code:

Device   1 Vendor 0000 Product ID 0000 Class bfffb6dc Speed 0 kbps


Here are the kernel config line for usb that pertain to this:
Code:

#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m


I got the built in audio device on the k8v to work, and of course the buitl in 3com nic is working. I've not tried the firewire yet, as getting USB to work is a higher priority.

Does anyone know what I'm doing wrong, or what I'm failing to do to get USB to work with gentoo-amd64 on this motherboard?

Thanks for any help or suggestions pertaining to this.
Back to top
View user's profile Send private message
Catach
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 268
Location: Australia

PostPosted: Mon Mar 15, 2004 4:17 am    Post subject: Reply with quote

you could try compile in all 3 usb modules (UHCI, OHCI and EHCI). I've done that with a 2.4 kernel. When i swap over my motherboards from this old AthlonXP to a K8V Deluxe, my USB mouse still works ok (not changing any settings).

However that is not a fresh install (just a motherboard replacement), so may not solve any problems. I'm moving to my K8V as soon as i get a seperate case and essentials (mouse, etc), so i hope you solve it.
_________________
Zak: Luke's making a 3D interface for Linux"
Jon G: "Yeah, Luke's making a 3D user interface with Logowriter"
Jon H: "He's only got 99 shapes to work with"
Jon G: "And they're all turtles."
Back to top
View user's profile Send private message
dasbear
n00b
n00b


Joined: 21 Jul 2002
Posts: 33
Location: Dallas, TX

PostPosted: Mon Mar 15, 2004 4:27 am    Post subject: Reply with quote

At one point I did have all 3 (UCHI, OCHI, and EHCI) compiled in as modules, but that did not make a difference. After looking at the output of lspci -v and seeing UCHI I took out the OCHI module.

This is on a brand new system, with a clean install of Gentoo2004 for amd64.
Back to top
View user's profile Send private message
dasbear
n00b
n00b


Joined: 21 Jul 2002
Posts: 33
Location: Dallas, TX

PostPosted: Mon Mar 15, 2004 5:10 am    Post subject: Reply with quote

Well. I did a manual insmod of the uhci and more usb hosts show up now.

Code:

T:  Bus=05 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.3-gentoo-r2 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:10.3
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=   2 Ivl=255ms

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.3-gentoo-r2 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:10.2
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=   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.3-gentoo-r2 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:10.1
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=   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.3-gentoo-r2 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:10.0
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=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 8
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.3-gentoo-r2 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:10.4
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=   2 Ivl=256ms


Before only the echi host showed up. My camera is still not showing up though.
Back to top
View user's profile Send private message
dasbear
n00b
n00b


Joined: 21 Jul 2002
Posts: 33
Location: Dallas, TX

PostPosted: Mon Mar 15, 2004 5:58 am    Post subject: USB working now Reply with quote

Well, I compiled in usb, ehci, and uchi as non modules to avoid only echi getting loaded.

Code:

CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_HCD=y


Turns out the problem with my camera is a different issue now. I plugged in and external USB 1.1 hub and the keyboard and mouse that are plugged into it show up (and work).

Strange the the bios would recognize the camera, but that it is not getting recognized by linux. I tried in the hub and that does not work either. Hmmm....

So usb is working now, now that I'm forcing the usage of the uchi driver.
Back to top
View user's profile Send private message
dasbear
n00b
n00b


Joined: 21 Jul 2002
Posts: 33
Location: Dallas, TX

PostPosted: Mon Mar 15, 2004 6:17 am    Post subject: usb camera now detected and working now Reply with quote

Well, I went back into the bios to see if the camera was still listed as a boot device, and it was not. The batteries had died. I put in fresh batteries and now gentoo recognizes it and makes the storage device in the camera available.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum