From: <al3...@gm...> - 2005-04-19 07:50:55
|
Hi, im trying to use a usb cwlinux display: modprobe usblcd all seems right until i try to access the display: ------- howap:~/lcd/lcdfun-0.2# lcd4linux -Fvv Version 0.10.0-RC2 starting cfg.c: Warning: key <Display>: value <'LCD-Linux'> overwritten with <'USBLC= D'> 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 USBLCD drv_USBLCD.c: using device /dev/usb/lcd=20 USBLCD: open(/dev/usb/lcd) failed: Device or resource busy ------- if i rmmod usblcd i get: howap:~/lcd/lcdfun-0.2# rmmod usblcd howap:~/lcd/lcdfun-0.2# lcd4linux -Fvv Version 0.10.0-RC2 starting cfg.c: Warning: key <Display>: value <'LCD-Linux'> overwritten with <'USBLC= D'> 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 USBLCD drv_USBLCD.c: using device /dev/usb/lcd=20 USBLCD: open(/dev/usb/lcd) failed: No such device so it seems that the module is correctly charged i=B4m using this version: howap:~/lcd/lcdfun-0.2# lcd4linux -v Version 0.10.0-RC2 starting invoked without full path; restart may not work! howap:~/lcd/lcdfun-0.2#=20 anyone can help me? Thanks a lot. |
From: Michael R. <re...@eu...> - 2005-04-19 12:52:41
|
Hi Alejandro, > im trying to use a usb cwlinux display: > > modprobe usblcd > lcd4linux.c: initializing driver USBLCD > drv_USBLCD.c: using device /dev/usb/lcd > USBLCD: open(/dev/usb/lcd) failed: Device or resource busy What kind of display are you using? Are you sure [got it right this time, gipsy :-] you don't mix up the USBLCD modules and the cwlinux display drivers? USBLCD is a product of a german company, which is a small interface to use HD44780-Displays with USB. CWLinux displays already come with an USB interface, but do not need a kernel module. bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Michael R. <re...@eu...> - 2005-04-19 14:44:41
|
> the cw1232 and the cw1602 displays: It's cw12232 (not cw1232), IIRC. Okay, you don't need any kernel module for these displays! Where did you get the module from? You have to specify the "USB serial port" as a 'Port' in the lcd4linux.conf. The setting depends on your setup/distribution/room temperature, but it's usually /dev/usb/tts/0 or something similar. bye, michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Michael R. <re...@eu...> - 2005-04-19 17:35:19
|
Hi, > i=B4ve tried this >=20 > Display LCDTerm { > Driver 'CW12232' > Port 'USB serial port' > Speed 19200 > Size '20x4' > Icons 1 > } >=20 > 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 "CW1223= 2". 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 configuration 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. --=20 Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: <al3...@gm...> - 2005-04-19 19:38:57
|
I=B4m using the module which comes with the kernel. It=B4s just the same driver, but i had problems when i tryed to compile it on my machine so i tried compiling directly as a kernel module. Just now i=B4m compiling again but i wonder that the dev '/dev/tts/USB0' 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, >=20 > > i=B4ve tried this > > > > Display LCDTerm { > > Driver 'CW12232' > > Port 'USB serial port' > > Speed 19200 > > Size '20x4' > > Icons 1 > > } > > >=20 > > howap:~/lcd/cvs/lcd4linux# lcd4linux -Fvv > > lcd4linux.c: initializing driver CW12232 > > drv_init(CW12232) failed: no such driver >=20 > Well, LCD4Linux is right here: There is no driver called "CW12232". > There is a driver called "Cwlinux", which supports a model called "CW1223= 2". >=20 > And even though it makes no difference, I have no clue why you're > calling your display section "LCDTerm". >=20 > 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. >=20 > Maybe you want to try this configuration: >=20 > Display CW12232 { > Driver 'Cwlinux' > Model 'CW12232' > Port '/dev/tts/USB0' > Speed 19200 > Brightness 2 > Icons 1 > } >=20 > I just added this one as an "Example" to the wiki. >=20 > I'm afraid I've to provide examples for every display. >=20 > @all: someone out there who wants to write a graphically configuration > program? I have the dim feeling that we're in the need for it :-) >=20 > bye, Michael >=20 > sorry for being a bit rude. I've got a cold. >=20 > -- > Michael Reinelt <re...@eu...> > http://home.pages.at/reinelt > GPG-Key 0xDF13BA50 > ICQ #288386781 > |
From: <al3...@gm...> - 2005-04-19 19:57:39
|
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:~#=20 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 driver [....] 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 same > driver, but i had problems when i tryed to compile it on my machine so > i tried compiling directly as a kernel module. >=20 > Just now i=B4m compiling again but i wonder that the dev '/dev/tts/USB0' > 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. >=20 > Thanks a lot for your help. >=20 > 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 "CW12= 232". > > > > 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 configuration > > 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 > > > |
From: <al3...@gm...> - 2005-04-19 21:15:08
|
im yet here, i=B4m sorry :-(. No good news by now. 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)? this is what dmesg says me (if it helps): 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 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 On 4/19/05, Alejandro Moreno L=F3pez <al3...@gm...> wrote: > ok, just was i was thinking: >=20 > 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 >=20 > but using usb/lcd didn=B4t help: >=20 > 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:~# >=20 > What i=B4ve just seen is that when i plug in the display i get: >=20 > [....] > usb.c: USB device 2 (vend/proc .....) is not claimed by any active driver > [....] >=20 > not claimed by any active driver? is that ok? >=20 > 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 sam= e > > driver, but i had problems when i tryed to compile it on my machine so > > i tried compiling directly as a kernel module. > > > > Just now i=B4m compiling again but i wonder that the dev '/dev/tts/USB0= ' > > 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 tw= o > > 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 "CW= 12232". > > > > > > 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 configuratio= n > > > 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 > > > > > > |
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 > > > > > > > > > > |
From: Michael R. <re...@eu...> - 2005-04-20 05:36:57
|
Hi Alejandro, > 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= . Fine! Your problem was that you've tried to handle the display with the usblcd module, which is for a completely different display. You neet the usbserial and pl2303 modules for Cwlinux LCD's /The pl2303 is a simple USB-to-serial converter). Have Fun! Michael --=20 Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |