Gentoo Archives: gentoo-user-es

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