Gentoo Archives: gentoo-user-es

From: Pablo Pardo <pablo@××××××××××××.es>
To: gentoo-user-es@g.o
Subject: Re: [gentoo-user-es] raton usb en portatil
Date: Tue, 24 Jun 2003 12:12:49
Message-Id: 001501c33a49$b9616fa0$552890c1@aula.apl
1 No estoy de acuerdo con lo que decís. En el kernel especifica que existen
2 dos módulos: uhci y usb-uhci. Te indica que elijas uno de esos dos
3 dependiendo del tipo de hardware.
4
5 UHCI (Intel PIIX4, VIA, ...) support --> uhci.o
6 UHCI Alternate Driver (JE) support --> usb-uhci.o
7
8 Esto pone la ayuda:
9
10 Currently there exist two drivers for UHCI host controllers: this so-called
11 JE driver, and the one you get from "UHCI support", above.You need only one.
12
13 Corregidme si realmente hacen lo mismo los dos. Salu2.
14
15 Pablo Pardo
16
17 ----- Original Message -----
18 From: "Jesus Gonzalez Alvarez" <kch@×××××××××.net>
19 To: "David Gil" <enibal@×××××.es>
20 Cc: "Pablo Pardo" <pablo@××××××××××××.es>; "gentoo-user-es"
21 <gentoo-user-es@g.o>
22 Sent: Tuesday, June 24, 2003 2:01 PM
23 Subject: Re: [gentoo-user-es] raton usb en portatil
24
25
26 > Ahí lo llevas, (recuerda que además necesitas activar el ratón en la
27 > sección de input core support del kernel)
28 >
29 > #
30 > # USB support
31 > #
32 > CONFIG_USB=m
33 > # CONFIG_USB_DEBUG is not set
34 > CONFIG_USB_DEVICEFS=y
35 > # CONFIG_USB_BANDWIDTH is not set
36 > # CONFIG_USB_LONG_TIMEOUT is not set
37 > CONFIG_USB_EHCI_HCD=m
38 > CONFIG_USB_UHCI=m
39 > CONFIG_USB_UHCI_ALT=m
40 > CONFIG_USB_OHCI=m
41 > CONFIG_USB_AUDIO=m
42 > CONFIG_USB_EMI26=m
43 > CONFIG_USB_BLUETOOTH=m
44 > CONFIG_USB_MIDI=m
45 > CONFIG_USB_STORAGE=m
46 > # CONFIG_USB_STORAGE_DEBUG is not set
47 > # CONFIG_USB_STORAGE_DATAFAB is not set
48 > # CONFIG_USB_STORAGE_FREECOM is not set
49 > # CONFIG_USB_STORAGE_ISD200 is not set
50 > # CONFIG_USB_STORAGE_DPCM is not set
51 > # CONFIG_USB_STORAGE_HP8200e is not set
52 > # CONFIG_USB_STORAGE_SDDR09 is not set
53 > # CONFIG_USB_STORAGE_SDDR55 is not set
54 > # CONFIG_USB_STORAGE_JUMPSHOT is not set
55 > CONFIG_USB_ACM=m
56 > CONFIG_USB_PRINTER=m
57 > # CONFIG_USB_HID is not set
58 > # CONFIG_USB_HIDINPUT is not set
59 > # CONFIG_USB_HIDDEV is not set
60 > CONFIG_USB_KBD=m
61 > CONFIG_USB_MOUSE=m
62 > # CONFIG_USB_AIPTEK is not set
63 > # CONFIG_USB_WACOM is not set
64 > CONFIG_USB_DC2XX=m
65 > CONFIG_USB_MDC800=m
66 > CONFIG_USB_SCANNER=m
67 > CONFIG_USB_MICROTEK=m
68 > CONFIG_USB_HPUSBSCSI=m
69 > CONFIG_USB_IBMCAM=m
70 > CONFIG_USB_OV511=m
71 > CONFIG_USB_PWC=m
72 > CONFIG_USB_SE401=m
73 > CONFIG_USB_STV680=m
74 > CONFIG_USB_VICAM=m
75 > CONFIG_USB_DSBR=m
76 > CONFIG_USB_DABUSB=m
77 > # CONFIG_USB_PEGASUS is not set
78 > # CONFIG_USB_RTL8150 is not set
79 > # CONFIG_USB_KAWETH is not set
80 > # CONFIG_USB_CATC is not set
81 > # CONFIG_USB_CDCETHER is not set
82 > # CONFIG_USB_USBNET is not set
83 > # CONFIG_USB_USS720 is not set
84 >
85 >
86 >
87 > On Mon, 2003-06-23 at 15:56, David Gil wrote:
88 > > No tengo ese modulo.
89 > >
90 > > Yo pienso que deber ser un problema de mi configuración USB en el
91 > > kernel, pq el log del Xfree no escupe ningún error.
92 > >
93 > > ¿Alguien me pasa su config del kernel (solo la parte del usb) para
94 > > echarle un vistazo?
95 > >
96 > > Gracias.
97 > >
98 > > El lun, 23 de 06 de 2003 a las 10:40, Pablo Pardo escribió:
99 > > > Ahora mismo no me acuerdo de cual es la diferencia, pero creo que yo
100 uso el
101 > > > uhci, no el usb-uhci. A ver si eso funciona. Salu2.
102 > > >
103 > > > Pablo Pardo.
104 > > >
105 > > > ----- Original Message -----
106 > > > From: "David Gil" <enibal@×××××.es>
107 > > > To: "Jesús González" <kch@×××××.org>
108 > > > Cc: "gentoo-user-es" <gentoo-user-es@g.o>
109 > > > Sent: Saturday, June 21, 2003 7:32 PM
110 > > > Subject: Re: [gentoo-user-es] raton usb en portatil
111 > > >
112 > > >
113 > > > > Pffff, te voy contestando:
114 > > > >
115 > > > > El sáb, 21 de 06 de 2003 a las 18:54, Jesús González escribió:
116 > > > > > On s?, 2003-06-21 at 17:01, David Gil wrote:
117 > > > > > > Hola lista.
118 > > > > > >
119 > > > > > > Acabo de comprarme un flamante portatil Sony VAIO, y me he
120 comprado un
121 > > > > > > ratón usb de estos opticos, pero no consigo configurarlo.
122 > > > > > >
123 > > > > > > He seguido el manual de configuración de escritorio sin ningún
124 > > > > > > resultado.
125 > > > > > >
126 > > > > > > Os copio parte de lo que dice mi kernel cuando desenchufo y
127 vuelvo a
128 > > > > > > enchufar el ratón.
129 > > > > > >
130 > > > > > > usb.c: USB disconnect on device 00:0c.0-1 address 2
131 > > > > > > usb_control/bulk_msg: timeout
132 > > > > > > usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len
133 18
134 > > > ret
135 > > > > > > -110
136 > > > > > > hub.c: new USB device 00:0c.0-1, assigned address 3
137 > > > > > >
138 > > > > > > Y la configuración de mi XFree
139 > > > > > >
140 > > > > > > Identifier "Mouse1"
141 > > > > > > Driver "mouse"
142 > > > > > > Option "Protocol" "PS/2"
143 > > > > > > Option "Device" "/dev/psaux"
144 > > > > > >
145 > > > > > > Identifier "USB Mice"
146 > > > > > > Driver "mouse"
147 > > > > > > Option "Protocol" "IMPS/2"
148 > > > > > > Option "Device" "/dev/input/mice"
149 > > > > > > Option "ZAxisMapping" "4 5"
150 > > > > > > Option "Buttons" "3"
151 > > > > > >
152 > > > > > > InputDevice "Mouse1" "CorePointer"
153 > > > > > > InputDevice "USB Mice" "SendCoreEvents"
154 > > > > > >
155 > > > > > > Si podeis ayudarme... no me apaño nada con el ratón del
156 portátil.
157 > > > > > >
158 > > > > > > Gracias por adelantado.
159 > > > > > >
160 > > > > > >
161 > > > > > > --
162 > > > > > > gentoo-user-es@g.o mailing list
163 > > > > > >
164 > > > > >
165 > > > > > Yo tengo funcionando el touchpad y un ratón optico USB
166 > > > > > esta es mi configuración
167 > > > > >
168 > > > > > root # lsmod
169 > > > > > ...
170 > > > > > mousedev 5492 1
171 > > > > > hid 22308 0 (unused)
172 > > > > > input 5440 0 [mousedev hid]
173 > > > > > usb-uhci 26316 0 (unused)
174 > > > > > usbcore 75520 1 [usb-storage hid usb-uhci]
175 > > > > > ...
176 > > > > >
177 > > > >
178 > > > > Ya tengo todos esos módulos cargados:
179 > > > >
180 > > > > vaio root # lsmod
181 > > > > Module Size Used by Not tainted
182 > > > > usbmouse 2200 0 (unused)
183 > > > > hid 14820 0 (unused)
184 > > > > mousedev 4244 1
185 > > > > input 3520 0 [usbmouse mousedev]
186 > > > > usb-uhci 23596 0 (unused)
187 > > > > usbcore 63008 1 [usbmouse hid usb-uhci]
188 > > > > radeon 80056 0 (unused)
189 > > > > trident 29972 1
190 > > > > soundcore 3972 3 [trident]
191 > > > > ac97_codec 10920 0 [trident]
192 > > > > ide-scsi 8528 0
193 > > > >
194 > > > >
195 > > > > > y el XF86Config-4
196 > > > > >
197 > > > > > Section "InputDevice"
198 > > > > > Identifier "Mouse0"
199 > > > > > Driver "mouse"
200 > > > > > Option "Device" "/dev/gpmdata"
201 > > > > > #Option "Device" "/dev/mouse"
202 > > > > > Option "Protocol" "IMPS/2"
203 > > > > > Option "Emulate3Buttons" "yes"
204 > > > > > EndSection
205 > > > >
206 > > > > yo /dev/gmpdata no lo tengo, uso /dev/psaux.
207 > > > > Y el protocolo no uso IMPS/2 pq se me vuelve loco el ratón, uso PS/2
208 > > > >
209 > > > > >
210 > > > > > Section "InputDevice"
211 > > > > > Identifier "Mouse1"
212 > > > > > Driver "mouse"
213 > > > > > Option "Protocol" "IMPS/2"
214 > > > > > Option "Device" "/dev/input/mice"
215 > > > > > Option "SendCoreEvents" "yes"
216 > > > > > Option "Emulate3Buttons" "no"
217 > > > > > Option "ZAxisMapping" "4 5"
218 > > > > > EndSection
219 > > > > >
220 > > > > > Section "ServerLayout"
221 > > > > > Identifier "XFree86 Configured"
222 > > > > > Screen 0 "Screen0" 0 0
223 > > > > > InputDevice "Mouse0" "CorePointer"
224 > > > > > InputDevice "Mouse1"
225 > > > > > InputDevice "Keyboard0" "CoreKeyboard"
226 > > > > > EndSection
227 > > > >
228 > > > > Esto ahora lo tengo igual que tú para probar, y sigue sin funcionar
229 :'(.
230 > > > >
231 > > > > >
232 > > > > >
233 > > > > > En lo único en lo que se diferencia del tuyo es en que yo pongo la
234 > > > > > opción "SendCoreEvents" en la conf. del ratón, no en la del
235 servidor, y
236 > > > > > que además no tengo la directiva Buttons.
237 > > > > >
238 > > > > > y al conectar desconectar el ratón me dice:
239 > > > > >
240 > > > > > Jun 21 18:43:09 [kernel] usb.c: USB disconnect on device 00:1f.2-1
241 > > > > > address 2
242 > > > > > Jun 21 18:43:15 [kernel] hub.c: new USB device 00:1f.2-1, assigned
243 > > > > > address 3
244 > > > > > Jun 21 18:43:15 [kernel] input0: USB HID v1.00 Mouse [KYE Genius
245 USB
246 > > > > > Wheel Mouse] on usb1:3.0
247 > > > > >
248 > > > >
249 > > > > Lo de los errores no se pq es...
250 > > > >
251 > > > > usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
252 > > > > usb_control/bulk_msg: timeout
253 > > > > usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
254 > > > > usb_control/bulk_msg: timeout
255 > > > > usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
256 > > > > usb_control/bulk_msg: timeout
257 > > > > usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
258 > > > > usb_control/bulk_msg: timeout
259 > > > >
260 > > > > Así unos cuantos bastantes...
261 > > > >
262 > > > > >
263 > > > > > Como ves, a mi no me da el error ese
264 > > > > >
265 > > > > > sbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18
266 ret -110
267 > > > > >
268 > > > > > ¿Tienes montado el usbdevfs?
269 > > > > >
270 > > > > > spiderman root # mount
271 > > > > > ...
272 > > > > > none on /proc/bus/usb type usbfs (rw)
273 > > > > >
274 > > > > > Por el error que te de tiene que ser algo de eso. (Se monta
275 > > > > > automáticamente en mi caso, no aparece en el fstab) Prueba
276 poniendo (si
277 > > > > > no lo tienes montado)
278 > > > > >
279 > > > > > mount -t usbfs none /proc/bus/usb
280 > > > > >
281 > > > >
282 > > > > Si, si que está montado:
283 > > > >
284 > > > > vaio root # mount
285 > > > > /dev/hda3 on / type ext3 (rw,noatime)
286 > > > > proc on /proc type proc (rw)
287 > > > > none on /dev type devfs (rw)
288 > > > > tmpfs on /mnt/.init.d type tmpfs (rw,mode=0644,size=2048k)
289 > > > > tmpfs on /dev/shm type tmpfs (rw)
290 > > > > usbdevfs on /proc/bus/usb type usbdevfs (rw)
291 > > > >
292 > > > >
293 > > > > > Espero que te sirve de algo
294 > > > > >
295 > > > >
296 > > > > Que extraño, no me funciona nada de lo que leo en los manuales, ni
297 en
298 > > > > los foros ni nada de nada. No se muy bien por donde seguir
299 investigando.
300 > > > >
301 > > > > > Saludos
302 > > > > >
303 > > > > >
304 > > > > > --
305 > > > > > gentoo-user-es@g.o mailing list
306 > > > > >
307 > > > >
308 > > > >
309 > > > > --
310 > > > > gentoo-user-es@g.o mailing list
311 > > >
312 > > >
313 > > > --
314 > > > gentoo-user-es@g.o mailing list
315 > > >
316 > >
317 > >
318 > > --
319 > > gentoo-user-es@g.o mailing list
320 > >
321
322
323 --
324 gentoo-user-es@g.o mailing list