Jump to content

MrMad

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by MrMad

  1. Mea Culpa 1st: it should be: pushButton4->setText("Wingroza"); 2nd: the missing: #include "qpushbutton.h" Shame on me :-) Anyway solved.
  2. Hello, i just tried to create the simple C++ app using QT. So I created a simple form and button and then I added a slot thus a piece of code is called when user click the button. Everything is ok until I entered the code into a virtual function. The simple code in this place like printf etc. wrok well. But when I want ad something like this and change the push button text : void MyForm::ZmianaTekstu() { pushButton4.setText("Wingroza"); } then the compiler complains: myform.cpp:29: error: request for member 'setText' in '((MyForm*)this)->MyForm::<anonymous>.Form1::pushButton4', which is of non-class type 'QPushButton*' Don't know why - if in the same place I will add the code to change the form caption it's ok ... You can find the sources in attachment. What I'm doing wrong ? Regards MrMad packed.zip
  3. SOLVED [/size] Dear All, finally I solved this problem by myself. Here is the treat from syslog which help me figure out what is going on: firmware_helper[4979]: main: could not load firmware '/lib/hotplug/firmware/speedtch-1.bin.4.00' for '/class/firmware/2-1' It's saying clearly that the firmware is missing. Of course Mandriva supplied firmware ..... but for the modem_run bin for hotplug :-( Therefore the udev can't find the proper firmware. I followed informations from this site Speedtouch firmware udev Using the firmware exractor I put the necessary files: speedtch-1.bin speedtch-2.bin in the /lib/hotplug/firmware/ directory and ....... Tadam !!! Working Perfectly. So all the ADSL users having problems with SpeedTouch 330 - please do it in the way mentioned above .... and see You in the net .... PS. A few words regarding why for some users it seems to be working from time to time. In my case the modem worked from boot to boot just because I have 2005 installed and when I boot to the 2005 then reset then boot to 2006 everything was ok - modem somehow remembered the firmware. But after power off and power on again and boot to 2006 ... zonk ... Now it's a flawless victory. Many thanks to the b3nt@ukonline.co.uk for comprehensive how to on his site :-)
  4. Hi ! After many installs I also find out that reconfiguring the firewall (shorewall) to use the ppp+ as inet inteface and also disabling the iptables and turning on netplug demons helps .... but not every time Sad Sometime - especially after first power on the net not become up ... (usually the second one is ok altough the message "Resource not avaiable" stay as it was before) Something is running too fast ? Maybe some delay is needed between modem_run and pppd ? How do You think ?
  5. Understood .... Ok - what I can do ? (In the mean time when Mandriva will investigate it ?). Anly clues trials with pppd - where to find the full documentation why it's returning this message ???? Anyone ?
  6. I beg Your pardon, 1st - I didn't wanted to yell to any user of the MDK. 2nd - I didin't knew that this board is users only and not maintained by Mandriva so again please take my aplogies - this is caused by missunderstanding. Be sure that I'll go front to the Mandriva and will eat'eam up - i'm deeply dissapointed probably as the many other users of MDK 2006. However If I can suggest something - the nick names like Mandriva Guru or so are very suggestive and one can read them with quite different meaning. once again I apologize - my behaviour wasn't correct Best regards MrMad
  7. Yes it was done by this way (more then once :-) ).... The problem is that this modem has ONLY the USB port - that is why to bother :-) And as You can see I made some progress - but I would like to make it work as it worked before in MDK 2005. Besides - talking that "You should buy the new modem or new cpu or new MB" looks like the MS policy not the open source friendly spirit. Let's make it clear: It's Mandriva fault - Mandriva should help to fix it !!! (Or it should be mentioned before - our distro not support the ADSL modems or so. I can't imagine what will do some poor guy who will spent hundred of euros to the box edition just to find out ... ooops .. Next time he will buy MS .... If simple things dosen't work how we can trust that these big ones will ?) Regards MrMad
  8. Hi ! The funny thing is once per 4-5 startup's the pppd call ppp0 will suceed with the output: PPPoATM plugin_init PPPoATM setdevname - remove unwanted options PPPoATM setdevname_pppoatm - SUCCESS:0.35 Using interface ppp0 Connect: ppp0 <--> 0.35 CHAP authentication succeeded local IP address 83.23.247.40 remote IP address 213.25.2.41 primary DNS address 194.204.152.34 secondary DNS address 217.98.63.164 And altough connection ppp0 is visible in ifconfig and also added to default route the dns's servers are not used - resolving host names is impossible ..... Any ideas ?
  9. Hi ! Thanks for an answer. No I didn't cause it's way round. I would like to understand why it's not wotking as it worked in 2005 LE. My concern now is why on 2005 I've got output: PPPoATM plugin_init PPPoATM setdevname - remove unwanted options PPPoATM setdevname_pppoatm - SUCCESS:0.35 Using interface ppp0 Connect: ppp0 <--> 0.35 CHAP authentication succeeded local IP address 83.23.247.40 remote IP address 213.25.2.41 primary DNS address 194.204.152.34 secondary DNS address 217.98.63.164 and it's working fine. And in 2006 it's ending shortly: PPPoATM plugin_init PPPoATM setdevname - remove unwanted options PPPoATM setdevname_pppoatm - SUCCESS:0.35 Connect (0.35) - Resource temprorary unavaiable What's wrong ?
  10. Hello everybody, i just installed the Mandriva 2006 club DVD version. The speed is great :-) - big big step forward. But unfortunately the ADSL setup is somehow broken. I've set up the network same like in 2005 LE: (using drakx) pppoAtm my ISP VCi,VCP - 0.35, username etc.etc. During boot I have only a message "Initializing ppp0 - connect(0.35) - resource temprorary unavaiable" The same message i had in 2005 but without any impact to ADSL. I've tried to pppd call ppp0 but it returned a message ppp connect (0.35) - success. but ifconfig dosen't show the ppp0 at all !!!! Why is so ? Can somebody explain the difference between /etc/ppp/peers and /etc/sysconfig/networking-scripts ? How to eat it ? How to find where the problem is ? Regards and please
  11. Hi !, I'm confused regarding the X-11. Seems that somehow X-11 display is not synchronized with the VGA refresh V-Sync. Why am I thinking that ? Cause when I'm dragging a windows in KDE the redraw is done partialy not in double buffer - it looks like the half of the window is dragged let say "n" pixels left and the second half (bottom one) is dragged (n+1 - right pixes). This "vertical" shift is swimming in time while dragging (best to see onbig windows). Why is so ? Is the double buffering don't exist in X11 ? Same question regards the cursor - especially the animated one - looks nasty !!! SW_CURSOR option in config helps - but partially - sometimes when CPU is busy or some delays happens still litlle flicker ... What is the reason of that behaviour ? Is there any cure for this ? Regards MrMad System: MDK 2005 LE VGA - GeForce 6800 GT Driver 7676 (also confirmed on nv driver). X-Org X11 6.8.2
  12. Solved thanks to german forum I found usefull kernel options for lilo regarding rebooting. In my case adding the warm option solved the problem... No more memory count !!! Rebooting reboot=b[ios] | t[riple] | k[bd] [, [w]arm | [c]old] bios Use the CPU reboto vector for warm reset warm Don't set the cold reboot flag cold Set the cold reboot flag triple Force a triple fault (init) kbd Use the keyboard controller. cold reset (default) Using warm reset will be much faster especially on big memory systems because the BIOS will not go through the memory check. Disadvantage is that not all hardware will be completely reinitialized on reboot so there may be boot problems on some systems.
  13. Ok here are details about the BIOS and MB. Motherboard ASUS A7N8X-E Deluxe BIOS AWARD v6.00PG ASUS A7N8X-E Deluxe ACPI BIOS REV 1013 Any clues ? (I tried already reset BIOS - both by soft and hard way - no change).
  14. Simple question so I suppose the answer can be as short as the question. Is it normal that when Linux doing reset of the system (Init 6) it's always hard reset ? (by hard reset I mean that the BIOS is starting memory check & drives etc. - no quick start)
  15. I'm happy that my useless points help You to figure it out.... See You around .... There is a explanation of it - maybe the hub is broken - I saw many like this situations of broken ports on Ethernet hubs ... just an idea ...
  16. It's sad to say but I'm afraid that this problem is going out of my knowledge - fur sure it's a driver problem. Then IMHO you should post this problem on the linux-usb-users mailing list -> http://sourceforge.net/mailarchive/forum.php?forum_id=5395. These guys are outstanding with their knowledge.... Please post your problem together with the logs which You have (including distro name & kernel version). I'll watch this topic there. If You will have any questions regarding kernel version, usb messages debgugging etc. just ask ..... I'm sorry that I can't help more ....
  17. Ok - I didn't said it before - please edit Your post - first plug in the flash drive and after that (5-10 secs at least) please issue these lsmod and lsusb -v - cause I want to see the device listed by lsusb and eventually does it loading the usb-storage module or not ... Sorry for inconvinience .... and don't worry I'm fighting with my mp3 player from 2 weeks ...till now he wins :-)
  18. Hmm .. I'm not an expert too but for me: looks like a serious problem - device descriptor can;'t be accessed. Hmm ... Can You paste here the result (as root of course) of lsmod and lsusb -v ?
  19. You should issue the tail -f /var/log/messages as root in console. Also you can try the dmesg . Look for mesages related to USB and SCSI - paste the result here .... Another way (but less helpful) is go to the control center - hardware - and there please take a look where Your device is listed. We need to see the log to help You ... without it is hopeless.... :deal:
  20. Plese check out the: (as root in console) tail -f /var/log/messages paste here result what is going on when You plug it in ....
  21. I suggest a great piece of software called moto4lin (look at sourceforge) works well with most of motorola phones. I testedt it with V500 ... perfect. and btw. don't miss to load modprobe cdc-acm before lunching the program. If You connect your phone then You should have a /dev/ttyACM0 device present then You should change permissions to that device for all users . Launch moto4lin and enjoy ....
  22. Thank You for information. I tried to apply this patch today for 2.6.11-6mdk Kernel. Finally I was able to load this module using moprobe but even with this patch this player won't work - messages are same like above. Seems that I need to push it into the trash .....
  23. Ok - I probably have some solution from usb mailing list at sourceforge. I recived an advice by Alan Stern: Below is a patch for usb-storage that should solve the problem you've both had: a drive crashing when it receives a REPORT LUNS command. This will eliminate the need to write anything to /proc/scsi/device_info or to update the SCSI blacklist (for Samuel). Please try it out and let me know if it works as intended. Alan Stern ===== drivers/usb/storage/scsiglue.c 1.95 vs edited ===== --- 1.95/drivers/usb/storage/scsiglue.c 2005-02-10 16:22:46 -05:00 +++ edited/drivers/usb/storage/scsiglue.c 2005-02-22 10:50:08 -05:00 @@ -154,6 +154,14 @@ * If this device makes that mistake, tell the sd driver. */ if (us->flags & US_FL_FIX_CAPACITY) sdev->fix_capacity = 1; + + /* Some devices report a SCSI revision level above 2 but are + * unable to handle the REPORT LUNS command (for which + * support is mandatory at level 3). Since we already have + * a Get-Max-LUN request, we won't lose much by setting the + * revision level down to 2. The only devices that would be + * affected are those with sparse LUNs. */ + sdev->scsi_level = SCSI_2; } else { /* Non-disk-type devices don't need to blacklist any pages The only problem I've got now is how to apply this patch: - By manualy changing this file drivers/usb/storage/scsiglue.c ? If Yes then why the version in even newest kernel is 1.20 and mentioned here is 1.95 ? (I check all Kernels from 2.6.11-6 up to 2.6.12.rc3) - Where to obtain latest version of usb-storage driver source files ? - Even if I modify this file do I need to recompile all kernel or it is enough to replace only usb-storage module ? - Or maybe somehow I can apply all released patches between 1.20 and 1.95 ? Can enybody give me some advice ? I had to bring this piece of hardware to work .......
  24. I beg Your pardon but i check the BIOS and I don't see any related point .... Regarding ports I already tried. Here is the answer from usb-users list at sourceforge: Following this link I can get solution. I checked the mentioned above fragment and the sources of Mandriva LE 2005. Unfortunately this is not corrected !!!!! SO : 1) Why it is not included - this patch is from February this year. I can see in the header of the mentioned file version 1.95 - in Mandriva 1.21 - What is wrong ? Is this part is very old in Mandriva for patch -> drivers/usb/storage/scsiglue.c 1.95 2) How to apply this patch ? Compile whole kernel after make this patch ? Only module ? Maybe some source with the latest usb/drivers/storage source ???? Help will be very much appreciated.....
  25. Ok finally solved !!! I started investigation from the warning messages of configure & make. Most related was the stdio.h and libio.h. Then I went to RPM drake to take a look in which package these files exist. I foun one: glibc-deve-l2.3.4-8mdk I went to console and uninstaled this package using urpme (as root) of course. Together with this package rpme indicated a list of packages that must be uninstaled too. I save this list in seperate file to use it later. After uninstaling I paste the list of packages back to urpmi and ..... enter ...waiting,waiting... complete... I went to my test-hello directory program and issued configure (No Warnings !!!) and make .... uff ... no warnings no errors .... sucess !!!!
×
×
  • Create New...