installation of Nokia 5510, mounting its flash and converting mp3s into lsa
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
installation of Nokia 5510, mounting its flash and converting mp3s into lsa
is there a possibility of transferring music to Nokia 5510 under Linux? music requires to be converted from mp3 to lsa files. there is software allowing to do that, but only for Windows. when i connect it to my pc, it is recognized in /var/log/messages correctly, and it mounts under /dev/sda but there are no partitions on it. when i try to view its status with hardware browser, it's shown as if the device was disconnected (the geometry bar is green). is there a way i could possibly mount it and transfer music onto it (as far as i know music must be transferred via Nokia Audio Manager under Windows, else it will not be available from phones point of view)? plz help me.
you will also find some hints on getting access to the flash memory, which can be a bit tricky if you don't have a recent linux kernel (>= 2.4.22) and you've never compiled a kernel before.
well guess i'll manage, i'm using kernel 2.6.7, and after all i'm using Gentoo, which required me to compile my kernel during the installation, so i'm familiar with that.
did you actually get it working? i ran into some troubles trying to connect my nokia to kernel 2.6.6. Mounting works fine, but upload is quite unstable. Eventually, usb-storage driver will crash and i can't remount.
kernel 2.6.8.1 didn't work either; right now i've got it working with 2.6.9-rc2 and a new driver called "Low Performance USB Block driver".
if you've got the same problems and you're not into experiments with bleeding-edge software, i'd recommend using an older kernel. 2.6.0 is reported to work on the website mentioned above.
well to be honest i couldn't even mount my phone's file system, which as far as i remember was vfat (guess i've tried to mount it on Red Hat or Debian i don't remember now). i've added required lines which are:
to /usr/src/linux/drivers/usb/storage/unusual_devices.h, as mentioned in README file, but when i'm trying to recompile modules, i get an error saying something about bad or missing flag, that is US_FL_START_STOP. i don't know anything about C programming, so i can't tell wtf is wrong. as i connect my phone i get the following output in log file:
Sep 30 16:01:11 gentoo usb 1-2: new full speed USB device using address 5
Sep 30 16:01:11 gentoo scsi2 : SCSI emulation for USB Mass Storage devices
Sep 30 16:01:11 gentoo Vendor: Nokia Model: 5510 Rev: 0001
Sep 30 16:01:11 gentoo Type: Direct-Access ANSI SCSI revision: 02
Sep 30 16:01:11 gentoo SCSI device sda: 124896 512-byte hdwr sectors (64 MB)
Sep 30 16:01:11 gentoo sda: assuming Write Enabled
Sep 30 16:01:11 gentoo sda: assuming drive cache: write through
Sep 30 16:01:11 gentoo Device not ready. Make sure there is a disc in the drive.
Sep 30 16:01:11 gentoo /dev/scsi/host2/bus0/target0/lun0: p1
Sep 30 16:01:11 gentoo Device not ready. Make sure there is a disc in the drive.
Sep 30 16:01:11 gentoo Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Sep 30 16:01:11 gentoo Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 0
Sep 30 16:01:11 gentoo USB Mass Storage device found at 5
Sep 30 16:01:12 gentoo scsi.agent[22253]: disk at /devices/pci0000:00/0000:00:11.2/usb1/1-2/1-2:1.0/host2/2:0:0:0
vfat, and usb-storage are compiled as modules, which is obligatory (it was mentioned in README file) . dunno what is wrong. got any ideas?
that UNUSUAL_DEV line is meant to be inserted into a 2.4 kernel, that's why you get this error trying to compile it with 2.6.7.
your log says something about "Attached scsi generic". usb storage devices should be managed by "scsi disk". check if you've got driver/SCSI devices/SCSI disk support (BLK_DEV_SD) enabled in your kernel and (in case you compiled it as a module) sd_mod is loaded.
that's almost exactly what i get, too (last line starts phys=(488, 7, 32) for me).
it doesn't seem to do any harm, though; especially i don't think it has anything to do with the instability during data transfer. btw, did you have any crashes with kernel 2.6.7?
after file system's format i could finally mount it, but yeah it did crash, when i've tried to umount it. i've read somewhere that i should sync it before umonting, but it didn't help. the kernel log data was similar to that when you unplug and IDE HDD from your PC when data is being transfered to/from it. the funniest thing is that no data was being transfered when i umounted it. finally files transfered to the phone were invisible for it.
oh, let me guess ... and when you reboot & remount, you can't see the files you transferred, either. i had the same problems with kernels 2.6.6 and 2.6.8.1 (see post #4).
id did manage to transfer small amounts of data, though. copying a file of some kB, syncing and unmounting worked. not that it would help much for an mp3 player ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.