03-21-2020, 01:23 PM
(03-21-2020, 10:24 AM)eslei Wrote: hi, there,
i got moode 6.4.2 on rpi 3b, install moodecdplay but no cd tracks display.
Code:pi@moode:~ $ cd /home/pi/moOdeCDPlay-master
pi@moode:~/moOdeCDPlay-master $ /bin/bash install.sh
Install V0 moOdeCDPlay files in moOde.
Done - please reboot moOde to complete installation.
that's the installation
Code:pi@moode:~ $ dmesg | tail -20
[ 10.873538] 8021q: adding VLAN 0 to HW filter on device eth0
[ 10.882359] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 12.243489] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead
[ 21.662172] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 167.402971] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[ 167.534437] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0701, bcdDevice= 0.02
[ 167.534452] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 167.534462] usb 1-1.2: Product: USB TO IDE
[ 167.535420] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 167.535844] usb-storage 1-1.2:1.0: Quirks match for vid 05e3 pid 0701: 520
[ 167.535966] scsi host1: usb-storage 1-1.2:1.0
[ 168.616024] scsi 1:0:0:0: CD-ROM TSSTcorp CD/DVDW SH-W162Z TS01 PQ: 0 ANSI: 0
[ 168.616795] scsi 1:0:0:0: Attached scsi generic sg1 type 5
[ 168.679480] sr 1:0:0:0: Power-on or device reset occurred
[ 168.745379] sr 1:0:0:0: [sr0] scsi3-mmc drive: 8x/48x writer cd/rw xa/form2 cdda tray
[ 168.745392] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 168.746641] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 169.133001] usb 1-1.2: reset high-speed USB device number 6 using dwc_otg
[ 182.513301] usb 1-1.2: USB disconnect, device number 6
[ 182.532881] scsi 1:0:0:0: rejecting I/O to dead device
the cd drive is in the system
any guidance and suggestions are appreciated.
Hi,
I have CDPlay working in moOde 6.4.2 on an RPi4B at the moment. Similar entries show up in dmesg, most importantly, the "Attached scsi CD-ROM sr0" line, but not your last three lines. I don't know what's resetting your drive and disconnecting it. The final line is just the system saying the drive is no longer there.
What do you mean "no cd tracks display"? Was this before the drive disconnected? If so, was it after you've installed my code, rebooted moOde, and then inserted a CD into the drive? FYI, nothing happens if the CD is already present when moOde boots, only when the drive detects the insertion of a CD after moOde has fully initialized.
Stay safe.
Regards,
Kent
PS - here's the comparable dmesg output for my player, edited to remove other initialization messages:
Code:
...
[ 1.423145] usb 1-1.1: New USB device found, idVendor=0e8d, idProduct=1887, bcdDevice= 0.00
[ 1.423190] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.423221] usb 1-1.1: Product: Portable Super Multi Drive
[ 1.423247] usb 1-1.1: Manufacturer: Hitachi-LG Data Storage Inc
[ 1.423272] usb 1-1.1: SerialNumber: M03J3E12019
...
[ 2.495193] scsi 0:0:0:0: CD-ROM HL-DT-ST DVDRAM GP65NB60 PF00 PQ: 0 ANSI: 0
...
[ 3.481908] scsi 0:0:0:0: Attached scsi generic sg0 type 5
[ 3.526870] sr 0:0:0:0: Power-on or device reset occurred
[ 3.542801] sr 0:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 3.542815] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 3.544345] sr 0:0:0:0: Attached scsi CD-ROM sr0
...