From: <al3...@gm...> - 2005-04-19 23:16:41
|
ok, i finally get it working. I don=B4t really understand how it does, but it does. I compiled once and again my kernel and in the last configuration i inserted all the usb modules which i founded. Really weird solution, but it works. I=B4ll have time to clean my kernel later. Thanks a lot for you help and your time. On 4/19/05, Alejandro Moreno L=F3pez <al3...@gm...> wrote: > im yet here, i=B4m sorry :-(. No good news by now. >=20 > Compiling in the kernel statically doesn=B4t seems to help. How can i > guess where is it now the display (if it is in any place)? >=20 > this is what dmesg says me (if it helps): >=20 > hub.c: new USB device 00:05.2-1, assigned address 3 > usb.c: kmalloc IF c55158a0, numif 1 > usb.c: new device strings: Mfr=3D0, Product=3D0, SerialNumber=3D0 > usb.c: unhandled interfaces on device > usb.c: USB device 3 (vend/prod 0x67b/0x2303) is not claimed by any > active driver. > Length =3D 18 > DescriptorType =3D 01 > USB version =3D 1.10 > Vendor:Product =3D 067b:2303 > MaxPacketSize0 =3D 8 > NumConfigurations =3D 1 > Device version =3D 2.02 > Device Class:SubClass:Protocol =3D 00:00:00 > Per-interface classes > Configuration: > bLength =3D 9 > bDescriptorType =3D 02 > wTotalLength =3D 0027 > bNumInterfaces =3D 01 > bConfigurationValue =3D 01 > iConfiguration =3D 00 > bmAttributes =3D a0 > MaxPower =3D 100mA >=20 > Interface: 0 > Alternate Setting: 0 > bLength =3D 9 > bDescriptorType =3D 04 > bInterfaceNumber =3D 00 > bAlternateSetting =3D 00 > bNumEndpoints =3D 03 > bInterface Class:SubClass:Protocol =3D ff:00:00 > iInterface =3D 00 > Endpoint: > bLength =3D 7 > bDescriptorType =3D 05 > bEndpointAddress =3D 81 (in) > bmAttributes =3D 03 (Interrupt) > wMaxPacketSize =3D 000a > bInterval =3D 01 > Endpoint: > bLength =3D 7 > bDescriptorType =3D 05 > bEndpointAddress =3D 02 (out) > bmAttributes =3D 02 (Bulk) > wMaxPacketSize =3D 0040 > bInterval =3D 00 > Endpoint: > bLength =3D 7 > bDescriptorType =3D 05 > bEndpointAddress =3D 83 (in) > bmAttributes =3D 02 (Bulk) > wMaxPacketSize =3D 0040 > bInterval =3D 00 > usb.c: kusbd: /sbin/hotplug add 3 > hub.c: port 2, portstatus 100, change 0, 12 Mb/s > hub.c: port 1, portstatus 103, change 0, 12 Mb/s > hub.c: port 2, portstatus 100, change 0, 12 Mb/s > howap:~# >=20 >=20 > On 4/19/05, Alejandro Moreno L=F3pez <al3...@gm...> wrote: > > ok, just was i was thinking: > > > > howap:~# lcd4linux -Fvv > > Version 0.10.0-RC2 starting > > plugin_cfg.c: Variable minute =3D '60000' (60000) > > plugin_cfg.c: Variable tack =3D '100' (100) > > plugin_cfg.c: Variable tick =3D '500' (500) > > lcd4linux.c: initializing driver Cwlinux > > Cwlinux: using model 'CW12232' > > Cwlinux: using port '/dev/tts/USB0' at 19200 baud > > Cwlinux: open(/dev/tts/USB0) failed: No such file or directory > > > > but using usb/lcd didn=B4t help: > > > > howap:~# lcd4linux -Fvv > > Version 0.10.0-RC2 starting > > plugin_cfg.c: Variable minute =3D '60000' (60000) > > plugin_cfg.c: Variable tack =3D '100' (100) > > plugin_cfg.c: Variable tick =3D '500' (500) > > lcd4linux.c: initializing driver Cwlinux > > Cwlinux: using model 'CW12232' > > Cwlinux: using port '/dev/usb/lcd' at 19200 baud > > Cwlinux: open(/dev/usb/lcd) failed: Device or resource busy > > howap:~# > > > > What i=B4ve just seen is that when i plug in the display i get: > > > > [....] > > usb.c: USB device 2 (vend/proc .....) is not claimed by any active driv= er > > [....] > > > > not claimed by any active driver? is that ok? > > > > On 4/19/05, Alejandro Moreno L=F3pez <al3...@gm...> wrote: > > > I=B4m using the module which comes with the kernel. It=B4s just the s= ame > > > driver, but i had problems when i tryed to compile it on my machine s= o > > > i tried compiling directly as a kernel module. > > > > > > Just now i=B4m compiling again but i wonder that the dev '/dev/tts/US= B0' > > > doesn=B4t exist... i mean that the kernel installs the device on > > > /dev/usb/lcd. Or at least seems that. Ok, anyway, i=B4m going to try = two > > > different changes and i submit you my problems or (hopefully) success= . > > > I really need it working as soon as possible. > > > > > > Thanks a lot for your help. > > > > > > On 4/19/05, Michael Reinelt <re...@eu...> wrote: > > > > Hi, > > > > > > > > > i=B4ve tried this > > > > > > > > > > Display LCDTerm { > > > > > Driver 'CW12232' > > > > > Port 'USB serial port' > > > > > Speed 19200 > > > > > Size '20x4' > > > > > Icons 1 > > > > > } > > > > > > > > > > > > > > howap:~/lcd/cvs/lcd4linux# lcd4linux -Fvv > > > > > lcd4linux.c: initializing driver CW12232 > > > > > drv_init(CW12232) failed: no such driver > > > > > > > > Well, LCD4Linux is right here: There is no driver called "CW12232". > > > > There is a driver called "Cwlinux", which supports a model called "= CW12232". > > > > > > > > And even though it makes no difference, I have no clue why you're > > > > calling your display section "LCDTerm". > > > > > > > > And what the heck do you think should lcd4linux do with "USB serial > > > > port"? I'm working on the AI plugin, but it's not finished yet. > > > > > > > > Maybe you want to try this configuration: > > > > > > > > Display CW12232 { > > > > Driver 'Cwlinux' > > > > Model 'CW12232' > > > > Port '/dev/tts/USB0' > > > > Speed 19200 > > > > Brightness 2 > > > > Icons 1 > > > > } > > > > > > > > I just added this one as an "Example" to the wiki. > > > > > > > > I'm afraid I've to provide examples for every display. > > > > > > > > @all: someone out there who wants to write a graphically configurat= ion > > > > program? I have the dim feeling that we're in the need for it :-) > > > > > > > > bye, Michael > > > > > > > > sorry for being a bit rude. I've got a cold. > > > > > > > > -- > > > > Michael Reinelt <re...@eu...> > > > > http://home.pages.at/reinelt > > > > GPG-Key 0xDF13BA50 > > > > ICQ #288386781 > > > > > > > > > > |