[sda] Test WP failed, assume Write Enabled

I am not able to see the content of my MP3 player. (MPMAN TK250)
When I connect it to my PC, here is the output I get from /var/log/syslog :

fool@localhost:~$ tail -f /var/log/syslog

usb 1-4: new high speed USB device using ehci_hcd and address 19
kernel: [34983.036040] usb 1-4: new high speed USB device using ehci_hcd and address 20
kernel: [34983.556034] usb 1-4: new high speed USB device using ehci_hcd and address 21
kernel: [34984.100043] usb 1-4: new high speed USB device using ehci_hcd and address 22
kernel: [34984.988039] usb 2-2: new full speed USB device using ohci_hcd and address 6
kernel: [34985.031471] usb 2-2: New USB device found, idVendor=1cae, idProduct=4efc
kernel: [34985.031479] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: [34985.031484] usb 2-2: Product: TK250
kernel: [34985.031487] usb 2-2: Manufacturer: RockChip
kernel: [34985.031491] usb 2-2: SerialNumber: USBV1.00
kernel: [34985.031669] usb 2-2: configuration #1 chosen from 1 choice
kernel: [34985.035532] scsi4 : SCSI emulation for USB Mass Storage devices
kernel: [34985.041634] usb-storage: device found at 6
kernel: [34985.041639] usb-storage: waiting for device to settle before scanning
kernel: [34990.041679] usb-storage: device scan complete
kernel: [34990.048284] scsi 4:0:0:0: Direct-Access     TK250                     1.00 PQ: 0 ANSI: 0
kernel: [34990.093337] sd 4:0:0:0: [sda] 15941632 512-byte hardware sectors: (8.16 GB/7.60 GiB)
kernel: [34990.276034] usb 2-2: reset full speed USB device using ohci_hcd and address 6
kernel: [34990.344354] sd 4:0:0:0: [sda] Test WP failed, assume Write Enabled
kernel: [34990.366530] sd 4:0:0:0: [sda] Attached SCSI removable disk
kernel: [34993.321810] sd 4:0:0:0: [sda] 15941632 512-byte hardware sectors: (8.16 GB/7.60 GiB)
kernel: [34993.504035] usb 2-2: reset full speed USB device using ohci_hcd and address 6
kernel: [34993.572858] sd 4:0:0:0: [sda] Test WP failed, assume Write Enabled
kernel: [34993.594861] sda: detected capacity change from 8162115584 to 0
kernel: [34995.323160] sd 4:0:0:0: [sda] 15941632 512-byte hardware sectors: (8.16 GB/7.60 GiB)
kernel: [34995.504043] usb 2-2: reset full speed USB device using ohci_hcd and address 6
kernel: [34995.572180] sd 4:0:0:0: [sda] Test WP failed, assume Write Enabled

Here is what lsusb gives :

root@localhost:~# lsusb

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 006: ID 1cae:4efc
Bus 002 Device 002: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

uname -r : 2.6.30-2-686

With modinfo , you can check the parameters available for a given module.

root@localhost:~# modinfo scsi_mod

modinfo scsi_mod
filename:       /lib/modules/2.6.30-2-686/kernel/drivers/scsi/scsi_mod.ko
license:        GPL
description:    SCSI core
depends:
vermagic:       2.6.30-2-686 SMP mod_unload modversions 686
parm:           dev_flags:Given scsi_dev_flags=vendor:model:flags[,v:m:f] add black/white list entries for vendor and model with an integer value of flags to the scsi device info list (string)
parm:           default_dev_flags:scsi default device flag integer value (int)
parm:           max_luns:last scsi LUN (should be between 1 and 2^32-1) (uint)
parm:           scan:sync, async or none (string)
parm:           max_report_luns:REPORT LUNS maximum number of LUNS received (should be between 1 and 16384) (uint)
parm:           inq_timeout:Timeout (in seconds) waiting for devices to answer INQUIRY. Default is 5. Some non-compliant devices need more. (uint)
parm:           scsi_logging_level:a bit mask of logging levels (int)

All the lines beginning with “parm” are all the parameters available.
I created a file in which I put the following lines (as a matter of test) :

options scsi_mod maxluns=254
options scsi_mod scan=sync
options scsi_mod inq_timeout=10

This file, named module_scsi_mod.conf, is located in /etc/modprobe.d.
To take it into account, relaunch udev :

root@localhost:~# service udev restart

The problem still remains.

I have looked through the web for tips, some troubleshooting but nothing interesting.
If you have any ideas, feel free to post your comments here.

Advertisements

Grabbing hardware information

There are several command-line utilities such lspci,lsusb or lshw.
If you are looking for help on the Internet about finding the good driver for your hardware, check the links below :

About 3D Graphics hardware using Free Software drivers

A hardware inventory aggregator

FSF listing for compatible hardware with free software

Debian GNU/Linux device driver check