Author Topic: Cacko3k Feedback  (Read 226797 times)

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #60 on: April 24, 2005, 07:24:51 pm »
Quote
OK guys, I'm back, I can see that kahm has been busy with Opera repackaging for the 3000. Great stuff.

What I would like now is a list of things that you discovered in the last two weeks (since my ininitial hitlist posting)

kahm, did you narrow down your DHCP issues any further ?

Oh, BTW: If you could consolidate your issues into single posts along with any workarounds that you implemented then that would be great.

Regards,

(very tired Andy.. up since 5.30am to drive from Carvoeiro to Faro for my flight)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76627\"][{POST_SNAPBACK}][/a][/div]

Welcome back, Mr. Smith

My DHCP issues, embarassingly, solved themselves. Somehow. Last time I saw the problem was the first time I fired up DHCP on the stock 3000.   Works perfectly now.

Addressbook sorting is broken.

Unzip isn't working. It's currently a link to zip, where on v1.22 it is a seperate program. Copying the seperate program to the 3000 fixed it.

There *is* some sort of Qtopia crash triggered by the first activation of networking - I've seen it twice after resets, but the catch is it doesn't happen if the first thing you try after a reset is activate wireless. I'll spend a couple of hours resetting my Z on my next day off to see if I can find what sets it up. I should note that I haven't had any other Qtopia crashes so far - this one was observed at the exact same instant both times

Euroclie has repacked and modified Opera 7.55. Mine is 7.25. I want to tweak my scripts a bit and Euroclie's needs the (useless) multimodal stuff removed. I haven't tried the newer version yet. Something I'll get around to on Tuesday. (My next day off - I'm coming off of 7 in a row, so I've been a bit too busy to work on it.  ) LMK if you'd prefer one or the other and I'll work with Euroclie to clean that up. (I don't know how urgent this will be, considering you're going to be adding it to the rom anyway. )

My next repack will be Apache, PHP, MySQL, as I need it for the OMLD. I'll do both the php4 and php5 versions, as the scripting should be pretty easy.

I've got a USB CD-RW I'm going to try on the Z. I just found the A->A USB cable it needs!

After that list gets done, I'll take suggestions as to what I should work on next  We've got people beating down the doors wanting a copy of this!
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #61 on: April 24, 2005, 09:56:45 pm »
Glad to say that the USB CD-RW works perfectly as a reader. It became /dev/scd0 when I plugged it in, and I'm copying files off it as we speak. I seem to recall someone with a 6000 getting CD burning working, but I'll have to look it up for details. (Probably something along the lines of recompiling some commandline tools for ARM. I can just see it now - New and Improved Cakco! Now with CD-Burning!  )

The USB keyboard layout, while useable, is still a little wonky. Guyhelm is working on improved keymapping on the 6000 (Whose USB keymap is apparently basically unusable  ), and had me send him the files from the 3000 to check out. We may hear more from him on that.

You can't play MP3 files off of USB media with the Sharp Mediaplayer. It refuses to recognize the existence of new mount points in the Documents tab. A link from HDD3, etc will probably be necessary to browse USB media for some apps.

There is a little strangeness with the USB stuff. Plugging in a partitionless USB device then removing it breaks something so that a properly partitioned USB device subsequently doesn't get detected. Plus, doing this with a USB keyboard on caused the USB keyboard to stop responding. Unplugging and plugging the keyboard back in resulted in a messed up keymap (BS=N, etc. Totally unusable. This has happened to me twice now, haven't got a reproducable sequence down yet) Rebooting cures both symptoms. I haven't tried missing with manually removing modules yet.
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #62 on: April 25, 2005, 04:26:55 am »
Quote
...
There is a little strangeness with the USB stuff. Plugging in a partitionless USB device then removing it breaks something so that a properly partitioned USB device subsequently doesn't get detected. Plus, doing this with a USB keyboard on caused the USB keyboard to stop responding. Unplugging and plugging the keyboard back in resulted in a messed up keymap (BS=N, etc. Totally unusable. This has happened to me twice now, haven't got a reproducable sequence down yet) Rebooting cures both symptoms. I haven't tried missing with manually removing modules yet.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76678\"][{POST_SNAPBACK}][/a][/div]

The safest thing with unpartitioned media types on USB is as follows..

eject /dev/sda
rmmod usb-storage

This will ensure that the usb-storage gets the IOCTL to eject the device (It also unmounts and syncs). Unfortunately the IOCTL doesn't seem to ever remove the sda device from the /proc/partitions entries like it does with my desktop 2.6 Kernel so I suspect that's a limitation with this old version of the usb-storage module. Since the device is ejected removing the module with rmmod gets rid of the sda entry in /proc /partititons.

You will notice that when using a properly partitioned device you will see /dev/sda and /dev/sda1 in the /proc/partitions file. If you eject /dev/sda then you still see the sda device but /dev/sda1 is gone... the eject patch for the card monitor that I put together issues an rmmod of the usb-storage module following the eject command to work around this issue.

The reason that the think messes up is that when you hotplug another storage device when the proc/partitions file shows sda it will use sdb instead.

I suspect that this older version of usb-storage isn't actually fully aware of hdd type usb-storage and triggers only a media eject rather than a device eject (i.e. for CD ejects the CD rather than the whole CD reader).

- Andy
« Last Edit: April 25, 2005, 04:33:44 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #63 on: April 25, 2005, 05:26:42 am »
Quote
Glad to say that the USB CD-RW works perfectly as a reader. It became /dev/scd0 when I plugged it in, and I'm copying files off it as we speak. I seem to recall someone with a 6000 getting CD burning working, but I'll have to look it up for details. (Probably something along the lines of recompiling some commandline tools for ARM. I can just see it now - New and Improved Cakco! Now with CD-Burning!  )

 Usual location, called cdrtools_2.01_arm.ipk

Totally untested, I don't have a USB CD Writer at the moment.

Let me know if it does anything at all.

BTW: This package also includes mkisofs etc. it's the full cdrtools build.

Update: cdrecord -scanbus will probably fail due to the lack of /dev/pg0 etc. You can check the bus and device numbers through /proc/scsi/scsi contents.

- Andy
« Last Edit: April 25, 2005, 08:26:20 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #64 on: April 25, 2005, 09:15:16 am »
Quote
...
Addressbook sorting is broken.

Unzip isn't working. It's currently a link to zip, where on v1.22 it is a seperate program. Copying the seperate program to the 3000 fixed it.

There *is* some sort of Qtopia crash triggered by the first activation of networking - I've seen it twice after resets, but the catch is it doesn't happen if the first thing you try after a reset is activate wireless. I'll spend a couple of hours resetting my Z on my next day off to see if I can find what sets it up. I should note that I haven't had any other Qtopia crashes so far - this one was observed at the exact same instant both times

Euroclie has repacked and modified Opera 7.55. Mine is 7.25. I want to tweak my scripts a bit and Euroclie's needs the (useless) multimodal stuff removed. I haven't tried the newer version yet. Something I'll get around to on Tuesday. (My next day off - I'm coming off of 7 in a row, so I've been a bit too busy to work on it.  ) LMK if you'd prefer one or the other and I'll work with Euroclie to clean that up. (I don't know how urgent this will be, considering you're going to be adding it to the rom anyway. )
...

addressbook sorting is now fixed. I'm not going to post an update... I'm going to wrap all stuff into  beta1 and allow a much wider testing circle. (if you want you can fix by copying addressbook.so from a Cacko distribution in the /opt/QtPalmtop/binlib directory but will also need liben.so.* from the /opt/QtPalmtop/lib directories).

Can't crash Qtopia exactly as reported.. if you can provide me with a standard walkthrough that reliably recreates it I can do some testing... I have a suspiscion about some bit of code in the cardmon applet that I didn't like the look of... not absolutely sure though so a sureproof repro scenario would be good.

I'll take a look at Euroclie's version of the Opera package... sorry for missing your posting Euroclie, as I said I was tired when I got back.

Regards,

Andy
« Last Edit: April 25, 2005, 09:15:52 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #65 on: April 25, 2005, 09:30:37 am »
Quote
addressbook sorting is now fixed. I'm not going to post an update... I'm going to wrap all stuff into  beta1 and allow a much wider testing circle. (if you want you can fix by copying addressbook.so from a Cacko distribution in the /opt/QtPalmtop/binlib directory but will also need liben.so.* from the /opt/QtPalmtop/lib directories).

Can't crash Qtopia exactly as reported.. if you can provide me with a standard walkthrough that reliably recreates it I can do some testing... I have a suspiscion about some bit of code in the cardmon applet that I didn't like the look of... not absolutely sure though so a sureproof repro scenario would be good.

I'll take a look at Euroclie's version of the Opera package... sorry for missing your posting Euroclie, as I said I was tired when I got back.

Regards,

Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76735\"][{POST_SNAPBACK}][/a][/div]

I'll be putting the CDRW stuff through the wringer tonight  Thanks for the files.

I'll try and work out a walk-through for that crash. It happened to me the first time I tried wireless, then when I reset specifically to test it didn't happen. The second time was the first time I tried wireless after another reset - but I did other stuff first. It took me a day or so to get around to wanting to connect  It's there, but something else seems to set it up.
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #66 on: April 25, 2005, 09:50:12 am »
What's the consensus on the version of Opera in the ROM?

I quite like 7.55 although the forward/back button graphics are a bit mesleading when you first fire it up (looks like they are missing).

- Andy
« Last Edit: April 25, 2005, 10:44:09 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #67 on: April 25, 2005, 12:39:29 pm »
Quote
What's the consensus on the version of Opera in the ROM?

I quite like 7.55 although the forward/back button graphics are a bit mesleading when you first fire it up (looks like they are missing).

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76746\"][{POST_SNAPBACK}][/a][/div]

I haven't tried the 7.55 yet. I like the thought of the smaller icons in the orginal - less wasted screen space. (It isn't like they're super tiny)

What I would like is a slightly larger default font size (without having to magnify the screen.)

I'll try out the 7.55 package and see what it's like. Do we know if there are any functional differences between 7.25 and 7.55?
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

euroclie

  • Full Member
  • ***
  • Posts: 205
    • View Profile
    • http://
Cacko3k Feedback
« Reply #68 on: April 25, 2005, 01:24:45 pm »
Quote
What's the consensus on the version of Opera in the ROM?

I quite like 7.55 although the forward/back button graphics are a bit mesleading when you first fire it up (looks like they are missing).
I found that the original icons (14x14) were too tiny to my taste (not that I had troubles seeing them, mind you, just that I often found myself tapping on the adjacent icon because of limited digitizer accuracy), so I replaced them by 32x32 icons.Of course, this means losing 18 pixels in the top icon bar...

It seems, though, that Opera replaces the bitmaps of the disabled buttons by grayed-out versions when you're not supposed to tap on that button (for instance the back/forward buttons when you open the browser, and also the voice command icon in the top right of the icon bar).

I still have to iron out some artifacts (black dots) on the xpm files, probably caused by a buggy png->xpm format conversion, but otherwise I'm not sure about what can be done to make the bitmaps look better when grayed out... Maybe alter the original icon, I'd have to check but it may be that the grayed-out version is a simple two-bits depth of the original bitmap, with either transparent or anything else...

But then, if I'm the only one interested (i.e. if like kahm the majority of the users think that the original buttons are OK) then it's probably not worth the effort? Or in the worst case, I suppose I could always release the buttons in a separate skin package.

Oh, btw, it's good to know the adderss book sorting is fixed! It was making me crazy whenever I wanted to use the addressbook! (though the find menu worked OK).
« Last Edit: April 25, 2005, 01:27:44 pm by euroclie »
Patrick

sriley

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • http://
Cacko3k Feedback
« Reply #69 on: April 25, 2005, 11:33:25 pm »
Personally, I prefer the larger 32x32 icons in Opera.  Much easier to hit them with my stylus after 2 or 3 bottles of Guinness.  

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #70 on: April 26, 2005, 12:47:29 am »
CD burning looks like a no go without the generic scsi kernel modules and /dev/sg*.
Cdrecord complains missing /deg/pg*, but that's for parallel drives.

I looked around, but couldn't find the posts on cd-burning with the 6000. There was a link to kernel modules for sg and scsi built for the 6000, though.
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #71 on: April 26, 2005, 04:12:51 am »
Quote
CD burning looks like a no go without the generic scsi kernel modules and /dev/sg*.
Cdrecord complains missing /deg/pg*, but that's for parallel drives.

I looked around, but couldn't find the posts on cd-burning with the 6000. There was a link to kernel modules for sg and scsi built for the 6000, though.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76864\"][{POST_SNAPBACK}][/a][/div]

OK, you shouldn't need a module, just the entry in /dev sg is linked into this kernel rather than as a module - that's standard Sharp config with this kernel.

mknod /dev/sg0 c 21 0

is probably all you need to do.

pg support isn't needed but screws up the scanbus option (may patch that out later). You can confirm the target ID of the device by looking at /proc/scsi/scsi and then using the channel, target & lun as the dev paramaters...

cdrecord dev=0,0,0 myiso.iso

Assuming that the /proc/scsi/scsi was reporting all zeros.

Just tried this with a pendrive because I don't have a USB CD Writer, it gets far enough to complain that it's a Generic Disk rather than a writer so I suspect that is all you need.

Regards,

Andy
« Last Edit: April 26, 2005, 04:14:44 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

slackwaresupport

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
Cacko3k Feedback
« Reply #72 on: April 26, 2005, 09:19:06 am »
you could try to cross compile a program called sg_map
http://sg.torque.net/sg/u_index.html

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #73 on: April 26, 2005, 10:49:15 am »
Quote
you could try to cross compile a program called sg_map
http://sg.torque.net/sg/u_index.html
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76907\"][{POST_SNAPBACK}][/a][/div]

Shouldn't be required. I'm rebuilding now without the /dev/pg support. I'll post  it up when I can do a proper scanbus.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #74 on: April 26, 2005, 11:35:52 am »
OK guys, updated version of cdrtools (called the same thing and in the same location).

I dropped the pg driver (really simple, just removed a definition from a makefile) and have added a postinst script that creates the device nodes for /dev/sg0 through sg15.

Following standard linux conventions you need to be root to write to these nodes...

I don't have a USB CD Writer to test with but here's what happens with a 'Dazzle' SD card reader connected with a 128Mb SD card installed....

Code: [Select]
bash-2.05# cdrecord -scanbus
Cdrecord-Clone 2.01 (arm-unknown-linux-gnu) Copyright (C) 1995-2004 J�g Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) 'Generic ' 'STORAGE DEVICE  ' '0113' Removable Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
bash-2.05#        

 BTW: the sg driver doesn't initialise until you plug something in so expect an error if you don't have a USB device connected. Let me know if anyone can burn something. The suspense is killing me.
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card